BmnRoot
Loading...
Searching...
No Matches
BmnFHCalModule Class Reference

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

#include <BmnFHCalModule.h>

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

Public Member Functions

 BmnFHCalModule ()
 Default constructor.
 
 BmnFHCalModule (int ModuleId, const TVector3 &posHit, const TVector3 &posHitErr, int pointIndx)
 Constructor with parameters.
 
 BmnFHCalModule (const BmnFHCalModule &)
 
 BmnFHCalModule (BmnFHCalModule &&) noexcept
 
BmnFHCalModuleoperator= (const BmnFHCalModule &)
 
BmnFHCalModuleoperator= (BmnFHCalModule &&) noexcept
 
virtual ~BmnFHCalModule ()=default
 
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 &)
 
 BmnFHCalModule (BmnFHCalModule &&) noexcept
 
BmnFHCalModuleoperator= (const BmnFHCalModule &)
 
BmnFHCalModuleoperator= (BmnFHCalModule &&) noexcept
 
virtual ~BmnFHCalModule ()=default
 
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
 

Detailed Description

Class for Bmn FHCal module data container in event.

Version
3.0

Definition at line 18 of file BmnFHCalModule.h.

Constructor & Destructor Documentation

◆ BmnFHCalModule() [1/8]

BmnFHCalModule::BmnFHCalModule ( )

Default constructor.

Definition at line 15 of file BmnFHCalModule.cxx.

◆ BmnFHCalModule() [2/8]

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

Constructor with parameters.

Definition at line 22 of file BmnFHCalModule.cxx.

◆ BmnFHCalModule() [3/8]

BmnFHCalModule::BmnFHCalModule ( const BmnFHCalModule other)

Copy constructor.

Definition at line 30 of file BmnFHCalModule.cxx.

◆ BmnFHCalModule() [4/8]

BmnFHCalModule::BmnFHCalModule ( BmnFHCalModule &&  other)
noexcept

Move constructor.

Definition at line 37 of file BmnFHCalModule.cxx.

◆ ~BmnFHCalModule() [1/2]

virtual BmnFHCalModule::~BmnFHCalModule ( )
virtualdefault

Destructor.

◆ BmnFHCalModule() [5/8]

BmnFHCalModule::BmnFHCalModule ( )

Default constructor.

◆ BmnFHCalModule() [6/8]

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

Constructor with parameters.

◆ BmnFHCalModule() [7/8]

BmnFHCalModule::BmnFHCalModule ( const BmnFHCalModule )

Copy constructor.

◆ BmnFHCalModule() [8/8]

BmnFHCalModule::BmnFHCalModule ( BmnFHCalModule &&  )
noexcept

Move constructor.

◆ ~BmnFHCalModule() [2/2]

virtual BmnFHCalModule::~BmnFHCalModule ( )
virtualdefault

Destructor.

Member Function Documentation

◆ GetEnergy() [1/2]

float BmnFHCalModule::GetEnergy ( ) const
inline

Deposited Energy.

Definition at line 46 of file BmnFHCalModule.h.

◆ GetEnergy() [2/2]

float BmnFHCalModule::GetEnergy ( ) const
inline

Deposited Energy.

Definition at line 46 of file BmnFHCalModule.h.

◆ GetModuleId() [1/2]

int BmnFHCalModule::GetModuleId ( ) const
inline

Module id.

Definition at line 43 of file BmnFHCalModule.h.

◆ GetModuleId() [2/2]

int BmnFHCalModule::GetModuleId ( ) const
inline

Module id.

Definition at line 43 of file BmnFHCalModule.h.

◆ GetNsections() [1/2]

int BmnFHCalModule::GetNsections ( ) const
inline

Sections number.

Definition at line 49 of file BmnFHCalModule.h.

Referenced by BmnFHCalReconstructor::Exec(), and Print().

◆ GetNsections() [2/2]

int BmnFHCalModule::GetNsections ( ) const
inline

Sections number.

Definition at line 49 of file BmnFHCalModule.h.

◆ GetSectionEnergy() [1/2]

float BmnFHCalModule::GetSectionEnergy ( int  sec_id) const
inline

Section energy.

Definition at line 52 of file BmnFHCalModule.h.

◆ GetSectionEnergy() [2/2]

float BmnFHCalModule::GetSectionEnergy ( int  sec_id) const
inline

Section energy.

Definition at line 52 of file BmnFHCalModule.h.

◆ operator=() [1/4]

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

Move Assignment operator.

Definition at line 55 of file BmnFHCalModule.cxx.

◆ operator=() [2/4]

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

Move Assignment operator.

◆ operator=() [3/4]

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

Assignment operator.

Definition at line 44 of file BmnFHCalModule.cxx.

◆ operator=() [4/4]

BmnFHCalModule & BmnFHCalModule::operator= ( const BmnFHCalModule )

Assignment operator.

◆ Print() [1/2]

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

Definition at line 66 of file BmnFHCalModule.cxx.

References GetNsections().

◆ Print() [2/2]

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

◆ reset() [1/2]

void BmnFHCalModule::reset ( )

Definition at line 91 of file BmnFHCalModule.cxx.

References ResetSections().

◆ reset() [2/2]

void BmnFHCalModule::reset ( )

◆ ResetSections() [1/2]

void BmnFHCalModule::ResetSections ( )

Definition at line 85 of file BmnFHCalModule.cxx.

Referenced by reset().

◆ ResetSections() [2/2]

void BmnFHCalModule::ResetSections ( )

◆ SetEnergy() [1/2]

void BmnFHCalModule::SetEnergy ( float  Energy)
inline

Definition at line 55 of file BmnFHCalModule.h.

Referenced by SummarizeModule().

◆ SetEnergy() [2/2]

void BmnFHCalModule::SetEnergy ( float  Energy)
inline

Definition at line 55 of file BmnFHCalModule.h.

◆ SetModuleId() [1/2]

void BmnFHCalModule::SetModuleId ( int  ModId)
inline

Definition at line 54 of file BmnFHCalModule.h.

Referenced by BmnFHCalReconstructor::ParseGeometry().

◆ SetModuleId() [2/2]

void BmnFHCalModule::SetModuleId ( int  ModId)
inline

Definition at line 54 of file BmnFHCalModule.h.

◆ SetNsections() [1/2]

void BmnFHCalModule::SetNsections ( int  Nsections)
inline

Definition at line 56 of file BmnFHCalModule.h.

◆ SetNsections() [2/2]

void BmnFHCalModule::SetNsections ( int  Nsections)
inline

Definition at line 56 of file BmnFHCalModule.h.

◆ SetSectionEnergy() [1/2]

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

Definition at line 57 of file BmnFHCalModule.h.

Referenced by BmnFHCalReconstructor::Exec().

◆ SetSectionEnergy() [2/2]

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

Definition at line 57 of file BmnFHCalModule.h.

◆ SummarizeModule() [1/2]

void BmnFHCalModule::SummarizeModule ( double  section_threshold = 0.0)

Definition at line 74 of file BmnFHCalModule.cxx.

References SetEnergy().

◆ SummarizeModule() [2/2]

void BmnFHCalModule::SummarizeModule ( double  section_threshold = 0.0)

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