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
AtApolloPoint Class Reference

#include <AtApolloPoint.h>

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

Public Member Functions

 AtApolloPoint ()
 
 AtApolloPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Int_t crystalID, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~AtApolloPoint ()
 
Int_t GetCrystalID () const
 
void SetCrystalID (Int_t id)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Int_t fCrystalID {}
 

Detailed Description

Definition at line 20 of file AtApolloPoint.h.

Constructor & Destructor Documentation

◆ AtApolloPoint() [1/2]

AtApolloPoint::AtApolloPoint ( )

Default constructor

Definition at line 20 of file AtApolloPoint.cxx.

◆ AtApolloPoint() [2/2]

AtApolloPoint::AtApolloPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Int_t  crystalID,
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]
crystalIDCrystal ID
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 24 of file AtApolloPoint.cxx.

◆ ~AtApolloPoint()

AtApolloPoint::~AtApolloPoint ( )
virtualdefault

Destructor

Member Function Documentation

◆ GetCrystalID()

Int_t AtApolloPoint::GetCrystalID ( ) const
inline

Accessors

Definition at line 43 of file AtApolloPoint.h.

◆ Print()

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

Output to screen

Definition at line 37 of file AtApolloPoint.cxx.

◆ SetCrystalID()

void AtApolloPoint::SetCrystalID ( Int_t  id)
inline

Modifiers

Definition at line 46 of file AtApolloPoint.h.

Member Data Documentation

◆ fCrystalID

Int_t AtApolloPoint::fCrystalID {}
protected

Definition at line 57 of file AtApolloPoint.h.


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