GENFIT Rev: NoNumberAvailable
Loading...
Searching...
No Matches
genfit::WireTrackCandHit Class Reference

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

#include <WireTrackCandHit.h>

Inheritance diagram for genfit::WireTrackCandHit:
Inheritance graph
Collaboration diagram for genfit::WireTrackCandHit:
Collaboration graph

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.

Constructor & Destructor Documentation

◆ WireTrackCandHit() [1/2]

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.

References leftRight_, and genfit::TrackCandHit::TrackCandHit().

Referenced by clone(), operator=(), and WireTrackCandHit().

◆ ~WireTrackCandHit()

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

Definition at line 44 of file WireTrackCandHit.h.

◆ WireTrackCandHit() [2/2]

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.

References leftRight_, genfit::TrackCandHit::TrackCandHit(), and WireTrackCandHit().

Member Function Documentation

◆ clone()

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

Reimplemented from genfit::TrackCandHit.

Definition at line 46 of file WireTrackCandHit.h.

References WireTrackCandHit().

◆ getLeftRightResolution()

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

Definition at line 49 of file WireTrackCandHit.h.

References leftRight_.

◆ operator=()

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

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

References WireTrackCandHit().

◆ Print()

void genfit::WireTrackCandHit::Print ( Option_t * option = "") const
overridevirtual

◆ setLeftRightResolution()

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.

References leftRight_.

Member Data Documentation

◆ leftRight_

signed char genfit::WireTrackCandHit::leftRight_
protected

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