1 #ifndef ALICALOTRACKAODREADER_H
2 #define ALICALOTRACKAODREADER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 //_________________________________________________________________________
8 // Class for reading data (AODs) in order to do prompt gamma or other particle
9 // identification and correlations.
10 // Mixing analysis can be done, input AOD with events
11 // is opened in the AliCaloTrackReader::Init()
14 // -- Author: Gustavo Conesa (INFN-LNF)
16 // --- ROOT system ---
18 // --- AliRoot system ---
19 #include "AliCaloTrackReader.h"
20 #include "AliAODEvent.h"
22 class AliCaloTrackAODReader : public AliCaloTrackReader {
26 AliCaloTrackAODReader() ; // ctor
27 AliCaloTrackAODReader(const AliCaloTrackAODReader & g) ; // cpy ctor
28 //AliCaloTrackAODReader & operator = (const AliCaloTrackAODReader & g) ;//cpy assignment
29 virtual ~AliCaloTrackAODReader() {;} //virtual dtor
32 void FillInputEMCAL() ;
33 void FillInputPHOS() ;
34 void FillInputEMCALCells() ;
35 void FillInputPHOSCells() ;
37 Double_t GetBField() const;
39 void GetSecondInputAODVertex(Double_t v[3]) const ;
40 void GetVertex(Double_t v[3]) const ;
42 void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ;
43 void SwitchOnWriteStdAOD() {fWriteOutputStdAOD = kTRUE;}
44 void SwitchOffWriteStdAOD() {fWriteOutputStdAOD = kFALSE;}
46 TString GetFiredTriggerClasses() {return ((AliAODEvent*)GetInputEvent())->GetFiredTriggerClasses();}
48 // Get calorimeter (Super)module number where this cluster falled
49 Int_t GetModuleNumber(AliAODCaloCluster * cluster) const ;
51 void Print(const Option_t * opt) const;
54 Bool_t fWriteOutputStdAOD; // Write selected standard tracks and caloclusters in output AOD
56 ClassDef(AliCaloTrackAODReader,4)
59 #endif //ALICALOTRACKAODREADER_H