![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "GaudiKernel/IMessageSvc.h"
14 #include "GaudiKernel/MsgStream.h"
28 log << MSG::ERROR <<
"Not enough parameters!" <<
endmsg;
29 log << MSG::ERROR <<
"Minimum number of parameters is 6!" <<
endmsg;
33 if ((
nPar() % 2) != 0) {
34 log << MSG::ERROR <<
"RtSpline::_init(): Odd number of parameters!" <<
endmsg;
38 Double_t *
x =
new Double_t[
nPar() / 2];
39 Double_t *
y =
new Double_t[
nPar() / 2];
40 for (
unsigned int i = 0;
i <
nPar() / 2;
i++) {
44 p_sp3 =
new TSpline3(
"Rt Relation",
x,
y,
nPar() / 2,
"b2e2", 0, 0);
52 if (t < p_sp3->GetXmin())
return p_sp3->Eval(
p_sp3->GetXmin());
54 return r >= 0 ?
r : 0;
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)
double par(unsigned int index) const
double radius(double t) const
get the radius corresponding to the drift time t; 0 or 14.6 is returned if t is outside the range
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
double tLower(void) const
get the lower drift-time bound
double driftvelocity(double t) const
get the drift velocity
void _init(void)
initialization method
unsigned int nPar() const
double tUpper(void) const
get the upper drift-time bound