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

Class for Bmn Ndet data container in event. More...

#include <BmnNdetEvent.h>

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

Public Member Functions

 BmnNdetEvent ()
 Default constructor.
 
virtual ~BmnNdetEvent ()
 
 BmnNdetEvent (const BmnNdetEvent &)
 
 BmnNdetEvent (BmnNdetEvent &&) noexcept
 
BmnNdetEventoperator= (const BmnNdetEvent &)
 
BmnNdetEventoperator= (BmnNdetEvent &&) noexcept
 
virtual const char * GetClassName ()
 Class name.
 
void AddCell (BmnNdetCell *cell)
 Add a cell to the event.
 
BmnNdetCellGetCell (uint32_t address)
 Get a cell based on its address.
 
BmnNdetCellGetCell (uint32_t ArmId, uint32_t RowId, uint32_t ColumnId, uint32_t LayerId)
 Get a cell based on its arm, row, column, and layer indices.
 
Long64_t GetTotalCells () const
 Get the total number of cells fired in event.
 
TClonesArray * GetCells () const
 Interface to the cells set.
 
TClonesArray * GetModifiableCells ()
 Modifiable interface to the cells set.
 
void reset ()
 Zero all fields.
 
void ResetCells ()
 Reset time and energy for all cells.
 
 BmnNdetEvent ()
 Default constructor.
 
virtual ~BmnNdetEvent ()
 
 BmnNdetEvent (const BmnNdetEvent &)
 
 BmnNdetEvent (BmnNdetEvent &&) noexcept
 
BmnNdetEventoperator= (const BmnNdetEvent &)
 
BmnNdetEventoperator= (BmnNdetEvent &&) noexcept
 
virtual const char * GetClassName ()
 Class name.
 
void AddCell (BmnNdetCell *cell)
 Add a cell to the event.
 
BmnNdetCellGetCell (uint32_t address)
 Get a cell based on its address.
 
BmnNdetCellGetCell (uint32_t ArmId, uint32_t RowId, uint32_t ColumnId, uint32_t LayerId)
 Get a cell based on its arm, row, column, and layer indices.
 
Long64_t GetTotalCells () const
 Get the total number of cells fired in event.
 
TClonesArray * GetCells () const
 Interface to the cells set.
 
TClonesArray * GetModifiableCells ()
 Modifiable interface to the cells set.
 
void reset ()
 Zero all fields.
 
void ResetCells ()
 Reset time and energy for all cells.
 

Detailed Description

Class for Bmn Ndet data container in event.

Version
1.0

Definition at line 19 of file BmnNdetEvent.h.

Constructor & Destructor Documentation

◆ BmnNdetEvent() [1/6]

BmnNdetEvent::BmnNdetEvent ( )

Default constructor.

Definition at line 7 of file BmnNdetEvent.cxx.

◆ ~BmnNdetEvent() [1/2]

BmnNdetEvent::~BmnNdetEvent ( )
virtual

Destructor

Definition at line 12 of file BmnNdetEvent.cxx.

◆ BmnNdetEvent() [2/6]

BmnNdetEvent::BmnNdetEvent ( const BmnNdetEvent other)

Copy constructor

Definition at line 21 of file BmnNdetEvent.cxx.

References i.

◆ BmnNdetEvent() [3/6]

BmnNdetEvent::BmnNdetEvent ( BmnNdetEvent &&  other)
noexcept

Move constructor

Definition at line 30 of file BmnNdetEvent.cxx.

◆ BmnNdetEvent() [4/6]

BmnNdetEvent::BmnNdetEvent ( )

Default constructor.

◆ ~BmnNdetEvent() [2/2]

virtual BmnNdetEvent::~BmnNdetEvent ( )
virtual

Destructor

◆ BmnNdetEvent() [5/6]

BmnNdetEvent::BmnNdetEvent ( const BmnNdetEvent )

Copy constructor

◆ BmnNdetEvent() [6/6]

BmnNdetEvent::BmnNdetEvent ( BmnNdetEvent &&  )
noexcept

Move constructor

Member Function Documentation

◆ AddCell() [1/2]

void BmnNdetEvent::AddCell ( BmnNdetCell cell)

Add a cell to the event.

Parameters
cellPointer to the BmnNdetCell.

Definition at line 71 of file BmnNdetEvent.cxx.

References BmnNdetCell::GetAddress(), and GetCell().

Referenced by BmnNdetReconstructor::Exec().

◆ AddCell() [2/2]

void BmnNdetEvent::AddCell ( BmnNdetCell cell)

Add a cell to the event.

Parameters
cellPointer to the BmnNdetCell.

◆ GetCell() [1/4]

BmnNdetCell * BmnNdetEvent::GetCell ( uint32_t  address)

Get a cell based on its address.

Parameters
addressThe unique address of the cell.
Returns
Pointer to the BmnNdetCell corresponding to the address.

Definition at line 81 of file BmnNdetEvent.cxx.

References BmnNdetCell::GetAddress(), and i.

Referenced by AddCell(), and GetCell().

◆ GetCell() [2/4]

BmnNdetCell * BmnNdetEvent::GetCell ( uint32_t  address)

Get a cell based on its address.

Parameters
addressThe unique address of the cell.
Returns
Pointer to the BmnNdetCell corresponding to the address.

◆ GetCell() [3/4]

BmnNdetCell * BmnNdetEvent::GetCell ( uint32_t  ArmId,
uint32_t  RowId,
uint32_t  ColumnId,
uint32_t  LayerId 
)

Get a cell based on its arm, row, column, and layer indices.

Parameters
ArmIdArm index.
RowIdRow index.
ColumnIdColumn index.
LayerIdLayer index.
Returns
Pointer to the BmnNdetCell corresponding to the indices.

Definition at line 92 of file BmnNdetEvent.cxx.

References BmnNdetAddress::GetAddress(), and GetCell().

◆ GetCell() [4/4]

BmnNdetCell * BmnNdetEvent::GetCell ( uint32_t  ArmId,
uint32_t  RowId,
uint32_t  ColumnId,
uint32_t  LayerId 
)

Get a cell based on its arm, row, column, and layer indices.

Parameters
ArmIdArm index.
RowIdRow index.
ColumnIdColumn index.
LayerIdLayer index.
Returns
Pointer to the BmnNdetCell corresponding to the indices.

◆ GetCells() [1/2]

TClonesArray * BmnNdetEvent::GetCells ( ) const
inline

Interface to the cells set.

Returns
Cells set.

Definition at line 73 of file BmnNdetEvent.h.

◆ GetCells() [2/2]

TClonesArray * BmnNdetEvent::GetCells ( ) const
inline

Interface to the cells set.

Returns
Cells set.

Definition at line 73 of file BmnNdetEvent.h.

◆ GetClassName() [1/2]

virtual const char * BmnNdetEvent::GetClassName ( )
inlinevirtual

Class name.

Returns
BmnNdetEvent

Definition at line 43 of file BmnNdetEvent.h.

◆ GetClassName() [2/2]

virtual const char * BmnNdetEvent::GetClassName ( )
inlinevirtual

Class name.

Returns
BmnNdetEvent

Definition at line 43 of file BmnNdetEvent.h.

◆ GetModifiableCells() [1/2]

TClonesArray * BmnNdetEvent::GetModifiableCells ( )
inline

Modifiable interface to the cells set.

Returns
Modifiable cells set.

Definition at line 78 of file BmnNdetEvent.h.

◆ GetModifiableCells() [2/2]

TClonesArray * BmnNdetEvent::GetModifiableCells ( )
inline

Modifiable interface to the cells set.

Returns
Modifiable cells set.

Definition at line 78 of file BmnNdetEvent.h.

◆ GetTotalCells() [1/2]

Long64_t BmnNdetEvent::GetTotalCells ( ) const
inline

Get the total number of cells fired in event.

Returns
Total number of cells fired in event.

Definition at line 68 of file BmnNdetEvent.h.

◆ GetTotalCells() [2/2]

Long64_t BmnNdetEvent::GetTotalCells ( ) const
inline

Get the total number of cells fired in event.

Returns
Total number of cells fired in event.

Definition at line 68 of file BmnNdetEvent.h.

◆ operator=() [1/4]

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

Move assignment operator

Definition at line 55 of file BmnNdetEvent.cxx.

◆ operator=() [2/4]

BmnNdetEvent & BmnNdetEvent::operator= ( BmnNdetEvent &&  )
noexcept

Move assignment operator

◆ operator=() [3/4]

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

Assignment operator

Definition at line 37 of file BmnNdetEvent.cxx.

References i.

◆ operator=() [4/4]

BmnNdetEvent & BmnNdetEvent::operator= ( const BmnNdetEvent )

Assignment operator

◆ reset() [1/2]

void BmnNdetEvent::reset ( )

Zero all fields.

Definition at line 98 of file BmnNdetEvent.cxx.

Referenced by BmnNdetReconstructor::Exec(), and BmnNdetReconstructor::Init().

◆ reset() [2/2]

void BmnNdetEvent::reset ( )

Zero all fields.

◆ ResetCells() [1/2]

void BmnNdetEvent::ResetCells ( )

Reset time and energy for all cells.

Definition at line 105 of file BmnNdetEvent.cxx.

References i, and BmnNdetCell::ResetTimeEnergy().

◆ ResetCells() [2/2]

void BmnNdetEvent::ResetCells ( )

Reset time and energy for all cells.


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