]>
Commit | Line | Data |
---|---|---|
70b4a8d6 | 1 | #ifndef ALIMUONCHECK_H |
2 | #define ALIMUONCHECK_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
9780bd43 | 5 | * See cxx source for full Copyright notice */ |
70b4a8d6 | 6 | |
7 | // $Id$ | |
8 | ||
b9163228 | 9 | /// \ingroup evaluation |
70b4a8d6 | 10 | /// \class AliMUONCheck |
9780bd43 | 11 | /// \brief Class for data quality control |
70b4a8d6 | 12 | /// |
9780bd43 | 13 | // Author Frederic Yermia, INFN Torino |
70b4a8d6 | 14 | |
15 | #ifndef ROOT_TObject | |
16 | # include "TObject.h" | |
17 | #endif | |
18 | #ifndef ROOT_TString | |
19 | # include "TString.h" | |
20 | #endif | |
21 | ||
af885e0f | 22 | class AliESDEvent; |
9780bd43 | 23 | class TTree; |
24 | class TH1F ; | |
70b4a8d6 | 25 | |
26 | class AliMUONCheck : public TObject | |
27 | { | |
28 | public: | |
9780bd43 | 29 | AliMUONCheck(const char* galiceFile, const char* esdFile, |
30 | Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir=""); | |
5a560b6a | 31 | AliMUONCheck(const char* galiceFile, const char* galiceFileSim, const char* esdFile, |
32 | Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir=""); | |
70b4a8d6 | 33 | virtual ~AliMUONCheck(); |
9780bd43 | 34 | |
9780bd43 | 35 | void CheckESD(Bool_t pdc06TriggerResponse= false); |
36 | void CheckKine(); | |
37 | void CheckTrackRef(); | |
38 | void CheckOccupancy(Bool_t perDetEle =kFALSE) const; | |
70b4a8d6 | 39 | |
9780bd43 | 40 | void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent); |
de62e2bd | 41 | void SetOutFileName(const TString& outFileName) { fOutFileName = outFileName; } |
9780bd43 | 42 | |
70b4a8d6 | 43 | private: |
c4ee792d | 44 | /// Not implemented |
70b4a8d6 | 45 | AliMUONCheck(const AliMUONCheck& rhs); |
71a2d3aa | 46 | /// Not implemented |
70b4a8d6 | 47 | AliMUONCheck& operator=(const AliMUONCheck& rhs); |
48 | ||
49 | private: | |
31edb2d7 | 50 | static const TString& GetDefaultOutFileName(); |
de62e2bd | 51 | |
5a560b6a | 52 | TString fFileName; //!< File (galice.root) to read from fro reconstructed data |
53 | TString fFileNameSim; //!< File (galiceSim.root) for simulated data | |
9780bd43 | 54 | TString fesdFileName; //!< File (AliESDs.root) to read from |
55 | ||
7d5d0cc5 | 56 | const char* fkOutDir; //!< output data directory |
de62e2bd | 57 | TString fOutFileName; //!< output file name |
9780bd43 | 58 | |
59 | Int_t fFirstEvent; //!< First event to consider | |
60 | Int_t fLastEvent; //!< Last event to consider | |
61 | ||
70b4a8d6 | 62 | ClassDef(AliMUONCheck,0) // Dumper of MUON related data |
9780bd43 | 63 | }; |
70b4a8d6 | 64 | |
65 | #endif |