EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Base class for cluster objects. More...
#include <EicRoot/blob/master/cbmdata/CbmCluster.h>
Public Member Functions | |
CbmCluster () | |
Constructor. | |
virtual | ~CbmCluster () |
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 | Clear () |
Remove all digis. | |
Int_t | GetAddress () const |
FairMultiLinkedData * | GetLinks () const |
void | SetAddress (Int_t address) |
void | SetLinks (FairMultiLinkedData *links) |
Private Member Functions | |
CbmCluster (const CbmCluster &) | |
CbmCluster & | operator= (const CbmCluster &) |
ClassDef (CbmCluster, 1) | |
Private Attributes | |
std::vector< Int_t > | fDigis |
Array of digi indices. | |
Int_t | fAddress |
Unique detector ID. | |
FairMultiLinkedData * | fLinks |
Monte-Carlo link collection. | |
Base class for cluster objects.
Definition at line 20 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 20 of file CbmCluster.h
CbmCluster::CbmCluster | ( | ) |
Constructor.
Definition at line 9 of file CbmCluster.cxx.
View newest version in sPHENIX GitHub at line 9 of file CbmCluster.cxx
|
virtual |
Destructor.
Definition at line 18 of file CbmCluster.cxx.
View newest version in sPHENIX GitHub at line 18 of file CbmCluster.cxx
|
private |
|
inline |
Add digi to cluster.
[in] | index | Digi index in TClonesArray. |
Definition at line 37 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 37 of file CbmCluster.h
References fDigis.
|
inline |
Add array of digi to cluster.
[in] | indices | Array of digi indices in TClonesArray. |
Definition at line 43 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 43 of file CbmCluster.h
References fDigis.
|
private |
|
inline |
Remove all digis.
Definition at line 73 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 73 of file CbmCluster.h
References fDigis.
|
inline |
Accessors
Definition at line 76 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 76 of file CbmCluster.h
References fAddress.
|
inline |
Get digi at position index.
[in] | index | Position of digi in array. |
Definition at line 62 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 62 of file CbmCluster.h
References fDigis.
|
inline |
Get array of digi indices.
Definition at line 68 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 68 of file CbmCluster.h
References fDigis.
|
inline |
Definition at line 77 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 77 of file CbmCluster.h
References fLinks.
|
inline |
Number of digis in cluster.
Definition at line 55 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 55 of file CbmCluster.h
References fDigis.
|
private |
|
inline |
Modifiers
Definition at line 80 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 80 of file CbmCluster.h
References fAddress.
|
inline |
Set array of digi to cluster. Overwrites existing array.
[in] | indices | Array of digi indices in TClonesArray. |
Definition at line 49 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 49 of file CbmCluster.h
References fDigis.
|
inline |
Definition at line 81 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 81 of file CbmCluster.h
References fLinks.
|
private |
Unique detector ID.
Definition at line 88 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 88 of file CbmCluster.h
Referenced by GetAddress(), and SetAddress().
|
private |
Array of digi indices.
Definition at line 87 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 87 of file CbmCluster.h
Referenced by AddDigi(), AddDigis(), Clear(), GetDigi(), GetDigis(), GetNofDigis(), and SetDigis().
|
private |
Monte-Carlo link collection.
Definition at line 89 of file CbmCluster.h.
View newest version in sPHENIX GitHub at line 89 of file CbmCluster.h
Referenced by GetLinks(), and SetLinks().