SND@LHC Software
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:
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 TrackCandHitclone () const
 
double getLeftRightResolution () const
 
void setLeftRightResolution (double leftRight)
 
virtual void Print (Option_t *option="") const
 
- 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

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.

31 : TrackCandHit(detId, hitId, planeId, sortingParameter),
32 leftRight_(leftRight)
33{
34 ;
35}
TrackCandHit(int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0.)

◆ ~WireTrackCandHit()

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

Definition at line 44 of file WireTrackCandHit.h.

44{;}

◆ 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 60 of file WireTrackCandHit.h.

60 :
61 TrackCandHit(other), leftRight_(other.leftRight_) {;}

Member Function Documentation

◆ clone()

virtual TrackCandHit * genfit::WireTrackCandHit::clone ( ) const
inlinevirtual

Reimplemented from genfit::TrackCandHit.

Definition at line 46 of file WireTrackCandHit.h.

46{return new WireTrackCandHit(*this);}
WireTrackCandHit(int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0., char leftRight=0)

◆ getLeftRightResolution()

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

Definition at line 49 of file WireTrackCandHit.h.

49{return leftRight_;}

◆ operator=()

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

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

◆ Print()

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

Reimplemented from genfit::TrackCandHit.

Definition at line 38 of file WireTrackCandHit.cc.

38 {
39 std::cout << " WireTrackCandHit. DetId = " << detId_
40 << " \t HitId = " << hitId_
41 << " \t PlaneId = " << planeId_
42 << " \t SortingParameter = " << sortingParameter_
43 << " \t leftRight = " << (int)leftRight_ << "\n";
44}

◆ setLeftRightResolution()

void genfit::WireTrackCandHit::setLeftRightResolution ( double  leftRight)
inline

Definition at line 52 of file WireTrackCandHit.h.

52{leftRight_ = leftRight;}

Member Data Documentation

◆ leftRight_

char genfit::WireTrackCandHit::leftRight_
protected

Definition at line 67 of file WireTrackCandHit.h.


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