FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
sds
SdsTools
PndSdsTotDigiPar.cxx
Go to the documentation of this file.
1
#include <iostream>
2
#include "
PndSdsTotDigiPar.h
"
3
4
PndSdsTotDigiPar::PndSdsTotDigiPar
(
const
char
*
name
,
const
char
* title,
const
char
* context)
5
: FairParGenericSet(name,title,context),
6
fChargingTime(0.),
7
fConstCurrent(0.),
8
fClockFrequency(0.)
9
{
10
clear
();
11
}
12
13
void
PndSdsTotDigiPar::putParams
(FairParamList* list)
14
{
15
if
(!list)
return
;
16
list->add(
"charge_time"
,
fChargingTime
);
17
list->add(
"const_current"
,
fConstCurrent
);
18
list->add(
"clock_frequency"
,
fClockFrequency
);
19
}
20
21
Bool_t
PndSdsTotDigiPar::getParams
(FairParamList* list)
22
{
23
if
(!list)
return
kFALSE;
24
if
(!list->fill(
"charge_time"
,&
fChargingTime
))
return
kFALSE;
25
if
(!list->fill(
"const_current"
,&
fConstCurrent
))
return
kFALSE;
26
if
(!list->fill(
"clock_frequency"
,&
fClockFrequency
))
return
kFALSE;
27
return
kTRUE;
28
}
29
30
ClassImp
(
PndSdsTotDigiPar
);
31
32
void
PndSdsTotDigiPar::Print
(
std::ostream
&
out
)
const
33
{
34
out<<
"SDS Mvd Tot Digitization Parameters:"
<<std::endl;
35
out<<
" charge time (ns) = "
<<
fChargingTime
<<std::endl;
36
out<<
" constant current (e/ns) = "
<<
fConstCurrent
<<std::endl;
37
out<<
" clock frequency (MHz) = "
<<
fClockFrequency
<<std::endl;
38
}
PndSdsTotDigiPar::getParams
Bool_t getParams(FairParamList *list)
Definition:
PndSdsTotDigiPar.cxx:21
PndSdsTotDigiPar.h
PndSdsTotDigiPar::fClockFrequency
Double_t fClockFrequency
Definition:
PndSdsTotDigiPar.h:46
PndSdsTotDigiPar::clear
void clear(void)
Definition:
PndSdsTotDigiPar.h:22
PndSdsTotDigiPar::fConstCurrent
Double_t fConstCurrent
Definition:
PndSdsTotDigiPar.h:45
PndSdsTotDigiPar::PndSdsTotDigiPar
PndSdsTotDigiPar(const char *name="PndSdsParCharConv", const char *title="PndSds charge digi parameter", const char *context="TestDefaultContext")
Definition:
PndSdsTotDigiPar.cxx:4
PndSdsTotDigiPar
Charge Digitization Parameter Class for SDS.
Definition:
PndSdsTotDigiPar.h:15
std::basic_ostream
Definition:
PndFTSCATrackParamVector.h:1258
PndSdsTotDigiPar::fChargingTime
Double_t fChargingTime
Definition:
PndSdsTotDigiPar.h:39
out
TFile * out
Definition:
reco_muo.C:20
name
TString name
Definition:
createRootGeoFile.C:82
ClassImp
ClassImp(PndAnaContFact)
Bool_t
Bool_t
Definition:
SimCompleteLinkDef.h:6
PndSdsTotDigiPar::putParams
void putParams(FairParamList *list)
Definition:
PndSdsTotDigiPar.cxx:13
PndSdsTotDigiPar::Print
virtual void Print(std::ostream &out=std::cout) const
Definition:
PndSdsTotDigiPar.cxx:32
Generated on Wed Apr 3 2019 08:44:01 for FairRoot/PandaRoot by
1.8.5