]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrBase/AliCaloTrackAODReader.h
In case of merging AOD inputs, recover vertex from both inputs, not from first.
[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"
20
21class AliCaloTrackAODReader : public AliCaloTrackReader {
22
23public:
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 ;
40
a8a55c9d 41 void SwitchOnWriteAOD() {fWriteOutputAOD = kTRUE;}
42 void SwitchOffWriteAOD() {fWriteOutputAOD = kFALSE;}
233e0df8 43
477d6cee 44 void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ;
45
a8a55c9d 46private:
47
48 Bool_t fWriteOutputAOD; //Write selected tracks and caloclusters in output AOD
49
50 ClassDef(AliCaloTrackAODReader,2)
51} ;
1c5acb87 52
53#endif //ALICALOTRACKAODREADER_H
54
55
56