QwAnalysis
|
Virtual base class for all tracking elements. More...
#include <VQwTrackingElement.h>
Public Member Functions | |
VQwTrackingElement () | |
Default constructor. More... | |
VQwTrackingElement (const VQwTrackingElement &that) | |
virtual | ~VQwTrackingElement () |
Virtual destructor. More... | |
VQwTrackingElement & | operator= (const VQwTrackingElement &that) |
Assignment operator. More... | |
const QwDetectorInfo * | GetDetectorInfo () const |
Get the detector info pointer. More... | |
void | SetDetectorInfo (const QwDetectorInfo *detectorinfo) |
Set the detector info pointer. More... | |
EQwRegionID | GetRegion () const |
Get the region. More... | |
void | SetRegion (EQwRegionID region) |
Set the region. More... | |
EQwDetectorPackage | GetPackage () const |
Get the package. More... | |
void | SetPackage (EQwDetectorPackage package) |
Set the package. More... | |
int | GetOctant () const |
Get the octant number. More... | |
void | SetOctant (int octant) |
Set the octant number. More... | |
EQwDirectionID | GetDirection () const |
Get the direction. More... | |
void | SetDirection (EQwDirectionID direction) |
Set the direction. More... | |
int | GetPlane () const |
Get the plane number. More... | |
void | SetPlane (int plane) |
Set the plane number. More... | |
int | GetElement () const |
Get the element number. More... | |
void | SetElement (int element) |
Set the element number. More... | |
void | SetGeometryTo (const VQwTrackingElement &e) |
Copy the geometry info from another object. More... | |
Protected Member Functions | |
ClassDef (VQwTrackingElement, 1) | |
Protected Attributes | |
const QwDetectorInfo * | fDetectorInfo |
EQwRegionID | fRegion |
///< Detector info pointer More... | |
EQwDetectorPackage | fPackage |
Package. More... | |
int | fOctant |
Octant number. More... | |
EQwDirectionID | fDirection |
Direction. More... | |
int | fPlane |
Plane number. More... | |
int | fElement |
Element number. More... | |
Virtual base class for all tracking elements.
This is the virtual base class of all tracking elements, such as QwTrack, QwPartialTrack, or QwTreeLine. This class contains the identifying information of the detector where the tracking element resides. All other classes that contain tracking information should inherit from this class.
When components of VQwTrackingElement are ill-defined (for example, the direction in case of partial tracks), they are set to their null value.
Definition at line 37 of file VQwTrackingElement.h.
|
inline |
Default constructor.
Definition at line 42 of file VQwTrackingElement.h.
|
inline |
Definition at line 46 of file VQwTrackingElement.h.
|
inlinevirtual |
|
protected |
|
inline |
Get the detector info pointer.
Definition at line 66 of file VQwTrackingElement.h.
References fDetectorInfo.
Referenced by QwTrackingTreeMatch::MatchRegion3(), QwTrackingTreeCombine::r2_PartialTrackFit(), QwTrackingTreeCombine::r2_TreelineFit(), QwTrackingTreeCombine::r3_PartialTrackFit(), QwTrackingTreeSort::rcCommonWires(), QwHitPattern::SetHDCHit(), QwHitPattern::SetVDCHit(), QwTrackingTreeCombine::TlCheckForX(), QwTrackingTreeCombine::TlMatchHits(), QwTrackingTreeCombine::TlTreeCombine(), and QwTrackingTreeSearch::TsSetPoint().
|
inline |
Get the direction.
Definition at line 86 of file VQwTrackingElement.h.
References fDirection.
Referenced by QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTreeLine::operator=(), and QwTrackingTreeCombine::TlCheckForX().
|
inline |
Get the element number.
Definition at line 96 of file VQwTrackingElement.h.
References fElement.
Referenced by QwHitPattern::SetHDCHit(), QwTrackingTreeCombine::TlMatchHits(), and QwTrackingTreeSearch::TsSetPoint().
|
inline |
Get the octant number.
Definition at line 81 of file VQwTrackingElement.h.
References fOctant.
Referenced by QwRayTracer::Bridge(), QwPartialTrack::RotateCoordinates(), and QwTrackingTreeCombine::TlTreeCombine().
|
inline |
Get the package.
Definition at line 76 of file VQwTrackingElement.h.
References fPackage.
Referenced by QwRayTracer::Bridge(), QwPartialTrack::DeterminePositionInCerenkovBars(), QwPartialTrack::DeterminePositionInHDC(), QwPartialTrack::DeterminePositionInTriggerScintillators(), QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTreeLine::operator=(), and QwTrack::QwTrack().
|
inline |
Get the plane number.
Definition at line 91 of file VQwTrackingElement.h.
References fPlane.
Referenced by QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTreeLine::operator=(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::TlTreeCombine().
|
inline |
Get the region.
Definition at line 71 of file VQwTrackingElement.h.
References fRegion.
Referenced by QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTreeLine::operator=(), and QwTrackingTreeCombine::TlCheckForX().
|
inline |
Assignment operator.
Definition at line 54 of file VQwTrackingElement.h.
References fDetectorInfo, fDirection, fElement, fOctant, fPackage, fPlane, and fRegion.
Referenced by QwTrack::operator=(), QwPartialTrack::operator=(), QwTreeLine::operator=(), and QwHitPattern::operator=().
|
inline |
Set the detector info pointer.
Definition at line 68 of file VQwTrackingElement.h.
References fDetectorInfo.
Referenced by QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion3(), QwTrackingTreeCombine::TlCheckForX(), QwTrackingTreeCombine::TlMatchHits(), and QwDriftChamberVDC::UpdateHits().
|
inline |
Set the direction.
Definition at line 88 of file VQwTrackingElement.h.
References fDirection.
Referenced by QwTrackingTreeMatch::MatchRegion3(), QwTreeLine::operator=(), and QwTrackingWorker::ProcessEvent().
|
inline |
|
inline |
Copy the geometry info from another object.
Definition at line 101 of file VQwTrackingElement.h.
References fDetectorInfo, fDirection, fElement, fOctant, fPackage, fPlane, and fRegion.
|
inline |
Set the octant number.
Definition at line 83 of file VQwTrackingElement.h.
References fOctant.
Referenced by QwRayTracer::Bridge(), QwTrackingTreeMatch::MatchRegion3(), QwTrackingTreeCombine::TlTreeCombine(), and QwTrackingTreeCombine::TlTreeLineSort().
|
inline |
Set the package.
Definition at line 78 of file VQwTrackingElement.h.
References fPackage.
Referenced by QwRayTracer::Bridge(), QwTrackingTreeMatch::MatchRegion3(), QwTreeLine::operator=(), QwTrackingWorker::ProcessEvent(), QwTrack::QwTrack(), and QwTrackingTreeCombine::TlTreeCombine().
|
inline |
Set the plane number.
Definition at line 93 of file VQwTrackingElement.h.
References fPlane.
Referenced by QwTreeLine::operator=(), and QwTrackingWorker::ProcessEvent().
|
inline |
Set the region.
Definition at line 73 of file VQwTrackingElement.h.
References fRegion.
Referenced by QwTreeEventBuffer::CreatePartialTracks(), QwTrackingTreeMatch::MatchRegion3(), QwTreeLine::operator=(), QwTrackingWorker::ProcessEvent(), and QwTrackingTreeCombine::TlTreeCombine().
|
protected |
Definition at line 109 of file VQwTrackingElement.h.
Referenced by GetDetectorInfo(), QwHit::Initialize(), operator<<(), operator=(), QwHit::operator=(), SetDetectorInfo(), and SetGeometryTo().
|
protected |
Direction.
Definition at line 123 of file VQwTrackingElement.h.
Referenced by QwHit::DirMatches(), QwHit::GetDetectorID(), GetDirection(), QwHit::Initialize(), QwHit::operator<(), operator<<(), operator=(), QwHit::operator=(), QwHit::QwHit(), SetDirection(), and SetGeometryTo().
|
protected |
Element number.
Definition at line 125 of file VQwTrackingElement.h.
Referenced by QwHit::GetDetectorID(), GetElement(), QwHit::Initialize(), QwHit::operator<(), operator<<(), operator=(), QwHit::operator=(), QwHit::QwHit(), SetElement(), SetGeometryTo(), and QwHit::WireMatches().
|
protected |
Octant number.
Definition at line 122 of file VQwTrackingElement.h.
Referenced by QwHit::GetDetectorID(), GetOctant(), operator<<(), operator=(), QwHit::QwHit(), SetGeometryTo(), and SetOctant().
|
protected |
Package.
Definition at line 121 of file VQwTrackingElement.h.
Referenced by QwHit::DirMatches(), QwHit::GetDetectorID(), GetPackage(), QwHit::Initialize(), QwHit::operator<(), operator<<(), operator=(), QwHit::operator=(), QwHit::PlaneMatches(), QwHit::QwHit(), SetGeometryTo(), SetPackage(), and QwHit::WireMatches().
|
protected |
Plane number.
Definition at line 124 of file VQwTrackingElement.h.
Referenced by QwHit::GetDetectorID(), GetPlane(), QwHit::Initialize(), QwHit::operator<(), operator<<(), operator=(), QwHit::operator=(), QwHit::PlaneMatches(), QwHit::QwHit(), SetGeometryTo(), SetPlane(), and QwHit::WireMatches().
|
protected |
///< Detector info pointer
Region
Definition at line 120 of file VQwTrackingElement.h.
Referenced by QwHit::DirMatches(), QwHit::GetDetectorID(), GetRegion(), QwHit::Initialize(), QwHit::operator<(), operator<<(), operator=(), QwHit::operator=(), QwHit::PlaneMatches(), QwHit::QwHit(), SetGeometryTo(), SetRegion(), and QwHit::WireMatches().