KaliVeda
Toolkit for HIC analysis
KVQ3.h
1 
4 #ifndef __KVQ3_H
5 #define __KVQ3_H
6 
7 #include "KVFAZIASignal.h"
8 
9 class KVQ3 : public KVFAZIASignal {
10 
11 protected:
12  void init();
16 
17 public:
18  KVQ3();
19  KVQ3(const char* name);
20 
21  void SetDefaultValues() override;
22  void LoadPSAParameters() override;
23  Bool_t IsCharge() const override
24  {
25  return kTRUE;
26  }
27 
32  {
33  fFastTrapRiseTime = rise;
34  fFastTrapFlatTop = flat;
35  }
37  {
38  fFastTrapRiseTime = rise;
39  }
41  {
42  fFastTrapFlatTop = flat;
43  }
45  {
46  return fFastTrapRiseTime;
47  }
49  {
50  return fFastTrapFlatTop;
51  }
52 
53  void TreateSignal() override;
54  void GetPSAResults(KVNameValueList& val) const override;
55  void UpdatePSAParameter(KVNameValueList* par) override;
56 
57  ClassDefOverride(KVQ3, 1) //Q3 channel of CSI
58 };
59 
60 #endif
bool Bool_t
double Double_t
constexpr Bool_t kTRUE
#define ClassDefOverride(name, id)
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Definition: KVQ3.h:9
Bool_t IsCharge() const override
Definition: KVQ3.h:23
KVQ3()
Definition: KVQ3.cpp:34
Double_t GetFastShaperRiseTime() const
Definition: KVQ3.h:44
void init()
Definition: KVQ3.cpp:20
void GetPSAResults(KVNameValueList &val) const override
Definition: KVQ3.cpp:158
void TreateSignal() override
Definition: KVQ3.cpp:126
Double_t fFastAmplitude
fast amplitude for CsI
Definition: KVQ3.h:15
void SetDefaultValues() override
Definition: KVQ3.cpp:53
void SetFastShaperRiseTime(Double_t rise)
Definition: KVQ3.h:36
Double_t fFastTrapRiseTime
rise time of the trapezoidal shaper for fast componment
Definition: KVQ3.h:13
Double_t GetFastShaperFlatTop() const
Definition: KVQ3.h:48
void LoadPSAParameters() override
Definition: KVQ3.cpp:63
void UpdatePSAParameter(KVNameValueList *par) override
Definition: KVQ3.cpp:95
void SetFastTrapShaperParameters(Double_t rise, Double_t flat)
Definition: KVQ3.h:31
void SetFastShaperFlatTop(Double_t flat)
Definition: KVQ3.h:40
Double_t fFastTrapFlatTop
flat top of the trapezoidal shaper for fast componment
Definition: KVQ3.h:14