]>
Commit | Line | Data |
---|---|---|
1c5acb87 | 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 */ | |
5 | /* $Id: $ */ | |
6 | ||
7 | //_________________________________________________________________________ | |
8 | // Class for reading data (AODs) in order to do prompt gamma or other particle | |
591cc579 | 9 | // identification and correlations. |
10 | // Mixing analysis can be done, input AOD with events | |
11 | // is opened in the AliCaloTrackReader::Init() | |
1c5acb87 | 12 | // |
13 | // | |
14 | // -- Author: Gustavo Conesa (INFN-LNF) | |
15 | ||
16 | // --- ROOT system --- | |
17 | ||
18 | // --- AliRoot system --- | |
19 | #include "AliCaloTrackReader.h" | |
20 | ||
21 | class AliCaloTrackAODReader : public AliCaloTrackReader { | |
22 | ||
23 | public: | |
24 | ||
477d6cee | 25 | AliCaloTrackAODReader() ; // ctor |
26 | AliCaloTrackAODReader(const AliCaloTrackAODReader & g) ; // cpy ctor | |
27 | //AliCaloTrackAODReader & operator = (const AliCaloTrackAODReader & g) ;//cpy assignment | |
28 | virtual ~AliCaloTrackAODReader() {;} //virtual dtor | |
29 | ||
30 | void FillInputCTS() ; | |
31 | void FillInputEMCAL() ; | |
32 | void FillInputPHOS() ; | |
33 | void FillInputEMCALCells() ; | |
34 | void FillInputPHOSCells() ; | |
233e0df8 | 35 | |
8dacfd76 | 36 | Double_t GetBField() const; |
37 | ||
233e0df8 | 38 | void GetSecondInputAODVertex(Double_t v[3]) const ; |
39 | void GetVertex(Double_t v[3]) const ; | |
233e0df8 | 40 | |
477d6cee | 41 | void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; |
08a064bc | 42 | void SwitchOnWriteStdAOD() {fWriteOutputStdAOD = kTRUE;} |
43 | void SwitchOffWriteStdAOD() {fWriteOutputStdAOD = kFALSE;} | |
44 | ||
45 | void Print(const Option_t * opt) const; | |
a8a55c9d | 46 | |
08a064bc | 47 | private: |
48 | Bool_t fWriteOutputStdAOD; // Write selected standard tracks and caloclusters in output AOD | |
49 | ||
50 | ClassDef(AliCaloTrackAODReader,4) | |
a8a55c9d | 51 | } ; |
1c5acb87 | 52 | |
53 | #endif //ALICALOTRACKAODREADER_H | |
54 | ||
55 | ||
56 |