Base class for cluster objects.
More...
#include <BmnCluster.h>
|
| | BmnCluster () |
| | Constructor.
|
| |
| | BmnCluster (const std::vector< Int_t > &indices, Int_t address) |
| |
| virtual | ~BmnCluster () |
| | Destructor.
|
| |
| void | AddDigi (Int_t index) |
| | Add digi to cluster.
|
| |
| void | AddDigis (const std::vector< Int_t > &indices) |
| | Add array of digi to cluster.
|
| |
| void | SetDigis (const std::vector< Int_t > &indices) |
| | Set array of digi to cluster. Overwrites existing array.
|
| |
| Int_t | GetNofDigis () const |
| | Number of digis in cluster.
|
| |
| Int_t | GetDigi (Int_t index) const |
| | Get digi at position index.
|
| |
| const std::vector< Int_t > & | GetDigis () const |
| | Get array of digi indices.
|
| |
| void | ClearDigis () |
| | Remove all digis.
|
| |
| Int_t | GetAddress () const |
| |
| BmnMatch * | GetMatch () const |
| |
| void | SetAddress (Int_t address) |
| |
| void | SetMatch (BmnMatch *match) |
| |
| virtual std::string | ToString () const |
| | Return string representation of the object.
|
| |
Base class for cluster objects.
- Date
- 07.12.2018
Definition at line 21 of file BmnCluster.h.
◆ BmnCluster() [1/2]
| BmnCluster::BmnCluster |
( |
| ) |
|
◆ BmnCluster() [2/2]
| BmnCluster::BmnCluster |
( |
const std::vector< Int_t > & |
indices, |
|
|
Int_t |
address |
|
) |
| |
◆ ~BmnCluster()
| BmnCluster::~BmnCluster |
( |
| ) |
|
|
virtual |
◆ AddDigi()
| void BmnCluster::AddDigi |
( |
Int_t |
index | ) |
|
|
inline |
Add digi to cluster.
- Parameters
-
| [in] | index | Digi index in TClonesArray. |
Definition at line 38 of file BmnCluster.h.
◆ AddDigis()
| void BmnCluster::AddDigis |
( |
const std::vector< Int_t > & |
indices | ) |
|
|
inline |
Add array of digi to cluster.
- Parameters
-
| [in] | indices | Array of digi indices in TClonesArray. |
Definition at line 44 of file BmnCluster.h.
◆ ClearDigis()
| void BmnCluster::ClearDigis |
( |
| ) |
|
|
inline |
◆ GetAddress()
| Int_t BmnCluster::GetAddress |
( |
| ) |
const |
|
inline |
◆ GetDigi()
| Int_t BmnCluster::GetDigi |
( |
Int_t |
index | ) |
const |
|
inline |
Get digi at position index.
- Parameters
-
| [in] | index | Position of digi in array. |
- Returns
- Digi index in TClonesArray.
Definition at line 63 of file BmnCluster.h.
◆ GetDigis()
| const std::vector< Int_t > & BmnCluster::GetDigis |
( |
| ) |
const |
|
inline |
Get array of digi indices.
- Returns
- Array of digi indices in TClonesArray.
Definition at line 69 of file BmnCluster.h.
◆ GetMatch()
| BmnMatch * BmnCluster::GetMatch |
( |
| ) |
const |
|
inline |
◆ GetNofDigis()
| Int_t BmnCluster::GetNofDigis |
( |
| ) |
const |
|
inline |
◆ SetAddress()
| void BmnCluster::SetAddress |
( |
Int_t |
address | ) |
|
|
inline |
◆ SetDigis()
| void BmnCluster::SetDigis |
( |
const std::vector< Int_t > & |
indices | ) |
|
|
inline |
Set array of digi to cluster. Overwrites existing array.
- Parameters
-
| [in] | indices | Array of digi indices in TClonesArray. |
Definition at line 50 of file BmnCluster.h.
◆ SetMatch()
| void BmnCluster::SetMatch |
( |
BmnMatch * |
match | ) |
|
◆ ToString()
| string BmnCluster::ToString |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: