00001 #ifndef EVENTFILTER_TOFHITSCOL_H 00002 #define EVENTFILTER_TOFHITSCOL_H 1 00003 #include <vector> 00004 class EFTofHitsCol{ 00005 // class collect TOF information with certain character, such as top vs bottom 00006 public: 00007 EFTofHitsCol(unsigned int ib_e=0,unsigned int ilayer=0,unsigned int iphi=0,double tof=0.); 00008 virtual ~EFTofHitsCol(); 00009 unsigned int ib_e(){return barrel_ec;}; 00010 unsigned int ilayer(){return layer;}; 00011 unsigned int iphi(){return phi;}; 00012 double GetT(){return time;}; 00013 unsigned int nhit(){return num;}; 00014 void SetT(double val=0.); 00015 00016 private: 00017 unsigned int barrel_ec; 00018 unsigned int layer; 00019 unsigned int phi; 00020 double time; 00021 unsigned int num; 00022 }; 00023 typedef std::vector<EFTofHitsCol> VTOF; 00024 //#include "HltAlgorithms/EFTofHitsCol.icc" 00025 #endif