PandaRoot
PndCAMCVertex Class Reference

#include <PndCAMCVertex.h>

Public Member Functions

 PndCAMCVertex ()
 
float Par (int i) const
 
float X () const
 
float Y () const
 
float Z () const
 
void SetPar (int i, float v)
 
void SetX (float v)
 
void SetY (float v)
 
void SetZ (float v)
 

Protected Attributes

float fPar [3]
 

Friends

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

Detailed Description

store MC track information for Performance

Definition at line 23 of file PndCAMCVertex.h.

Constructor & Destructor Documentation

◆ PndCAMCVertex()

PndCAMCVertex::PndCAMCVertex ( )

Member Function Documentation

◆ Par()

float PndCAMCVertex::Par ( int  i) const
inline

Definition at line 27 of file PndCAMCVertex.h.

References fPar, and i.

27 { return fPar[i]; }
float fPar[3]
Definition: PndCAMCVertex.h:43
unsigned int i
Definition: P4_F32vec4.h:21

◆ SetPar()

void PndCAMCVertex::SetPar ( int  i,
float  v 
)
inline

Definition at line 33 of file PndCAMCVertex.h.

References fPar, i, and v.

33 { fPar[i] = v; }
float fPar[3]
Definition: PndCAMCVertex.h:43
__m128 v
Definition: P4_F32vec4.h:3
unsigned int i
Definition: P4_F32vec4.h:21

◆ SetX()

void PndCAMCVertex::SetX ( float  v)
inline

Definition at line 35 of file PndCAMCVertex.h.

References fPar, and v.

35 { fPar[0] = v; }
float fPar[3]
Definition: PndCAMCVertex.h:43
__m128 v
Definition: P4_F32vec4.h:3

◆ SetY()

void PndCAMCVertex::SetY ( float  v)
inline

Definition at line 36 of file PndCAMCVertex.h.

References fPar, and v.

36 { fPar[1] = v; }
float fPar[3]
Definition: PndCAMCVertex.h:43
__m128 v
Definition: P4_F32vec4.h:3

◆ SetZ()

void PndCAMCVertex::SetZ ( float  v)
inline

Definition at line 37 of file PndCAMCVertex.h.

References fPar, operator<<, operator>>, and v.

37 { fPar[2] = v; }
float fPar[3]
Definition: PndCAMCVertex.h:43
__m128 v
Definition: P4_F32vec4.h:3

◆ X()

float PndCAMCVertex::X ( ) const
inline

Definition at line 29 of file PndCAMCVertex.h.

References fPar.

29 { return fPar[0]; }
float fPar[3]
Definition: PndCAMCVertex.h:43

◆ Y()

float PndCAMCVertex::Y ( ) const
inline

Definition at line 30 of file PndCAMCVertex.h.

References fPar.

30 { return fPar[1]; }
float fPar[3]
Definition: PndCAMCVertex.h:43

◆ Z()

float PndCAMCVertex::Z ( ) const
inline

Definition at line 31 of file PndCAMCVertex.h.

References fPar.

31 { return fPar[2]; }
float fPar[3]
Definition: PndCAMCVertex.h:43

Friends And Related Function Documentation

◆ operator<<

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

Referenced by SetZ().

◆ operator>>

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

Referenced by SetZ().

Member Data Documentation

◆ fPar

float PndCAMCVertex::fPar[3]
protected

Definition at line 43 of file PndCAMCVertex.h.

Referenced by Par(), SetPar(), SetX(), SetY(), SetZ(), X(), Y(), and Z().


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