Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
genfit::WireTrackCandHit Class Reference

Hit object for use in TrackCand. Provides additional left/right parameter. More...

#include <GenFit/blob/master/measurements/include/WireTrackCandHit.h>

+ Inheritance diagram for genfit::WireTrackCandHit:
+ Collaboration diagram for genfit::WireTrackCandHit:

Public Member Functions

 WireTrackCandHit (int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0., char leftRight=0)
 
virtual ~WireTrackCandHit ()
 
virtual WireTrackCandHitclone () const override
 
int getLeftRightResolution () const
 
void setLeftRightResolution (int leftRight)
 
virtual void Print (Option_t *option="") const override
 
- Public Member Functions inherited from genfit::TrackCandHit
 TrackCandHit (int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0.)
 
virtual ~TrackCandHit ()
 
int getDetId () const
 
int getHitId () const
 
int getPlaneId () const
 
double getSortingParameter () const
 
void setSortingParameter (double sortingParameter)
 

Protected Member Functions

 WireTrackCandHit (const WireTrackCandHit &other)
 protect from calling copy c'tor from outside the class. Use clone() if you want a copy!
 
WireTrackCandHitoperator= (const WireTrackCandHit &)
 protect from calling assignment operator from outside the class. Use clone() instead!
 
- Protected Member Functions inherited from genfit::TrackCandHit
 TrackCandHit (const TrackCandHit &other)
 protect from calling copy c'tor from outside the class. Use clone() if you want a copy!
 
TrackCandHitoperator= (const TrackCandHit &)
 protect from calling assignment operator from outside the class. Use clone() instead!
 

Protected Attributes

signed char leftRight_
 
- Protected Attributes inherited from genfit::TrackCandHit
int detId_
 
int hitId_
 
int planeId_
 
double sortingParameter_
 

Detailed Description

Hit object for use in TrackCand. Provides additional left/right parameter.

Definition at line 34 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 34 of file WireTrackCandHit.h

Constructor & Destructor Documentation

genfit::WireTrackCandHit::WireTrackCandHit ( int  detId = -1,
int  hitId = -1,
int  planeId = -1,
double  sortingParameter = 0.,
char  leftRight = 0 
)

Definition at line 26 of file WireTrackCandHit.cc.

View newest version in sPHENIX GitHub at line 26 of file WireTrackCandHit.cc

Referenced by clone().

+ Here is the caller graph for this function:

virtual genfit::WireTrackCandHit::~WireTrackCandHit ( )
inlinevirtual

Definition at line 44 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 44 of file WireTrackCandHit.h

genfit::WireTrackCandHit::WireTrackCandHit ( const WireTrackCandHit other)
inlineprotected

protect from calling copy c'tor from outside the class. Use clone() if you want a copy!

Definition at line 70 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 70 of file WireTrackCandHit.h

Member Function Documentation

virtual WireTrackCandHit* genfit::WireTrackCandHit::clone ( ) const
inlineoverridevirtual

Reimplemented from genfit::TrackCandHit.

Definition at line 46 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 46 of file WireTrackCandHit.h

References WireTrackCandHit().

+ Here is the call graph for this function:

int genfit::WireTrackCandHit::getLeftRightResolution ( ) const
inline

Definition at line 49 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 49 of file WireTrackCandHit.h

References leftRight_.

WireTrackCandHit& genfit::WireTrackCandHit::operator= ( const WireTrackCandHit )
protected

protect from calling assignment operator from outside the class. Use clone() instead!

void genfit::WireTrackCandHit::Print ( Option_t *  option = "") const
overridevirtual
void genfit::WireTrackCandHit::setLeftRightResolution ( int  leftRight)
inline

select how to resolve the left/right ambiguity: -1: negative (left) side on vector (track direction) x (wire direction) 0: auto select (take side with smallest distance to track) 1: positive (right) side on vector (track direction) x (wire direction)

Definition at line 58 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 58 of file WireTrackCandHit.h

References leftRight_.

Member Data Documentation

signed char genfit::WireTrackCandHit::leftRight_
protected

Definition at line 77 of file WireTrackCandHit.h.

View newest version in sPHENIX GitHub at line 77 of file WireTrackCandHit.h

Referenced by getLeftRightResolution(), Print(), and setLeftRightResolution().


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