-
Notifications
You must be signed in to change notification settings - Fork 0
/
AliAlgDetTRD.h
64 lines (58 loc) · 2.21 KB
/
AliAlgDetTRD.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef ALIALGDETTRD_H
#define ALIALGDETTRD_H
#include "AliAlgDet.h"
/*--------------------------------------------------------
TRD detector wrapper
-------------------------------------------------------*/
// Author: [email protected]
class AliAlgDetTRD : public AliAlgDet
{
public:
//
enum {kCalibNRCCorrDzDtgl, // correction parameter for NonRC tracklets
kCalibDVT, // global correction to Vdrift*t
kNCalibParams}; // calibration parameters
//
AliAlgDetTRD(const char* title="");
virtual ~AliAlgDetTRD();
//
virtual void DefineVolumes();
virtual void Print(const Option_t *opt="") const;
//
Bool_t AcceptTrack(const AliESDtrack* trc,Int_t trtype) const;
//
virtual const char* GetCalibDOFName(int i) const;
//
virtual void WritePedeInfo(FILE* parOut,const Option_t *opt="") const;
//
void SetNonRCCorrDzDtgl(double v=0) {fNonRCCorrDzDtgl = v;}
Double_t GetNonRCCorrDzDtgl() const {return fNonRCCorrDzDtgl;}
Double_t GetNonRCCorrDzDtglWithCal() const {return GetNonRCCorrDzDtgl()+GetParVal(kCalibNRCCorrDzDtgl);}
//
void SetCorrDVT(double v=0) {fCorrDVT = 0;}
Double_t GetCorrDVT() const {return fCorrDVT;}
Double_t GetCorrDVTWithCal() const {return GetCorrDVT() + GetParVal(kCalibDVT);}
//
virtual Double_t GetCalibDOFVal(int id) const;
virtual Double_t GetCalibDOFValWithCal(int id) const;
//
const Double_t* GetExtraErrRC() const {return fExtraErrRC;}
void SetExtraErrRC(double y=0.2, double z=1.0) {fExtraErrRC[0]=y;fExtraErrRC[1]=z;}
//
protected:
//
// -------- dummies --------
AliAlgDetTRD(const AliAlgDetTRD&);
AliAlgDetTRD& operator=(const AliAlgDetTRD&);
//
protected:
//
Double_t fNonRCCorrDzDtgl; // correction in Z for non-crossing tracklets
Double_t fCorrDVT; // correction to Vdrift*t
Double_t fExtraErrRC[2]; // extra errors for RC tracklets
//
static const char* fgkCalibDOFName[kNCalibParams];
//
ClassDef(AliAlgDetTRD,1);
};
#endif