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 ()
 
 CTPPSPixelFittedRecHit (const CTPPSPixelRecHit &hit, const GlobalPoint &space_point_on_det, const LocalPoint &residual, const LocalPoint &pull)
 
const GlobalPointglobalCoordinates () const
 
bool isRealHit () const
 
bool isUsedForFit () const
 
void setIsRealHit (bool realHit)
 
void setIsUsedForFit (bool usedForFit)
 
float xPull () const
 
float xPullNormalization () const
 
float xResidual () const
 
float yPull () const
 
float yPullNormalization () const
 
float yResidual () const
 
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 error () const
 
bool hasBadPixels () const
 
bool isOnEdge () const
 
unsigned int minPixelCol () const
 
unsigned int minPixelRow () const
 
LocalPoint point () 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() [1/2]

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

Definition at line 32 of file CTPPSPixelLocalTrack.h.

37  space_point_on_det_(space_point_on_det),
38  residual_(residual),
39  pull_(pull),
40  isUsedForFit_(false),
41  isRealHit_(false) {}

◆ CTPPSPixelFittedRecHit() [2/2]

CTPPSPixelFittedRecHit::CTPPSPixelFittedRecHit ( )
inline

Definition at line 43 of file CTPPSPixelLocalTrack.h.

44  : CTPPSPixelRecHit(),
45  residual_(LocalPoint(0, 0)),
46  pull_(LocalPoint(0, 0)),
47  isUsedForFit_(false),
48  isRealHit_(false) {}

◆ ~CTPPSPixelFittedRecHit()

virtual CTPPSPixelFittedRecHit::~CTPPSPixelFittedRecHit ( )
inlinevirtual

Definition at line 50 of file CTPPSPixelLocalTrack.h.

50 {}

Member Function Documentation

◆ globalCoordinates()

const GlobalPoint& CTPPSPixelFittedRecHit::globalCoordinates ( ) const
inline

Definition at line 52 of file CTPPSPixelLocalTrack.h.

52 { return space_point_on_det_; }

References space_point_on_det_.

◆ isRealHit()

bool CTPPSPixelFittedRecHit::isRealHit ( ) const
inline

Definition at line 74 of file CTPPSPixelLocalTrack.h.

74 { return isRealHit_; }

References isRealHit_.

◆ isUsedForFit()

bool CTPPSPixelFittedRecHit::isUsedForFit ( ) const
inline

Definition at line 67 of file CTPPSPixelLocalTrack.h.

67 { return isUsedForFit_; }

References isUsedForFit_.

◆ setIsRealHit()

void CTPPSPixelFittedRecHit::setIsRealHit ( bool  realHit)
inline

Definition at line 69 of file CTPPSPixelLocalTrack.h.

69  {
70  if (!realHit)
71  isUsedForFit_ = false;
72  isRealHit_ = realHit;
73  }

References isRealHit_, and isUsedForFit_.

◆ setIsUsedForFit()

void CTPPSPixelFittedRecHit::setIsUsedForFit ( bool  usedForFit)
inline

Definition at line 62 of file CTPPSPixelLocalTrack.h.

62  {
63  if (usedForFit)
64  isRealHit_ = true;
65  isUsedForFit_ = usedForFit;
66  }

References isRealHit_, and isUsedForFit_.

Referenced by RPixPlaneCombinatoryTracking::fitTrack().

◆ xPull()

float CTPPSPixelFittedRecHit::xPull ( ) const
inline

Definition at line 56 of file CTPPSPixelLocalTrack.h.

56 { return pull_.x(); }

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

◆ xPullNormalization()

float CTPPSPixelFittedRecHit::xPullNormalization ( ) const
inline

Definition at line 59 of file CTPPSPixelLocalTrack.h.

59 { return residual_.x() / pull_.x(); }

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

◆ xResidual()

float CTPPSPixelFittedRecHit::xResidual ( ) const
inline

Definition at line 53 of file CTPPSPixelLocalTrack.h.

53 { return residual_.x(); }

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

◆ yPull()

float CTPPSPixelFittedRecHit::yPull ( ) const
inline

Definition at line 57 of file CTPPSPixelLocalTrack.h.

57 { return pull_.y(); }

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

◆ yPullNormalization()

float CTPPSPixelFittedRecHit::yPullNormalization ( ) const
inline

Definition at line 60 of file CTPPSPixelLocalTrack.h.

60 { return residual_.y() / pull_.y(); }

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

◆ yResidual()

float CTPPSPixelFittedRecHit::yResidual ( ) const
inline

Definition at line 54 of file CTPPSPixelLocalTrack.h.

54 { return residual_.y(); }

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

Member Data Documentation

◆ isRealHit_

bool CTPPSPixelFittedRecHit::isRealHit_
private

Definition at line 81 of file CTPPSPixelLocalTrack.h.

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

◆ isUsedForFit_

bool CTPPSPixelFittedRecHit::isUsedForFit_
private

Definition at line 80 of file CTPPSPixelLocalTrack.h.

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

◆ pull_

LocalPoint CTPPSPixelFittedRecHit::pull_
private

normalised residual

Definition at line 79 of file CTPPSPixelLocalTrack.h.

Referenced by xPull(), xPullNormalization(), yPull(), and yPullNormalization().

◆ residual_

LocalPoint CTPPSPixelFittedRecHit::residual_
private

mm

Definition at line 78 of file CTPPSPixelLocalTrack.h.

Referenced by xPullNormalization(), xResidual(), yPullNormalization(), and yResidual().

◆ space_point_on_det_

GlobalPoint CTPPSPixelFittedRecHit::space_point_on_det_
private

mm

Definition at line 77 of file CTPPSPixelLocalTrack.h.

Referenced by globalCoordinates().

CTPPSPixelFittedRecHit::isRealHit_
bool isRealHit_
Definition: CTPPSPixelLocalTrack.h:81
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
CTPPSPixelFittedRecHit::space_point_on_det_
GlobalPoint space_point_on_det_
mm
Definition: CTPPSPixelLocalTrack.h:77
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
CTPPSPixelRecHit::CTPPSPixelRecHit
CTPPSPixelRecHit()
Definition: CTPPSPixelRecHit.h:19
CTPPSPixelFittedRecHit::pull_
LocalPoint pull_
normalised residual
Definition: CTPPSPixelLocalTrack.h:79
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
CTPPSPixelFittedRecHit::isUsedForFit_
bool isUsedForFit_
Definition: CTPPSPixelLocalTrack.h:80
hit
Definition: SiStripHitEffFromCalibTree.cc:88
CTPPSPixelFittedRecHit::residual_
LocalPoint residual_
mm
Definition: CTPPSPixelLocalTrack.h:78