CMS 3D CMS Logo

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

#include <CTPPSDiamondLocalTrack.h>

Public Member Functions

 CTPPSDiamondLocalTrack ()
 
 CTPPSDiamondLocalTrack (const math::XYZPoint &pos0, const math::XYZPoint &pos0_sigma, float chisq, float t, float t_sigma, int oot_idx, int mult_hits)
 
float getChiSquared () const
 
int getMultipleHits () const
 
int getOOTIndex () const
 
float getT () const
 
float getTSigma () const
 
float getX0 () const
 
float getX0Sigma () const
 
float getY0 () const
 
float getY0Sigma () const
 
float getZ0 () const
 
bool isValid () const
 
void setChiSquared (const float chisq)
 
void setMultipleHits (const int i)
 
void setOOTIndex (const int i)
 
void setPosition (const math::XYZPoint &pos0)
 
void setPositionSigma (const math::XYZPoint &pos0_sigma)
 
void setT (const float t)
 
void setTSigma (const float t_sigma)
 
void setValid (bool valid)
 
virtual ~CTPPSDiamondLocalTrack ()
 

Private Attributes

float chi_squared_
 fit chi^2 More...
 
int mh_
 Multiple hits counter. More...
 
math::XYZPoint pos0_
 initial track position More...
 
math::XYZPoint pos0_sigma_
 error on the initial track position More...
 
float t_
 
float t_sigma_
 
int ts_index_
 Time slice index. More...
 
bool valid_
 fit valid? More...
 

Detailed Description

Definition at line 18 of file CTPPSDiamondLocalTrack.h.

Constructor & Destructor Documentation

CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack ( )
inline

Definition at line 21 of file CTPPSDiamondLocalTrack.h.

21  :
22  chi_squared_( 0. ), valid_( true ), t_( 0. ), t_sigma_( 0. ), ts_index_( 0 ), mh_( 0 ) {}
int ts_index_
Time slice index.
int mh_
Multiple hits counter.
CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack ( const math::XYZPoint pos0,
const math::XYZPoint pos0_sigma,
float  chisq,
float  t,
float  t_sigma,
int  oot_idx,
int  mult_hits 
)
inline

Definition at line 23 of file CTPPSDiamondLocalTrack.h.

23  :
24  pos0_( pos0 ), pos0_sigma_( pos0_sigma ),
25  chi_squared_( chisq ), valid_( false ),
26  t_( t ), t_sigma_( t_sigma ), ts_index_( oot_idx ), mh_( mult_hits ) {}
int ts_index_
Time slice index.
int mh_
Multiple hits counter.
math::XYZPoint pos0_
initial track position
math::XYZPoint pos0_sigma_
error on the initial track position
virtual CTPPSDiamondLocalTrack::~CTPPSDiamondLocalTrack ( )
inlinevirtual

Definition at line 27 of file CTPPSDiamondLocalTrack.h.

27 {}

Member Function Documentation

float CTPPSDiamondLocalTrack::getChiSquared ( ) const
inline

Definition at line 39 of file CTPPSDiamondLocalTrack.h.

References chi_squared_.

39 { return chi_squared_; }
int CTPPSDiamondLocalTrack::getMultipleHits ( ) const
inline

Definition at line 65 of file CTPPSDiamondLocalTrack.h.

References mh_.

65 { return mh_; }
int mh_
Multiple hits counter.
int CTPPSDiamondLocalTrack::getOOTIndex ( ) const
inline

Definition at line 62 of file CTPPSDiamondLocalTrack.h.

References ts_index_.

62 { return ts_index_; }
int ts_index_
Time slice index.
float CTPPSDiamondLocalTrack::getT ( ) const
inline

Definition at line 53 of file CTPPSDiamondLocalTrack.h.

References t_.

Referenced by operator<().

53 { return t_; }
float CTPPSDiamondLocalTrack::getTSigma ( ) const
inline

Definition at line 54 of file CTPPSDiamondLocalTrack.h.

References t_sigma_.

float CTPPSDiamondLocalTrack::getX0 ( ) const
inline

Definition at line 31 of file CTPPSDiamondLocalTrack.h.

References pos0_.

Referenced by operator<().

31 { return pos0_.x(); }
math::XYZPoint pos0_
initial track position
float CTPPSDiamondLocalTrack::getX0Sigma ( ) const
inline

Definition at line 32 of file CTPPSDiamondLocalTrack.h.

References pos0_sigma_.

32 { return pos0_sigma_.x(); }
math::XYZPoint pos0_sigma_
error on the initial track position
float CTPPSDiamondLocalTrack::getY0 ( ) const
inline

Definition at line 34 of file CTPPSDiamondLocalTrack.h.

References pos0_.

34 { return pos0_.y(); }
math::XYZPoint pos0_
initial track position
float CTPPSDiamondLocalTrack::getY0Sigma ( ) const
inline

Definition at line 35 of file CTPPSDiamondLocalTrack.h.

References pos0_sigma_.

35 { return pos0_sigma_.y(); }
math::XYZPoint pos0_sigma_
error on the initial track position
float CTPPSDiamondLocalTrack::getZ0 ( ) const
inline

Definition at line 37 of file CTPPSDiamondLocalTrack.h.

References pos0_.

37 { return pos0_.z(); }
math::XYZPoint pos0_
initial track position
bool CTPPSDiamondLocalTrack::isValid ( void  ) const
inline
void CTPPSDiamondLocalTrack::setChiSquared ( const float  chisq)
inline

Definition at line 46 of file CTPPSDiamondLocalTrack.h.

References chi_squared_.

46 { chi_squared_ = chisq; }
void CTPPSDiamondLocalTrack::setMultipleHits ( const int  i)
inline

Definition at line 64 of file CTPPSDiamondLocalTrack.h.

References mps_fire::i, and mh_.

64 { mh_ = i; }
int mh_
Multiple hits counter.
void CTPPSDiamondLocalTrack::setOOTIndex ( const int  i)
inline

Definition at line 61 of file CTPPSDiamondLocalTrack.h.

References mps_fire::i, and ts_index_.

61 { ts_index_ = i; }
int ts_index_
Time slice index.
void CTPPSDiamondLocalTrack::setPosition ( const math::XYZPoint pos0)
inline

Definition at line 43 of file CTPPSDiamondLocalTrack.h.

References pos0_.

43 { pos0_ = pos0; }
math::XYZPoint pos0_
initial track position
void CTPPSDiamondLocalTrack::setPositionSigma ( const math::XYZPoint pos0_sigma)
inline

Definition at line 44 of file CTPPSDiamondLocalTrack.h.

References pos0_sigma_.

44 { pos0_sigma_ = pos0_sigma; }
math::XYZPoint pos0_sigma_
error on the initial track position
void CTPPSDiamondLocalTrack::setT ( const float  t)
inline

Definition at line 58 of file CTPPSDiamondLocalTrack.h.

References lumiQTWidget::t, and t_.

void CTPPSDiamondLocalTrack::setTSigma ( const float  t_sigma)
inline

Definition at line 59 of file CTPPSDiamondLocalTrack.h.

References t_sigma_.

59 { t_sigma_ = t_sigma; }
void CTPPSDiamondLocalTrack::setValid ( bool  valid)
inline

Definition at line 49 of file CTPPSDiamondLocalTrack.h.

References valid_.

49 { valid_ = valid; }

Member Data Documentation

float CTPPSDiamondLocalTrack::chi_squared_
private

fit chi^2

Definition at line 76 of file CTPPSDiamondLocalTrack.h.

Referenced by getChiSquared(), and setChiSquared().

int CTPPSDiamondLocalTrack::mh_
private

Multiple hits counter.

Definition at line 88 of file CTPPSDiamondLocalTrack.h.

Referenced by getMultipleHits(), and setMultipleHits().

math::XYZPoint CTPPSDiamondLocalTrack::pos0_
private

initial track position

Definition at line 71 of file CTPPSDiamondLocalTrack.h.

Referenced by getX0(), getY0(), getZ0(), and setPosition().

math::XYZPoint CTPPSDiamondLocalTrack::pos0_sigma_
private

error on the initial track position

Definition at line 73 of file CTPPSDiamondLocalTrack.h.

Referenced by getX0Sigma(), getY0Sigma(), and setPositionSigma().

float CTPPSDiamondLocalTrack::t_
private

Definition at line 83 of file CTPPSDiamondLocalTrack.h.

Referenced by getT(), and setT().

float CTPPSDiamondLocalTrack::t_sigma_
private

Definition at line 84 of file CTPPSDiamondLocalTrack.h.

Referenced by getTSigma(), and setTSigma().

int CTPPSDiamondLocalTrack::ts_index_
private

Time slice index.

Definition at line 86 of file CTPPSDiamondLocalTrack.h.

Referenced by getOOTIndex(), and setOOTIndex().

bool CTPPSDiamondLocalTrack::valid_
private

fit valid?

Definition at line 79 of file CTPPSDiamondLocalTrack.h.

Referenced by isValid(), and setValid().