4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /// \ingroup evaluation
10 /// \class AliMUONCheck
11 /// \brief Class for data quality control
13 // Author Frederic Yermia, INFN Torino
29 class AliMUONCheck : public TObject
32 AliMUONCheck(const char* galiceFile, const char* esdFile,
33 Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
34 AliMUONCheck(const char* galiceFile, const char* galiceFileSim, const char* esdFile,
35 Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
36 virtual ~AliMUONCheck();
38 /// Return true if contains valid data
39 Bool_t IsValid() const { return (fData!=0); }
41 void CheckESD(Bool_t pdc06TriggerResponse= false);
44 void CheckOccupancy(Bool_t perDetEle =kFALSE) const;
45 void CheckRecTracks() const;
47 void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent);
51 AliMUONCheck(const AliMUONCheck& rhs);
53 AliMUONCheck& operator=(const AliMUONCheck& rhs);
56 TString fFileName; //!< File (galice.root) to read from fro reconstructed data
57 TString fFileNameSim; //!< File (galiceSim.root) for simulated data
58 TString fesdFileName; //!< File (AliESDs.root) to read from
60 const char* foutDir; //!< output data directory
62 Int_t fFirstEvent; //!< First event to consider
63 Int_t fLastEvent; //!< Last event to consider
65 AliRunLoader* fRunLoader; //!< AliRunLoader pointer for reconstruction
66 AliRunLoader* fRunLoaderSim; //!< AliRunLoader pointer for simulation
68 AliLoader* fLoader; //!< MUON loader pointer for reconstruction
69 AliLoader* fLoaderSim; //!< MUON loader pointer for simulation
71 AliMUONData* fData; //!< AliMUONData pointer (to access containers) for recontruction
72 AliMUONData* fDataSim; //!< AliMUONData pointer (to access containers) for simulation
74 TTree * fTree ; //!< pointer to the analyzed TTree or TChain
75 AliESD * fESD ; //!< Declaration of leave types
77 ClassDef(AliMUONCheck,0) // Dumper of MUON related data