BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EFTofHitsCol Class Reference

#include <EFTofHitsCol.h>

Public Member Functions

 EFTofHitsCol (unsigned int ib_e=0, unsigned int ilayer=0, unsigned int iphi=0, double tof=0.)
 
virtual ~EFTofHitsCol ()
 
unsigned int ib_e ()
 
unsigned int ilayer ()
 
unsigned int iphi ()
 
double GetT ()
 
unsigned int nhit ()
 
void SetT (double val=0.)
 

Detailed Description

Definition at line 4 of file EFTofHitsCol.h.

Constructor & Destructor Documentation

◆ EFTofHitsCol()

EFTofHitsCol::EFTofHitsCol ( unsigned int  ib_e = 0,
unsigned int  ilayer = 0,
unsigned int  iphi = 0,
double  tof = 0. 
)

Definition at line 4 of file EFTofHitsCol.cxx.

5 :
6 barrel_ec(iib_e),layer(iilayer),phi(iiphi),time(tof),num(1){
7}

◆ ~EFTofHitsCol()

EFTofHitsCol::~EFTofHitsCol ( )
virtual

Definition at line 9 of file EFTofHitsCol.cxx.

9 {
10}

Member Function Documentation

◆ GetT()

double EFTofHitsCol::GetT ( )
inline

Definition at line 12 of file EFTofHitsCol.h.

12{return time;};

◆ ib_e()

unsigned int EFTofHitsCol::ib_e ( )
inline

Definition at line 9 of file EFTofHitsCol.h.

9{return barrel_ec;};

◆ ilayer()

unsigned int EFTofHitsCol::ilayer ( )
inline

Definition at line 10 of file EFTofHitsCol.h.

10{return layer;};

◆ iphi()

unsigned int EFTofHitsCol::iphi ( )
inline

Definition at line 11 of file EFTofHitsCol.h.

11{return phi;};

◆ nhit()

unsigned int EFTofHitsCol::nhit ( )
inline

Definition at line 13 of file EFTofHitsCol.h.

13{return num;};

◆ SetT()

void EFTofHitsCol::SetT ( double  val = 0.)

Definition at line 12 of file EFTofHitsCol.cxx.

12 {
13 if(val>0&&val<3000){
14 time= (time*num+val)/(num+1);
15 num++;
16 }
17}

The documentation for this class was generated from the following files: