/[PAMELA software]/DarthVader/CalorimeterLevel2/inc/CaloLevel0.h
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/inc/CaloLevel0.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mocchiut, Thu Oct 25 13:24:18 2007 UTC revision 1.9 by mocchiut, Mon May 12 14:36:02 2008 UTC
# Line 53  class CaloLevel0 : public TObject { Line 53  class CaloLevel0 : public TObject {
53    
54      void Set(){ de = new CalorimeterEvent(); };          void Set(){ de = new CalorimeterEvent(); };    
55    
56      void Clear(){};      void Clear(Option_t *t=""){};
57      void* GetPointerToCalorimeterEvent(){ return &de; };      void* GetPointerToCalorimeterEvent(){ return &de; };
58      CalorimeterEvent* GetCalorimeterEvent(){ return de; };      CalorimeterEvent* GetCalorimeterEvent(){ return de; };
59      //      //
# Line 99  class CaloLevel0 : public TObject { Line 99  class CaloLevel0 : public TObject {
99      void ClearCommonVar(); ///< clear common variables      void ClearCommonVar(); ///< clear common variables
100      void ClearTrkVar();  ///< clear track-related variables      void ClearTrkVar();  ///< clear track-related variables
101      void FindBaseRaw(Int_t l, Int_t m, Int_t pre); ///< calculate baselines starting from RAW data      void FindBaseRaw(Int_t l, Int_t m, Int_t pre); ///< calculate baselines starting from RAW data
102        void FindBaseCompress(Int_t l, Int_t m, Int_t pre); ///< calculate baselines starting from COMPRESS data
103        void FindBaseRaw(Int_t l, Int_t m, Int_t pre,Int_t &nst, Float_t &qp); ///< calculate baselines starting from RAW data
104        void FindBaseCompress(Int_t l, Int_t m, Int_t pre,Int_t &nst, Float_t &qp); ///< calculate baselines starting from COMPRESS data
105      Int_t Update(GL_TABLES *glt, UInt_t atime, Int_t s); ///< update calibration for this event      Int_t Update(GL_TABLES *glt, UInt_t atime, Int_t s); ///< update calibration for this event
106      Int_t LoadCalib(Int_t s); ///< load calibrations      Int_t LoadCalib(Int_t s); ///< load calibrations
107    
# Line 122  class CaloLevel0 : public TObject { Line 125  class CaloLevel0 : public TObject {
125      // useful methods      // useful methods
126      //      //
127      Int_t ChkParam(GL_TABLES *glt, UInt_t runheader, Bool_t mech); ///< check and load parameters data      Int_t ChkParam(GL_TABLES *glt, UInt_t runheader, Bool_t mech); ///< check and load parameters data
128        Int_t ChkParam(TSQLServer *dbc, UInt_t runheader, Bool_t mech); ///< check and load parameters data
129        Int_t ChkParamDo(TSQLServer *dbc, UInt_t runheader, Bool_t mech); ///< check and load parameters data
130      Int_t ChkCalib(GL_TABLES *glt, UInt_t atime); ///< check and load calibration data      Int_t ChkCalib(GL_TABLES *glt, UInt_t atime); ///< check and load calibration data
131      Int_t CalcCrossTalkCorr(GL_TABLES *glt, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations      Int_t CalcCrossTalkCorr(GL_TABLES *glt, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations
132        Int_t CalcCrossTalkCorr(TSQLServer *dbc, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations
133        Int_t CalcCrossTalkCorrDo(TSQLServer *dbc, UInt_t runheader); ///< calculate the cross talk corretion using CaloPulse information from flight calibrations
134      Int_t Calibrate(Int_t ei); ///< perform data calibration      Int_t Calibrate(Int_t ei); ///< perform data calibration
135      void GetCommonVar(); ///< call fortran common variables program      void GetCommonVar(); ///< call fortran common variables program
136      void GetTrkVar(); ///< call fortran track-related variables program      void GetTrkVar(); ///< call fortran track-related variables program
# Line 139  class CaloLevel0 : public TObject { Line 146  class CaloLevel0 : public TObject {
146      //      //
147      CaloLevel0(); ///< contructor      CaloLevel0(); ///< contructor
148      void ProcessingInit(GL_TABLES *glt, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object      void ProcessingInit(GL_TABLES *glt, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object
149        void ProcessingInit(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object
150        void InitDo(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t debug, Bool_t verbose); ///< initialize caloprocessing object
151      //      //
152      // destructor      // destructor
153      //      //
154      ~CaloLevel0();///< destructor      ~CaloLevel0();///< destructor
155      //      //
156      ClassDef(CaloLevel0,1);      ClassDef(CaloLevel0,3);
157  };  };
158    
159  #endif  #endif

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23