--- DarthVader/CalorimeterLevel2/inc/CaloLevel0.h 2007/10/25 13:24:18 1.4 +++ DarthVader/CalorimeterLevel2/inc/CaloLevel0.h 2008/05/12 14:36:02 1.9 @@ -53,7 +53,7 @@ void Set(){ de = new CalorimeterEvent(); }; - void Clear(){}; + void Clear(Option_t *t=""){}; void* GetPointerToCalorimeterEvent(){ return &de; }; CalorimeterEvent* GetCalorimeterEvent(){ return de; }; // @@ -99,6 +99,9 @@ void ClearCommonVar(); ///< clear common variables void ClearTrkVar(); ///< clear track-related variables void FindBaseRaw(Int_t l, Int_t m, Int_t pre); ///< calculate baselines starting from RAW data + void FindBaseCompress(Int_t l, Int_t m, Int_t pre); ///< calculate baselines starting from COMPRESS data + void FindBaseRaw(Int_t l, Int_t m, Int_t pre,Int_t &nst, Float_t &qp); ///< calculate baselines starting from RAW data + void FindBaseCompress(Int_t l, Int_t m, Int_t pre,Int_t &nst, Float_t &qp); ///< calculate baselines starting from COMPRESS data Int_t Update(GL_TABLES *glt, UInt_t atime, Int_t s); ///< update calibration for this event Int_t LoadCalib(Int_t s); ///< load calibrations @@ -122,8 +125,12 @@ // useful methods // Int_t ChkParam(GL_TABLES *glt, UInt_t runheader, Bool_t mech); ///< check and load parameters data + Int_t ChkParam(TSQLServer *dbc, UInt_t runheader, Bool_t mech); ///< check and load parameters data + Int_t ChkParamDo(TSQLServer *dbc, UInt_t runheader, Bool_t mech); ///< check and load parameters data Int_t ChkCalib(GL_TABLES *glt, UInt_t atime); ///< check and load calibration data Int_t CalcCrossTalkCorr(GL_TABLES *glt, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations + Int_t CalcCrossTalkCorr(TSQLServer *dbc, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations + Int_t CalcCrossTalkCorrDo(TSQLServer *dbc, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations Int_t Calibrate(Int_t ei); ///< perform data calibration void GetCommonVar(); ///< call fortran common variables program void GetTrkVar(); ///< call fortran track-related variables program @@ -139,12 +146,14 @@ // CaloLevel0(); ///< contructor void ProcessingInit(GL_TABLES *glt, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object + void ProcessingInit(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object + void InitDo(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object // // destructor // ~CaloLevel0();///< destructor // - ClassDef(CaloLevel0,1); + ClassDef(CaloLevel0,3); }; #endif