]>
Commit | Line | Data |
---|---|---|
c74c5f6c | 1 | #ifndef ALITPCCALIBTIME_H |
2 | #define ALITPCCALIBTIME_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | #include "AliTPCcalibBase.h" | |
8 | #include "TH2F.h" | |
9 | #include "TF1.h" | |
10 | #include "TArrayD.h" | |
11 | #include "TObjArray.h" | |
12 | ||
13 | class TH1F; | |
14 | class TH3F; | |
15 | class TH2F; | |
16 | class THnSparse; | |
17 | class TList; | |
18 | class AliESDEvent; | |
19 | class AliESDtrack; | |
da6c0bc9 | 20 | class AliTPCcalibLaser; |
c74c5f6c | 21 | |
22 | #include "TTreeStream.h" | |
23 | ||
24 | ||
25 | class AliTPCcalibTime:public AliTPCcalibBase { | |
26 | public: | |
27 | AliTPCcalibTime(); | |
28 | AliTPCcalibTime(const Text_t *name, const Text_t *title, ULong64_t TriggerMask, UInt_t StartTime, UInt_t EndTime, Int_t deltaIntegrationTimeDeDx, Int_t deltaIntegrationTimeVdrift); | |
29 | virtual ~AliTPCcalibTime(); | |
30 | ||
31 | virtual void Process(AliESDEvent *event); | |
32 | virtual Long64_t Merge(TCollection *li); | |
33 | virtual void Analyze(); | |
34 | // | |
35 | void ProcessCosmic(AliESDEvent *event); | |
36 | Bool_t IsPair(AliExternalTrackParam *tr0, AliExternalTrackParam *tr1); | |
37 | // | |
38 | THnSparse * GetHistVdrift(){return (THnSparse*) fHistVdrift;}; | |
39 | THnSparse * GetHistDeDxVsTgl(){return (THnSparse*) fHistDeDxTgl;}; | |
40 | THnSparse * GetHistDeDx(){return (THnSparse*) fHistDeDx;}; | |
41 | ||
42 | ||
43 | ||
44 | private: | |
da6c0bc9 | 45 | void ResetCurrent(); // reset current values |
c74c5f6c | 46 | ULong64_t fTriggerMask; // select certain trigger within one run |
47 | ||
48 | THnSparse * fHistDeDxTgl; // dEdx vs. dip angle vs time histogram | |
49 | THnSparse * fHistDeDx; // dEdx vs. time histogram (cosmics: all particles on Fermi plateau) | |
50 | THnSparse * fHistVdrift; // drift velocity vs time histogram | |
51 | ||
52 | Float_t fIntegrationTimeDeDx; // required statistics for each dEdx time bin | |
53 | Float_t fIntegrationTimeVdrift; // required statistics for each Vdrift time bin | |
54 | ||
da6c0bc9 | 55 | AliTPCcalibLaser * fLaser; //! laser calibration |
56 | // | |
57 | // current information | |
58 | // | |
59 | Float_t fDz; //! current delta z | |
60 | Float_t fdEdx; //! current dEdx | |
61 | Float_t fdEdxRatio; //! current dEdx ratio | |
62 | Float_t fTl; //! current tan(lambda) | |
63 | ||
c74c5f6c | 64 | // cuts |
65 | // | |
66 | Float_t fCutMaxD; // maximal distance in rfi ditection | |
da6c0bc9 | 67 | Float_t fCutMaxDz; // maximal distance in z ditection |
c74c5f6c | 68 | Float_t fCutTheta; // maximal distance in theta ditection |
69 | Float_t fCutMinDir; // direction vector products | |
70 | ||
71 | AliTPCcalibTime(const AliTPCcalibTime&); | |
72 | AliTPCcalibTime& operator=(const AliTPCcalibTime&); | |
73 | ||
74 | ClassDef(AliTPCcalibTime, 1); | |
75 | }; | |
76 | ||
77 | #endif | |
78 | ||
79 |