KaliVeda
Toolkit for HIC analysis
KVThreshold.h
1 #ifndef __KVTHRESHOLD_H
2 #define __KVTHRESHOLD_H
3 
4 #include "KVCalibrator.h"
5 
18 class KVThreshold : public KVCalibrator
19 {
20  Double_t threshold(double*, double*);
21 
22 public:
24  {
25  SetCalibFunction(new TF1("fThreshold", this, &KVThreshold::threshold, 0., 1000., 1));
27  }
28 
29  ClassDef(KVThreshold,1)//Binary calibrator to handle detector signal thresholds
30 };
31 
32 #endif
constexpr Bool_t kFALSE
double Double_t
#define ClassDef(name, id)
Base class for all detector calibrations.
Definition: KVCalibrator.h:99
void SetCalibFunction(TF1 *f)
Definition: KVCalibrator.h:112
void SetUseInverseFunction(Bool_t yes=kTRUE)
Definition: KVCalibrator.h:241
Binary calibrator to handle detector signal thresholds.
Definition: KVThreshold.h:19
Double_t threshold(double *, double *)
Definition: KVThreshold.cpp:6