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

#include <AtApolloCrystalCalData.h>

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

Public Member Functions

 AtApolloCrystalCalData ()
 
 AtApolloCrystalCalData (Int_t ident, Double_t energy, ULong64_t time)
 
 AtApolloCrystalCalData (const AtApolloCrystalCalData &)
 
AtApolloCrystalCalDataoperator= (const AtApolloCrystalCalData &)
 
virtual ~AtApolloCrystalCalData ()
 
const Int_t & GetCrystalId () const
 
const Double_t & GetEnergy () const
 
const ULong64_t & GetTime () const
 
void SetCrystalId (Int_t ident)
 
void SetEnergy (Double32_t energy)
 
void SetTime (ULong64_t time)
 
void AddMoreEnergy (Double32_t moreEnergy)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Double32_t fEnergy
 
ULong64_t fTime
 
Int_t fCrystalId
 

Detailed Description

Definition at line 20 of file AtApolloCrystalCalData.h.

Constructor & Destructor Documentation

◆ AtApolloCrystalCalData() [1/3]

AtApolloCrystalCalData::AtApolloCrystalCalData ( )

Default constructor

Definition at line 19 of file AtApolloCrystalCalData.cxx.

◆ AtApolloCrystalCalData() [2/3]

AtApolloCrystalCalData::AtApolloCrystalCalData ( Int_t  ident,
Double_t  energy,
ULong64_t  time 
)

Constructor with arguments

Parameters
fCrystalIdCrystal unique identifier
fEnergyTotal energy deposited on the crystal ([GeV] in sim)
fTimeTime since event start [ns]

Definition at line 21 of file AtApolloCrystalCalData.cxx.

◆ AtApolloCrystalCalData() [3/3]

AtApolloCrystalCalData::AtApolloCrystalCalData ( const AtApolloCrystalCalData )
default

Copy constructor

◆ ~AtApolloCrystalCalData()

virtual AtApolloCrystalCalData::~AtApolloCrystalCalData ( )
inlinevirtual

Destructor

Definition at line 38 of file AtApolloCrystalCalData.h.

Member Function Documentation

◆ AddMoreEnergy()

void AtApolloCrystalCalData::AddMoreEnergy ( Double32_t  moreEnergy)
inline

Definition at line 49 of file AtApolloCrystalCalData.h.

◆ GetCrystalId()

const Int_t& AtApolloCrystalCalData::GetCrystalId ( ) const
inline

Accessors

Definition at line 41 of file AtApolloCrystalCalData.h.

◆ GetEnergy()

const Double_t& AtApolloCrystalCalData::GetEnergy ( ) const
inline

Definition at line 42 of file AtApolloCrystalCalData.h.

◆ GetTime()

const ULong64_t& AtApolloCrystalCalData::GetTime ( ) const
inline

Definition at line 43 of file AtApolloCrystalCalData.h.

◆ operator=()

AtApolloCrystalCalData& AtApolloCrystalCalData::operator= ( const AtApolloCrystalCalData )
inline

Definition at line 35 of file AtApolloCrystalCalData.h.

◆ Print()

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

Output to screen

Definition at line 30 of file AtApolloCrystalCalData.cxx.

◆ SetCrystalId()

void AtApolloCrystalCalData::SetCrystalId ( Int_t  ident)
inline

Modifiers

Definition at line 46 of file AtApolloCrystalCalData.h.

◆ SetEnergy()

void AtApolloCrystalCalData::SetEnergy ( Double32_t  energy)
inline

Definition at line 47 of file AtApolloCrystalCalData.h.

◆ SetTime()

void AtApolloCrystalCalData::SetTime ( ULong64_t  time)
inline

Definition at line 48 of file AtApolloCrystalCalData.h.

Member Data Documentation

◆ fCrystalId

Int_t AtApolloCrystalCalData::fCrystalId
protected

Definition at line 56 of file AtApolloCrystalCalData.h.

◆ fEnergy

Double32_t AtApolloCrystalCalData::fEnergy
protected

Definition at line 54 of file AtApolloCrystalCalData.h.

◆ fTime

ULong64_t AtApolloCrystalCalData::fTime
protected

Definition at line 55 of file AtApolloCrystalCalData.h.


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