BOSS 7.0.5
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.)
 
 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

Constructor & Destructor Documentation

◆ EFTofHitsCol() [1/2]

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() [1/2]

EFTofHitsCol::~EFTofHitsCol ( )
virtual

Definition at line 9 of file EFTofHitsCol.cxx.

9 {
10}

◆ EFTofHitsCol() [2/2]

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

◆ ~EFTofHitsCol() [2/2]

virtual EFTofHitsCol::~EFTofHitsCol ( )
virtual

Member Function Documentation

◆ GetT() [1/2]

double EFTofHitsCol::GetT ( )
inline

◆ GetT() [2/2]

double EFTofHitsCol::GetT ( )
inline

Definition at line 12 of file InstallArea/include/HltAlgorithms/HltAlgorithms/EFTofHitsCol.h.

12{return time;};

◆ ib_e() [1/2]

unsigned int EFTofHitsCol::ib_e ( )
inline

◆ ib_e() [2/2]

unsigned int EFTofHitsCol::ib_e ( )
inline

Definition at line 9 of file InstallArea/include/HltAlgorithms/HltAlgorithms/EFTofHitsCol.h.

9{return barrel_ec;};

◆ ilayer() [1/2]

unsigned int EFTofHitsCol::ilayer ( )
inline

◆ ilayer() [2/2]

unsigned int EFTofHitsCol::ilayer ( )
inline

Definition at line 10 of file InstallArea/include/HltAlgorithms/HltAlgorithms/EFTofHitsCol.h.

10{return layer;};

◆ iphi() [1/2]

unsigned int EFTofHitsCol::iphi ( )
inline

◆ iphi() [2/2]

unsigned int EFTofHitsCol::iphi ( )
inline

Definition at line 11 of file InstallArea/include/HltAlgorithms/HltAlgorithms/EFTofHitsCol.h.

11{return phi;};

◆ nhit() [1/2]

unsigned int EFTofHitsCol::nhit ( )
inline

◆ nhit() [2/2]

unsigned int EFTofHitsCol::nhit ( )
inline

Definition at line 13 of file InstallArea/include/HltAlgorithms/HltAlgorithms/EFTofHitsCol.h.

13{return num;};

◆ SetT() [1/2]

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}

◆ SetT() [2/2]

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

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