CbmRoot
CbmPsdMCbmHit Class Reference

data class for hit information in PSD More...

#include <CbmPsdMCbmHit.h>

Inheritance diagram for CbmPsdMCbmHit:
[legend]
Collaboration diagram for CbmPsdMCbmHit:
[legend]

Public Member Functions

 CbmPsdMCbmHit ()
 
 CbmPsdMCbmHit (UInt_t moduleId, UInt_t sectionId, Double_t energy, Double_t time)
 
virtual ~CbmPsdMCbmHit ()
 
virtual std::string ToString () const
 
Int_t GetModuleID () const
 Index of PSD module @value module index []. More...
 
Double_t GetSectionID () const
 Index of PSD section @value section index []. More...
 
Double_t GetEdep () const
 Energy deposited in PSD section @value Energy [a.u.]. More...
 
Int_t GetTime () const
 Time of the signal @value Time [ns]. More...
 
void SetModuleID (UInt_t mod)
 
void SetSectionID (UInt_t sec)
 
void SetEdep (Double_t edep)
 
void SetTime (Double_t time)
 

Private Attributes

UInt_t fuModuleId = 0
 
UInt_t fuSectionId = 0
 Module index. More...
 
Double_t fdEdep = 0.
 Section index. More...
 
Double_t fdTime = -1.
 Energy deposition. More...
 

Detailed Description

data class for hit information in PSD

Author
Nikolay Karpushkin karpu.nosp@m.shki.nosp@m.n@inr.nosp@m..ru
Version
1.0

A hit in the PSD is an energy measurement in a PSD section

Definition at line 24 of file CbmPsdMCbmHit.h.

Constructor & Destructor Documentation

◆ CbmPsdMCbmHit() [1/2]

CbmPsdMCbmHit::CbmPsdMCbmHit ( )

Default constructor

Definition at line 15 of file CbmPsdMCbmHit.cxx.

◆ CbmPsdMCbmHit() [2/2]

CbmPsdMCbmHit::CbmPsdMCbmHit ( UInt_t  moduleId,
UInt_t  sectionId,
Double_t  energy,
Double_t  time 
)

Constructor with all parameters

Parameters
moduleIdTriggered module index
sectionIdTriggered section index
energyEnergy deposition
timeHit time [ns]

Definition at line 20 of file CbmPsdMCbmHit.cxx.

◆ ~CbmPsdMCbmHit()

CbmPsdMCbmHit::~CbmPsdMCbmHit ( )
virtual

Destructor

Definition at line 32 of file CbmPsdMCbmHit.cxx.

Member Function Documentation

◆ GetEdep()

Double_t CbmPsdMCbmHit::GetEdep ( ) const
inline

Energy deposited in PSD section @value Energy [a.u.].

Definition at line 65 of file CbmPsdMCbmHit.h.

References fdEdep.

Referenced by CbmPsdMCbmQaReal::Exec().

◆ GetModuleID()

Int_t CbmPsdMCbmHit::GetModuleID ( ) const
inline

Index of PSD module @value module index [].

Accessors

Definition at line 53 of file CbmPsdMCbmHit.h.

References fuModuleId.

Referenced by CbmPsdMCbmQaReal::Exec().

◆ GetSectionID()

Double_t CbmPsdMCbmHit::GetSectionID ( ) const
inline

Index of PSD section @value section index [].

Definition at line 59 of file CbmPsdMCbmHit.h.

References fuSectionId.

Referenced by CbmPsdMCbmQaReal::Exec().

◆ GetTime()

Int_t CbmPsdMCbmHit::GetTime ( ) const
inline

Time of the signal @value Time [ns].

Definition at line 71 of file CbmPsdMCbmHit.h.

References fdTime.

◆ SetEdep()

void CbmPsdMCbmHit::SetEdep ( Double_t  edep)
inline

Definition at line 77 of file CbmPsdMCbmHit.h.

References fdEdep.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ SetModuleID()

void CbmPsdMCbmHit::SetModuleID ( UInt_t  mod)
inline

Modifiers

Definition at line 75 of file CbmPsdMCbmHit.h.

References fuModuleId.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ SetSectionID()

void CbmPsdMCbmHit::SetSectionID ( UInt_t  sec)
inline

Definition at line 76 of file CbmPsdMCbmHit.h.

References fuSectionId.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ SetTime()

void CbmPsdMCbmHit::SetTime ( Double_t  time)
inline

Definition at line 78 of file CbmPsdMCbmHit.h.

References fdTime.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ ToString()

string CbmPsdMCbmHit::ToString ( ) const
virtual

Info to string

Definition at line 36 of file CbmPsdMCbmHit.cxx.

Member Data Documentation

◆ fdEdep

Double_t CbmPsdMCbmHit::fdEdep = 0.
private

Section index.

Definition at line 83 of file CbmPsdMCbmHit.h.

Referenced by GetEdep(), and SetEdep().

◆ fdTime

Double_t CbmPsdMCbmHit::fdTime = -1.
private

Energy deposition.

Definition at line 84 of file CbmPsdMCbmHit.h.

Referenced by GetTime(), and SetTime().

◆ fuModuleId

UInt_t CbmPsdMCbmHit::fuModuleId = 0
private

Definition at line 81 of file CbmPsdMCbmHit.h.

Referenced by GetModuleID(), and SetModuleID().

◆ fuSectionId

UInt_t CbmPsdMCbmHit::fuSectionId = 0
private

Module index.

Definition at line 82 of file CbmPsdMCbmHit.h.

Referenced by GetSectionID(), and SetSectionID().


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