PandaRoot
PndFtsPoint Class Reference

#include <PndFtsPoint.h>

Inheritance diagram for PndFtsPoint:

Public Member Functions

 PndFtsPoint ()
 
 PndFtsPoint (Int_t trackID, Int_t detID, Int_t tubeID, Int_t chamberID, Int_t layerID, TVector3 pos, TVector3 posInLocal, TVector3 posOutLocal, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Double_t mass)
 
 PndFtsPoint (const PndFtsPoint &point)
 
virtual ~PndFtsPoint ()
 
Double_t GetXtot () const
 
Double_t GetYtot () const
 
Double_t GetZtot () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
Double_t GetXOutLocal () const
 
Double_t GetYOutLocal () const
 
Double_t GetZOutLocal () const
 
Double_t GetXInLocal () const
 
Double_t GetYInLocal () const
 
Double_t GetZInLocal () const
 
Double_t GetMass () const
 
void PositionOutLocal (TVector3 &pos)
 
void PositionInLocal (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
void SetPositionOutLocal (TVector3 pos)
 
void SetPositionInLocal (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
void SetTubeID (Int_t tubeid)
 
Int_t GetTubeID ()
 
void SetChamberID (Int_t chamberid)
 
void SetLayerID (Int_t layerid)
 
Int_t GetChamberID ()
 
Int_t GetLayerID ()
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Double_t fX_out_local
 
Double_t fY_out_local
 
Double_t fZ_out_local
 
Double_t fX_in_local
 
Double_t fY_in_local
 
Double_t fZ_in_local
 
Double_t fPx_out
 
Double_t fPy_out
 
Double_t fPz_out
 
Double_t fPx_in
 
Double_t fPy_in
 
Double_t fPz_in
 
Double_t fMass
 
Int_t fTubeID
 
Int_t fChamberID
 
Int_t fLayerID
 

Detailed Description

Definition at line 8 of file PndFtsPoint.h.

Constructor & Destructor Documentation

◆ PndFtsPoint() [1/3]

PndFtsPoint::PndFtsPoint ( )

Default constructor

◆ PndFtsPoint() [2/3]

PndFtsPoint::PndFtsPoint ( Int_t  trackID,
Int_t  detID,
Int_t  tubeID,
Int_t  chamberID,
Int_t  layerID,
TVector3  pos,
TVector3  posInLocal,
TVector3  posOutLocal,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Double_t  mass 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID tubeID Number of tube ChamberID number of chamber LayerID
posCoordinates at wire center of active volume [cm]
posInLocalLocal coordinates at entrance to active volume [cm]
posOutLocalLocal coordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

◆ PndFtsPoint() [3/3]

PndFtsPoint::PndFtsPoint ( const PndFtsPoint point)

Copy constructor

◆ ~PndFtsPoint()

virtual PndFtsPoint::~PndFtsPoint ( )
virtual

Destructor

Member Function Documentation

◆ GetChamberID()

Int_t PndFtsPoint::GetChamberID ( )
inline

Definition at line 79 of file PndFtsPoint.h.

References fChamberID.

79 { return fChamberID; }
Int_t fChamberID
Definition: PndFtsPoint.h:99

◆ GetLayerID()

Int_t PndFtsPoint::GetLayerID ( )
inline

Definition at line 80 of file PndFtsPoint.h.

References fLayerID, and Print().

80 { return fLayerID; }
Int_t fLayerID
Definition: PndFtsPoint.h:100

◆ GetMass()

Double_t PndFtsPoint::GetMass ( ) const
inline

Definition at line 61 of file PndFtsPoint.h.

References fMass.

61 { return fMass; }
Double_t fMass
Definition: PndFtsPoint.h:97

◆ GetPxOut()

Double_t PndFtsPoint::GetPxOut ( ) const
inline

Definition at line 43 of file PndFtsPoint.h.

References fPx_out.

43 { return fPx_out; }
Double_t fPx_out
Definition: PndFtsPoint.h:91

◆ GetPyOut()

Double_t PndFtsPoint::GetPyOut ( ) const
inline

Definition at line 44 of file PndFtsPoint.h.

References fPy_out.

44 { return fPy_out; }
Double_t fPy_out
Definition: PndFtsPoint.h:91

◆ GetPzOut()

Double_t PndFtsPoint::GetPzOut ( ) const
inline

Definition at line 45 of file PndFtsPoint.h.

References fPz_out.

45 { return fPz_out; }
Double_t fPz_out
Definition: PndFtsPoint.h:91

◆ GetTubeID()

Int_t PndFtsPoint::GetTubeID ( )
inline

Definition at line 76 of file PndFtsPoint.h.

References fTubeID.

76 { return fTubeID; }
Int_t fTubeID
Definition: PndFtsPoint.h:98

◆ GetXInLocal()

Double_t PndFtsPoint::GetXInLocal ( ) const
inline

Definition at line 53 of file PndFtsPoint.h.

References fX_in_local.

53 { return fX_in_local; }
Double_t fX_in_local
Definition: PndFtsPoint.h:89

◆ GetXOutLocal()

Double_t PndFtsPoint::GetXOutLocal ( ) const
inline

Accessors

Definition at line 50 of file PndFtsPoint.h.

References fX_out_local.

50 { return fX_out_local; }
Double_t fX_out_local
Definition: PndFtsPoint.h:87

◆ GetXtot()

Double_t PndFtsPoint::GetXtot ( ) const
inline

Definition at line 39 of file PndFtsPoint.h.

39 { return GetX(); }

◆ GetYInLocal()

Double_t PndFtsPoint::GetYInLocal ( ) const
inline

Definition at line 54 of file PndFtsPoint.h.

References fY_in_local.

54 { return fY_in_local; }
Double_t fY_in_local
Definition: PndFtsPoint.h:89

◆ GetYOutLocal()

Double_t PndFtsPoint::GetYOutLocal ( ) const
inline

Definition at line 51 of file PndFtsPoint.h.

References fY_out_local.

51 { return fY_out_local; }
Double_t fY_out_local
Definition: PndFtsPoint.h:87

◆ GetYtot()

Double_t PndFtsPoint::GetYtot ( ) const
inline

Definition at line 40 of file PndFtsPoint.h.

40 { return GetY(); }

◆ GetZInLocal()

Double_t PndFtsPoint::GetZInLocal ( ) const
inline

Definition at line 55 of file PndFtsPoint.h.

References fZ_in_local.

55 { return fZ_in_local; }
Double_t fZ_in_local
Definition: PndFtsPoint.h:89

◆ GetZOutLocal()

Double_t PndFtsPoint::GetZOutLocal ( ) const
inline

Definition at line 52 of file PndFtsPoint.h.

References fZ_out_local.

52 { return fZ_out_local; }
Double_t fZ_out_local
Definition: PndFtsPoint.h:87

◆ GetZtot()

Double_t PndFtsPoint::GetZtot ( ) const
inline

Definition at line 41 of file PndFtsPoint.h.

41 { return GetZ(); }

◆ MomentumOut()

void PndFtsPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 65 of file PndFtsPoint.h.

References fPx_out, fPy_out, fPz_out, SetMomentumOut(), SetPositionInLocal(), and SetPositionOutLocal().

65 { mom.SetXYZ(fPx_out, fPy_out, fPz_out); }
Double_t fPz_out
Definition: PndFtsPoint.h:91
Double_t fPx_out
Definition: PndFtsPoint.h:91
Double_t fPy_out
Definition: PndFtsPoint.h:91

◆ PositionInLocal()

void PndFtsPoint::PositionInLocal ( TVector3 &  pos)
inline

Definition at line 64 of file PndFtsPoint.h.

References fX_in_local, fY_in_local, and fZ_in_local.

64 { pos.SetXYZ(fX_in_local, fY_in_local, fZ_in_local); }
Double_t fY_in_local
Definition: PndFtsPoint.h:89
Double_t fZ_in_local
Definition: PndFtsPoint.h:89
Double_t fX_in_local
Definition: PndFtsPoint.h:89

◆ PositionOutLocal()

void PndFtsPoint::PositionOutLocal ( TVector3 &  pos)
inline

Definition at line 63 of file PndFtsPoint.h.

References fX_out_local, fY_out_local, and fZ_out_local.

63 { pos.SetXYZ(fX_out_local, fY_out_local, fZ_out_local); }
Double_t fZ_out_local
Definition: PndFtsPoint.h:87
Double_t fX_out_local
Definition: PndFtsPoint.h:87
Double_t fY_out_local
Definition: PndFtsPoint.h:87

◆ Print()

virtual void PndFtsPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Referenced by GetLayerID().

◆ SetChamberID()

void PndFtsPoint::SetChamberID ( Int_t  chamberid)
inline

Definition at line 77 of file PndFtsPoint.h.

References fChamberID.

77 { fChamberID = chamberid; }
Int_t fChamberID
Definition: PndFtsPoint.h:99

◆ SetLayerID()

void PndFtsPoint::SetLayerID ( Int_t  layerid)
inline

Definition at line 78 of file PndFtsPoint.h.

References fLayerID.

78 { fLayerID = layerid; }
Int_t fLayerID
Definition: PndFtsPoint.h:100

◆ SetMomentumOut()

void PndFtsPoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 121 of file PndFtsPoint.h.

References fPx_out, fPy_out, and fPz_out.

Referenced by MomentumOut().

122 {
123  fPx_out = mom.Px();
124  fPy_out = mom.Py();
125  fPz_out = mom.Pz();
126 }
Double_t fPz_out
Definition: PndFtsPoint.h:91
Double_t fPx_out
Definition: PndFtsPoint.h:91
Double_t fPy_out
Definition: PndFtsPoint.h:91

◆ SetPositionInLocal()

void PndFtsPoint::SetPositionInLocal ( TVector3  pos)
inline

Definition at line 114 of file PndFtsPoint.h.

References fX_in_local, fY_in_local, and fZ_in_local.

Referenced by MomentumOut().

115 {
116  fX_in_local = pos.X();
117  fY_in_local = pos.Y();
118  fZ_in_local = pos.Z();
119 }
Double_t fY_in_local
Definition: PndFtsPoint.h:89
Double_t fZ_in_local
Definition: PndFtsPoint.h:89
Double_t fX_in_local
Definition: PndFtsPoint.h:89

◆ SetPositionOutLocal()

void PndFtsPoint::SetPositionOutLocal ( TVector3  pos)
inline

Modifiers

Definition at line 107 of file PndFtsPoint.h.

References fX_out_local, fY_out_local, and fZ_out_local.

Referenced by MomentumOut().

108 {
109  fX_out_local = pos.X();
110  fY_out_local = pos.Y();
111  fZ_out_local = pos.Z();
112 }
Double_t fZ_out_local
Definition: PndFtsPoint.h:87
Double_t fX_out_local
Definition: PndFtsPoint.h:87
Double_t fY_out_local
Definition: PndFtsPoint.h:87

◆ SetTubeID()

void PndFtsPoint::SetTubeID ( Int_t  tubeid)
inline

Definition at line 75 of file PndFtsPoint.h.

References fTubeID.

75 { fTubeID = tubeid; }
Int_t fTubeID
Definition: PndFtsPoint.h:98

Member Data Documentation

◆ fChamberID

Int_t PndFtsPoint::fChamberID
protected

Definition at line 99 of file PndFtsPoint.h.

Referenced by GetChamberID(), and SetChamberID().

◆ fLayerID

Int_t PndFtsPoint::fLayerID
protected

Definition at line 100 of file PndFtsPoint.h.

Referenced by GetLayerID(), and SetLayerID().

◆ fMass

Double_t PndFtsPoint::fMass
protected

Definition at line 97 of file PndFtsPoint.h.

Referenced by GetMass().

◆ fPx_in

Double_t PndFtsPoint::fPx_in
protected

Definition at line 92 of file PndFtsPoint.h.

◆ fPx_out

Double_t PndFtsPoint::fPx_out
protected

Definition at line 91 of file PndFtsPoint.h.

Referenced by GetPxOut(), MomentumOut(), and SetMomentumOut().

◆ fPy_in

Double_t PndFtsPoint::fPy_in
protected

Definition at line 92 of file PndFtsPoint.h.

◆ fPy_out

Double_t PndFtsPoint::fPy_out
protected

Definition at line 91 of file PndFtsPoint.h.

Referenced by GetPyOut(), MomentumOut(), and SetMomentumOut().

◆ fPz_in

Double_t PndFtsPoint::fPz_in
protected

Definition at line 92 of file PndFtsPoint.h.

◆ fPz_out

Double_t PndFtsPoint::fPz_out
protected

Definition at line 91 of file PndFtsPoint.h.

Referenced by GetPzOut(), MomentumOut(), and SetMomentumOut().

◆ fTubeID

Int_t PndFtsPoint::fTubeID
protected

Definition at line 98 of file PndFtsPoint.h.

Referenced by GetTubeID(), and SetTubeID().

◆ fX_in_local

Double_t PndFtsPoint::fX_in_local
protected

Definition at line 89 of file PndFtsPoint.h.

Referenced by GetXInLocal(), PositionInLocal(), and SetPositionInLocal().

◆ fX_out_local

Double_t PndFtsPoint::fX_out_local
protected

Definition at line 87 of file PndFtsPoint.h.

Referenced by GetXOutLocal(), PositionOutLocal(), and SetPositionOutLocal().

◆ fY_in_local

Double_t PndFtsPoint::fY_in_local
protected

Definition at line 89 of file PndFtsPoint.h.

Referenced by GetYInLocal(), PositionInLocal(), and SetPositionInLocal().

◆ fY_out_local

Double_t PndFtsPoint::fY_out_local
protected

Definition at line 87 of file PndFtsPoint.h.

Referenced by GetYOutLocal(), PositionOutLocal(), and SetPositionOutLocal().

◆ fZ_in_local

Double_t PndFtsPoint::fZ_in_local
protected

Definition at line 89 of file PndFtsPoint.h.

Referenced by GetZInLocal(), PositionInLocal(), and SetPositionInLocal().

◆ fZ_out_local

Double_t PndFtsPoint::fZ_out_local
protected

Definition at line 87 of file PndFtsPoint.h.

Referenced by GetZOutLocal(), PositionOutLocal(), and SetPositionOutLocal().


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