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 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 (LocalPoint lp=LocalPoint(0., 0., 0.), LocalError le=LocalError(0., 0., 0.), 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) {}
LocalPoint pull_
normalised residual
GlobalPoint space_point_on_det_
mm
CTPPSPixelRecHit(LocalPoint lp=LocalPoint(0., 0., 0.), LocalError le=LocalError(0., 0., 0.), bool edge=false, bool bad=false, bool rocs=false, int minrow=0, int mincol=0, int size=0, int rowsize=0, int colsize=0)

◆ 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) {}
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
LocalPoint pull_
normalised residual
CTPPSPixelRecHit(LocalPoint lp=LocalPoint(0., 0., 0.), LocalError le=LocalError(0., 0., 0.), bool edge=false, bool bad=false, bool rocs=false, int minrow=0, int mincol=0, int size=0, int rowsize=0, int colsize=0)

◆ ~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.

References space_point_on_det_.

52 { return space_point_on_det_; }
GlobalPoint space_point_on_det_
mm

◆ isRealHit()

bool CTPPSPixelFittedRecHit::isRealHit ( ) const
inline

Definition at line 74 of file CTPPSPixelLocalTrack.h.

References isRealHit_.

◆ isUsedForFit()

bool CTPPSPixelFittedRecHit::isUsedForFit ( ) const
inline

Definition at line 67 of file CTPPSPixelLocalTrack.h.

References isUsedForFit_.

◆ setIsRealHit()

void CTPPSPixelFittedRecHit::setIsRealHit ( bool  realHit)
inline

Definition at line 69 of file CTPPSPixelLocalTrack.h.

References isRealHit_, and isUsedForFit_.

Referenced by RPixPlaneCombinatoryTracking::findTracks().

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

◆ setIsUsedForFit()

void CTPPSPixelFittedRecHit::setIsUsedForFit ( bool  usedForFit)
inline

Definition at line 62 of file CTPPSPixelLocalTrack.h.

References isRealHit_, and isUsedForFit_.

Referenced by RPixPlaneCombinatoryTracking::fitTrack().

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

◆ xPull()

float CTPPSPixelFittedRecHit::xPull ( ) const
inline

Definition at line 56 of file CTPPSPixelLocalTrack.h.

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

56 { return pull_.x(); }
LocalPoint pull_
normalised residual
T x() const
Definition: PV3DBase.h:59

◆ xPullNormalization()

float CTPPSPixelFittedRecHit::xPullNormalization ( ) const
inline

Definition at line 59 of file CTPPSPixelLocalTrack.h.

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

59 { return residual_.x() / pull_.x(); }
LocalPoint pull_
normalised residual
T x() const
Definition: PV3DBase.h:59

◆ xResidual()

float CTPPSPixelFittedRecHit::xResidual ( ) const
inline

Definition at line 53 of file CTPPSPixelLocalTrack.h.

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

53 { return residual_.x(); }
T x() const
Definition: PV3DBase.h:59

◆ yPull()

float CTPPSPixelFittedRecHit::yPull ( ) const
inline

Definition at line 57 of file CTPPSPixelLocalTrack.h.

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

57 { return pull_.y(); }
LocalPoint pull_
normalised residual
T y() const
Definition: PV3DBase.h:60

◆ yPullNormalization()

float CTPPSPixelFittedRecHit::yPullNormalization ( ) const
inline

Definition at line 60 of file CTPPSPixelLocalTrack.h.

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

60 { return residual_.y() / pull_.y(); }
LocalPoint pull_
normalised residual
T y() const
Definition: PV3DBase.h:60

◆ yResidual()

float CTPPSPixelFittedRecHit::yResidual ( ) const
inline

Definition at line 54 of file CTPPSPixelLocalTrack.h.

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

54 { return residual_.y(); }
T y() const
Definition: PV3DBase.h:60

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().