BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnFHCalModule Class Reference

Class for Bmn FHCal module data container in event. More...

#include <BmnFHCalModule.h>

Inheritance diagram for BmnFHCalModule:
Collaboration diagram for BmnFHCalModule:

Public Member Functions

 BmnFHCalModule ()
 Default constructor.
 BmnFHCalModule (int ModuleId, const TVector3 &posHit, const TVector3 &posHitErr, int pointIndx)
 Constructor with parameters.
 BmnFHCalModule (const BmnFHCalModule &)
 Copy constructor.
 BmnFHCalModule (BmnFHCalModule &&) noexcept
 Move constructor.
BmnFHCalModule & operator= (const BmnFHCalModule &)
 Assignment operator.
BmnFHCalModule & operator= (BmnFHCalModule &&) noexcept
 Move Assignment operator.
virtual ~BmnFHCalModule ()=default
 Destructor.
int GetModuleId () const
 Module id.
float GetEnergy () const
 Deposited Energy.
int GetNsections () const
 Sections number.
float GetSectionEnergy (int sec_id) const
 Section energy.
void SetModuleId (int ModId)
void SetEnergy (float Energy)
void SetNsections (int Nsections)
void SetSectionEnergy (int sec_id, float Energy)
void SummarizeModule (double section_threshold=0.0)
void reset ()
void ResetSections ()
virtual void Print (Option_t *option="") const
 BmnFHCalModule ()
 Default constructor.
 BmnFHCalModule (int ModuleId, const TVector3 &posHit, const TVector3 &posHitErr, int pointIndx)
 Constructor with parameters.
 BmnFHCalModule (const BmnFHCalModule &)
 Copy constructor.
 BmnFHCalModule (BmnFHCalModule &&) noexcept
 Move constructor.
BmnFHCalModule & operator= (const BmnFHCalModule &)
 Assignment operator.
BmnFHCalModule & operator= (BmnFHCalModule &&) noexcept
 Move Assignment operator.
virtual ~BmnFHCalModule ()=default
 Destructor.
int GetModuleId () const
 Module id.
float GetEnergy () const
 Deposited Energy.
int GetNsections () const
 Sections number.
float GetSectionEnergy (int sec_id) const
 Section energy.
void SetModuleId (int ModId)
void SetEnergy (float Energy)
void SetNsections (int Nsections)
void SetSectionEnergy (int sec_id, float Energy)
void SummarizeModule (double section_threshold=0.0)
void reset ()
void ResetSections ()
virtual void Print (Option_t *option="") const

Private Attributes

int fModId
float fModuleEnergy
std::vector< float > fSectVec

Detailed Description

Version
3.0

Definition at line 18 of file BmnFHCalModule.h.

Constructor & Destructor Documentation

◆ BmnFHCalModule() [1/8]

BmnFHCalModule::BmnFHCalModule ( )

Definition at line 15 of file BmnFHCalModule.cxx.

References fModId, fModuleEnergy, and fSectVec.

Referenced by BmnFHCalModule(), BmnFHCalModule(), ~BmnFHCalModule(), operator=(), operator=(), and Print().

Here is the caller graph for this function:

◆ BmnFHCalModule() [2/8]

BmnFHCalModule::BmnFHCalModule ( int ModuleId,
const TVector3 & posHit,
const TVector3 & posHitErr,
int pointIndx )

Definition at line 22 of file BmnFHCalModule.cxx.

References fModId, fModuleEnergy, fSectVec, and kFHCAL.

◆ BmnFHCalModule() [3/8]

BmnFHCalModule::BmnFHCalModule ( const BmnFHCalModule & other)

Definition at line 30 of file BmnFHCalModule.cxx.

References BmnFHCalModule(), fModId, fModuleEnergy, and fSectVec.

Here is the call graph for this function:

◆ BmnFHCalModule() [4/8]

BmnFHCalModule::BmnFHCalModule ( BmnFHCalModule && other)
noexcept

Definition at line 37 of file BmnFHCalModule.cxx.

References BmnFHCalModule(), fModId, fModuleEnergy, fSectVec, and std::noexcept().

Here is the call graph for this function:

◆ ~BmnFHCalModule() [1/2]

virtual BmnFHCalModule::~BmnFHCalModule ( )
virtualdefault

◆ BmnFHCalModule() [5/8]

BmnFHCalModule::BmnFHCalModule ( )

◆ BmnFHCalModule() [6/8]

BmnFHCalModule::BmnFHCalModule ( int ModuleId,
const TVector3 & posHit,
const TVector3 & posHitErr,
int pointIndx )

◆ BmnFHCalModule() [7/8]

BmnFHCalModule::BmnFHCalModule ( const BmnFHCalModule & )

References BmnFHCalModule().

Here is the call graph for this function:

◆ BmnFHCalModule() [8/8]

BmnFHCalModule::BmnFHCalModule ( BmnFHCalModule && )
noexcept

References BmnFHCalModule().

Here is the call graph for this function:

◆ ~BmnFHCalModule() [2/2]

virtual BmnFHCalModule::~BmnFHCalModule ( )
virtualdefault

References BmnFHCalModule().

Here is the call graph for this function:

Member Function Documentation

◆ GetEnergy() [1/2]

float BmnFHCalModule::GetEnergy ( ) const
inline

Definition at line 46 of file BmnFHCalModule.h.

References fModuleEnergy.

◆ GetEnergy() [2/2]

float BmnFHCalModule::GetEnergy ( ) const
inline

Definition at line 46 of file BmnFHCalModule.h.

References fModuleEnergy.

◆ GetModuleId() [1/2]

int BmnFHCalModule::GetModuleId ( ) const
inline

Definition at line 43 of file BmnFHCalModule.h.

References fModId.

Referenced by GetModuleId().

Here is the caller graph for this function:

◆ GetModuleId() [2/2]

int BmnFHCalModule::GetModuleId ( ) const
inline

Definition at line 43 of file BmnFHCalModule.h.

References fModId, and GetModuleId().

Here is the call graph for this function:

◆ GetNsections() [1/2]

int BmnFHCalModule::GetNsections ( ) const
inline

Definition at line 49 of file BmnFHCalModule.h.

References fSectVec.

Referenced by Print().

Here is the caller graph for this function:

◆ GetNsections() [2/2]

int BmnFHCalModule::GetNsections ( ) const
inline

Definition at line 49 of file BmnFHCalModule.h.

References fSectVec.

◆ GetSectionEnergy() [1/2]

float BmnFHCalModule::GetSectionEnergy ( int sec_id) const
inline

Definition at line 52 of file BmnFHCalModule.h.

References fSectVec.

◆ GetSectionEnergy() [2/2]

float BmnFHCalModule::GetSectionEnergy ( int sec_id) const
inline

Definition at line 52 of file BmnFHCalModule.h.

References fSectVec.

◆ operator=() [1/4]

BmnFHCalModule & BmnFHCalModule::operator= ( BmnFHCalModule && other)
noexcept

Definition at line 55 of file BmnFHCalModule.cxx.

References BmnFHCalModule(), fModId, fModuleEnergy, and fSectVec.

Here is the call graph for this function:

◆ operator=() [2/4]

BmnFHCalModule & BmnFHCalModule::operator= ( BmnFHCalModule && )
noexcept

References BmnFHCalModule().

Here is the call graph for this function:

◆ operator=() [3/4]

BmnFHCalModule & BmnFHCalModule::operator= ( const BmnFHCalModule & other)

Definition at line 44 of file BmnFHCalModule.cxx.

References BmnFHCalModule(), fModId, fModuleEnergy, and fSectVec.

Here is the call graph for this function:

◆ operator=() [4/4]

BmnFHCalModule & BmnFHCalModule::operator= ( const BmnFHCalModule & )

References BmnFHCalModule().

Here is the call graph for this function:

◆ Print() [1/2]

void BmnFHCalModule::Print ( Option_t * option = "") const
virtual

Definition at line 66 of file BmnFHCalModule.cxx.

References fModId, fModuleEnergy, GetNsections(), GetX(), GetY(), and GetZ().

Here is the call graph for this function:

◆ Print() [2/2]

virtual void BmnFHCalModule::Print ( Option_t * option = "") const
virtual

References BmnFHCalModule(), fModId, fModuleEnergy, and fSectVec.

Here is the call graph for this function:

◆ reset() [1/2]

void BmnFHCalModule::reset ( )

Definition at line 91 of file BmnFHCalModule.cxx.

References fModId, fSectVec, and ResetSections().

Here is the call graph for this function:

◆ reset() [2/2]

void BmnFHCalModule::reset ( )

◆ ResetSections() [1/2]

void BmnFHCalModule::ResetSections ( )

Definition at line 85 of file BmnFHCalModule.cxx.

References fModuleEnergy, and fSectVec.

Referenced by reset().

Here is the caller graph for this function:

◆ ResetSections() [2/2]

void BmnFHCalModule::ResetSections ( )

◆ SetEnergy() [1/2]

void BmnFHCalModule::SetEnergy ( float Energy)
inline

Definition at line 55 of file BmnFHCalModule.h.

References fModuleEnergy.

Referenced by SummarizeModule().

Here is the caller graph for this function:

◆ SetEnergy() [2/2]

void BmnFHCalModule::SetEnergy ( float Energy)
inline

Definition at line 55 of file BmnFHCalModule.h.

References fModuleEnergy.

◆ SetModuleId() [1/2]

void BmnFHCalModule::SetModuleId ( int ModId)
inline

Definition at line 54 of file BmnFHCalModule.h.

References fModId.

◆ SetModuleId() [2/2]

void BmnFHCalModule::SetModuleId ( int ModId)
inline

Definition at line 54 of file BmnFHCalModule.h.

References fModId.

◆ SetNsections() [1/2]

void BmnFHCalModule::SetNsections ( int Nsections)
inline

Definition at line 56 of file BmnFHCalModule.h.

References fSectVec.

◆ SetNsections() [2/2]

void BmnFHCalModule::SetNsections ( int Nsections)
inline

Definition at line 56 of file BmnFHCalModule.h.

References fSectVec.

◆ SetSectionEnergy() [1/2]

void BmnFHCalModule::SetSectionEnergy ( int sec_id,
float Energy )
inline

Definition at line 57 of file BmnFHCalModule.h.

References fSectVec.

◆ SetSectionEnergy() [2/2]

void BmnFHCalModule::SetSectionEnergy ( int sec_id,
float Energy )
inline

Definition at line 57 of file BmnFHCalModule.h.

References fSectVec.

◆ SummarizeModule() [1/2]

void BmnFHCalModule::SummarizeModule ( double section_threshold = 0.0)

Definition at line 74 of file BmnFHCalModule.cxx.

References fSectVec, and SetEnergy().

Here is the call graph for this function:

◆ SummarizeModule() [2/2]

void BmnFHCalModule::SummarizeModule ( double section_threshold = 0.0)

Member Data Documentation

◆ fModId

int BmnFHCalModule::fModId
private

◆ fModuleEnergy

float BmnFHCalModule::fModuleEnergy
private

◆ fSectVec


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