BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnVSPPoint Class Reference

#include <BmnVSPPoint.h>

Inheritance diagram for BmnVSPPoint:
Collaboration diagram for BmnVSPPoint:

Public Member Functions

 BmnVSPPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId)
 Constructor with arguments.
 BmnVSPPoint (const BmnVSPPoint &point)
 BmnVSPPoint ()
virtual ~BmnVSPPoint ()
Double_t GetXIn () const
 Accessors.
Double_t GetYIn () const
Double_t GetZIn () const
Double_t GetXOut () const
Double_t GetYOut () const
Double_t GetZOut () const
Double_t GetPxOut () const
Double_t GetPyOut () const
Double_t GetPzOut () const
void PositionIn (TVector3 &pos)
void PositionOut (TVector3 &pos)
void MomentumIn (TVector3 &mom)
void MomentumOut (TVector3 &mom)
Int_t GetIsPrimary ()
Double_t GetCharge ()
Double_t GetPdgId ()
Int_t GetStation ()
Int_t GetModule ()
void SetStation (Int_t station_num)
void SetModule (Int_t module_num)
virtual void Print (const Option_t *opt) const
 BmnVSPPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId)
 Constructor with arguments.
 BmnVSPPoint (const BmnVSPPoint &point)
 BmnVSPPoint ()
virtual ~BmnVSPPoint ()
Double_t GetXIn () const
 Accessors.
Double_t GetYIn () const
Double_t GetZIn () const
Double_t GetXOut () const
Double_t GetYOut () const
Double_t GetZOut () const
Double_t GetPxOut () const
Double_t GetPyOut () const
Double_t GetPzOut () const
void PositionIn (TVector3 &pos)
void PositionOut (TVector3 &pos)
void MomentumIn (TVector3 &mom)
void MomentumOut (TVector3 &mom)
Int_t GetIsPrimary ()
Double_t GetCharge ()
Double_t GetPdgId ()
Int_t GetStation ()
Int_t GetModule ()
void SetStation (Int_t station_num)
void SetModule (Int_t module_num)
virtual void Print (const Option_t *opt) const

Protected Attributes

Int_t fIsPrimary
Double_t fCharge
Int_t fPdgId
Double_t fX_out
Double_t fY_out
Double_t fZ_out
Double_t fPx_out
Double_t fPy_out
Double_t fPz_out
Int_t fStation
Int_t fModule

Detailed Description

Definition at line 6 of file BmnVSPPoint.h.

Constructor & Destructor Documentation

◆ BmnVSPPoint() [1/6]

BmnVSPPoint::BmnVSPPoint ( Int_t trackID,
Int_t detID,
TVector3 posIn,
TVector3 posOut,
TVector3 momIn,
TVector3 momOut,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t isPrimary,
Double_t charge,
Int_t pdgId )
Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCoordinates 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]

Definition at line 22 of file BmnVSPPoint.cxx.

References fCharge, fIsPrimary, fModule, fPdgId, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, fZ_out, and tof.

Referenced by BmnVSPPoint(), and Print().

Here is the caller graph for this function:

◆ BmnVSPPoint() [2/6]

BmnVSPPoint::BmnVSPPoint ( const BmnVSPPoint & point)
inline

Definition at line 32 of file BmnVSPPoint.h.

References BmnVSPPoint().

Here is the call graph for this function:

◆ BmnVSPPoint() [3/6]

BmnVSPPoint::BmnVSPPoint ( )

Definition at line 7 of file BmnVSPPoint.cxx.

References fCharge, fIsPrimary, fModule, fPdgId, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, and fZ_out.

◆ ~BmnVSPPoint() [1/2]

BmnVSPPoint::~BmnVSPPoint ( )
virtual

Definition at line 48 of file BmnVSPPoint.cxx.

◆ BmnVSPPoint() [4/6]

BmnVSPPoint::BmnVSPPoint ( Int_t trackID,
Int_t detID,
TVector3 posIn,
TVector3 posOut,
TVector3 momIn,
TVector3 momOut,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t isPrimary,
Double_t charge,
Int_t pdgId )
Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCoordinates 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]

References tof.

◆ BmnVSPPoint() [5/6]

BmnVSPPoint::BmnVSPPoint ( const BmnVSPPoint & point)
inline

Definition at line 32 of file BmnVSPPoint.h.

References BmnVSPPoint().

Here is the call graph for this function:

◆ BmnVSPPoint() [6/6]

BmnVSPPoint::BmnVSPPoint ( )

◆ ~BmnVSPPoint() [2/2]

virtual BmnVSPPoint::~BmnVSPPoint ( )
virtual

Member Function Documentation

◆ GetCharge() [1/2]

Double_t BmnVSPPoint::GetCharge ( )
inline

Definition at line 53 of file BmnVSPPoint.h.

References fCharge.

◆ GetCharge() [2/2]

Double_t BmnVSPPoint::GetCharge ( )
inline

Definition at line 53 of file BmnVSPPoint.h.

References fCharge.

◆ GetIsPrimary() [1/2]

Int_t BmnVSPPoint::GetIsPrimary ( )
inline

Definition at line 52 of file BmnVSPPoint.h.

References fIsPrimary.

◆ GetIsPrimary() [2/2]

Int_t BmnVSPPoint::GetIsPrimary ( )
inline

Definition at line 52 of file BmnVSPPoint.h.

References fIsPrimary.

◆ GetModule() [1/2]

Int_t BmnVSPPoint::GetModule ( )
inline

Definition at line 57 of file BmnVSPPoint.h.

References fModule.

Referenced by DrawBranchPoints().

Here is the caller graph for this function:

◆ GetModule() [2/2]

Int_t BmnVSPPoint::GetModule ( )
inline

Definition at line 57 of file BmnVSPPoint.h.

References fModule.

◆ GetPdgId() [1/2]

Double_t BmnVSPPoint::GetPdgId ( )
inline

Definition at line 54 of file BmnVSPPoint.h.

References fPdgId.

◆ GetPdgId() [2/2]

Double_t BmnVSPPoint::GetPdgId ( )
inline

Definition at line 54 of file BmnVSPPoint.h.

References fPdgId.

◆ GetPxOut() [1/2]

Double_t BmnVSPPoint::GetPxOut ( ) const
inline

Definition at line 44 of file BmnVSPPoint.h.

References fPx_out.

◆ GetPxOut() [2/2]

Double_t BmnVSPPoint::GetPxOut ( ) const
inline

Definition at line 44 of file BmnVSPPoint.h.

References fPx_out.

◆ GetPyOut() [1/2]

Double_t BmnVSPPoint::GetPyOut ( ) const
inline

Definition at line 45 of file BmnVSPPoint.h.

References fPy_out.

◆ GetPyOut() [2/2]

Double_t BmnVSPPoint::GetPyOut ( ) const
inline

Definition at line 45 of file BmnVSPPoint.h.

References fPy_out.

◆ GetPzOut() [1/2]

Double_t BmnVSPPoint::GetPzOut ( ) const
inline

Definition at line 46 of file BmnVSPPoint.h.

References fPz_out.

◆ GetPzOut() [2/2]

Double_t BmnVSPPoint::GetPzOut ( ) const
inline

Definition at line 46 of file BmnVSPPoint.h.

References fPz_out.

◆ GetStation() [1/2]

Int_t BmnVSPPoint::GetStation ( )
inline

Definition at line 56 of file BmnVSPPoint.h.

References fStation.

Referenced by DrawBranchPoints().

Here is the caller graph for this function:

◆ GetStation() [2/2]

Int_t BmnVSPPoint::GetStation ( )
inline

Definition at line 56 of file BmnVSPPoint.h.

References fStation.

◆ GetXIn() [1/2]

Double_t BmnVSPPoint::GetXIn ( ) const
inline

Definition at line 38 of file BmnVSPPoint.h.

◆ GetXIn() [2/2]

Double_t BmnVSPPoint::GetXIn ( ) const
inline

Definition at line 38 of file BmnVSPPoint.h.

◆ GetXOut() [1/2]

Double_t BmnVSPPoint::GetXOut ( ) const
inline

Definition at line 41 of file BmnVSPPoint.h.

References fX_out.

◆ GetXOut() [2/2]

Double_t BmnVSPPoint::GetXOut ( ) const
inline

Definition at line 41 of file BmnVSPPoint.h.

References fX_out.

◆ GetYIn() [1/2]

Double_t BmnVSPPoint::GetYIn ( ) const
inline

Definition at line 39 of file BmnVSPPoint.h.

◆ GetYIn() [2/2]

Double_t BmnVSPPoint::GetYIn ( ) const
inline

Definition at line 39 of file BmnVSPPoint.h.

◆ GetYOut() [1/2]

Double_t BmnVSPPoint::GetYOut ( ) const
inline

Definition at line 42 of file BmnVSPPoint.h.

References fY_out.

◆ GetYOut() [2/2]

Double_t BmnVSPPoint::GetYOut ( ) const
inline

Definition at line 42 of file BmnVSPPoint.h.

References fY_out.

◆ GetZIn() [1/2]

Double_t BmnVSPPoint::GetZIn ( ) const
inline

Definition at line 40 of file BmnVSPPoint.h.

◆ GetZIn() [2/2]

Double_t BmnVSPPoint::GetZIn ( ) const
inline

Definition at line 40 of file BmnVSPPoint.h.

◆ GetZOut() [1/2]

Double_t BmnVSPPoint::GetZOut ( ) const
inline

Definition at line 43 of file BmnVSPPoint.h.

References fZ_out.

◆ GetZOut() [2/2]

Double_t BmnVSPPoint::GetZOut ( ) const
inline

Definition at line 43 of file BmnVSPPoint.h.

References fZ_out.

◆ MomentumIn() [1/2]

void BmnVSPPoint::MomentumIn ( TVector3 & mom)
inline

Definition at line 49 of file BmnVSPPoint.h.

References TVector3::SetXYZ().

Here is the call graph for this function:

◆ MomentumIn() [2/2]

void BmnVSPPoint::MomentumIn ( TVector3 & mom)
inline

Definition at line 49 of file BmnVSPPoint.h.

References TVector3::SetXYZ().

Here is the call graph for this function:

◆ MomentumOut() [1/2]

void BmnVSPPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 50 of file BmnVSPPoint.h.

References fPx_out, fPy_out, fPz_out, and TVector3::SetXYZ().

Here is the call graph for this function:

◆ MomentumOut() [2/2]

void BmnVSPPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 50 of file BmnVSPPoint.h.

References fPx_out, fPy_out, fPz_out, and TVector3::SetXYZ().

Here is the call graph for this function:

◆ PositionIn() [1/2]

void BmnVSPPoint::PositionIn ( TVector3 & pos)
inline

Definition at line 47 of file BmnVSPPoint.h.

References TVector3::SetXYZ().

Here is the call graph for this function:

◆ PositionIn() [2/2]

void BmnVSPPoint::PositionIn ( TVector3 & pos)
inline

Definition at line 47 of file BmnVSPPoint.h.

References TVector3::SetXYZ().

Here is the call graph for this function:

◆ PositionOut() [1/2]

void BmnVSPPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 48 of file BmnVSPPoint.h.

References fX_out, fY_out, fZ_out, and TVector3::SetXYZ().

Here is the call graph for this function:

◆ PositionOut() [2/2]

void BmnVSPPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 48 of file BmnVSPPoint.h.

References fX_out, fY_out, fZ_out, and TVector3::SetXYZ().

Here is the call graph for this function:

◆ Print() [1/2]

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

Definition at line 50 of file BmnVSPPoint.cxx.

◆ Print() [2/2]

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

References BmnVSPPoint(), fCharge, fIsPrimary, fModule, fPdgId, fPx_out, fPy_out, fPz_out, fStation, fX_out, fY_out, and fZ_out.

Here is the call graph for this function:

◆ SetModule() [1/2]

void BmnVSPPoint::SetModule ( Int_t module_num)
inline

Definition at line 60 of file BmnVSPPoint.h.

References fModule.

Referenced by BmnVSP::ProcessHits().

Here is the caller graph for this function:

◆ SetModule() [2/2]

void BmnVSPPoint::SetModule ( Int_t module_num)
inline

Definition at line 60 of file BmnVSPPoint.h.

References fModule.

◆ SetStation() [1/2]

void BmnVSPPoint::SetStation ( Int_t station_num)
inline

Definition at line 59 of file BmnVSPPoint.h.

References fStation.

Referenced by BmnVSP::ProcessHits().

Here is the caller graph for this function:

◆ SetStation() [2/2]

void BmnVSPPoint::SetStation ( Int_t station_num)
inline

Definition at line 59 of file BmnVSPPoint.h.

References fStation.

Member Data Documentation

◆ fCharge

Double_t BmnVSPPoint::fCharge
protected

Definition at line 67 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetCharge(), and Print().

◆ fIsPrimary

Int_t BmnVSPPoint::fIsPrimary
protected

Definition at line 66 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetIsPrimary(), and Print().

◆ fModule

Int_t BmnVSPPoint::fModule
protected

Definition at line 74 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetModule(), Print(), and SetModule().

◆ fPdgId

Int_t BmnVSPPoint::fPdgId
protected

Definition at line 68 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetPdgId(), and Print().

◆ fPx_out

Double_t BmnVSPPoint::fPx_out
protected

Definition at line 71 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetPxOut(), MomentumOut(), and Print().

◆ fPy_out

Double_t BmnVSPPoint::fPy_out
protected

Definition at line 71 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetPyOut(), MomentumOut(), and Print().

◆ fPz_out

Double_t BmnVSPPoint::fPz_out
protected

Definition at line 71 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetPzOut(), MomentumOut(), and Print().

◆ fStation

Int_t BmnVSPPoint::fStation
protected

Definition at line 73 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetStation(), Print(), and SetStation().

◆ fX_out

Double_t BmnVSPPoint::fX_out
protected

Definition at line 70 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetXOut(), PositionOut(), and Print().

◆ fY_out

Double_t BmnVSPPoint::fY_out
protected

Definition at line 70 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetYOut(), PositionOut(), and Print().

◆ fZ_out

Double_t BmnVSPPoint::fZ_out
protected

Definition at line 70 of file BmnVSPPoint.h.

Referenced by BmnVSPPoint(), BmnVSPPoint(), GetZOut(), PositionOut(), and Print().


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