CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CTPPSDiamondLocalTrack Class Reference

#include <CTPPSDiamondLocalTrack.h>

Inheritance diagram for CTPPSDiamondLocalTrack:
CTPPSTimingLocalTrack

Public Member Functions

bool containsHit (const CTPPSDiamondRecHit &recHit, float tolerance=0.1) const
 
 CTPPSDiamondLocalTrack ()
 
 CTPPSDiamondLocalTrack (const math::XYZPoint &pos0, const math::XYZPoint &pos0_sigma, float t, float t_sigma, int oot_idx, int mult_hits)
 
int multipleHits () const
 
int ootIndex () const
 
void setMultipleHits (int i)
 
void setOOTIndex (int i)
 
- Public Member Functions inherited from CTPPSTimingLocalTrack
bool containsHit (const CTPPSTimingRecHit &recHit, float tolerance=0.1f, CheckDimension check=CheckDimension::all) const
 
 CTPPSTimingLocalTrack ()
 
 CTPPSTimingLocalTrack (const math::XYZPoint &pos0, const math::XYZPoint &pos0_sigma, float t, float t_sigma)
 
bool isValid () const
 
int numberOfHits () const
 
int numberOfPlanes () const
 
void setNumOfHits (int num_hits)
 
void setNumOfPlanes (int num_planes)
 
void setPosition (const math::XYZPoint &pos0)
 
void setPositionSigma (const math::XYZPoint &pos0_sigma)
 
void setTime (float t)
 
void setTimeSigma (float t_sigma)
 
void setValid (bool valid)
 
float time () const
 
float timeSigma () const
 
float x0 () const
 
float x0Sigma () const
 
float y0 () const
 
float y0Sigma () const
 
float z0 () const
 
float z0Sigma () const
 

Private Attributes

int mh_
 Multiple hits counter. More...
 
int ts_index_
 Time slice index. More...
 

Additional Inherited Members

- Public Types inherited from CTPPSTimingLocalTrack
enum  CheckDimension { CheckDimension::x, CheckDimension::y, CheckDimension::all }
 

Detailed Description

Definition at line 20 of file CTPPSDiamondLocalTrack.h.

Constructor & Destructor Documentation

◆ CTPPSDiamondLocalTrack() [1/2]

CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack ( )

Definition at line 14 of file CTPPSDiamondLocalTrack.cc.

◆ CTPPSDiamondLocalTrack() [2/2]

CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack ( const math::XYZPoint pos0,
const math::XYZPoint pos0_sigma,
float  t,
float  t_sigma,
int  oot_idx,
int  mult_hits 
)

Definition at line 16 of file CTPPSDiamondLocalTrack.cc.

19  : CTPPSTimingLocalTrack(pos0, pos0_sigma, t, t_sigma), ts_index_(oot_idx), mh_(mult_hits) {}

Member Function Documentation

◆ containsHit()

bool CTPPSDiamondLocalTrack::containsHit ( const CTPPSDiamondRecHit recHit,
float  tolerance = 0.1 
) const

◆ multipleHits()

int CTPPSDiamondLocalTrack::multipleHits ( ) const
inline

Definition at line 41 of file CTPPSDiamondLocalTrack.h.

◆ ootIndex()

int CTPPSDiamondLocalTrack::ootIndex ( ) const
inline

Definition at line 38 of file CTPPSDiamondLocalTrack.h.

◆ setMultipleHits()

void CTPPSDiamondLocalTrack::setMultipleHits ( int  i)
inline

Definition at line 40 of file CTPPSDiamondLocalTrack.h.

◆ setOOTIndex()

void CTPPSDiamondLocalTrack::setOOTIndex ( int  i)
inline

Definition at line 37 of file CTPPSDiamondLocalTrack.h.

Member Data Documentation

◆ mh_

int CTPPSDiamondLocalTrack::mh_
private

Multiple hits counter.

Definition at line 47 of file CTPPSDiamondLocalTrack.h.

◆ ts_index_

int CTPPSDiamondLocalTrack::ts_index_
private

Time slice index.

Definition at line 45 of file CTPPSDiamondLocalTrack.h.

Referenced by containsHit().

CTPPSTimingLocalTrack::containsHit
bool containsHit(const CTPPSTimingRecHit &recHit, float tolerance=0.1f, CheckDimension check=CheckDimension::all) const
Definition: CTPPSTimingLocalTrack.cc:27
CTPPSTimingLocalTrack::CTPPSTimingLocalTrack
CTPPSTimingLocalTrack()
Definition: CTPPSTimingLocalTrack.cc:17
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
CTPPSDiamondLocalTrack::ts_index_
int ts_index_
Time slice index.
Definition: CTPPSDiamondLocalTrack.h:45
CTPPSDiamondRecHit::TIMESLICE_WITHOUT_LEADING
static constexpr int TIMESLICE_WITHOUT_LEADING
Definition: CTPPSDiamondRecHit.h:44
CTPPSDiamondLocalTrack::mh_
int mh_
Multiple hits counter.
Definition: CTPPSDiamondLocalTrack.h:47
tolerance
const double tolerance
Definition: HGCalGeomParameters.cc:29
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644