示例#1
0
Double_t KVVAMOSDetector::GetT0(const Char_t* type) const
{
   // Returns the value of the constant T0 (in ns) used for calibrating
   // time of flight of type 'type' (SED_HF, SI_HF, SI_SED1, ...).

   if (!fT0list) return 0.;
   KVNamedParameter* par = (KVNamedParameter*)fT0list->FindObject(Form("T%s", type));
   return (par ? par->GetDouble() : 0);
}