]>
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 | ||
22 | class AliMUONData; | |
23 | class AliRunLoader; | |
9780bd43 | 24 | class AliLoader; |
25 | class AliESD; | |
26 | class TTree; | |
27 | class TH1F ; | |
70b4a8d6 | 28 | |
29 | class AliMUONCheck : public TObject | |
30 | { | |
31 | public: | |
9780bd43 | 32 | AliMUONCheck(const char* galiceFile, const char* esdFile, |
33 | Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir=""); | |
70b4a8d6 | 34 | virtual ~AliMUONCheck(); |
9780bd43 | 35 | |
5398f946 | 36 | /// Return true if contains valid data |
70b4a8d6 | 37 | Bool_t IsValid() const { return (fData!=0); } |
38 | ||
9780bd43 | 39 | void CheckESD(Bool_t pdc06TriggerResponse= false); |
40 | void CheckKine(); | |
41 | void CheckTrackRef(); | |
42 | void CheckOccupancy(Bool_t perDetEle =kFALSE) const; | |
43 | void CheckRecTracks() const; | |
70b4a8d6 | 44 | |
9780bd43 | 45 | void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent); |
46 | ||
70b4a8d6 | 47 | private: |
c4ee792d | 48 | /// Not implemented |
70b4a8d6 | 49 | AliMUONCheck(const AliMUONCheck& rhs); |
71a2d3aa | 50 | /// Not implemented |
70b4a8d6 | 51 | AliMUONCheck& operator=(const AliMUONCheck& rhs); |
52 | ||
53 | private: | |
18b6b8c7 | 54 | TString fFileName; //!< File (galice.root) to read from |
9780bd43 | 55 | TString fesdFileName; //!< File (AliESDs.root) to read from |
56 | ||
57 | const char* foutDir; //!< output data directory | |
58 | ||
59 | Int_t fFirstEvent; //!< First event to consider | |
60 | Int_t fLastEvent; //!< Last event to consider | |
61 | ||
18b6b8c7 | 62 | AliRunLoader* fRunLoader; //!< AliRunLoader pointer |
9780bd43 | 63 | AliLoader* fLoader; //!< MUON loader pointer |
64 | ||
65 | AliMUONData* fData; //!< AliMUONData pointer (to access containers) | |
66 | ||
71a2d3aa | 67 | TTree * fTree ; //!< pointer to the analyzed TTree or TChain |
68 | AliESD * fESD ; //!< Declaration of leave types | |
70b4a8d6 | 69 | |
70 | ClassDef(AliMUONCheck,0) // Dumper of MUON related data | |
9780bd43 | 71 | }; |
70b4a8d6 | 72 | |
73 | #endif |