HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hstart2calibrater.h
Go to the documentation of this file.
1 #ifndef HSTART2CALIBRATER_H
2 #define HSTART2CALIBRATER_H
3 
4 #include "hlocation.h"
5 #include "hreconstructor.h"
6 #include "hstart2calrunpar.h"
7 
8 class HCategory;
9 class HIterator;
10 class HStart2Calpar;
11 
13 protected:
14  HCategory *rawCat; //! pointer to the raw data
15  HCategory *calCat; //! pointer to the cal data
16  HIterator *iter; //! iterator on raw data.
17  HLocation loc; //! location for new cal object
18  HStart2Calpar* calpar; //! calibration parameters
19  HStart2CalRunPar* runpar; //! corrections per strip per run
20  HStart2CalRunPars correction; //! corrections per strip per
21  Double_t corrs[128]; //!
22  static Bool_t doCorrection; //! kTRUE= use HStart2CalRunPar (default)
23 public:
24  HStart2Calibrater(void);
25  HStart2Calibrater(const Text_t* name, const Text_t* title);
26  ~HStart2Calibrater(void);
27  Bool_t init(void);
28  Bool_t reinit(void);
29  Bool_t finalize(void) {
30  return kTRUE;
31  }
32  Int_t execute(void);
33  static void setCorrection(Bool_t corr);
34  static Bool_t getCorrection() { return doCorrection; }
35  ClassDef(HStart2Calibrater, 0) // Calibrater raw->cal for START data
36 };
37 
38 #endif /* !HSTART2CALIBRATER_H */
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 
51 
52 
53 
54 
static Bool_t getCorrection()
Bool_t finalize(void)
HCategory * calCat
pointer to the raw data
static void setCorrection(Bool_t corr)
HLocation loc
iterator on raw data.
HStart2CalRunPar * runpar
calibration parameters
Double_t corrs[128]
corrections per strip per
HStart2Calibrater(void)
kTRUE= use HStart2CalRunPar (default)
HStart2CalRunPars correction
corrections per strip per run
static Bool_t doCorrection
HIterator * iter
pointer to the cal data
HStart2Calpar * calpar
location for new cal object