BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EFTofHitsCol.cxx
Go to the documentation of this file.
1//
3
5(unsigned int iib_e,unsigned int iilayer,unsigned int iiphi,double tof):
6 barrel_ec(iib_e),layer(iilayer),phi(iiphi),time(tof),num(1){
7}
8
10}
11
12void EFTofHitsCol::SetT(double val){
13 if(val>0&&val<3000){
14 time= (time*num+val)/(num+1);
15 num++;
16 }
17}
Double_t time
void SetT(double val=0.)
virtual ~EFTofHitsCol()
Definition: EFTofHitsCol.cxx:9
EFTofHitsCol(unsigned int ib_e=0, unsigned int ilayer=0, unsigned int iphi=0, double tof=0.)
Definition: EFTofHitsCol.cxx:5