--- DarthVader/TrackerLevel2/inc/TrkParams.h 2008/04/11 13:44:36 1.15 +++ DarthVader/TrackerLevel2/inc/TrkParams.h 2013/03/06 14:20:15 1.18 @@ -62,10 +62,13 @@ private: + static Bool_t simuflag; static Int_t GetIndex( UInt_t type ); public: + static void SetSimuFlag(Bool_t); + static Bool_t GetSimuFlag(); // --------------------------------------------- // variables to store loaded-calibration info // --------------------------------------------- @@ -74,6 +77,8 @@ static TString calibpathf; //full static Bool_t calib104; static Bool_t calibload; + static TrkCalib* calib1; + static TrkCalib* calib2; // --------------------------------------------- // variables to store loaded-parameters info // --------------------------------------------- @@ -115,8 +120,8 @@ static Bool_t LoadCalib( ); static Bool_t CalibIsLoaded(){ return calibload; }; static UInt_t ValidateTrkCalib( CalibTrk1Event* ); - static void FillFCalibFrom(TFile* , Int_t , Int_t );//full - static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated +// static void FillFCalibFrom(TFile* , Int_t , Int_t );//full +// static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated static void FillTCalibFrom(TString path); static void FillACalibFrom(TFile* , Int_t , Int_t );//all static void FillMask(TFile* , Int_t , Int_t ); @@ -124,11 +129,13 @@ // --------------------------------------------- // parameters // --------------------------------------------- - static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc, UInt_t type); + static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc, UInt_t type, UInt_t abstime=0); static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc){ - for(Int_t i=0; i