FACT++  1.0
double DrsCalibrateTime::Offset ( uint32_t  ch,
double  pos 
) const
inline

Definition at line 1192 of file DrsCalib.h.

References first, and v0.

1193  {
1194  const auto p = fStat.begin() + ch*1024;
1195 
1196  const uint32_t f = floor(pos);
1197 
1198  const double v0 = p[f].first;
1199  const double v1 = p[(f+1)%1024].first;
1200 
1201  return v0 + fmod(pos, 1)*(v1-v0);
1202  }
Return to feeserver c CVS log Up to[MAIN] dcscvs FeeServer feeserver src Wed FeeServer_v0 v0 FeeServer_v0 v0 FeeServer_v0 v0 FeeServer_v0 v0 FeeServer_v0 v0 FeeServer_v0 v0
Definition: feeserver.c:5
std::vector< std::pair< double, double > > fStat
Definition: DrsCalib.h:938
int64_t first
Size of this column in the tile.
Definition: zofits.h:26