ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Attributes | List of all members
AtSiPoint Class Reference

#include <AtSiPoint.h>

Inheritance diagram for AtSiPoint:
Inheritance graph
[legend]
Collaboration diagram for AtSiPoint:
Collaboration graph
[legend]

Public Member Functions

 AtSiPoint ()
 
 AtSiPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
 AtSiPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, TString VolName, Int_t detCopyID, Double_t EIni, Double_t AIni, Int_t A, Int_t Z)
 
virtual ~AtSiPoint ()=default
 
Double_t GetXIn () const
 
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 MomentumOut (TVector3 &mom)
 
Double_t GetX (Double_t z) const
 
Double_t GetY (Double_t z) const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
virtual void Print (const Option_t *opt) const
 
- Public Member Functions inherited from AtMCPoint
 AtMCPoint ()
 
 AtMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
 AtMCPoint (Int_t trackID, Int_t detID, XYZPoint pos, XYZVector mom, Double_t tof, Double_t length, Double_t eLoss)
 
 AtMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, TString VolName, Int_t detCopyID, Double_t EIni, Double_t AIni, Int_t A, Int_t Z)
 
virtual ~AtMCPoint ()=default
 
 AtMCPoint (const AtMCPoint &point)=delete
 
AtMCPoint operator= (const AtMCPoint &point)=delete
 
virtual void Clear (Option_t *) override
 
Int_t GetDetCopyID () const
 
TString GetVolName () const
 
Double_t GetEIni () const
 
Double_t GetAIni () const
 
Int_t GetMassNum () const
 
Int_t GetAtomicNum () const
 
void SetDetCopyID (Int_t id)
 
void SetVolName (TString VolName)
 
void SetPosition (const XYZPoint &pos)
 
void SetMomentum (const XYZVector &mom)
 

Protected Attributes

Double32_t fX_out {}
 
Double32_t fY_out {}
 
Double32_t fZ_out {}
 
Double32_t fPx_out {}
 
Double32_t fPy_out {}
 
Double32_t fPz_out {}
 
- Protected Attributes inherited from AtMCPoint
Int_t fDetCopyID = 0
 
TString fVolName
 
Double_t fEnergyIni = 0
 
Double_t fAngleIni = 0
 
Int_t fAiso = 0
 
Int_t fZiso = 0
 

Additional Inherited Members

- Public Attributes inherited from AtMCPoint
friend AtSimpleSimulation
 
- Protected Types inherited from AtMCPoint
using XYZPoint = ROOT::Math::XYZPoint
 
using XYZVector = ROOT::Math::XYZVector
 

Detailed Description

Definition at line 14 of file AtSiPoint.h.

Constructor & Destructor Documentation

◆ AtSiPoint() [1/3]

AtSiPoint::AtSiPoint ( )

Default constructor

Definition at line 10 of file AtSiPoint.cxx.

◆ AtSiPoint() [2/3]

AtSiPoint::AtSiPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 12 of file AtSiPoint.cxx.

◆ AtSiPoint() [3/3]

AtSiPoint::AtSiPoint ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
TString  VolName,
Int_t  detCopyID,
Double_t  EIni,
Double_t  AIni,
Int_t  A,
Int_t  Z 
)

Definition at line 18 of file AtSiPoint.cxx.

◆ ~AtSiPoint()

virtual AtSiPoint::~AtSiPoint ( )
virtualdefault

Destructor

Member Function Documentation

◆ GetPxOut()

Double_t AtSiPoint::GetPxOut ( ) const
inline

Definition at line 49 of file AtSiPoint.h.

◆ GetPyOut()

Double_t AtSiPoint::GetPyOut ( ) const
inline

Definition at line 50 of file AtSiPoint.h.

◆ GetPzOut()

Double_t AtSiPoint::GetPzOut ( ) const
inline

Definition at line 51 of file AtSiPoint.h.

◆ GetX()

Double_t AtSiPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

Definition at line 38 of file AtSiPoint.cxx.

◆ GetXIn()

Double_t AtSiPoint::GetXIn ( ) const
inline

Accessors

Definition at line 43 of file AtSiPoint.h.

◆ GetXOut()

Double_t AtSiPoint::GetXOut ( ) const
inline

Definition at line 46 of file AtSiPoint.h.

◆ GetY()

Double_t AtSiPoint::GetY ( Double_t  z) const

Definition at line 49 of file AtSiPoint.cxx.

◆ GetYIn()

Double_t AtSiPoint::GetYIn ( ) const
inline

Definition at line 44 of file AtSiPoint.h.

◆ GetYOut()

Double_t AtSiPoint::GetYOut ( ) const
inline

Definition at line 47 of file AtSiPoint.h.

◆ GetZIn()

Double_t AtSiPoint::GetZIn ( ) const
inline

Definition at line 45 of file AtSiPoint.h.

◆ GetZOut()

Double_t AtSiPoint::GetZOut ( ) const
inline

Definition at line 48 of file AtSiPoint.h.

◆ MomentumOut()

void AtSiPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 54 of file AtSiPoint.h.

◆ PositionIn()

void AtSiPoint::PositionIn ( TVector3 &  pos)
inline

Definition at line 52 of file AtSiPoint.h.

◆ PositionOut()

void AtSiPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 53 of file AtSiPoint.h.

◆ Print()

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

Output to screen

Reimplemented from AtMCPoint.

Definition at line 27 of file AtSiPoint.cxx.

◆ SetMomentumOut()

void AtSiPoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 82 of file AtSiPoint.h.

◆ SetPositionOut()

void AtSiPoint::SetPositionOut ( TVector3  pos)
inline

Modifiers

Definition at line 75 of file AtSiPoint.h.

Member Data Documentation

◆ fPx_out

Double32_t AtSiPoint::fPx_out {}
protected

Definition at line 18 of file AtSiPoint.h.

◆ fPy_out

Double32_t AtSiPoint::fPy_out {}
protected

Definition at line 18 of file AtSiPoint.h.

◆ fPz_out

Double32_t AtSiPoint::fPz_out {}
protected

Definition at line 18 of file AtSiPoint.h.

◆ fX_out

Double32_t AtSiPoint::fX_out {}
protected

Definition at line 17 of file AtSiPoint.h.

◆ fY_out

Double32_t AtSiPoint::fY_out {}
protected

Definition at line 17 of file AtSiPoint.h.

◆ fZ_out

Double32_t AtSiPoint::fZ_out {}
protected

Definition at line 17 of file AtSiPoint.h.


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