]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONCheck.h
Decalibration should use the same CDB as calibration in AliPHOSClusterizerv1
[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. *
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
22class AliMUONData;
23class AliRunLoader;
9780bd43 24class AliLoader;
25class AliESD;
26class TTree;
27class TH1F ;
70b4a8d6 28
29class AliMUONCheck : public TObject
30{
31public:
9780bd43 32 AliMUONCheck(const char* galiceFile, const char* esdFile,
33 Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
5a560b6a 34 AliMUONCheck(const char* galiceFile, const char* galiceFileSim, const char* esdFile,
35 Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
70b4a8d6 36 virtual ~AliMUONCheck();
9780bd43 37
5398f946 38 /// Return true if contains valid data
70b4a8d6 39 Bool_t IsValid() const { return (fData!=0); }
40
9780bd43 41 void CheckESD(Bool_t pdc06TriggerResponse= false);
42 void CheckKine();
43 void CheckTrackRef();
44 void CheckOccupancy(Bool_t perDetEle =kFALSE) const;
45 void CheckRecTracks() const;
70b4a8d6 46
9780bd43 47 void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent);
48
70b4a8d6 49private:
c4ee792d 50 /// Not implemented
70b4a8d6 51 AliMUONCheck(const AliMUONCheck& rhs);
71a2d3aa 52 /// Not implemented
70b4a8d6 53 AliMUONCheck& operator=(const AliMUONCheck& rhs);
54
55private:
5a560b6a 56 TString fFileName; //!< File (galice.root) to read from fro reconstructed data
57 TString fFileNameSim; //!< File (galiceSim.root) for simulated data
9780bd43 58 TString fesdFileName; //!< File (AliESDs.root) to read from
59
60 const char* foutDir; //!< output data directory
61
62 Int_t fFirstEvent; //!< First event to consider
63 Int_t fLastEvent; //!< Last event to consider
64
5a560b6a 65 AliRunLoader* fRunLoader; //!< AliRunLoader pointer for reconstruction
66 AliRunLoader* fRunLoaderSim; //!< AliRunLoader pointer for simulation
67
68 AliLoader* fLoader; //!< MUON loader pointer for reconstruction
69 AliLoader* fLoaderSim; //!< MUON loader pointer for simulation
9780bd43 70
5a560b6a 71 AliMUONData* fData; //!< AliMUONData pointer (to access containers) for recontruction
72 AliMUONData* fDataSim; //!< AliMUONData pointer (to access containers) for simulation
9780bd43 73
71a2d3aa 74 TTree * fTree ; //!< pointer to the analyzed TTree or TChain
75 AliESD * fESD ; //!< Declaration of leave types
70b4a8d6 76
77 ClassDef(AliMUONCheck,0) // Dumper of MUON related data
9780bd43 78};
70b4a8d6 79
80#endif