QwAnalysis
VQwTrackingElement Class Reference

Virtual base class for all tracking elements. More...

#include <VQwTrackingElement.h>

+ Inheritance diagram for VQwTrackingElement:
+ Collaboration diagram for VQwTrackingElement:

Public Member Functions

 VQwTrackingElement ()
 Default constructor. More...
 
 VQwTrackingElement (const VQwTrackingElement &that)
 
virtual ~VQwTrackingElement ()
 Virtual destructor. More...
 
VQwTrackingElementoperator= (const VQwTrackingElement &that)
 Assignment operator. More...
 
const QwDetectorInfoGetDetectorInfo () 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 QwDetectorInfofDetectorInfo
 
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...
 

Detailed Description

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.

Constructor & Destructor Documentation

VQwTrackingElement::VQwTrackingElement ( )
inline

Default constructor.

Definition at line 42 of file VQwTrackingElement.h.

43  : TObject(),fDetectorInfo(0),
EQwDirectionID fDirection
Direction.
int fElement
Element number.
EQwDetectorPackage fPackage
Package.
int fPlane
Plane number.
int fOctant
Octant number.
EQwRegionID fRegion
///&lt; Detector info pointer
const QwDetectorInfo * fDetectorInfo
VQwTrackingElement::VQwTrackingElement ( const VQwTrackingElement that)
inline

Definition at line 46 of file VQwTrackingElement.h.

47  : TObject(that),fDetectorInfo(that.fDetectorInfo),
48  fRegion(that.fRegion), fPackage(that.fPackage), fOctant(that.fOctant),
49  fDirection(that.fDirection), fPlane(that.fPlane), fElement(that.fElement) { };
EQwDirectionID fDirection
Direction.
int fElement
Element number.
EQwDetectorPackage fPackage
Package.
int fPlane
Plane number.
int fOctant
Octant number.
EQwRegionID fRegion
///&lt; Detector info pointer
const QwDetectorInfo * fDetectorInfo
virtual VQwTrackingElement::~VQwTrackingElement ( )
inlinevirtual

Virtual destructor.

Definition at line 51 of file VQwTrackingElement.h.

51 {};

Member Function Documentation

VQwTrackingElement::ClassDef ( VQwTrackingElement  ,
 
)
protected
EQwDirectionID VQwTrackingElement::GetDirection ( ) const
inline

Get the direction.

Definition at line 86 of file VQwTrackingElement.h.

References fDirection.

Referenced by QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTreeLine::operator=(), and QwTrackingTreeCombine::TlCheckForX().

86 { return fDirection; };
EQwDirectionID fDirection
Direction.

+ Here is the caller graph for this function:

int VQwTrackingElement::GetElement ( ) const
inline

Get the element number.

Definition at line 96 of file VQwTrackingElement.h.

References fElement.

Referenced by QwHitPattern::SetHDCHit(), QwTrackingTreeCombine::TlMatchHits(), and QwTrackingTreeSearch::TsSetPoint().

96 { return fElement; };
int fElement
Element number.

+ Here is the caller graph for this function:

int VQwTrackingElement::GetOctant ( ) const
inline

Get the octant number.

Definition at line 81 of file VQwTrackingElement.h.

References fOctant.

Referenced by QwRayTracer::Bridge(), QwPartialTrack::RotateCoordinates(), and QwTrackingTreeCombine::TlTreeCombine().

81 { return fOctant; };
int fOctant
Octant number.

+ Here is the caller graph for this function:

EQwDetectorPackage VQwTrackingElement::GetPackage ( ) const
inline
int VQwTrackingElement::GetPlane ( ) const
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().

91 { return fPlane; };
int fPlane
Plane number.

+ Here is the caller graph for this function:

EQwRegionID VQwTrackingElement::GetRegion ( ) const
inline

Get the region.

Definition at line 71 of file VQwTrackingElement.h.

References fRegion.

Referenced by QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTreeLine::operator=(), and QwTrackingTreeCombine::TlCheckForX().

71 { return fRegion; };
EQwRegionID fRegion
///&lt; Detector info pointer

+ Here is the caller graph for this function:

VQwTrackingElement& VQwTrackingElement::operator= ( const VQwTrackingElement that)
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=().

54  {
56  fRegion = that.fRegion;
57  fPackage = that.fPackage;
58  fOctant = that.fOctant;
59  fDirection = that.fDirection;
60  fPlane = that.fPlane;
61  fElement = that.fElement;
62  return *this;
63  };
EQwDirectionID fDirection
Direction.
int fElement
Element number.
EQwDetectorPackage fPackage
Package.
int fPlane
Plane number.
int fOctant
Octant number.
EQwRegionID fRegion
///&lt; Detector info pointer
const QwDetectorInfo * fDetectorInfo

+ Here is the caller graph for this function:

void VQwTrackingElement::SetDetectorInfo ( const QwDetectorInfo detectorinfo)
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().

68 { fDetectorInfo = detectorinfo; };
const QwDetectorInfo * fDetectorInfo

+ Here is the caller graph for this function:

void VQwTrackingElement::SetDirection ( EQwDirectionID  direction)
inline

Set the direction.

Definition at line 88 of file VQwTrackingElement.h.

References fDirection.

Referenced by QwTrackingTreeMatch::MatchRegion3(), QwTreeLine::operator=(), and QwTrackingWorker::ProcessEvent().

88 { fDirection = direction; };
EQwDirectionID fDirection
Direction.

+ Here is the caller graph for this function:

void VQwTrackingElement::SetElement ( int  element)
inline

Set the element number.

Definition at line 98 of file VQwTrackingElement.h.

References fElement.

98 { fElement = element; };
int fElement
Element number.
void VQwTrackingElement::SetGeometryTo ( const VQwTrackingElement e)
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.

101  {
103  fRegion = e.fRegion;
104  fPackage = e.fPackage;
105  fOctant = e.fOctant;
107  fPlane = e.fPlane;
108  fElement = e.fElement;
109  };
EQwDirectionID fDirection
Direction.
int fElement
Element number.
EQwDetectorPackage fPackage
Package.
int fPlane
Plane number.
int fOctant
Octant number.
EQwRegionID fRegion
///&lt; Detector info pointer
const QwDetectorInfo * fDetectorInfo
void VQwTrackingElement::SetOctant ( int  octant)
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().

83 { fOctant = octant; };
int fOctant
Octant number.

+ Here is the caller graph for this function:

void VQwTrackingElement::SetPackage ( EQwDetectorPackage  package)
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().

78 { fPackage = package; };
EQwDetectorPackage fPackage
Package.

+ Here is the caller graph for this function:

void VQwTrackingElement::SetPlane ( int  plane)
inline

Set the plane number.

Definition at line 93 of file VQwTrackingElement.h.

References fPlane.

Referenced by QwTreeLine::operator=(), and QwTrackingWorker::ProcessEvent().

93 { fPlane = plane; };
int fPlane
Plane number.

+ Here is the caller graph for this function:

void VQwTrackingElement::SetRegion ( EQwRegionID  region)
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().

73 { fRegion = region; };
EQwRegionID fRegion
///&lt; Detector info pointer

+ Here is the caller graph for this function:

Field Documentation

const QwDetectorInfo* VQwTrackingElement::fDetectorInfo
protected
int VQwTrackingElement::fOctant
protected

The documentation for this class was generated from the following file: