PandaRoot
PndFTSCALocalMCPoint Class Reference

#include <PndFTSCAMCPoint.h>

Public Member Functions

 PndFTSCALocalMCPoint ()
 
 ~PndFTSCALocalMCPoint ()
 
void SetPoint (PndFtsPoint *ppp, Double_t qq)
 
PndFTSCALocalMCPointoperator= (const PndFTSCALocalMCPoint &rhs)
 
float X () const
 
float Y () const
 
float Z () const
 
float Px () const
 
float Py () const
 
float Pz () const
 
float QP () const
 
int ISlice () const
 
int IRow () const
 
int TrackI () const
 
int TrackID () const
 
float Angle () const
 
float Err2Z () const
 
float Err2Y () const
 
void SetX (float v)
 
void SetY (float v)
 
void SetZ (float v)
 
void SetPx (float v)
 
void SetPy (float v)
 
void SetPz (float v)
 
void SetQP (float v)
 
void SetISlice (int v)
 
void SetIRow (int v)
 
void SetTrackI (int v)
 
void SetTrackID (int v)
 
void SetAngle (float v)
 
void SetErr2Z (float v)
 
void SetErr2Y (float v)
 
void RotateXY (float alpha)
 

Static Public Member Functions

static bool Compare (const PndFTSCALocalMCPoint &p1, const PndFTSCALocalMCPoint &p2)
 

Public Attributes

std::vector< int > fHits
 

Protected Attributes

float fX
 
float fY
 
float fZ
 
float fPx
 
float fPy
 
float fPz
 
float fQP
 
float fAngle
 
float fErr2Z
 
float fErr2Y
 
int fISlice
 
int fIRow
 
int fTrackI
 
int fTrackID
 

Friends

ostream & operator<< (ostream &out, const PndFTSCALocalMCPoint &a)
 
istream & operator>> (istream &in, PndFTSCALocalMCPoint &a)
 

Detailed Description

store MC point information for PndFTSCAPerformance

Definition at line 67 of file PndFTSCAMCPoint.h.

Constructor & Destructor Documentation

◆ PndFTSCALocalMCPoint()

PndFTSCALocalMCPoint::PndFTSCALocalMCPoint ( )
inline

Definition at line 69 of file PndFTSCAMCPoint.h.

69 {};

◆ ~PndFTSCALocalMCPoint()

PndFTSCALocalMCPoint::~PndFTSCALocalMCPoint ( )
inline

Definition at line 70 of file PndFTSCAMCPoint.h.

70 {};

Member Function Documentation

◆ Angle()

float PndFTSCALocalMCPoint::Angle ( ) const
inline

Definition at line 87 of file PndFTSCAMCPoint.h.

87 { return fAngle; }

◆ Compare()

static bool PndFTSCALocalMCPoint::Compare ( const PndFTSCALocalMCPoint p1,
const PndFTSCALocalMCPoint p2 
)
inlinestatic

Definition at line 109 of file PndFTSCAMCPoint.h.

References fTrackID, operator<<(), and operator>>().

109 { return (p1.fTrackID < p2.fTrackID); }

◆ Err2Y()

float PndFTSCALocalMCPoint::Err2Y ( ) const
inline

Definition at line 89 of file PndFTSCAMCPoint.h.

89 { return fErr2Y; }

◆ Err2Z()

float PndFTSCALocalMCPoint::Err2Z ( ) const
inline

Definition at line 88 of file PndFTSCAMCPoint.h.

88 { return fErr2Z; }

◆ IRow()

int PndFTSCALocalMCPoint::IRow ( ) const
inline

Definition at line 83 of file PndFTSCAMCPoint.h.

83 { return fIRow; }

◆ ISlice()

int PndFTSCALocalMCPoint::ISlice ( ) const
inline

Definition at line 82 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fISlice.

82 { return fISlice; }

◆ operator=()

PndFTSCALocalMCPoint& PndFTSCALocalMCPoint::operator= ( const PndFTSCALocalMCPoint rhs)

◆ Px()

float PndFTSCALocalMCPoint::Px ( ) const
inline

Definition at line 78 of file PndFTSCAMCPoint.h.

78 { return fPx; }

◆ Py()

float PndFTSCALocalMCPoint::Py ( ) const
inline

Definition at line 79 of file PndFTSCAMCPoint.h.

79 { return fPy; }

◆ Pz()

float PndFTSCALocalMCPoint::Pz ( ) const
inline

Definition at line 80 of file PndFTSCAMCPoint.h.

80 { return fPz; }

◆ QP()

float PndFTSCALocalMCPoint::QP ( ) const
inline

Definition at line 81 of file PndFTSCAMCPoint.h.

81 { return fQP; }

◆ RotateXY()

void PndFTSCALocalMCPoint::RotateXY ( float  alpha)

◆ SetAngle()

void PndFTSCALocalMCPoint::SetAngle ( float  v)
inline

Definition at line 103 of file PndFTSCAMCPoint.h.

References v.

103 { fAngle = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetErr2Y()

void PndFTSCALocalMCPoint::SetErr2Y ( float  v)
inline

Definition at line 105 of file PndFTSCAMCPoint.h.

References alpha, and v.

105 { fErr2Y = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetErr2Z()

void PndFTSCALocalMCPoint::SetErr2Z ( float  v)
inline

Definition at line 104 of file PndFTSCAMCPoint.h.

References v.

104 { fErr2Z = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetIRow()

void PndFTSCALocalMCPoint::SetIRow ( int  v)
inline

Definition at line 99 of file PndFTSCAMCPoint.h.

References v.

99 { fIRow = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetISlice()

void PndFTSCALocalMCPoint::SetISlice ( int  v)
inline

Definition at line 98 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fISlice, and v.

98 { fISlice = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetPoint()

void PndFTSCALocalMCPoint::SetPoint ( PndFtsPoint ppp,
Double_t  qq 
)

◆ SetPx()

void PndFTSCALocalMCPoint::SetPx ( float  v)
inline

Definition at line 94 of file PndFTSCAMCPoint.h.

References v.

94 { fPx = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetPy()

void PndFTSCALocalMCPoint::SetPy ( float  v)
inline

Definition at line 95 of file PndFTSCAMCPoint.h.

References v.

95 { fPy = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetPz()

void PndFTSCALocalMCPoint::SetPz ( float  v)
inline

Definition at line 96 of file PndFTSCAMCPoint.h.

References v.

96 { fPz = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetQP()

void PndFTSCALocalMCPoint::SetQP ( float  v)
inline

Definition at line 97 of file PndFTSCAMCPoint.h.

References v.

97 { fQP = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetTrackI()

void PndFTSCALocalMCPoint::SetTrackI ( int  v)
inline

Definition at line 100 of file PndFTSCAMCPoint.h.

References v.

100 { fTrackI = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetTrackID()

void PndFTSCALocalMCPoint::SetTrackID ( int  v)
inline

Definition at line 101 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fTrackID, and v.

101 { fTrackID = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetX()

void PndFTSCALocalMCPoint::SetX ( float  v)
inline

Definition at line 91 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fX, and v.

91 { fX = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetY()

void PndFTSCALocalMCPoint::SetY ( float  v)
inline

Definition at line 92 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fY, and v.

92 { fY = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetZ()

void PndFTSCALocalMCPoint::SetZ ( float  v)
inline

Definition at line 93 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fZ, and v.

93 { fZ = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ TrackI()

int PndFTSCALocalMCPoint::TrackI ( ) const
inline

Definition at line 84 of file PndFTSCAMCPoint.h.

84 { return fTrackI; }

◆ TrackID()

int PndFTSCALocalMCPoint::TrackID ( ) const
inline

Definition at line 85 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fTrackID.

85 { return fTrackID; }

◆ X()

float PndFTSCALocalMCPoint::X ( ) const
inline

Definition at line 75 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fX.

75 { return fX; } // global coordinates

◆ Y()

float PndFTSCALocalMCPoint::Y ( ) const
inline

Definition at line 76 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fY.

76 { return fY; }

◆ Z()

float PndFTSCALocalMCPoint::Z ( ) const
inline

Definition at line 77 of file PndFTSCAMCPoint.h.

References PndFTSCAMCPoint::fZ.

77 { return fZ; }

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  out,
const PndFTSCALocalMCPoint a 
)
friend

◆ operator>>

istream& operator>> ( istream &  in,
PndFTSCALocalMCPoint a 
)
friend

Member Data Documentation

◆ fAngle

float PndFTSCALocalMCPoint::fAngle
protected

Definition at line 123 of file PndFTSCAMCPoint.h.

◆ fErr2Y

float PndFTSCALocalMCPoint::fErr2Y
protected

Definition at line 124 of file PndFTSCAMCPoint.h.

◆ fErr2Z

float PndFTSCALocalMCPoint::fErr2Z
protected

Definition at line 124 of file PndFTSCAMCPoint.h.

◆ fHits

std::vector<int> PndFTSCALocalMCPoint::fHits

Definition at line 130 of file PndFTSCAMCPoint.h.

◆ fIRow

int PndFTSCALocalMCPoint::fIRow
protected

Definition at line 126 of file PndFTSCAMCPoint.h.

◆ fISlice

int PndFTSCALocalMCPoint::fISlice
protected

Definition at line 125 of file PndFTSCAMCPoint.h.

◆ fPx

float PndFTSCALocalMCPoint::fPx
protected

Definition at line 118 of file PndFTSCAMCPoint.h.

◆ fPy

float PndFTSCALocalMCPoint::fPy
protected

Definition at line 119 of file PndFTSCAMCPoint.h.

◆ fPz

float PndFTSCALocalMCPoint::fPz
protected

Definition at line 120 of file PndFTSCAMCPoint.h.

◆ fQP

float PndFTSCALocalMCPoint::fQP
protected

Definition at line 121 of file PndFTSCAMCPoint.h.

◆ fTrackI

int PndFTSCALocalMCPoint::fTrackI
protected

Definition at line 127 of file PndFTSCAMCPoint.h.

◆ fTrackID

int PndFTSCALocalMCPoint::fTrackID
protected

Definition at line 128 of file PndFTSCAMCPoint.h.

Referenced by Compare().

◆ fX

float PndFTSCALocalMCPoint::fX
protected

Definition at line 115 of file PndFTSCAMCPoint.h.

◆ fY

float PndFTSCALocalMCPoint::fY
protected

Definition at line 116 of file PndFTSCAMCPoint.h.

◆ fZ

float PndFTSCALocalMCPoint::fZ
protected

Definition at line 117 of file PndFTSCAMCPoint.h.


The documentation for this class was generated from the following file: