AliPhysics  8d00e07 (8d00e07)
AliAnalysisTaskITSTPCalignment.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKITSTPCALIGNMENT_H
2 #define ALIANALYSISTASKITSTPCALIGNMENT_H
3 
5 // Class AliAnalysisTaskITSTPCalignment
6 // runs ITS-TPC alignment with TPC vdrift calibration
7 //
8 // Origin: Mikolaj Krzewicki, mikolaj.krzewicki@cern.ch
10 
11 #include <AliAnalysisTaskSE.h>
12 class TList;
13 class TTree;
14 class AliESDEvent;
15 class AliESDfriend;
16 class AliMCEvent;
17 class AliRelAlignerKalman;
19 class AliExternalTrackParam;
20 class TH2F;
21 
23 {
24 public:
25 
26  enum { kNoESD=0,
34  };
35 
37  AliAnalysisTaskITSTPCalignment(const char *name);
39 
40  void SetupAlignerArray( Int_t t0, Int_t tend, Int_t slotwidth )
41  { fT0=t0; fTend=tend; fSlotWidth=slotwidth; }
43  void SetDoQA(Bool_t d=kTRUE) {fDoQA=d;}
44  void SetMinPt(Double_t m) {fMinPt=m;}
47  void DoQA(AliExternalTrackParam* paramsITS,
48  AliExternalTrackParam* paramsTPC);
56 
57  Int_t FindMatchingTracks(TObjArray& arrITS, TObjArray& arrTPC, AliESDEvent* pESD);
58  void AnalyzeESDevent(AliESDEvent* event);
59 
60  //AnalysisTaskSE interface methods
61  virtual void UserCreateOutputObjects();
62  virtual void UserExec(Option_t *option);
63  virtual Bool_t UserNotify();
64  void Terminate(Option_t *);
65 
66 private:
70  AliRelAlignerKalman* fAligner;
72 
73  Bool_t fFillDebugTree; // do we write the debug tree?
74  Bool_t fDoQA; // do QA?
75  Int_t fT0; // t0
76  Int_t fTend; // tend
77  Int_t fSlotWidth; // slotwidth
78  Double_t fMinPt; // min pt for tracks
79  Int_t fMinPointsVol1; // min clusters its
80  Int_t fMinPointsVol2; // min clusters tpc
81  Bool_t fRejectOutliers; // reject outliers?
82  Double_t fOutRejSigma; // how many outliers
88 
91 
92  ClassDef(AliAnalysisTaskITSTPCalignment, 3);
93 };
94 
95 #endif
double Double_t
Definition: External.C:58
Definition: External.C:236
Bool_t fFillDebugTree
list with QA histograms
void DoQA(AliExternalTrackParam *paramsITS, AliExternalTrackParam *paramsTPC)
AliAnalysisTaskITSTPCalignment & operator=(const AliAnalysisTaskITSTPCalignment &)
int Int_t
Definition: External.C:63
void SetupAlignerArray(Int_t t0, Int_t tend, Int_t slotwidth)
Int_t FindMatchingTracks(TObjArray &arrITS, TObjArray &arrTPC, AliESDEvent *pESD)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TTree * fDebugTree
array of aligners ITS standalone
void SetRejectOutliersSigma2Median(Bool_t set=kTRUE)
AliRelAlignerKalmanArray * fArrayITSsa
array of aligners with ITS global