KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVQ3.h
Go to the documentation of this file.
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;
25 
26  virtual void SetDefaultValues();
27  virtual void LoadPSAParameters();
28  virtual Bool_t IsCharge() const
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  virtual void TreateSignal();
59  virtual void GetPSAResult(KVDetector*) const;
60  virtual void UpdatePSAParameter(KVDBParameterList* par);
61 
62  ClassDef(KVQ3, 1) //Q3 channel of CSI
63 };
64 
65 #endif
bool Bool_t
double Double_t
const Bool_t kTRUE
#define ClassDef(name, id)
To store calibration parameters in a database ,.
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:121
Definition: KVQ3.h:11
virtual ~KVQ3()
Destructor.
Definition: KVQ3.cpp:57
virtual void TreateSignal()
Definition: KVQ3.cpp:163
virtual void SetDefaultValues()
To be defined in child class.
Definition: KVQ3.cpp:90
virtual void GetPSAResult(KVDetector *) const
Definition: KVQ3.cpp:196
KVQ3()
Definition: KVQ3.cpp:36
Double_t GetFastShaperRiseTime() const
Definition: KVQ3.h:49
void init()
Definition: KVQ3.cpp:22
virtual void UpdatePSAParameter(KVDBParameterList *par)
Definition: KVQ3.cpp:132
void Copy(TObject &obj) const
Definition: KVQ3.cpp:73
Double_t fFastAmplitude
fast amplitude for CsI
Definition: KVQ3.h:17
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
Double_t GetFastShaperFlatTop() const
Definition: KVQ3.h:53
virtual void LoadPSAParameters()
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
virtual Bool_t IsCharge() const
Definition: KVQ3.h:28
Double_t fFastTrapFlatTop
flat top of the trapezoidal shaper for fast componment
Definition: KVQ3.h:16