CbmRoot
Loading...
Searching...
No Matches
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 (uint32_t moduleId, uint32_t sectionId, double energy, double time)
 
virtual ~CbmPsdMCbmHit ()
 
virtual std::string ToString () const
 
int32_t GetModuleID () const
 Index of PSD module @value module index [].
 
double GetSectionID () const
 Index of PSD section @value section index [].
 
double GetEdep () const
 Energy deposited in PSD section @value Energy [a.u.].
 
int32_t GetTime () const
 Time of the signal @value Time [ns].
 
void SetModuleID (uint32_t mod)
 
void SetSectionID (uint32_t sec)
 
void SetEdep (double edep)
 
void SetTime (double time)
 

Private Attributes

uint32_t fuModuleId = 0
 
uint32_t fuSectionId = 0
 Module index.
 
double fdEdep = 0.
 Section index.
 
double fdTime = -1.
 Energy deposition.
 

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 28 of file CbmPsdMCbmHit.h.

Constructor & Destructor Documentation

◆ CbmPsdMCbmHit() [1/2]

CbmPsdMCbmHit::CbmPsdMCbmHit ( )

Default constructor

Definition at line 19 of file CbmPsdMCbmHit.cxx.

◆ CbmPsdMCbmHit() [2/2]

CbmPsdMCbmHit::CbmPsdMCbmHit ( uint32_t moduleId,
uint32_t sectionId,
double energy,
double time )

Constructor with all parameters

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

Definition at line 23 of file CbmPsdMCbmHit.cxx.

◆ ~CbmPsdMCbmHit()

CbmPsdMCbmHit::~CbmPsdMCbmHit ( )
virtual

Destructor

Definition at line 34 of file CbmPsdMCbmHit.cxx.

Member Function Documentation

◆ GetEdep()

double CbmPsdMCbmHit::GetEdep ( ) const
inline

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

Definition at line 66 of file CbmPsdMCbmHit.h.

References fdEdep.

Referenced by CbmPsdMCbmQaReal::Exec().

◆ GetModuleID()

int32_t CbmPsdMCbmHit::GetModuleID ( ) const
inline

Index of PSD module @value module index [].

Accessors

Definition at line 54 of file CbmPsdMCbmHit.h.

References fuModuleId.

Referenced by CbmPsdMCbmQaReal::Exec().

◆ GetSectionID()

double CbmPsdMCbmHit::GetSectionID ( ) const
inline

Index of PSD section @value section index [].

Definition at line 60 of file CbmPsdMCbmHit.h.

References fuSectionId.

Referenced by CbmPsdMCbmQaReal::Exec().

◆ GetTime()

int32_t CbmPsdMCbmHit::GetTime ( ) const
inline

Time of the signal @value Time [ns].

Definition at line 72 of file CbmPsdMCbmHit.h.

References fdTime.

◆ SetEdep()

void CbmPsdMCbmHit::SetEdep ( double edep)
inline

Definition at line 78 of file CbmPsdMCbmHit.h.

References fdEdep.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ SetModuleID()

void CbmPsdMCbmHit::SetModuleID ( uint32_t mod)
inline

Modifiers

Definition at line 76 of file CbmPsdMCbmHit.h.

References fuModuleId.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ SetSectionID()

void CbmPsdMCbmHit::SetSectionID ( uint32_t sec)
inline

Definition at line 77 of file CbmPsdMCbmHit.h.

References fuSectionId.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ SetTime()

void CbmPsdMCbmHit::SetTime ( double time)
inline

Definition at line 79 of file CbmPsdMCbmHit.h.

References fdTime.

Referenced by CbmPsdMCbmHitProducer::AddHit().

◆ ToString()

string CbmPsdMCbmHit::ToString ( ) const
virtual

Info to string

Definition at line 38 of file CbmPsdMCbmHit.cxx.

Member Data Documentation

◆ fdEdep

double CbmPsdMCbmHit::fdEdep = 0.
private

Section index.

Definition at line 84 of file CbmPsdMCbmHit.h.

Referenced by GetEdep(), and SetEdep().

◆ fdTime

double CbmPsdMCbmHit::fdTime = -1.
private

Energy deposition.

Definition at line 85 of file CbmPsdMCbmHit.h.

Referenced by GetTime(), and SetTime().

◆ fuModuleId

uint32_t CbmPsdMCbmHit::fuModuleId = 0
private

Definition at line 82 of file CbmPsdMCbmHit.h.

Referenced by GetModuleID(), and SetModuleID().

◆ fuSectionId

uint32_t CbmPsdMCbmHit::fuSectionId = 0
private

Module index.

Definition at line 83 of file CbmPsdMCbmHit.h.

Referenced by GetSectionID(), and SetSectionID().


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