BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTofDigitizerEcV4::HitStruct Struct Reference

#include <BesTofDigitizerEcV4.hh>

Public Member Functions

 HitStruct ()
 
void initial ()
 
void print ()
 
void calTPropagate ()
 
double calAvaLength ()
 
 HitStruct ()
 
void initial ()
 
void print ()
 
void calTPropagate ()
 
double calAvaLength ()
 

Public Attributes

Param m_param
 
int trkIndex
 
int pdgCode
 
int ions
 
int strip
 
int underStrip
 
int gap
 
double glbTime
 
double locx
 
double locy
 
double locz
 
double x
 
double y
 
double z
 
double px
 
double py
 
double pz
 
double v_propagate
 
double tPropagate_sphi
 
double tPropagate_xphi
 
AVALANCH ava_num
 
AVALANCH ava_pos
 

Detailed Description

Constructor & Destructor Documentation

◆ HitStruct() [1/2]

BesTofDigitizerEcV4::HitStruct::HitStruct ( )

Definition at line 584 of file BesTofDigitizerEcV4.cc.

◆ HitStruct() [2/2]

BesTofDigitizerEcV4::HitStruct::HitStruct ( )

Member Function Documentation

◆ calAvaLength() [1/2]

double BesTofDigitizerEcV4::HitStruct::calAvaLength ( )

Definition at line 402 of file BesTofDigitizerEcV4.cc.

403{
404 //This calculation depends on the arangements of the gasLayer order and the turnover of gasContainer.
405 //all modules have the same local y trends: y larger, 11->0
406 //In units of mm
407 double length=0;
408 if(gap>=0 && gap<m_param.ngap/2) length = m_param.gapWidth/2+locy;
409 else if(gap<m_param.ngap) length = m_param.gapWidth/2-locy;
410 else
411 {
412 cout<<"BesTofDigitizerEcV4::StripStruct::calAvaLength Wrong gap calculation !!!"<<endl;
413 return -999.0;
414 }
415
416 return length;
417}

◆ calAvaLength() [2/2]

double BesTofDigitizerEcV4::HitStruct::calAvaLength ( )

◆ calTPropagate() [1/2]

void BesTofDigitizerEcV4::HitStruct::calTPropagate ( )

◆ calTPropagate() [2/2]

void BesTofDigitizerEcV4::HitStruct::calTPropagate ( )

◆ initial() [1/2]

void BesTofDigitizerEcV4::HitStruct::initial ( )

Definition at line 590 of file BesTofDigitizerEcV4.cc.

591{
592 trkIndex = -999.0;
593 pdgCode = -999.0;
594 ions = -999.0;
595 strip = -999.0;
596 gap = -999.0;
597 glbTime = -999.0;
598 locx = -999.0;
599 locy = -999.0;
600 locz = -999.0;
601 x = -999.0;
602 y = -999.0;
603 z = -999.0;
604 px = -999.0;
605 py = -999.0;
606 pz = -999.0;
607 v_propagate = 0.5*0.299792458e+3; //mm/ns
608 tPropagate_sphi = -999.0;
609 tPropagate_xphi = -999.0;
610}

◆ initial() [2/2]

void BesTofDigitizerEcV4::HitStruct::initial ( )

◆ print() [1/2]

void BesTofDigitizerEcV4::HitStruct::print ( )

Definition at line 884 of file BesTofDigitizerEcV4.cc.

885{
886 cout<<"Hit information: "<<endl;
887 cout<<" trkIndex= "<<trkIndex
888 <<" pdgCode= "<<pdgCode
889 <<" ions= "<<pdgCode
890 <<" strip= "<<strip
891 <<" gap= "<<gap
892 <<" glbTime= "<<glbTime
893 <<" locx= "<<locx
894 <<" locy= "<<locy
895 <<" locz= "<<locz
896 <<" x= "<<x
897 <<" y= "<<y
898 <<" z= "<<z
899 <<" px= "<<px
900 <<" py= "<<py
901 <<" pz= "<<pz
902 <<" v_propagate= "<<v_propagate
903 <<" tPropagate_sphi= "<<tPropagate_sphi
904 <<" tPropagate_xphi= "<<tPropagate_xphi
905 <<endl;
906}

◆ print() [2/2]

void BesTofDigitizerEcV4::HitStruct::print ( )

Member Data Documentation

◆ ava_num

AVALANCH BesTofDigitizerEcV4::HitStruct::ava_num

◆ ava_pos

AVALANCH BesTofDigitizerEcV4::HitStruct::ava_pos

◆ gap

int BesTofDigitizerEcV4::HitStruct::gap

◆ glbTime

double BesTofDigitizerEcV4::HitStruct::glbTime

◆ ions

int BesTofDigitizerEcV4::HitStruct::ions

◆ locx

double BesTofDigitizerEcV4::HitStruct::locx

◆ locy

double BesTofDigitizerEcV4::HitStruct::locy

◆ locz

double BesTofDigitizerEcV4::HitStruct::locz

◆ m_param

Param BesTofDigitizerEcV4::HitStruct::m_param

◆ pdgCode

int BesTofDigitizerEcV4::HitStruct::pdgCode

◆ px

double BesTofDigitizerEcV4::HitStruct::px

◆ py

double BesTofDigitizerEcV4::HitStruct::py

◆ pz

double BesTofDigitizerEcV4::HitStruct::pz

◆ strip

int BesTofDigitizerEcV4::HitStruct::strip

◆ tPropagate_sphi

double BesTofDigitizerEcV4::HitStruct::tPropagate_sphi

◆ tPropagate_xphi

double BesTofDigitizerEcV4::HitStruct::tPropagate_xphi

◆ trkIndex

int BesTofDigitizerEcV4::HitStruct::trkIndex

◆ underStrip

int BesTofDigitizerEcV4::HitStruct::underStrip

◆ v_propagate

double BesTofDigitizerEcV4::HitStruct::v_propagate

◆ x

double BesTofDigitizerEcV4::HitStruct::x

◆ y

double BesTofDigitizerEcV4::HitStruct::y

◆ z

double BesTofDigitizerEcV4::HitStruct::z

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