Diana Software
MApplyCalibration.hh
Go to the documentation of this file.
1 #ifndef _M_APPLYCALIBRATION_HH_
2 #define _M_APPLYCALIBRATION_HH_
3 
4 #include "TF1.h"
5 
45 #include "QEventLabel.hh"
46 #include "QModule.hh"
47 #include <set>
48 
49 class MApplyCalibration : public Diana::QModule {
50 
51 public:
54 
56  void Init(Diana::QEvent& ev);
57 
59  void Do(Diana::QEvent& ev);
60 
62  void Done();
63 
64 private:
66  int fDataset;
67 
68  std::set<int> fChannels;
69 
71  std::string fInput;
72 
74  Diana::QEventLabel fAmplitudeLabel;
75 
76  std::set<int> fBlackList;
77 };
78 
79 #endif
80 
Use calibration coefficients and stabilized amplitudes to compute energy.
std::set< int > fBlackList
void Done()
Done method.
std::set< int > fChannels
int fDataset
Dataset number.
std::string fInput
Calibration parameters input (file or DB)
void Init(Diana::QEvent &ev)
Init method.
Diana::QEventLabel fAmplitudeLabel
Label of the amplitude to be calibrated.
~MApplyCalibration()
destructor
void Do(Diana::QEvent &ev)
Do method.