AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONCheck.h
Go to the documentation of this file.
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 
13 // Author Frederic Yermia, INFN Torino
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 #ifndef ROOT_TString
19 # include "TString.h"
20 #endif
21 
22 class AliESDEvent;
23 class TTree;
24 class TH1F ;
25 
26 class AliMUONCheck : public TObject
27 {
28 public:
29  AliMUONCheck(const char* galiceFile, const char* esdFile,
30  Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
31  AliMUONCheck(const char* galiceFile, const char* galiceFileSim, const char* esdFile,
32  Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
33  virtual ~AliMUONCheck();
34 
35  void CheckESD(Bool_t pdc06TriggerResponse= false);
36  void CheckKine();
37  void CheckTrackRef();
38  void CheckOccupancy(Bool_t perDetEle =kFALSE) const;
39 
40  void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent);
41  void SetOutFileName(const TString& outFileName) { fOutFileName = outFileName; }
42 
43 private:
45  AliMUONCheck(const AliMUONCheck& rhs);
47  AliMUONCheck& operator=(const AliMUONCheck& rhs);
48 
49 private:
50  static const TString& GetDefaultOutFileName();
51 
52  TString fFileName;
53  TString fFileNameSim;
54  TString fesdFileName;
55 
56  const char* fkOutDir;
57  TString fOutFileName;
58 
59  Int_t fFirstEvent;
60  Int_t fLastEvent;
61 
62  ClassDef(AliMUONCheck,0) // Dumper of MUON related data
63 };
64 
65 #endif
Int_t fLastEvent
! Last event to consider
Definition: AliMUONCheck.h:60
Class for data quality control.
Definition: AliMUONCheck.h:26
TString fFileName
! File (galice.root) to read from fro reconstructed data
Definition: AliMUONCheck.h:52
const char * fkOutDir
! output data directory
Definition: AliMUONCheck.h:56
void CheckOccupancy(Bool_t perDetEle=kFALSE) const
TString fesdFileName
! File (AliESDs.root) to read from
Definition: AliMUONCheck.h:54
void SetOutFileName(const TString &outFileName)
Definition: AliMUONCheck.h:41
TString fFileNameSim
! File (galiceSim.root) for simulated data
Definition: AliMUONCheck.h:53
AliMUONCheck(const char *galiceFile, const char *esdFile, Int_t firstEvent=0, Int_t lastEvent=-1, const char *outDir="")
void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent)
virtual ~AliMUONCheck()
AliMUONCheck & operator=(const AliMUONCheck &rhs)
Not implemented.
Int_t fFirstEvent
! First event to consider
Definition: AliMUONCheck.h:59
void CheckESD(Bool_t pdc06TriggerResponse=false)
void CheckTrackRef()
TString fOutFileName
! output file name
Definition: AliMUONCheck.h:57
static const TString & GetDefaultOutFileName()