]>
Commit | Line | Data |
---|---|---|
4a84c20d | 1 | #ifndef ALIANALYSISTASKITSTPCALIGNMENT_H |
2 | #define ALIANALYSISTASKITSTPCALIGNMENT_H | |
3 | ||
4 | /////////////////////////////////////////////////////////////////////////// | |
5 | // Class AliAnalysisTaskITSTPCalignment | |
6 | // runs ITS-TPC alignment with TPC vdrift calibration | |
7 | // | |
8 | // Origin: Mikolaj Krzewicki, mikolaj.krzewicki@cern.ch | |
9 | /////////////////////////////////////////////////////////////////////////// | |
10 | ||
96c0c856 | 11 | #include<AliAnalysisTask.h> |
4a84c20d | 12 | class TTree; |
13 | class AliESDEvent; | |
14 | class AliRelAlignerKalman; | |
8b04dae1 | 15 | class AliRelAlignerKalmanArray; |
4a84c20d | 16 | class TH2F; |
17 | ||
18 | class AliAnalysisTaskITSTPCalignment : public AliAnalysisTask | |
19 | { | |
20 | public: | |
21 | AliAnalysisTaskITSTPCalignment(); | |
22 | AliAnalysisTaskITSTPCalignment(const char *name); | |
23 | virtual ~AliAnalysisTaskITSTPCalignment() {} | |
24 | ||
25 | void SetSaveInterval( const UInt_t si ) {fSaveInterval = si;} | |
26 | void SetTimeMatchingTolerance( const UInt_t tol ) {fTimeMatchingTolerance = tol; } | |
27 | void SetDoQA( const Bool_t qa ) {fDoQA=qa;} | |
28 | ||
29 | virtual void ConnectInputData(Option_t *); | |
30 | virtual void CreateOutputObjects(); | |
31 | virtual void Exec(Option_t *option); | |
32 | virtual void Terminate(Option_t *); | |
33 | ||
34 | private: | |
35 | AliESDEvent* fESD; //ESD object | |
36 | AliRelAlignerKalmanArray* fArray; //array of aligners | |
37 | TH2F* fYZResidualsHist; //2D histogram with the yz residuals | |
38 | TH2F* fPLResidualsHist; //2D histogram with the phi lambda residuals | |
39 | TList* fListOfHistos; //list with QA histograms | |
40 | UInt_t fSaveInterval; //save interveal | |
41 | UInt_t fTimeMatchingTolerance; //time matching tolerance | |
42 | ||
43 | Bool_t fDoQA; //whether to fill QA histograms | |
44 | ||
45 | AliAnalysisTaskITSTPCalignment(const AliAnalysisTaskITSTPCalignment&); // not implemented | |
46 | AliAnalysisTaskITSTPCalignment& operator=(const AliAnalysisTaskITSTPCalignment&); // not implemented | |
47 | ||
48 | ClassDef(AliAnalysisTaskITSTPCalignment, 1); | |
49 | }; | |
50 | ||
51 | #endif |