39 #include "StTrsWireBinEntry.hh"
41 #ifdef ST_NO_TEMPLATE_DEF_ARGS
42 StTrsWireBinEntry::StTrsWireBinEntry() { }
45 StTrsWireBinEntry::StTrsWireBinEntry(
StThreeVector<double>& x,
float elec,
double SigmaL,
double SigmaT,
double *D,
int id)
46 : mPosition(x), mNumberOfElectrons(elec) ,mSigmaL(SigmaL),mSigmaT(SigmaT), mId(id){mD[0]=D[0];mD[1]=D[1];mD[2]=D[2]; }
48 StTrsWireBinEntry::~StTrsWireBinEntry() { }
50 void StTrsWireBinEntry::scaleNumberOfElectrons(
float fac)
52 mNumberOfElectrons *= fac;
54 double StTrsWireBinEntry::sigmaL() {
return mSigmaL;}
55 double StTrsWireBinEntry::sigmaT() {
return mSigmaT;}
56 double * StTrsWireBinEntry::d() {
return mD; }
61 return os <<
"WireBin(Pos:" << entry.position() <<
",No.of e:" << entry.numberOfElectrons()
62 <<
",id:" << entry.id() <<
")";