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

#include <AtMCPoint.h>

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

Public Member Functions

 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)
 
virtual void Print (const Option_t *opt) const override
 

Public Attributes

friend AtSimpleSimulation
 

Protected Types

using XYZPoint = ROOT::Math::XYZPoint
 
using XYZVector = ROOT::Math::XYZVector
 

Protected Attributes

Int_t fDetCopyID = 0
 
TString fVolName
 
Double_t fEnergyIni = 0
 
Double_t fAngleIni = 0
 
Int_t fAiso = 0
 
Int_t fZiso = 0
 

Detailed Description

Definition at line 26 of file AtMCPoint.h.

Member Typedef Documentation

◆ XYZPoint

using AtMCPoint::XYZPoint = ROOT::Math::XYZPoint
protected

Definition at line 29 of file AtMCPoint.h.

◆ XYZVector

using AtMCPoint::XYZVector = ROOT::Math::XYZVector
protected

Definition at line 30 of file AtMCPoint.h.

Constructor & Destructor Documentation

◆ AtMCPoint() [1/5]

AtMCPoint::AtMCPoint ( )

Default constructor

Definition at line 20 of file AtMCPoint.cxx.

◆ AtMCPoint() [2/5]

AtMCPoint::AtMCPoint ( 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 22 of file AtMCPoint.cxx.

◆ AtMCPoint() [3/5]

AtMCPoint::AtMCPoint ( Int_t  trackID,
Int_t  detID,
XYZPoint  pos,
XYZVector  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Definition at line 35 of file AtMCPoint.cxx.

◆ AtMCPoint() [4/5]

AtMCPoint::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 
)

Definition at line 28 of file AtMCPoint.cxx.

◆ ~AtMCPoint()

virtual AtMCPoint::~AtMCPoint ( )
virtualdefault

Destructor

◆ AtMCPoint() [5/5]

AtMCPoint::AtMCPoint ( const AtMCPoint point)
delete

Copy constructor

Member Function Documentation

◆ Clear()

void AtMCPoint::Clear ( Option_t *  )
overridevirtual

Definition at line 51 of file AtMCPoint.cxx.

◆ GetAIni()

Double_t AtMCPoint::GetAIni ( ) const
inline

Definition at line 70 of file AtMCPoint.h.

◆ GetAtomicNum()

Int_t AtMCPoint::GetAtomicNum ( ) const
inline

Definition at line 72 of file AtMCPoint.h.

◆ GetDetCopyID()

Int_t AtMCPoint::GetDetCopyID ( ) const
inline

Accessors

Definition at line 67 of file AtMCPoint.h.

◆ GetEIni()

Double_t AtMCPoint::GetEIni ( ) const
inline

Definition at line 69 of file AtMCPoint.h.

◆ GetMassNum()

Int_t AtMCPoint::GetMassNum ( ) const
inline

Definition at line 71 of file AtMCPoint.h.

◆ GetVolName()

TString AtMCPoint::GetVolName ( ) const
inline

Definition at line 68 of file AtMCPoint.h.

◆ operator=()

AtMCPoint AtMCPoint::operator= ( const AtMCPoint point)
delete

◆ Print()

void AtMCPoint::Print ( const Option_t *  opt) const
overridevirtual

Output to screen

Reimplemented in AtSiPoint.

Definition at line 42 of file AtMCPoint.cxx.

◆ SetDetCopyID()

void AtMCPoint::SetDetCopyID ( Int_t  id)
inline

Definition at line 74 of file AtMCPoint.h.

◆ SetMomentum()

void AtMCPoint::SetMomentum ( const XYZVector mom)
inline

Definition at line 77 of file AtMCPoint.h.

◆ SetPosition()

void AtMCPoint::SetPosition ( const XYZPoint pos)
inline

Definition at line 76 of file AtMCPoint.h.

◆ SetVolName()

void AtMCPoint::SetVolName ( TString  VolName)
inline

Definition at line 75 of file AtMCPoint.h.

Member Data Documentation

◆ AtSimpleSimulation

friend AtMCPoint::AtSimpleSimulation

Definition at line 86 of file AtMCPoint.h.

◆ fAiso

Int_t AtMCPoint::fAiso = 0
protected

Definition at line 36 of file AtMCPoint.h.

◆ fAngleIni

Double_t AtMCPoint::fAngleIni = 0
protected

Definition at line 35 of file AtMCPoint.h.

◆ fDetCopyID

Int_t AtMCPoint::fDetCopyID = 0
protected

Definition at line 32 of file AtMCPoint.h.

◆ fEnergyIni

Double_t AtMCPoint::fEnergyIni = 0
protected

Definition at line 34 of file AtMCPoint.h.

◆ fVolName

TString AtMCPoint::fVolName
protected

Definition at line 33 of file AtMCPoint.h.

◆ fZiso

Int_t AtMCPoint::fZiso = 0
protected

Definition at line 37 of file AtMCPoint.h.


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