74 |
static TString calibpathf; //full |
static TString calibpathf; //full |
75 |
static Bool_t calib104; |
static Bool_t calib104; |
76 |
static Bool_t calibload; |
static Bool_t calibload; |
77 |
|
static TrkCalib* calib1; |
78 |
|
static TrkCalib* calib2; |
79 |
// --------------------------------------------- |
// --------------------------------------------- |
80 |
// variables to store loaded-parameters info |
// variables to store loaded-parameters info |
81 |
// --------------------------------------------- |
// --------------------------------------------- |
117 |
static Bool_t LoadCalib( ); |
static Bool_t LoadCalib( ); |
118 |
static Bool_t CalibIsLoaded(){ return calibload; }; |
static Bool_t CalibIsLoaded(){ return calibload; }; |
119 |
static UInt_t ValidateTrkCalib( CalibTrk1Event* ); |
static UInt_t ValidateTrkCalib( CalibTrk1Event* ); |
120 |
static void FillFCalibFrom(TFile* , Int_t , Int_t );//full |
// static void FillFCalibFrom(TFile* , Int_t , Int_t );//full |
121 |
static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated |
// static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated |
122 |
static void FillTCalibFrom(TString path); |
static void FillTCalibFrom(TString path); |
123 |
static void FillACalibFrom(TFile* , Int_t , Int_t );//all |
static void FillACalibFrom(TFile* , Int_t , Int_t );//all |
124 |
static void FillMask(TFile* , Int_t , Int_t ); |
static void FillMask(TFile* , Int_t , Int_t ); |
128 |
// --------------------------------------------- |
// --------------------------------------------- |
129 |
static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc, UInt_t type); |
static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc, UInt_t type); |
130 |
static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc){ |
static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc){ |
131 |
for(Int_t i=0; i<NTYPES; i++) |
Bool_t result = true; |
132 |
if( !TrkParams::Set(glrun,dbc,trkparamtype[i]) )return false; |
for(Int_t i=0; i<NTYPES; i++) |
133 |
return true; |
if( !TrkParams::Set(glrun,dbc,trkparamtype[i]) ) |
134 |
|
result = false; |
135 |
|
return result; |
136 |
}; |
}; |
137 |
static Bool_t Set( TString, UInt_t ); |
static Bool_t Set( TString, UInt_t ); |
138 |
static Bool_t Set( UInt_t ); |
static Bool_t Set( UInt_t ); |
142 |
static Bool_t IsLoaded( UInt_t type ){return glload[TrkParams::GetIndex(type)];}; |
static Bool_t IsLoaded( UInt_t type ){return glload[TrkParams::GetIndex(type)];}; |
143 |
static Bool_t IsLoaded( ); |
static Bool_t IsLoaded( ); |
144 |
|
|
145 |
|
static GL_PARAM GetParams( UInt_t type ){ return gl[TrkParams::GetIndex(type)]; }; |
146 |
|
|
147 |
// --------------------------------------------- |
// --------------------------------------------- |
148 |
// retrieve parameters |
// retrieve parameters |
149 |
// --------------------------------------------- |
// --------------------------------------------- |
162 |
static float GetPFA_ETAlandi(int nv,int nl,float ang) |
static float GetPFA_ETAlandi(int nv,int nl,float ang) |
163 |
{ return TrkParams::GetPFA_ETAlandi(nv,nl,TrkParams::GetPFA_AngleBin(ang)); }; |
{ return TrkParams::GetPFA_ETAlandi(nv,nl,TrkParams::GetPFA_AngleBin(ang)); }; |
164 |
|
|
165 |
|
|
166 |
|
|
167 |
// --------------------------------------------- |
// --------------------------------------------- |
168 |
// debug mode |
// debug mode |
169 |
// --------------------------------------------- |
// --------------------------------------------- |