BOSS 6.6.4.p03
BESIII Offline Software System
|
#include <MucGeoGap.h>
Public Member Functions | |
MucGeoGap () | |
Default constructor. | |
MucGeoGap (const int part, const int seg, const int gap, const int orient, const int stripNum, const float xSize, const float ySize, const float zSize, const float xTarget1Global, const float yTarget1Global, const float zTarget1Global, const float xTarget2Global, const float yTarget2Global, const float zTarget2Global, const float xTarget3Global, const float yTarget3Global, const float zTarget3Global, const float dzHighEdge, const float dzFarFrontGas, const float dzNearFrontGas, const float dzNearBackGas, const float dzFarBackGas, const float dxTarget1ToFiducial, const float dyTarget1ToFiducial, const float dxFiducialToCenter, const float dyFiducialToCenter) | |
Real constructor (construct strips externally). | |
MucGeoGap (const int part, const int seg, const int gap, const int orient, const int stripNum, const TGeoPhysicalNode *gapPhyscialNode, const float ironThickness) | |
ROOT constructor. | |
MucGeoGap & | operator= (const MucGeoGap &orig) |
Assignment constructor. | |
MucGeoGap (const MucGeoGap &orig) | |
Copy constructor. | |
~MucGeoGap () | |
Desctructor. | |
int | Part () const |
Get part identifier (0,2 for cap, 1 for barrel). | |
int | Seg () const |
Get seg identifier (0-7). | |
int | Gap () const |
Get gap identifier (0-8). | |
int | Orient () const |
int | GetStripNum () const |
Get SoftID. | |
float | GetIronThickness () const |
bool | GetHitStatus () const |
Get whether this gap is hit. | |
float | GetdzFarFrontGas () const |
Get m_dzFarFrontGas;. | |
float | GetdzNearFrontGas () const |
Get m_dzNearFrontGas;. | |
float | GetdzFarBackGas () const |
Get m_dzFarFrontGas;. | |
float | GetdzNearBackGas () const |
Get m_dzNearBackGas;. | |
MucGeoStrip * | GetStrip (const int strip) const |
Point to a strip within this gap. | |
HepPoint3D | GetCenter () const |
Get gap center position in global coordinate. | |
void | GetSize (float &xSize, float &ySize, float &zSize) const |
Get size of this gap. | |
void | GetRotationMatrix (float &thetaX, float &phiX, float &thetaY, float &phiY, float &thetaZ, float &phiZ) const |
Get the rotation angles (in degrees) of the gap in global coordinate. | |
int | GuessStrip (const float x, const float y, const float z) const |
HepPoint3D | ProjectToGap (const HepPoint3D gPoint, const Hep3Vector gVect) const |
Given a line, find the intersection with the gap in the global. | |
HepPoint3D | ProjectToGapWithSigma (const HepPoint3D gPoint, const Hep3Vector gVect, const HepPoint3D gPointSigma, const Hep3Vector gVectSigma, HepPoint3D &gCross, HepPoint3D &gCrossSigma) const |
void | ProjectToGapSurface (const HepPoint3D gPoint, const Hep3Vector gVect, HepPoint3D &cross1, HepPoint3D &cross2) const |
Given a line, find the intersection with two surface of the gap in the global. | |
HepPoint3D | ProjectToGapQuadLocal (const int part, const int orient, const float a, const float b, const float c, const int whichhalf, HepPoint3D &cross1, HepPoint3D &cross2) const |
HepPoint3D | ProjectToGap (const HepPoint3D gPoint, const float vy, const float y0, const float a, const float b, const float c, const int whichhalf, HepPoint3D &cross1, HepPoint3D &cross2) const |
Given parabola, and a line, find the intersection with the gap in the global. | |
void | ProjectToGapSurface (const HepPoint3D gPoint, const float vy, const float y0, const float a, const float b, const float c, const int whichhalf, HepPoint3D &cross1, HepPoint3D &cross2) const |
Given parabola, and a line, find the intersection with two surface of the gap in the global. | |
HepPoint3D | CompareIntersection (const int whichhalf, const HepPoint3D gCross1, const HepPoint3D gCross2, const float a, const float b, const float c) const |
Hep3Vector | RotateToGlobal (const Hep3Vector pVect) const |
Rotate a vector from gap coordinate to global coordinate. | |
Hep3Vector | RotateToGap (const Hep3Vector gVect) const |
Rotate a vector from global coordinate to gap coordinate. | |
HepPoint3D | TransformToGlobal (const HepPoint3D pPoint) const |
Transform a point from gap coordinate to global coordinate. | |
HepPoint3D | TransformToGap (const HepPoint3D gPoint) const |
Transform a point from global coordinate to gap coordinate. | |
bool | IsInGap (const float x, const float y, const float z) const |
Check if the point (given in gap coordinate) is within the gap boundary. | |
MucGeoStrip * | AddStrip (const int strip) |
Add a strip to the gap. | |
void | SetHitStatus (const bool hit) |
Set SoftID of the gap. | |
Definition at line 44 of file MucGeoGap.h.
MucGeoGap::MucGeoGap | ( | ) |
Default constructor.
Definition at line 24 of file MucGeoGap.cxx.
MucGeoGap::MucGeoGap | ( | const int | part, |
const int | seg, | ||
const int | gap, | ||
const int | orient, | ||
const int | stripNum, | ||
const float | xSize, | ||
const float | ySize, | ||
const float | zSize, | ||
const float | xTarget1Global, | ||
const float | yTarget1Global, | ||
const float | zTarget1Global, | ||
const float | xTarget2Global, | ||
const float | yTarget2Global, | ||
const float | zTarget2Global, | ||
const float | xTarget3Global, | ||
const float | yTarget3Global, | ||
const float | zTarget3Global, | ||
const float | dzHighEdge, | ||
const float | dzFarFrontGas, | ||
const float | dzNearFrontGas, | ||
const float | dzNearBackGas, | ||
const float | dzFarBackGas, | ||
const float | dxTarget1ToFiducial, | ||
const float | dyTarget1ToFiducial, | ||
const float | dxFiducialToCenter, | ||
const float | dyFiducialToCenter | ||
) |
Real constructor (construct strips externally).
Definition at line 36 of file MucGeoGap.cxx.
MucGeoGap::MucGeoGap | ( | const int | part, |
const int | seg, | ||
const int | gap, | ||
const int | orient, | ||
const int | stripNum, | ||
const TGeoPhysicalNode * | gapPhyscialNode, | ||
const float | ironThickness | ||
) |
ROOT constructor.
Definition at line 142 of file MucGeoGap.cxx.
MucGeoGap::MucGeoGap | ( | const MucGeoGap & | orig | ) |
Copy constructor.
Definition at line 257 of file MucGeoGap.cxx.
MucGeoGap::~MucGeoGap | ( | ) |
Desctructor.
Definition at line 282 of file MucGeoGap.cxx.
MucGeoStrip * MucGeoGap::AddStrip | ( | const int | strip | ) |
Add a strip to the gap.
Definition at line 645 of file MucGeoGap.cxx.
HepPoint3D MucGeoGap::CompareIntersection | ( | const int | whichhalf, |
const HepPoint3D | gCross1, | ||
const HepPoint3D | gCross2, | ||
const float | a, | ||
const float | b, | ||
const float | c | ||
) | const |
Definition at line 559 of file MucGeoGap.cxx.
Referenced by ProjectToGapSurface().
|
inline |
Get gap identifier (0-8).
Definition at line 104 of file MucGeoGap.h.
Referenced by RecMucTrack::ComputeDistanceMatch(), MucGeoStrip::Gap(), and operator<<().
|
inline |
Get gap center position in global coordinate.
Definition at line 137 of file MucGeoGap.h.
Referenced by MucRecLineFit::LineFit(), and operator<<().
|
inline |
Get m_dzFarFrontGas;.
Definition at line 128 of file MucGeoGap.h.
Referenced by MucGeoStrip::SetStrip().
|
inline |
Get m_dzFarFrontGas;.
Definition at line 122 of file MucGeoGap.h.
Referenced by MucGeoStrip::SetStrip().
|
inline |
Get m_dzNearBackGas;.
Definition at line 131 of file MucGeoGap.h.
Referenced by MucGeoStrip::SetStrip().
|
inline |
Get m_dzNearFrontGas;.
Definition at line 125 of file MucGeoGap.h.
Referenced by MucGeoStrip::SetStrip().
|
inline |
|
inline |
Definition at line 116 of file MucGeoGap.h.
Referenced by RecMucTrack::ComputeDepth().
void MucGeoGap::GetRotationMatrix | ( | float & | thetaX, |
float & | phiX, | ||
float & | thetaY, | ||
float & | phiY, | ||
float & | thetaZ, | ||
float & | phiZ | ||
) | const |
Get the rotation angles (in degrees) of the gap in global coordinate.
Definition at line 321 of file MucGeoGap.cxx.
Referenced by ExtMucKal::GetRoationMatrix().
void MucGeoGap::GetSize | ( | float & | xSize, |
float & | ySize, | ||
float & | zSize | ||
) | const |
Get size of this gap.
Definition at line 310 of file MucGeoGap.cxx.
Referenced by operator<<().
MucGeoStrip * MucGeoGap::GetStrip | ( | const int | strip | ) | const |
Point to a strip within this gap.
Definition at line 294 of file MucGeoGap.cxx.
Referenced by MucGeoGeneral::FindIntersectStrips(), and GuessStrip().
|
inline |
Get SoftID.
Get number of strips in this gap.
Definition at line 114 of file MucGeoGap.h.
Referenced by MucGeoGeneral::FindIntersectStrips(), and operator<<().
int MucGeoGap::GuessStrip | ( | const float | x, |
const float | y, | ||
const float | z | ||
) | const |
Given a position (gap coordinate), guess the approximate strip containing the position, as there are intervals between the strips.
Definition at line 346 of file MucGeoGap.cxx.
Referenced by MucGeoGeneral::FindIntersectStrips(), and ExtMucKal::MucKalIniti().
bool MucGeoGap::IsInGap | ( | const float | x, |
const float | y, | ||
const float | z | ||
) | const |
Check if the point (given in gap coordinate) is within the gap boundary.
Definition at line 634 of file MucGeoGap.cxx.
Referenced by CompareIntersection(), MucGeoGeneral::FindIntersectGaps(), MucGeoGeneral::FindIntersections(), and ProjectToGap().
Assignment constructor.
Definition at line 223 of file MucGeoGap.cxx.
|
inline |
Get orientation of strips in this gap ( 0 for strips parrel to x axis, 1 for strips parrel to y axis. in gap coordinate).
Definition at line 108 of file MucGeoGap.h.
Referenced by RecMucTrack::CalculateInsct(), RecMucTrack::ComputeDistanceMatch(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), ExtMucKal::ExtMucFilter(), MucGeoGeneral::FindIntersectStrips(), ExtMucKal::GetDistance(), MucRec2DRoad::GetHitDistance(), RecMucTrack::GetHitDistance(), RecMucTrack::GetHitDistance2(), MucRecRoadFinder::TrackFinding(), MucRecTrkExt::TrackFinding(), and ExtMucKal::TrackHit().
|
inline |
Get part identifier (0,2 for cap, 1 for barrel).
Definition at line 98 of file MucGeoGap.h.
Referenced by RecMucTrack::ComputeDistanceMatch(), operator<<(), and MucGeoStrip::Part().
HepPoint3D MucGeoGap::ProjectToGap | ( | const HepPoint3D | gPoint, |
const float | vy, | ||
const float | y0, | ||
const float | a, | ||
const float | b, | ||
const float | c, | ||
const int | whichhalf, | ||
HepPoint3D & | cross1, | ||
HepPoint3D & | cross2 | ||
) | const |
Given parabola, and a line, find the intersection with the gap in the global.
Definition at line 468 of file MucGeoGap.cxx.
HepPoint3D MucGeoGap::ProjectToGap | ( | const HepPoint3D | gPoint, |
const Hep3Vector | gVect | ||
) | const |
Given a line, find the intersection with the gap in the global.
Definition at line 379 of file MucGeoGap.cxx.
Referenced by MucGeoGeneral::FindIntersectGaps(), MucGeoGeneral::FindIntersection(), MucGeoGeneral::FindIntersections(), MucGeoGeneral::FindIntersectStrips(), and ExtMucKal::MucKalIniti().
HepPoint3D MucGeoGap::ProjectToGapQuadLocal | ( | const int | part, |
const int | orient, | ||
const float | a, | ||
const float | b, | ||
const float | c, | ||
const int | whichhalf, | ||
HepPoint3D & | cross1, | ||
HepPoint3D & | cross2 | ||
) | const |
Definition at line 435 of file MucGeoGap.cxx.
Referenced by MucGeoGeneral::FindIntersectionQuadLocal().
void MucGeoGap::ProjectToGapSurface | ( | const HepPoint3D | gPoint, |
const float | vy, | ||
const float | y0, | ||
const float | a, | ||
const float | b, | ||
const float | c, | ||
const int | whichhalf, | ||
HepPoint3D & | cross1, | ||
HepPoint3D & | cross2 | ||
) | const |
Given parabola, and a line, find the intersection with two surface of the gap in the global.
Definition at line 528 of file MucGeoGap.cxx.
void MucGeoGap::ProjectToGapSurface | ( | const HepPoint3D | gPoint, |
const Hep3Vector | gVect, | ||
HepPoint3D & | cross1, | ||
HepPoint3D & | cross2 | ||
) | const |
Given a line, find the intersection with two surface of the gap in the global.
Definition at line 415 of file MucGeoGap.cxx.
Referenced by MucGeoGeneral::FindIntersectionSurface().
HepPoint3D MucGeoGap::ProjectToGapWithSigma | ( | const HepPoint3D | gPoint, |
const Hep3Vector | gVect, | ||
const HepPoint3D | gPointSigma, | ||
const Hep3Vector | gVectSigma, | ||
HepPoint3D & | gCross, | ||
HepPoint3D & | gCrossSigma | ||
) | const |
Definition at line 396 of file MucGeoGap.cxx.
Hep3Vector MucGeoGap::RotateToGap | ( | const Hep3Vector | gVect | ) | const |
Rotate a vector from global coordinate to gap coordinate.
Definition at line 613 of file MucGeoGap.cxx.
Referenced by ExtMucKal::ExtMucFilter(), and MucGeoGeneral::FindIntersectStrips().
Hep3Vector MucGeoGap::RotateToGlobal | ( | const Hep3Vector | pVect | ) | const |
Rotate a vector from gap coordinate to global coordinate.
Definition at line 606 of file MucGeoGap.cxx.
Referenced by ExtMucKal::ExtMucFilter(), and MucRecHit::MucRecHit().
|
inline |
Get seg identifier (0-7).
Definition at line 101 of file MucGeoGap.h.
Referenced by RecMucTrack::ComputeDistanceMatch(), operator<<(), and MucGeoStrip::Seg().
|
inline |
Set SoftID of the gap.
Tell whether or not this gap registered a signal in this event.
Definition at line 218 of file MucGeoGap.h.
HepPoint3D MucGeoGap::TransformToGap | ( | const HepPoint3D | gPoint | ) | const |
Transform a point from global coordinate to gap coordinate.
Definition at line 627 of file MucGeoGap.cxx.
Referenced by RecMucTrack::CalculateInsct(), CompareIntersection(), RecMucTrack::ComputeDistanceMatch(), ExtMucKal::ExtMucFilter(), MucGeoGeneral::FindIntersectGaps(), MucGeoGeneral::FindIntersection(), MucGeoGeneral::FindIntersectionQuadLocal(), MucGeoGeneral::FindIntersections(), MucGeoGeneral::FindIntersectStrips(), ExtMucKal::GetDistance(), MucRec2DRoad::GetHitDistance(), RecMucTrack::GetHitDistance(), RecMucTrack::GetHitDistance2(), ExtMucKal::MucKalIniti(), ProjectToGap(), and ExtSteppingAction::UserSteppingAction().
HepPoint3D MucGeoGap::TransformToGlobal | ( | const HepPoint3D | pPoint | ) | const |
Transform a point from gap coordinate to global coordinate.
Definition at line 620 of file MucGeoGap.cxx.
Referenced by RecMucTrack::CalculateInsct(), ExtMucKal::ExtMucFilter(), main(), and MucRecHit::MucRecHit().