1 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
4 // Short comment describing what this class does needed!
9 #include <AliJDataManager.h>
10 #include <AliJConst.h>
14 // used in local and grid execution
19 class AliJCorrelations;
20 class AliJEventHeader;
25 class AliJTrackCounter;
32 class AliJCORRAN : public TObject
36 AliJCORRAN(Bool_t execLocal);
37 virtual ~AliJCORRAN();
38 AliJCORRAN(const AliJCORRAN& obj);
39 AliJCORRAN& operator=(const AliJCORRAN& obj);
41 void Initialize() const;
42 void Init(){ Initialize(); }
43 void UserCreateOutputObjects();
47 Int_t GetNumberEvents() const { return fnumberEvents; }
48 AliJHistos *GetHistos() { return fhistos; }
49 AliJCorrelations *GetCorrelations() { return fcorrelations; }
50 AliJEventPool *GetAssocPool() { return fassocPool; }
51 Int_t GetEventCounter() const { return fEventCounter; }
52 AliJCard *GetCard() { return fcard; }
54 void FillXtHistos(TClonesArray *inputList, AliJTrackCounter *lpTrackCounter); // Esko
56 void SetCard( AliJCard *c ) { fcard = c; }
57 void SetTrigger( char* p ) { fjtrigg = GetParticleType(p); }
58 void SetAssoc( char* p ) { fjassoc = GetParticleType(p); }
59 void SetInclusiveFile( const char *f ){ fInclusiveFile = f; }
60 void SetInputFile( char *f ) { finputFile = f; }
61 void SetNumberEvents( Int_t n ) { fnumberEvents = n; }
63 void SetTrackList( TClonesArray *a ) { fdmg->SetTrackList( a ); }
64 void SetPhotonList( TClonesArray *a ) { fdmg->SetPhotonList( a ); }
65 void SetCaloCellList( TClonesArray *a ) { fdmg->SetCaloCellList( a ); }
66 void SetMCTrackList( TClonesArray *a ) { fdmg->SetMCTrackList( a ); }
67 void SetHeaderList( TClonesArray *a ) { fdmg->SetHeaderList( a ); }
68 void SetRunHeader( AliJRunHeader *a ) { frunHeader = a; }
69 void SetRunInfoList( TList *a ) { fdmg->SetRunInfoList( a ); }
70 void SetESDVZERO( TObject *a ) { fdmg->SetESDVZERO( a ); }
72 // void SetESDTZERO( AliESDTZERO *a ) { fdmg->SetESDTZERO( a ); }
73 // void SetESDZDC( AliESDZDC *a ) { fdmg->SetESDZDC( a ); }
76 double DeltaPhi(double phi1, double phi2);
77 particleType GetParticleType(char *inchar);
78 void ScaleNotEquidistantHisto(TH1D *hid, const double sc);
82 Bool_t fExecLocal; // exec mode
83 Bool_t fFirstEvent; //!
85 particleType fjtrigg; // assoc
86 particleType fjassoc; // trigger
88 AliJCard *fcard; // card
89 char * finputFile; //!
90 TString fInclusiveFile; // File for inclusive distributions
92 Int_t fevt; // event number
93 AliJHistos *fhistos; //!
94 AliJCorrelations *fcorrelations; //!
95 AliJEventPool *fphotonPool; //!
96 AliJEventPool *fassocPool; //!
97 TClonesArray *fphotonList; //!
98 TClonesArray *fchargedHadronList; //!
99 TClonesArray *fpizeroList; //!
100 TClonesArray *ftriggList; //!
101 TClonesArray *fassocList; //!
102 TClonesArray *fpairList; //!
103 TClonesArray *fpairCounterList; //!
104 TClonesArray *finputList; //!
106 AliJDataManager* fdmg; //!
107 AliJEventHeader *feventHeader; //!
108 AliJRunHeader* frunHeader; //!
110 int fnumberEvents; //!
112 int fEventCounter; //!
116 bool fbTriggCorrel; //!
118 bool fbLPpairCorrel; //!
119 double fTrackEtaRange; //!
120 double flowerPtAssocBoarder; //!
122 TF1 *fCentMultLow; //!
123 TF1 *fCentMultHigh; //!
128 Float_t fSQRTS; // todo
130 AliJEfficiency *fEfficiency; // comment me
131 AliJRunTable *fRunTable; // comment needed
132 float fIsolationR; // comment1
133 int fHadronSelectionCut; /// comment2
135 ClassDef(AliJCORRAN, 1); // EMCAL for jcorran