FairRoot/PandaRoot
PndSdsTotDigiPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: PndSdsChargeConvDigiPar
3 //
4 #ifndef PNDSDSTOTDIGIPAR_H
5 #define PNDSDSTOTDIGIPAR_H
6 
7 #include <TVector2.h>
8 #include "FairParGenericSet.h"
9 #include "FairParamList.h"
10 
11 #include <iostream>
12 
14 
15 class PndSdsTotDigiPar : public FairParGenericSet
16 {
17  public :
18  PndSdsTotDigiPar (const char* name="PndSdsParCharConv",
19  const char* title="PndSds charge digi parameter",
20  const char* context="TestDefaultContext");
22  void clear(void){};
23  void putParams(FairParamList* list);
24  Bool_t getParams(FairParamList* list);
25 
26  virtual void Print(std::ostream& out = std::cout) const;
27 
29  dt.Print(out);
30  return out;
31  }
32 
36 
40 
41 
42  private:
43  // Parameters
44  Double_t fChargingTime; // time until capacitor is loaded [ns]
45  Double_t fConstCurrent; // current unloading the capacitor [e/ns]
46  Double_t fClockFrequency; // clockfrequency of the readout chip [MHz]
47 
48 
50 };
51 
52 #endif
Bool_t getParams(FairParamList *list)
void SetChargingTime(Double_t x)
Double_t fClockFrequency
void SetConstCurrent(Double_t x)
PndSdsTotDigiPar(const char *name="PndSdsParCharConv", const char *title="PndSds charge digi parameter", const char *context="TestDefaultContext")
Charge Digitization Parameter Class for SDS.
Double_t GetConstCurrent() const
Double_t GetClockFrequency() const
friend std::ostream & operator<<(std::ostream &out, const PndSdsTotDigiPar &dt)
Double_t
ClassDef(PndSdsTotDigiPar, 1)
TFile * out
Definition: reco_muo.C:20
TString name
Double_t x
void SetClockFrequency(Double_t x)
Double_t GetChargingTime() const
void putParams(FairParamList *list)
virtual void Print(std::ostream &out=std::cout) const