StRoot
1
|
Public Member Functions | |
StETofGeometry (const char *name="etofGeo", const char *title="simplified ETOF Geometry") | |
void | init (TGeoManager *geoManager, const double *safetyMargins=0, const bool useHelixSwimmer=false) |
void | reset () |
bool | isInitDone () const |
bool | setInitFlag (const bool initFlag) |
std::string | formTGeoPath (const TGeoManager *geoManager, int plane, int sector, int counter=-1) |
std::string | formTGeoPath (const TGeoManager *geoManager, int plane, int sector, int counter, int gap) |
int | calcModuleIndex (const int §or, const int &plane) |
int | calcVolumeIndex (const int §or, const int &plane, const int &counter, const int &strip) |
void | decodeVolumeIndex (const int &volumeId, int §or, int &plane, int &counter, int &strip) |
StETofNode * | findETofNode (const int moduleId, const int counter) |
void | pointMaster2local (const int moduleId, const int counterId, const double *master, double *local) |
void | hitLocal2Master (const int moduleId, const int counter, const double *local, double *master) |
StThreeVectorD | hitLocal2Master (StETofHit *hit) |
StThreeVectorD | hitLocal2Master (StMuETofHit *hit) |
TVector3 | hitLocal2Master (StPicoETofHit *hit) |
std::vector< int > | sectorAtPhi (const double &angle) |
StThreeVectorD | helixCrossETofPlane (const StHelixD &helix) |
StThreeVectorD | helixCrossPlane (const StHelixD &helix, const double &z) |
void | helixSwimmer (const StPhysicalHelixD &helix, StPhysicalHelixD &swimmerHelix, const double &z, double &pathlength) |
std::vector< int > | helixCrossSector (const StHelixD &helix) |
void | helixCrossCounter (const StPhysicalHelixD &helix, std::vector< int > &idVec, std::vector< StThreeVectorD > &crossVec, std::vector< StThreeVectorD > &localVec, std::vector< double > &thetaVec, std::vector< double > &pathLenVec) |
void | logPoint (const char *text, const StThreeVectorD &point) |
TVector3 | helixCrossETofPlane (const StPicoHelix &helix) |
TVector3 | helixCrossPlane (const StPicoHelix &helix, const double &z) |
void | helixSwimmer (const StPicoPhysicalHelix &helix, StPicoPhysicalHelix &swimmerHelix, const double &z, double &pathlength) |
std::vector< int > | helixCrossSector (const StPicoHelix &helix) |
void | helixCrossCounter (const StPicoPhysicalHelix &helix, std::vector< int > &idVec, std::vector< TVector3 > &crossVec, std::vector< TVector3 > &localVec, std::vector< double > &thetaVec) |
void | logPoint (const char *text, const TVector3 &point) |
StThreeVectorD | getField (const StThreeVectorD &pos) |
TVector3 | getField (const TVector3 &pos) |
double | getFieldZ (const StThreeVectorD &pos) |
double | getFieldZ (const TVector3 &pos) |
double | getFieldZ (const double &x, const double &y, const double &z) |
StETofGeomModule * | module (const unsigned int i) |
unsigned int | nValidModules () const |
void | readAlignmentParameters () |
void | readAlignmentDatabase () |
void | setFileNameAlignParam (std::string FileNameAlignParam) |
void | debugOn () |
void | debugOff () |
bool | isDebugOn () const |
Definition at line 282 of file StETofGeometry.h.
std::string StETofGeometry::formTGeoPath | ( | const TGeoManager * | geoManager, |
int | plane, | ||
int | sector, | ||
int | counter = -1 |
||
) |
FormTGeoPath Returns full path to the eTof module/counter placed at a predefined location in the detector's ROOT geometry. An empty string is returned if the module/counter is not found in the geometry hierarchy (via TGeoManager).
Definition at line 705 of file StETofGeometry.cxx.
void StETofGeometry::helixCrossCounter | ( | const StPhysicalHelixD & | helix, |
std::vector< int > & | idVec, | ||
std::vector< StThreeVectorD > & | crossVec, | ||
std::vector< StThreeVectorD > & | localVec, | ||
std::vector< double > & | thetaVec, | ||
std::vector< double > & | pathLenVec | ||
) |
HelixCrossCounter Returns true if a counter is crossed by a helix
Definition at line 1080 of file StETofGeometry.cxx.
References helixCrossSector().
void StETofGeometry::helixCrossCounter | ( | const StPicoPhysicalHelix & | helix, |
std::vector< int > & | idVec, | ||
std::vector< TVector3 > & | crossVec, | ||
std::vector< TVector3 > & | localVec, | ||
std::vector< double > & | thetaVec | ||
) |
HelixCrossCounter( Returns true if a counter is crossed by a helix
Definition at line 1328 of file StETofGeometry.cxx.
References helixCrossSector().
std::vector< int > StETofGeometry::helixCrossSector | ( | const StHelixD & | helix | ) |
HelixCrossSector Returns a vector of sector ids that the track could intersect with
Definition at line 1015 of file StETofGeometry.cxx.
Referenced by helixCrossCounter().
std::vector< int > StETofGeometry::helixCrossSector | ( | const StPicoHelix & | helix | ) |
HelixCrossSector Returns a vector of sector ids that the track could intersect with
Definition at line 1313 of file StETofGeometry.cxx.