]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrBase/AliCaloTrackAODReader.h
If not needed do not create the histograms in the neutral meson selection task
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliCaloTrackAODReader.h
CommitLineData
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"
72d2488e 20#include "AliAODEvent.h"
1c5acb87 21
22class AliCaloTrackAODReader : public AliCaloTrackReader {
23
24public:
25
477d6cee 26 AliCaloTrackAODReader() ; // ctor
78219bac 27 //AliCaloTrackAODReader(const AliCaloTrackAODReader & g) ; // cpy ctor
477d6cee 28 //AliCaloTrackAODReader & operator = (const AliCaloTrackAODReader & g) ;//cpy assignment
29 virtual ~AliCaloTrackAODReader() {;} //virtual dtor
30
31 void FillInputCTS() ;
32 void FillInputEMCAL() ;
33 void FillInputPHOS() ;
34 void FillInputEMCALCells() ;
35 void FillInputPHOSCells() ;
233e0df8 36
8dacfd76 37 Double_t GetBField() const;
38
233e0df8 39 void GetSecondInputAODVertex(Double_t v[3]) const ;
40 void GetVertex(Double_t v[3]) const ;
233e0df8 41
477d6cee 42 void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ;
08a064bc 43 void SwitchOnWriteStdAOD() {fWriteOutputStdAOD = kTRUE;}
44 void SwitchOffWriteStdAOD() {fWriteOutputStdAOD = kFALSE;}
45
72d2488e 46 TString GetFiredTriggerClasses() {return ((AliAODEvent*)GetInputEvent())->GetFiredTriggerClasses();}
765d44e7 47
08a064bc 48 void Print(const Option_t * opt) const;
a8a55c9d 49
08a064bc 50private:
51 Bool_t fWriteOutputStdAOD; // Write selected standard tracks and caloclusters in output AOD
52
53 ClassDef(AliCaloTrackAODReader,4)
a8a55c9d 54} ;
1c5acb87 55
56#endif //ALICALOTRACKAODREADER_H
57
58
59