PandaRoot
CbmPlanePoint Class Reference

#include <CbmPlanePoint.h>

Inheritance diagram for CbmPlanePoint:

Public Member Functions

 CbmPlanePoint ()
 
 CbmPlanePoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Bool_t preflag, Bool_t postflag, TString nam, Int_t eventID)
 
 CbmPlanePoint (const CbmPlanePoint &point)
 
virtual ~CbmPlanePoint ()
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
Double_t GetXIn () const
 
Double_t GetYIn () const
 
Double_t GetZIn () const
 
Double_t GetPxIn () const
 
Double_t GetPyIn () const
 
Double_t GetPzIn () const
 
Double_t GetMass () const
 
Int_t GetTrackID () const
 
Int_t GetEventID () const
 
Int_t GetCopyNo () const
 
Bool_t GetPreFlag () const
 
Bool_t GetPostFlag () const
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
TString GetNam () const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
void SetPositionIn (TVector3 posin)
 
void SetMomentumIn (TVector3 momin)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Double32_t fX_in
 
Double32_t fY_in
 
Double32_t fZ_in
 
Double32_t fPx_in
 
Double32_t fPy_in
 
Double32_t fPz_in
 
Double32_t fX_out
 
Double32_t fY_out
 
Double32_t fZ_out
 
Double32_t fPx_out
 
Double32_t fPy_out
 
Double32_t fPz_out
 
Double_t fmass
 
Bool_t fpreflag
 
Bool_t fpostflag
 
Double_t fcharge
 
Int_t fCopyNo
 
TString fPlanenam
 
Int_t ftrackID
 
Int_t feventID
 

Detailed Description

Definition at line 20 of file CbmPlanePoint.h.

Constructor & Destructor Documentation

◆ CbmPlanePoint() [1/3]

CbmPlanePoint::CbmPlanePoint ( )

Default constructor

◆ CbmPlanePoint() [2/3]

CbmPlanePoint::CbmPlanePoint ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Bool_t  preflag,
Bool_t  postflag,
TString  nam,
Int_t  eventID 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCcoordinates at entrance to active volume [cm]
posOutCoordinates 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]

◆ CbmPlanePoint() [3/3]

CbmPlanePoint::CbmPlanePoint ( const CbmPlanePoint point)
inline

Copy constructor

Definition at line 45 of file CbmPlanePoint.h.

References ~CbmPlanePoint().

45 { *this = point; };

◆ ~CbmPlanePoint()

virtual CbmPlanePoint::~CbmPlanePoint ( )
virtual

Destructor

Referenced by CbmPlanePoint().

Member Function Documentation

◆ GetCopyNo()

Int_t CbmPlanePoint::GetCopyNo ( ) const
inline

Definition at line 67 of file CbmPlanePoint.h.

References fCopyNo.

67 { return fCopyNo; }

◆ GetEventID()

Int_t CbmPlanePoint::GetEventID ( ) const
inline

Definition at line 66 of file CbmPlanePoint.h.

References feventID.

66 { return feventID; }

◆ GetMass()

Double_t CbmPlanePoint::GetMass ( ) const
inline

Definition at line 63 of file CbmPlanePoint.h.

References fmass.

63 { return fmass; }
Double_t fmass
Definition: CbmPlanePoint.h:91

◆ GetNam()

TString CbmPlanePoint::GetNam ( ) const
inline

Definition at line 73 of file CbmPlanePoint.h.

References fPlanenam, Print(), SetMomentumIn(), SetMomentumOut(), SetPositionIn(), and SetPositionOut().

73 { return fPlanenam; }
TString fPlanenam
Definition: CbmPlanePoint.h:95

◆ GetPostFlag()

Bool_t CbmPlanePoint::GetPostFlag ( ) const
inline

Definition at line 69 of file CbmPlanePoint.h.

References fpostflag.

69 { return fpostflag; }
Bool_t fpostflag
Definition: CbmPlanePoint.h:92

◆ GetPreFlag()

Bool_t CbmPlanePoint::GetPreFlag ( ) const
inline

Definition at line 68 of file CbmPlanePoint.h.

References fpreflag.

68 { return fpreflag; }

◆ GetPxIn()

Double_t CbmPlanePoint::GetPxIn ( ) const
inline

Definition at line 60 of file CbmPlanePoint.h.

References fPx_in.

60 { return fPx_in; }
Double32_t fPx_in
Definition: CbmPlanePoint.h:88

◆ GetPxOut()

Double_t CbmPlanePoint::GetPxOut ( ) const
inline

Definition at line 54 of file CbmPlanePoint.h.

References fPx_out.

54 { return fPx_out; }
Double32_t fPx_out
Definition: CbmPlanePoint.h:90

◆ GetPyIn()

Double_t CbmPlanePoint::GetPyIn ( ) const
inline

Definition at line 61 of file CbmPlanePoint.h.

References fPy_in.

61 { return fPy_in; }
Double32_t fPy_in
Definition: CbmPlanePoint.h:88

◆ GetPyOut()

Double_t CbmPlanePoint::GetPyOut ( ) const
inline

Definition at line 55 of file CbmPlanePoint.h.

References fPy_out.

55 { return fPy_out; }
Double32_t fPy_out
Definition: CbmPlanePoint.h:90

◆ GetPzIn()

Double_t CbmPlanePoint::GetPzIn ( ) const
inline

Definition at line 62 of file CbmPlanePoint.h.

References fPz_in.

62 { return fPz_in; }
Double32_t fPz_in
Definition: CbmPlanePoint.h:88

◆ GetPzOut()

Double_t CbmPlanePoint::GetPzOut ( ) const
inline

Definition at line 56 of file CbmPlanePoint.h.

References fPz_out.

56 { return fPz_out; }
Double32_t fPz_out
Definition: CbmPlanePoint.h:90

◆ GetTrackID()

Int_t CbmPlanePoint::GetTrackID ( ) const
inline

Definition at line 65 of file CbmPlanePoint.h.

References ftrackID.

65 { return ftrackID; }

◆ GetXIn()

Double_t CbmPlanePoint::GetXIn ( ) const
inline

Definition at line 57 of file CbmPlanePoint.h.

References fX_in.

57 { return fX_in; }
Double32_t fX_in
Definition: CbmPlanePoint.h:87

◆ GetXOut()

Double_t CbmPlanePoint::GetXOut ( ) const
inline

Accessors

Definition at line 51 of file CbmPlanePoint.h.

References fX_out.

51 { return fX_out; }
Double32_t fX_out
Definition: CbmPlanePoint.h:89

◆ GetYIn()

Double_t CbmPlanePoint::GetYIn ( ) const
inline

Definition at line 58 of file CbmPlanePoint.h.

References fY_in.

58 { return fY_in; }
Double32_t fY_in
Definition: CbmPlanePoint.h:87

◆ GetYOut()

Double_t CbmPlanePoint::GetYOut ( ) const
inline

Definition at line 52 of file CbmPlanePoint.h.

References fY_out.

52 { return fY_out; }
Double32_t fY_out
Definition: CbmPlanePoint.h:89

◆ GetZIn()

Double_t CbmPlanePoint::GetZIn ( ) const
inline

Definition at line 59 of file CbmPlanePoint.h.

References fZ_in.

59 { return fZ_in; }
Double32_t fZ_in
Definition: CbmPlanePoint.h:87

◆ GetZOut()

Double_t CbmPlanePoint::GetZOut ( ) const
inline

Definition at line 53 of file CbmPlanePoint.h.

References fZ_out.

53 { return fZ_out; }
Double32_t fZ_out
Definition: CbmPlanePoint.h:89

◆ MomentumOut()

void CbmPlanePoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 72 of file CbmPlanePoint.h.

References fPx_out, fPy_out, and fPz_out.

72 { mom.SetXYZ(fPx_out, fPy_out, fPz_out); }
Double32_t fPz_out
Definition: CbmPlanePoint.h:90
Double32_t fPy_out
Definition: CbmPlanePoint.h:90
Double32_t fPx_out
Definition: CbmPlanePoint.h:90

◆ PositionOut()

void CbmPlanePoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 71 of file CbmPlanePoint.h.

References fX_out, fY_out, and fZ_out.

71 { pos.SetXYZ(fX_out, fY_out, fZ_out); }
Double32_t fY_out
Definition: CbmPlanePoint.h:89
Double32_t fX_out
Definition: CbmPlanePoint.h:89
Double32_t fZ_out
Definition: CbmPlanePoint.h:89

◆ Print()

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

Output to screen

Referenced by GetNam().

◆ SetMomentumIn()

void CbmPlanePoint::SetMomentumIn ( TVector3  momin)
inline

Definition at line 122 of file CbmPlanePoint.h.

References fPx_in, fPy_in, and fPz_in.

Referenced by GetNam().

123 {
124  fPx_in = momin.Px();
125  fPy_in = momin.Py();
126  fPz_in = momin.Pz();
127 }
Double32_t fPz_in
Definition: CbmPlanePoint.h:88
Double32_t fPy_in
Definition: CbmPlanePoint.h:88
Double32_t fPx_in
Definition: CbmPlanePoint.h:88

◆ SetMomentumOut()

void CbmPlanePoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 108 of file CbmPlanePoint.h.

References fPx_out, fPy_out, and fPz_out.

Referenced by GetNam().

109 {
110  fPx_out = mom.Px();
111  fPy_out = mom.Py();
112  fPz_out = mom.Pz();
113 }
Double32_t fPz_out
Definition: CbmPlanePoint.h:90
Double32_t fPy_out
Definition: CbmPlanePoint.h:90
Double32_t fPx_out
Definition: CbmPlanePoint.h:90

◆ SetPositionIn()

void CbmPlanePoint::SetPositionIn ( TVector3  posin)
inline

Definition at line 115 of file CbmPlanePoint.h.

References fX_in, fY_in, and fZ_in.

Referenced by GetNam().

116 {
117  fX_in = posin.X();
118  fY_in = posin.Y();
119  fZ_in = posin.Z();
120 }
Double32_t fX_in
Definition: CbmPlanePoint.h:87
Double32_t fZ_in
Definition: CbmPlanePoint.h:87
Double32_t fY_in
Definition: CbmPlanePoint.h:87

◆ SetPositionOut()

void CbmPlanePoint::SetPositionOut ( TVector3  pos)
inline

Modifiers

Definition at line 101 of file CbmPlanePoint.h.

References fX_out, fY_out, and fZ_out.

Referenced by GetNam().

102 {
103  fX_out = pos.X();
104  fY_out = pos.Y();
105  fZ_out = pos.Z();
106 }
Double32_t fY_out
Definition: CbmPlanePoint.h:89
Double32_t fX_out
Definition: CbmPlanePoint.h:89
Double32_t fZ_out
Definition: CbmPlanePoint.h:89

Member Data Documentation

◆ fcharge

Double_t CbmPlanePoint::fcharge
protected

Definition at line 93 of file CbmPlanePoint.h.

◆ fCopyNo

Int_t CbmPlanePoint::fCopyNo
protected

Definition at line 94 of file CbmPlanePoint.h.

Referenced by GetCopyNo().

◆ feventID

Int_t CbmPlanePoint::feventID
protected

Definition at line 97 of file CbmPlanePoint.h.

Referenced by GetEventID().

◆ fmass

Double_t CbmPlanePoint::fmass
protected

Definition at line 91 of file CbmPlanePoint.h.

Referenced by GetMass().

◆ fPlanenam

TString CbmPlanePoint::fPlanenam
protected

Definition at line 95 of file CbmPlanePoint.h.

Referenced by GetNam().

◆ fpostflag

Bool_t CbmPlanePoint::fpostflag
protected

Definition at line 92 of file CbmPlanePoint.h.

Referenced by GetPostFlag().

◆ fpreflag

Bool_t CbmPlanePoint::fpreflag
protected

Definition at line 92 of file CbmPlanePoint.h.

Referenced by GetPreFlag().

◆ fPx_in

Double32_t CbmPlanePoint::fPx_in
protected

Definition at line 88 of file CbmPlanePoint.h.

Referenced by GetPxIn(), and SetMomentumIn().

◆ fPx_out

Double32_t CbmPlanePoint::fPx_out
protected

Definition at line 90 of file CbmPlanePoint.h.

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

◆ fPy_in

Double32_t CbmPlanePoint::fPy_in
protected

Definition at line 88 of file CbmPlanePoint.h.

Referenced by GetPyIn(), and SetMomentumIn().

◆ fPy_out

Double32_t CbmPlanePoint::fPy_out
protected

Definition at line 90 of file CbmPlanePoint.h.

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

◆ fPz_in

Double32_t CbmPlanePoint::fPz_in
protected

Definition at line 88 of file CbmPlanePoint.h.

Referenced by GetPzIn(), and SetMomentumIn().

◆ fPz_out

Double32_t CbmPlanePoint::fPz_out
protected

Definition at line 90 of file CbmPlanePoint.h.

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

◆ ftrackID

Int_t CbmPlanePoint::ftrackID
protected

Definition at line 96 of file CbmPlanePoint.h.

Referenced by GetTrackID().

◆ fX_in

Double32_t CbmPlanePoint::fX_in
protected

Definition at line 87 of file CbmPlanePoint.h.

Referenced by GetXIn(), and SetPositionIn().

◆ fX_out

Double32_t CbmPlanePoint::fX_out
protected

Definition at line 89 of file CbmPlanePoint.h.

Referenced by GetXOut(), PositionOut(), and SetPositionOut().

◆ fY_in

Double32_t CbmPlanePoint::fY_in
protected

Definition at line 87 of file CbmPlanePoint.h.

Referenced by GetYIn(), and SetPositionIn().

◆ fY_out

Double32_t CbmPlanePoint::fY_out
protected

Definition at line 89 of file CbmPlanePoint.h.

Referenced by GetYOut(), PositionOut(), and SetPositionOut().

◆ fZ_in

Double32_t CbmPlanePoint::fZ_in
protected

Definition at line 87 of file CbmPlanePoint.h.

Referenced by GetZIn(), and SetPositionIn().

◆ fZ_out

Double32_t CbmPlanePoint::fZ_out
protected

Definition at line 89 of file CbmPlanePoint.h.

Referenced by GetZOut(), PositionOut(), and SetPositionOut().


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