CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TotemRPLocalTrack::FittedRecHit Class Reference

#include <TotemRPLocalTrack.h>

Inheritance diagram for TotemRPLocalTrack::FittedRecHit:
TotemRPRecHit

Public Member Functions

 FittedRecHit ()
 
 FittedRecHit (const TotemRPRecHit &hit, const TVector3 &space_point_on_det, double residual, double pull)
 
const TVector3 & globalCoordinates () const
 
double pull () const
 
double pullNormalization () const
 
double residual () const
 
void setGlobalCoordinates (const TVector3 &space_point_on_det)
 
void setPull (double pull)
 
void setResidual (double residual)
 
virtual ~FittedRecHit ()
 
- Public Member Functions inherited from TotemRPRecHit
double position () const
 
void setPosition (double position)
 
void setSigma (double sigma)
 
double sigma () const
 
 TotemRPRecHit (double position=0, double sigma=0)
 

Private Attributes

double pull_
 normalised residual More...
 
double residual_
 mm More...
 
TVector3 space_point_on_det_
 mm More...
 

Detailed Description

Definition at line 38 of file TotemRPLocalTrack.h.

Constructor & Destructor Documentation

◆ FittedRecHit() [1/2]

TotemRPLocalTrack::FittedRecHit::FittedRecHit ( const TotemRPRecHit hit,
const TVector3 &  space_point_on_det,
double  residual,
double  pull 
)
inline

Definition at line 46 of file TotemRPLocalTrack.h.

46  { residual_ = residual; }
47 

References residual(), and residual_.

◆ FittedRecHit() [2/2]

TotemRPLocalTrack::FittedRecHit::FittedRecHit ( )
inline

Definition at line 49 of file TotemRPLocalTrack.h.

49 { pull_ = pull; }

References pull(), and pull_.

◆ ~FittedRecHit()

virtual TotemRPLocalTrack::FittedRecHit::~FittedRecHit ( )
inlinevirtual

Definition at line 51 of file TotemRPLocalTrack.h.

51 { return residual_ / pull_; }

References pull_, and residual_.

Member Function Documentation

◆ globalCoordinates()

const TVector3& TotemRPLocalTrack::FittedRecHit::globalCoordinates ( ) const
inline

Definition at line 53 of file TotemRPLocalTrack.h.

53 :
54  TVector3 space_point_on_det_;

◆ pull()

double TotemRPLocalTrack::FittedRecHit::pull ( ) const
inline

Definition at line 59 of file TotemRPLocalTrack.h.

59 :

Referenced by FittedRecHit().

◆ pullNormalization()

double TotemRPLocalTrack::FittedRecHit::pullNormalization ( ) const
inline

Definition at line 62 of file TotemRPLocalTrack.h.

66 : z0_(0), chiSquared_(0), valid_(false) {}

◆ residual()

double TotemRPLocalTrack::FittedRecHit::residual ( ) const
inline

Definition at line 56 of file TotemRPLocalTrack.h.

59 :

Referenced by FittedRecHit().

◆ setGlobalCoordinates()

void TotemRPLocalTrack::FittedRecHit::setGlobalCoordinates ( const TVector3 &  space_point_on_det)
inline

Definition at line 54 of file TotemRPLocalTrack.h.

59 :

◆ setPull()

void TotemRPLocalTrack::FittedRecHit::setPull ( double  pull)
inline

Definition at line 60 of file TotemRPLocalTrack.h.

66 : z0_(0), chiSquared_(0), valid_(false) {}

◆ setResidual()

void TotemRPLocalTrack::FittedRecHit::setResidual ( double  residual)
inline

Definition at line 57 of file TotemRPLocalTrack.h.

59 :

Member Data Documentation

◆ pull_

double TotemRPLocalTrack::FittedRecHit::pull_
private

normalised residual

Definition at line 67 of file TotemRPLocalTrack.h.

Referenced by FittedRecHit(), and ~FittedRecHit().

◆ residual_

double TotemRPLocalTrack::FittedRecHit::residual_
private

mm

Definition at line 66 of file TotemRPLocalTrack.h.

Referenced by FittedRecHit(), and ~FittedRecHit().

◆ space_point_on_det_

TVector3 TotemRPLocalTrack::FittedRecHit::space_point_on_det_
private

mm

Definition at line 65 of file TotemRPLocalTrack.h.

TotemRPLocalTrack::z0_
double z0_
Definition: TotemRPLocalTrack.h:150
TotemRPLocalTrack::FittedRecHit::residual
double residual() const
Definition: TotemRPLocalTrack.h:56
TotemRPLocalTrack::FittedRecHit::pull
double pull() const
Definition: TotemRPLocalTrack.h:59
TotemRPLocalTrack::FittedRecHit::space_point_on_det_
TVector3 space_point_on_det_
mm
Definition: TotemRPLocalTrack.h:65
TotemRPLocalTrack::FittedRecHit::pull_
double pull_
normalised residual
Definition: TotemRPLocalTrack.h:67
TotemRPLocalTrack::chiSquared_
double chiSquared_
fit chi^2
Definition: TotemRPLocalTrack.h:155
TotemRPLocalTrack::FittedRecHit::residual_
double residual_
mm
Definition: TotemRPLocalTrack.h:66
TotemRPLocalTrack::valid_
bool valid_
fit valid?
Definition: TotemRPLocalTrack.h:158