CMS 3D CMS Logo

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

#include <CTPPSPixelLocalTrack.h>

Inheritance diagram for CTPPSPixelFittedRecHit:
CTPPSPixelRecHit

Public Member Functions

 CTPPSPixelFittedRecHit (const CTPPSPixelRecHit &hit, const GlobalPoint &space_point_on_det, const LocalPoint &residual, const LocalPoint &pull)
 
 CTPPSPixelFittedRecHit ()
 
const GlobalPointgetGlobalCoordinates () const
 
bool getIsRealHit () const
 
bool getIsUsedForFit () const
 
float getXPull () const
 
float getXPullNormalization () const
 
float getXResidual () const
 
float getYPull () const
 
float getYPullNormalization () const
 
float getYResidual () const
 
void setIsRealHit (bool realHit)
 
void setIsUsedForFit (bool usedForFit)
 
virtual ~CTPPSPixelFittedRecHit ()
 
- Public Member Functions inherited from CTPPSPixelRecHit
unsigned int clusterSize () const
 
unsigned int clusterSizeCol () const
 
unsigned int clusterSizeRow () const
 
 CTPPSPixelRecHit ()
 
 CTPPSPixelRecHit (LocalPoint lp, LocalError le, bool edge=false, bool bad=false, bool rocs=false, int minrow=0, int mincol=0, int size=0, int rowsize=0, int colsize=0)
 
LocalError getError () const
 
LocalPoint getPoint () const
 
bool hasBadPixels () const
 
bool isOnEdge () const
 
unsigned int minPixelCol () const
 
unsigned int minPixelRow () const
 
bool spanTwoRocs () const
 

Private Attributes

bool isRealHit_
 
bool isUsedForFit_
 
LocalPoint pull_
 normalised residual More...
 
LocalPoint residual_
 mm More...
 
GlobalPoint space_point_on_det_
 mm More...
 

Detailed Description

Definition at line 28 of file CTPPSPixelLocalTrack.h.

Constructor & Destructor Documentation

CTPPSPixelFittedRecHit::CTPPSPixelFittedRecHit ( const CTPPSPixelRecHit hit,
const GlobalPoint space_point_on_det,
const LocalPoint residual,
const LocalPoint pull 
)
inline

Definition at line 31 of file CTPPSPixelLocalTrack.h.

31  :
32  CTPPSPixelRecHit(hit), space_point_on_det_(space_point_on_det), residual_(residual), pull_(pull), isUsedForFit_(false), isRealHit_(false) {}
LocalPoint pull_
normalised residual
GlobalPoint space_point_on_det_
mm
CTPPSPixelFittedRecHit::CTPPSPixelFittedRecHit ( )
inline

Definition at line 34 of file CTPPSPixelLocalTrack.h.

Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:32
LocalPoint pull_
normalised residual
virtual CTPPSPixelFittedRecHit::~CTPPSPixelFittedRecHit ( )
inlinevirtual

Definition at line 36 of file CTPPSPixelLocalTrack.h.

36 {}

Member Function Documentation

const GlobalPoint& CTPPSPixelFittedRecHit::getGlobalCoordinates ( ) const
inline

Definition at line 38 of file CTPPSPixelLocalTrack.h.

References space_point_on_det_.

38 { return space_point_on_det_; }
GlobalPoint space_point_on_det_
mm
bool CTPPSPixelFittedRecHit::getIsRealHit ( ) const
inline

Definition at line 58 of file CTPPSPixelLocalTrack.h.

References isRealHit_.

bool CTPPSPixelFittedRecHit::getIsUsedForFit ( ) const
inline

Definition at line 52 of file CTPPSPixelLocalTrack.h.

References isUsedForFit_.

Referenced by CTPPSPixelLocalTrack::addHit().

float CTPPSPixelFittedRecHit::getXPull ( ) const
inline

Definition at line 42 of file CTPPSPixelLocalTrack.h.

References pull_, and PV3DBase< T, PVType, FrameType >::x().

42 { return pull_.x(); }
LocalPoint pull_
normalised residual
T x() const
Definition: PV3DBase.h:62
float CTPPSPixelFittedRecHit::getXPullNormalization ( ) const
inline

Definition at line 45 of file CTPPSPixelLocalTrack.h.

References pull_, residual_, and PV3DBase< T, PVType, FrameType >::x().

45 { return residual_.x() / pull_.x(); }
LocalPoint pull_
normalised residual
T x() const
Definition: PV3DBase.h:62
float CTPPSPixelFittedRecHit::getXResidual ( ) const
inline

Definition at line 39 of file CTPPSPixelLocalTrack.h.

References residual_, and PV3DBase< T, PVType, FrameType >::x().

39 { return residual_.x(); }
T x() const
Definition: PV3DBase.h:62
float CTPPSPixelFittedRecHit::getYPull ( ) const
inline

Definition at line 43 of file CTPPSPixelLocalTrack.h.

References pull_, and PV3DBase< T, PVType, FrameType >::y().

43 { return pull_.y(); }
LocalPoint pull_
normalised residual
T y() const
Definition: PV3DBase.h:63
float CTPPSPixelFittedRecHit::getYPullNormalization ( ) const
inline

Definition at line 46 of file CTPPSPixelLocalTrack.h.

References pull_, residual_, and PV3DBase< T, PVType, FrameType >::y().

46 { return residual_.y() / pull_.y(); }
LocalPoint pull_
normalised residual
T y() const
Definition: PV3DBase.h:63
float CTPPSPixelFittedRecHit::getYResidual ( ) const
inline

Definition at line 40 of file CTPPSPixelLocalTrack.h.

References residual_, and PV3DBase< T, PVType, FrameType >::y().

40 { return residual_.y(); }
T y() const
Definition: PV3DBase.h:63
void CTPPSPixelFittedRecHit::setIsRealHit ( bool  realHit)
inline

Definition at line 54 of file CTPPSPixelLocalTrack.h.

References isRealHit_, and isUsedForFit_.

54  {
55  if(!realHit) isUsedForFit_ = false;
56  isRealHit_ = realHit;
57  }
void CTPPSPixelFittedRecHit::setIsUsedForFit ( bool  usedForFit)
inline

Definition at line 48 of file CTPPSPixelLocalTrack.h.

References isRealHit_, and isUsedForFit_.

Referenced by RPixPlaneCombinatoryTracking::fitTrack().

48  {
49  if(usedForFit) isRealHit_ = true;
50  isUsedForFit_ = usedForFit;
51  }

Member Data Documentation

bool CTPPSPixelFittedRecHit::isRealHit_
private

Definition at line 65 of file CTPPSPixelLocalTrack.h.

Referenced by getIsRealHit(), setIsRealHit(), and setIsUsedForFit().

bool CTPPSPixelFittedRecHit::isUsedForFit_
private

Definition at line 64 of file CTPPSPixelLocalTrack.h.

Referenced by getIsUsedForFit(), setIsRealHit(), and setIsUsedForFit().

LocalPoint CTPPSPixelFittedRecHit::pull_
private

normalised residual

Definition at line 63 of file CTPPSPixelLocalTrack.h.

Referenced by getXPull(), getXPullNormalization(), getYPull(), and getYPullNormalization().

LocalPoint CTPPSPixelFittedRecHit::residual_
private
GlobalPoint CTPPSPixelFittedRecHit::space_point_on_det_
private

mm

Definition at line 61 of file CTPPSPixelLocalTrack.h.

Referenced by getGlobalCoordinates().