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 8 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 33 of file CbmPlanePoint.h.

References ~CbmPlanePoint().

33 { *this = point; };

◆ ~CbmPlanePoint()

virtual CbmPlanePoint::~CbmPlanePoint ( )
virtual

Destructor

Referenced by CbmPlanePoint().

Member Function Documentation

◆ GetCopyNo()

Int_t CbmPlanePoint::GetCopyNo ( ) const
inline

Definition at line 55 of file CbmPlanePoint.h.

References fCopyNo.

55 { return fCopyNo; }

◆ GetEventID()

Int_t CbmPlanePoint::GetEventID ( ) const
inline

Definition at line 54 of file CbmPlanePoint.h.

References feventID.

54 { return feventID; }

◆ GetMass()

Double_t CbmPlanePoint::GetMass ( ) const
inline

Definition at line 51 of file CbmPlanePoint.h.

References fmass.

51 { return fmass; }
Double_t fmass
Definition: CbmPlanePoint.h:79

◆ GetNam()

TString CbmPlanePoint::GetNam ( ) const
inline

Definition at line 61 of file CbmPlanePoint.h.

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

61 { return fPlanenam; }
TString fPlanenam
Definition: CbmPlanePoint.h:83

◆ GetPostFlag()

Bool_t CbmPlanePoint::GetPostFlag ( ) const
inline

Definition at line 57 of file CbmPlanePoint.h.

References fpostflag.

57 { return fpostflag; }
Bool_t fpostflag
Definition: CbmPlanePoint.h:80

◆ GetPreFlag()

Bool_t CbmPlanePoint::GetPreFlag ( ) const
inline

Definition at line 56 of file CbmPlanePoint.h.

References fpreflag.

56 { return fpreflag; }

◆ GetPxIn()

Double_t CbmPlanePoint::GetPxIn ( ) const
inline

Definition at line 48 of file CbmPlanePoint.h.

References fPx_in.

48 { return fPx_in; }
Double32_t fPx_in
Definition: CbmPlanePoint.h:76

◆ GetPxOut()

Double_t CbmPlanePoint::GetPxOut ( ) const
inline

Definition at line 42 of file CbmPlanePoint.h.

References fPx_out.

42 { return fPx_out; }
Double32_t fPx_out
Definition: CbmPlanePoint.h:78

◆ GetPyIn()

Double_t CbmPlanePoint::GetPyIn ( ) const
inline

Definition at line 49 of file CbmPlanePoint.h.

References fPy_in.

49 { return fPy_in; }
Double32_t fPy_in
Definition: CbmPlanePoint.h:76

◆ GetPyOut()

Double_t CbmPlanePoint::GetPyOut ( ) const
inline

Definition at line 43 of file CbmPlanePoint.h.

References fPy_out.

43 { return fPy_out; }
Double32_t fPy_out
Definition: CbmPlanePoint.h:78

◆ GetPzIn()

Double_t CbmPlanePoint::GetPzIn ( ) const
inline

Definition at line 50 of file CbmPlanePoint.h.

References fPz_in.

50 { return fPz_in; }
Double32_t fPz_in
Definition: CbmPlanePoint.h:76

◆ GetPzOut()

Double_t CbmPlanePoint::GetPzOut ( ) const
inline

Definition at line 44 of file CbmPlanePoint.h.

References fPz_out.

44 { return fPz_out; }
Double32_t fPz_out
Definition: CbmPlanePoint.h:78

◆ GetTrackID()

Int_t CbmPlanePoint::GetTrackID ( ) const
inline

Definition at line 53 of file CbmPlanePoint.h.

References ftrackID.

53 { return ftrackID; }

◆ GetXIn()

Double_t CbmPlanePoint::GetXIn ( ) const
inline

Definition at line 45 of file CbmPlanePoint.h.

References fX_in.

45 { return fX_in; }
Double32_t fX_in
Definition: CbmPlanePoint.h:75

◆ GetXOut()

Double_t CbmPlanePoint::GetXOut ( ) const
inline

Accessors

Definition at line 39 of file CbmPlanePoint.h.

References fX_out.

39 { return fX_out; }
Double32_t fX_out
Definition: CbmPlanePoint.h:77

◆ GetYIn()

Double_t CbmPlanePoint::GetYIn ( ) const
inline

Definition at line 46 of file CbmPlanePoint.h.

References fY_in.

46 { return fY_in; }
Double32_t fY_in
Definition: CbmPlanePoint.h:75

◆ GetYOut()

Double_t CbmPlanePoint::GetYOut ( ) const
inline

Definition at line 40 of file CbmPlanePoint.h.

References fY_out.

40 { return fY_out; }
Double32_t fY_out
Definition: CbmPlanePoint.h:77

◆ GetZIn()

Double_t CbmPlanePoint::GetZIn ( ) const
inline

Definition at line 47 of file CbmPlanePoint.h.

References fZ_in.

47 { return fZ_in; }
Double32_t fZ_in
Definition: CbmPlanePoint.h:75

◆ GetZOut()

Double_t CbmPlanePoint::GetZOut ( ) const
inline

Definition at line 41 of file CbmPlanePoint.h.

References fZ_out.

41 { return fZ_out; }
Double32_t fZ_out
Definition: CbmPlanePoint.h:77

◆ MomentumOut()

void CbmPlanePoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 60 of file CbmPlanePoint.h.

References fPx_out, fPy_out, and fPz_out.

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

◆ PositionOut()

void CbmPlanePoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 59 of file CbmPlanePoint.h.

References fX_out, fY_out, and fZ_out.

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

◆ 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 110 of file CbmPlanePoint.h.

References fPx_in, fPy_in, and fPz_in.

Referenced by GetNam().

111 {
112  fPx_in = momin.Px();
113  fPy_in = momin.Py();
114  fPz_in = momin.Pz();
115 }
Double32_t fPz_in
Definition: CbmPlanePoint.h:76
Double32_t fPy_in
Definition: CbmPlanePoint.h:76
Double32_t fPx_in
Definition: CbmPlanePoint.h:76

◆ SetMomentumOut()

void CbmPlanePoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 96 of file CbmPlanePoint.h.

References fPx_out, fPy_out, and fPz_out.

Referenced by GetNam().

97 {
98  fPx_out = mom.Px();
99  fPy_out = mom.Py();
100  fPz_out = mom.Pz();
101 }
Double32_t fPz_out
Definition: CbmPlanePoint.h:78
Double32_t fPy_out
Definition: CbmPlanePoint.h:78
Double32_t fPx_out
Definition: CbmPlanePoint.h:78

◆ SetPositionIn()

void CbmPlanePoint::SetPositionIn ( TVector3  posin)
inline

Definition at line 103 of file CbmPlanePoint.h.

References fX_in, fY_in, and fZ_in.

Referenced by GetNam().

104 {
105  fX_in = posin.X();
106  fY_in = posin.Y();
107  fZ_in = posin.Z();
108 }
Double32_t fX_in
Definition: CbmPlanePoint.h:75
Double32_t fZ_in
Definition: CbmPlanePoint.h:75
Double32_t fY_in
Definition: CbmPlanePoint.h:75

◆ SetPositionOut()

void CbmPlanePoint::SetPositionOut ( TVector3  pos)
inline

Modifiers

Definition at line 89 of file CbmPlanePoint.h.

References fX_out, fY_out, and fZ_out.

Referenced by GetNam().

90 {
91  fX_out = pos.X();
92  fY_out = pos.Y();
93  fZ_out = pos.Z();
94 }
Double32_t fY_out
Definition: CbmPlanePoint.h:77
Double32_t fX_out
Definition: CbmPlanePoint.h:77
Double32_t fZ_out
Definition: CbmPlanePoint.h:77

Member Data Documentation

◆ fcharge

Double_t CbmPlanePoint::fcharge
protected

Definition at line 81 of file CbmPlanePoint.h.

◆ fCopyNo

Int_t CbmPlanePoint::fCopyNo
protected

Definition at line 82 of file CbmPlanePoint.h.

Referenced by GetCopyNo().

◆ feventID

Int_t CbmPlanePoint::feventID
protected

Definition at line 85 of file CbmPlanePoint.h.

Referenced by GetEventID().

◆ fmass

Double_t CbmPlanePoint::fmass
protected

Definition at line 79 of file CbmPlanePoint.h.

Referenced by GetMass().

◆ fPlanenam

TString CbmPlanePoint::fPlanenam
protected

Definition at line 83 of file CbmPlanePoint.h.

Referenced by GetNam().

◆ fpostflag

Bool_t CbmPlanePoint::fpostflag
protected

Definition at line 80 of file CbmPlanePoint.h.

Referenced by GetPostFlag().

◆ fpreflag

Bool_t CbmPlanePoint::fpreflag
protected

Definition at line 80 of file CbmPlanePoint.h.

Referenced by GetPreFlag().

◆ fPx_in

Double32_t CbmPlanePoint::fPx_in
protected

Definition at line 76 of file CbmPlanePoint.h.

Referenced by GetPxIn(), and SetMomentumIn().

◆ fPx_out

Double32_t CbmPlanePoint::fPx_out
protected

Definition at line 78 of file CbmPlanePoint.h.

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

◆ fPy_in

Double32_t CbmPlanePoint::fPy_in
protected

Definition at line 76 of file CbmPlanePoint.h.

Referenced by GetPyIn(), and SetMomentumIn().

◆ fPy_out

Double32_t CbmPlanePoint::fPy_out
protected

Definition at line 78 of file CbmPlanePoint.h.

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

◆ fPz_in

Double32_t CbmPlanePoint::fPz_in
protected

Definition at line 76 of file CbmPlanePoint.h.

Referenced by GetPzIn(), and SetMomentumIn().

◆ fPz_out

Double32_t CbmPlanePoint::fPz_out
protected

Definition at line 78 of file CbmPlanePoint.h.

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

◆ ftrackID

Int_t CbmPlanePoint::ftrackID
protected

Definition at line 84 of file CbmPlanePoint.h.

Referenced by GetTrackID().

◆ fX_in

Double32_t CbmPlanePoint::fX_in
protected

Definition at line 75 of file CbmPlanePoint.h.

Referenced by GetXIn(), and SetPositionIn().

◆ fX_out

Double32_t CbmPlanePoint::fX_out
protected

Definition at line 77 of file CbmPlanePoint.h.

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

◆ fY_in

Double32_t CbmPlanePoint::fY_in
protected

Definition at line 75 of file CbmPlanePoint.h.

Referenced by GetYIn(), and SetPositionIn().

◆ fY_out

Double32_t CbmPlanePoint::fY_out
protected

Definition at line 77 of file CbmPlanePoint.h.

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

◆ fZ_in

Double32_t CbmPlanePoint::fZ_in
protected

Definition at line 75 of file CbmPlanePoint.h.

Referenced by GetZIn(), and SetPositionIn().

◆ fZ_out

Double32_t CbmPlanePoint::fZ_out
protected

Definition at line 77 of file CbmPlanePoint.h.

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


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