]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONCheck.h
Updated comments (Raffaele)
[u/mrichter/AliRoot.git] / MUON / AliMUONCheck.h
CommitLineData
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
22class AliMUONData;
23class AliRunLoader;
24
25class AliMUONCheck : public TObject
26{
27public:
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
36private:
37 AliMUONCheck(const AliMUONCheck& rhs);
38 AliMUONCheck& operator=(const AliMUONCheck& rhs);
39
40private:
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