BOSS 7.0.5
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 631 of file BesTofDigitizerEcV4.cc.

◆ HitStruct() [2/2]

BesTofDigitizerEcV4::HitStruct::HitStruct ( )

Member Function Documentation

◆ calAvaLength() [1/2]

double BesTofDigitizerEcV4::HitStruct::calAvaLength ( )

Definition at line 443 of file BesTofDigitizerEcV4.cc.

444{
445 //This calculation depends on the arangements of the gasLayer order and the turnover of gasContainer.
446 //all modules have the same local y trends: y larger, 11->0
447 //In units of mm
448 double length=0;
449 if(gap>=0 && gap<m_param.ngap/2) length = m_param.gapWidth/2+locy;
450 else if(gap<m_param.ngap) length = m_param.gapWidth/2-locy;
451 else
452 {
453 cout<<"BesTofDigitizerEcV4::StripStruct::calAvaLength Wrong gap calculation !!!"<<endl;
454 return -999.0;
455 }
456
457 return length;
458}

◆ 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 637 of file BesTofDigitizerEcV4.cc.

638{
639 trkIndex = -999.0;
640 pdgCode = -999.0;
641 ions = -999.0;
642 strip = -999.0;
643 gap = -999.0;
644 glbTime = -999.0;
645 locx = -999.0;
646 locy = -999.0;
647 locz = -999.0;
648 x = -999.0;
649 y = -999.0;
650 z = -999.0;
651 px = -999.0;
652 py = -999.0;
653 pz = -999.0;
654 v_propagate = 0.5*0.299792458e+3; //mm/ns
655 tPropagate_sphi = -999.0;
656 tPropagate_xphi = -999.0;
657}

◆ initial() [2/2]

void BesTofDigitizerEcV4::HitStruct::initial ( )

◆ print() [1/2]

void BesTofDigitizerEcV4::HitStruct::print ( )

Definition at line 956 of file BesTofDigitizerEcV4.cc.

957{
958 cout<<"Hit information: "<<endl;
959 cout<<" trkIndex= "<<trkIndex
960 <<" pdgCode= "<<pdgCode
961 <<" ions= "<<pdgCode
962 <<" strip= "<<strip
963 <<" gap= "<<gap
964 <<" glbTime= "<<glbTime
965 <<" locx= "<<locx
966 <<" locy= "<<locy
967 <<" locz= "<<locz
968 <<" x= "<<x
969 <<" y= "<<y
970 <<" z= "<<z
971 <<" px= "<<px
972 <<" py= "<<py
973 <<" pz= "<<pz
974 <<" v_propagate= "<<v_propagate
975 <<" tPropagate_sphi= "<<tPropagate_sphi
976 <<" tPropagate_xphi= "<<tPropagate_xphi
977 <<endl;
978}

◆ 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: