KaliVeda
Toolkit for HIC analysis
KVQ3.h
1 
4 #ifndef __KVQ3_H
5 #define __KVQ3_H
6 
7 #include "KVSignal.h"
8 
10 
11 class KVQ3 : public KVSignal {
12 
13 protected:
14  void init();
18 
19 public:
20  KVQ3();
21  KVQ3(const char* name);
22 
23  virtual ~KVQ3();
24  void Copy(TObject& obj) const override;
25 
26  void SetDefaultValues() override;
27  void LoadPSAParameters() override;
28  Bool_t IsCharge() const override
29  {
30  return kTRUE;
31  }
32 
37  {
38  fFastTrapRiseTime = rise;
39  fFastTrapFlatTop = flat;
40  }
42  {
43  fFastTrapRiseTime = rise;
44  }
46  {
47  fFastTrapFlatTop = flat;
48  }
50  {
51  return fFastTrapRiseTime;
52  }
54  {
55  return fFastTrapFlatTop;
56  }
57 
58  void TreateSignal() override;
59  void GetPSAResult(KVDetector*) const override;
60  void UpdatePSAParameter(KVDBParameterList* par) override;
61 
62  ClassDefOverride(KVQ3, 1) //Q3 channel of CSI
63 };
64 
65 #endif
bool Bool_t
double Double_t
constexpr Bool_t kTRUE
#define ClassDefOverride(name, id)
To store calibration parameters in a database ,.
Definition: KVQ3.h:11
virtual ~KVQ3()
Destructor.
Definition: KVQ3.cpp:57
Bool_t IsCharge() const override
Definition: KVQ3.h:28
void UpdatePSAParameter(KVDBParameterList *par) override
Definition: KVQ3.cpp:132
KVQ3()
Definition: KVQ3.cpp:36
Double_t GetFastShaperRiseTime() const
Definition: KVQ3.h:49
void init()
Definition: KVQ3.cpp:22
void GetPSAResult(KVDetector *) const override
Definition: KVQ3.cpp:196
void TreateSignal() override
Definition: KVQ3.cpp:163
Double_t fFastAmplitude
fast amplitude for CsI
Definition: KVQ3.h:17
void SetDefaultValues() override
Definition: KVQ3.cpp:90
void SetFastShaperRiseTime(Double_t rise)
Definition: KVQ3.h:41
Double_t fFastTrapRiseTime
rise time of the trapezoidal shaper for fast componment
Definition: KVQ3.h:15
void Copy(TObject &obj) const override
Definition: KVQ3.cpp:73
Double_t GetFastShaperFlatTop() const
Definition: KVQ3.h:53
void LoadPSAParameters() override
Definition: KVQ3.cpp:100
void SetFastTrapShaperParameters(Double_t rise, Double_t flat)
Definition: KVQ3.h:36
void SetFastShaperFlatTop(Double_t flat)
Definition: KVQ3.h:45
Double_t fFastTrapFlatTop
flat top of the trapezoidal shaper for fast componment
Definition: KVQ3.h:16