23 #include "StTofPidTraits.h"
24 #include "StMessMgr.h"
26 static const char rcsid[] =
"$Id: StTofPidTraits.cxx,v 2.3 2004/07/08 16:56:35 ullrich Exp $";
31 :
StTrackPidTraits(kTofId), mTray(0), mModule(0), mCell(0), mTof(0.), mPathLength(0.), mBeta(0.) {
32 mSigmaElectron = 999.;
38 StTofPidTraits::StTofPidTraits(
int itray,
int imodule,
int icell,
float tof,
float path,
float beta)
40 mTof(tof), mPathLength(path), mBeta(beta) {
41 mSigmaElectron = 999.;
47 StTofPidTraits::~StTofPidTraits() { }
49 void StTofPidTraits::Print(Option_t *opt)
const {
50 gMessMgr->Info() <<
"StTofPidTraits :: \t tray: " << tray()
51 <<
"\t module: " << module()
52 <<
"\t cell: " << cell()
53 <<
"\t tof: " <<
tof()
54 <<
"\t pathLength: " << pathLength()
55 <<
"\t beta: " << beta() << endm;