Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaVDCTimeToDistConv.cxx
Go to the documentation of this file.
1
2
// //
3
// THaVDCTimeToDistConv //
4
// //
6
7
#include "
THaVDCTimeToDistConv.h
"
8
9
using namespace
std
;
10
11
ClassImp
(
VDC::TimeToDistConv
)
12
13
namespace
VDC
{
14
15
//_____________________________________________________________________________
16
TimeToDistConv::TimeToDistConv
(
UInt_t
npar )
17
: fNparam(npar), fDriftVel(
kBig
), fIsSet(
false
)
18
{
19
// Constructor
20
}
21
22
//_____________________________________________________________________________
23
void
TimeToDistConv::SetDriftVel
(
Double_t
v
)
24
{
25
fDriftVel
=
v
;
26
if
(
fNparam
== 0 )
27
fIsSet
=
true
;
28
}
29
30
//_____________________________________________________________________________
31
Int_t
TimeToDistConv::SetParameters
(
const
vector<double>& )
32
{
33
if
(
fNparam
== 0 )
34
fIsSet
=
true
;
35
return
0;
36
}
37
38
}
// namespace VDC
39
Int_t
int Int_t
UInt_t
unsigned int UInt_t
kBig
const Data_t kBig
Definition
DataType.h:15
Double_t
double Double_t
THaVDCTimeToDistConv.h
VDC::TimeToDistConv
Definition
THaVDCTimeToDistConv.h:18
VDC::TimeToDistConv::fDriftVel
Double_t fDriftVel
Definition
THaVDCTimeToDistConv.h:34
VDC::TimeToDistConv::fNparam
UInt_t fNparam
Definition
THaVDCTimeToDistConv.h:33
VDC::TimeToDistConv::SetParameters
virtual Int_t SetParameters(const std::vector< double > &)
VDC::TimeToDistConv::SetDriftVel
void SetDriftVel(Double_t v)
VDC::TimeToDistConv::fIsSet
Bool_t fIsSet
Definition
THaVDCTimeToDistConv.h:35
VDC::TimeToDistConv::TimeToDistConv
TimeToDistConv(UInt_t npar=0)
VDC
Definition
THaVDCAnalyticTTDConv.cxx:14
std
STL namespace.
v
v
ClassImp
ClassImp(TPyArg)
HallA
THaVDCTimeToDistConv.cxx
Generated by
1.9.8