/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventFilter/HltUtilities/HltAlgorithms/HltAlgorithms-01-03-01/src/EFTofHitsCol.cxx

Go to the documentation of this file.
00001 //
00002 #include "HltAlgorithms/EFTofHitsCol.h"
00003 
00004 EFTofHitsCol::EFTofHitsCol
00005 (unsigned int iib_e,unsigned int iilayer,unsigned int iiphi,double tof):
00006   barrel_ec(iib_e),layer(iilayer),phi(iiphi),time(tof),num(1){
00007 }
00008 
00009 EFTofHitsCol::~EFTofHitsCol(){
00010 }
00011 
00012 void EFTofHitsCol::SetT(double val){
00013  if(val>0&&val<3000){
00014   time= (time*num+val)/(num+1);
00015   num++;
00016  }      
00017 }

Generated on Tue Nov 29 23:12:06 2016 for BOSS_7.0.2 by  doxygen 1.4.7