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 30 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 33 of file CTPPSPixelLocalTrack.h.

33  :
34  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 36 of file CTPPSPixelLocalTrack.h.

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

Definition at line 38 of file CTPPSPixelLocalTrack.h.

38 {}

Member Function Documentation

const GlobalPoint& CTPPSPixelFittedRecHit::getGlobalCoordinates ( ) const
inline

Definition at line 40 of file CTPPSPixelLocalTrack.h.

References space_point_on_det_.

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

Definition at line 60 of file CTPPSPixelLocalTrack.h.

References isRealHit_.

bool CTPPSPixelFittedRecHit::getIsUsedForFit ( ) const
inline

Definition at line 54 of file CTPPSPixelLocalTrack.h.

References isUsedForFit_.

Referenced by CTPPSPixelLocalTrack::addHit().

float CTPPSPixelFittedRecHit::getXPull ( ) const
inline

Definition at line 44 of file CTPPSPixelLocalTrack.h.

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

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

Definition at line 47 of file CTPPSPixelLocalTrack.h.

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

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

Definition at line 41 of file CTPPSPixelLocalTrack.h.

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

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

Definition at line 45 of file CTPPSPixelLocalTrack.h.

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

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

Definition at line 48 of file CTPPSPixelLocalTrack.h.

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

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

Definition at line 42 of file CTPPSPixelLocalTrack.h.

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

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

Definition at line 56 of file CTPPSPixelLocalTrack.h.

References isRealHit_, and isUsedForFit_.

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

Definition at line 50 of file CTPPSPixelLocalTrack.h.

References isRealHit_, and isUsedForFit_.

Referenced by RPixPlaneCombinatoryTracking::fitTrack().

50  {
51  if(usedForFit) isRealHit_ = true;
52  isUsedForFit_ = usedForFit;
53  }

Member Data Documentation

bool CTPPSPixelFittedRecHit::isRealHit_
private

Definition at line 67 of file CTPPSPixelLocalTrack.h.

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

bool CTPPSPixelFittedRecHit::isUsedForFit_
private

Definition at line 66 of file CTPPSPixelLocalTrack.h.

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

LocalPoint CTPPSPixelFittedRecHit::pull_
private

normalised residual

Definition at line 65 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 63 of file CTPPSPixelLocalTrack.h.

Referenced by getGlobalCoordinates().