]>
Commit | Line | Data |
---|---|---|
7488b3de | 1 | #ifndef ALIJETCORRELREADER_H |
2 | #define ALIJETCORRELREADER_H | |
c97d2ae1 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | /* $Id: $ */ | |
6 | ||
7488b3de | 7 | //__________________________________________________________________________ |
8 | // Class for input (ESD or AOD) reading. | |
9 | // At the moment only ESD input is really implemented, AOD to be added later. | |
10 | // Its products are the Trigger&Associated particle lists | |
c97d2ae1 | 11 | //-- Author: Paul Constantin |
12 | ||
13 | #include "AliJetCorrelWriter.h" | |
c97d2ae1 | 14 | |
e1b97289 | 15 | class AliJetCorrelReader : public TObject { |
c97d2ae1 | 16 | |
e1b97289 | 17 | public: |
18 | AliJetCorrelReader(); | |
19 | ~AliJetCorrelReader(); | |
20 | ||
21 | void Init(AliJetCorrelSelector * const s, AliJetCorrelWriter * const w); | |
7488b3de | 22 | void SetEvent(AliESDEvent * const e) {fjcESD=e;} |
e1b97289 | 23 | |
7488b3de | 24 | Float_t GetMultiplicity() const; |
25 | Float_t GetVertex() const; | |
26 | Bool_t VtxOutPipe() const; | |
e1b97289 | 27 | void FillLists(CorrelList_t* list1, CorrelList_t* list2); |
28 | ||
29 | private: | |
11ad5089 | 30 | AliESDEvent *fjcESD; //! input event (ESD/AOD) |
31 | AliJetCorrelSelector *fSelector; //! user selection object | |
32 | AliJetCorrelWriter *fWriter; //! output writer object | |
e1b97289 | 33 | |
11ad5089 | 34 | void FillList(CorrelList_t* list, Bool_t isTrigg); |
e1b97289 | 35 | void FillESDTrackLists(CorrelList_t* list1,CorrelList_t* list2); |
11ad5089 | 36 | void FillESDTrackList(CorrelList_t* list, Bool_t isTrigg); |
37 | void FillESDPhotonList(CorrelList_t* list, Bool_t isTrigg); | |
38 | void FillESDDiphotonList(CorrelList_t* list, Bool_t isTrigg); | |
39 | void FillESDDielectronList(CorrelList_t* list, Bool_t isTrigg); | |
40 | void FillParentList(CorrelList_t* list1, CorrelList_t* list2, Bool_t isTrigg); | |
e1b97289 | 41 | |
42 | // disable (make private) copy constructor and assignment operator: | |
43 | AliJetCorrelReader(const AliJetCorrelReader&); | |
44 | AliJetCorrelReader& operator=(const AliJetCorrelReader&); | |
45 | ||
46 | ClassDef(AliJetCorrelReader, 1); | |
47 | }; | |
c97d2ae1 | 48 | |
49 | #endif |