]>
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" | |
14 | #include "AliJetCorrelSelector.h" | |
15 | ||
e1b97289 | 16 | class AliJetCorrelReader : public TObject { |
c97d2ae1 | 17 | |
e1b97289 | 18 | public: |
19 | AliJetCorrelReader(); | |
20 | ~AliJetCorrelReader(); | |
21 | ||
22 | void Init(AliJetCorrelSelector * const s, AliJetCorrelWriter * const w); | |
7488b3de | 23 | void SetEvent(AliESDEvent * const e) {fjcESD=e;} |
e1b97289 | 24 | |
7488b3de | 25 | Float_t GetMultiplicity() const; |
26 | Float_t GetVertex() const; | |
27 | Bool_t VtxOutPipe() const; | |
e1b97289 | 28 | void FillLists(CorrelList_t* list1, CorrelList_t* list2); |
29 | ||
30 | private: | |
7488b3de | 31 | AliESDEvent *fjcESD; // input event (ESD/AOD) |
e1b97289 | 32 | AliJetCorrelSelector *fSelector; // user selection object |
33 | AliJetCorrelWriter *fWriter; // output writer object | |
34 | ||
35 | void FillList(CorrelList_t* list); | |
36 | void FillESDTrackLists(CorrelList_t* list1,CorrelList_t* list2); | |
37 | void FillESDTrackList(CorrelList_t* list); | |
38 | void FillESDPhotonList(CorrelList_t* list); | |
39 | void FillESDDiphotonList(CorrelList_t* list); | |
40 | void FillESDDielectronList(CorrelList_t* list); | |
41 | void FillParentList(CorrelList_t* list1, CorrelList_t* list2); | |
42 | ||
43 | // disable (make private) copy constructor and assignment operator: | |
44 | AliJetCorrelReader(const AliJetCorrelReader&); | |
45 | AliJetCorrelReader& operator=(const AliJetCorrelReader&); | |
46 | ||
47 | ClassDef(AliJetCorrelReader, 1); | |
48 | }; | |
c97d2ae1 | 49 | |
50 | #endif |