]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONCheck.h
Added AlidNdEtaCorrection (new procedure).
[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///
13/// Only implemented for digits so far, it is meant as a replacement
14/// of the MUONCheck.C macro, or to be used by this macro to simplify it.
15///
16/// \author Laurent Aphecetche
17
18#ifndef ROOT_TObject
19# include "TObject.h"
20#endif
21#ifndef ROOT_TString
22# include "TString.h"
23#endif
24
25class AliMUONData;
26class AliRunLoader;
27
28class AliMUONCheck : public TObject
29{
30public:
31 AliMUONCheck(const char* galiceFile, Int_t firstEvent=0, Int_t lastEvent=-1);
32 virtual ~AliMUONCheck();
33
34 Bool_t IsValid() const { return (fData!=0); }
35
36 void DumpDigits(Option_t* opt="") const;
37
38private:
39 AliMUONCheck(const AliMUONCheck& rhs);
40 AliMUONCheck& operator=(const AliMUONCheck& rhs);
41
42private:
18b6b8c7 43 TString fFileName; //!< File (galice.root) to read from
44 Int_t fFirstEvent; //!< First event to consider
45 Int_t fLastEvent; //!< Last event to consider
46 AliRunLoader* fRunLoader; //!< AliRunLoader pointer
47 AliMUONData* fData; //!< AliMUONData pointer (to access containers)
70b4a8d6 48
49 ClassDef(AliMUONCheck,0) // Dumper of MUON related data
50};
51
52#endif