]>
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. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | // $Id$ | |
8 | ||
9 | /// \ingroup base | |
10 | /// \class AliMUONCheck | |
11 | /// \brief A helper class to dump data from AliRoot-generated root files. | |
12 | /// | |
5398f946 | 13 | // Author Laurent Aphecetche |
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; | |
24 | ||
25 | class AliMUONCheck : public TObject | |
26 | { | |
27 | public: | |
28 | AliMUONCheck(const char* galiceFile, Int_t firstEvent=0, Int_t lastEvent=-1); | |
29 | virtual ~AliMUONCheck(); | |
30 | ||
5398f946 | 31 | /// Return true if contains valid data |
70b4a8d6 | 32 | Bool_t IsValid() const { return (fData!=0); } |
33 | ||
34 | void DumpDigits(Option_t* opt="") const; | |
35 | ||
36 | private: | |
37 | AliMUONCheck(const AliMUONCheck& rhs); | |
38 | AliMUONCheck& operator=(const AliMUONCheck& rhs); | |
39 | ||
40 | private: | |
18b6b8c7 | 41 | TString fFileName; //!< File (galice.root) to read from |
42 | Int_t fFirstEvent; //!< First event to consider | |
43 | Int_t fLastEvent; //!< Last event to consider | |
44 | AliRunLoader* fRunLoader; //!< AliRunLoader pointer | |
45 | AliMUONData* fData; //!< AliMUONData pointer (to access containers) | |
70b4a8d6 | 46 | |
47 | ClassDef(AliMUONCheck,0) // Dumper of MUON related data | |
48 | }; | |
49 | ||
50 | #endif |