1 #ifndef BSEMCGEOITEM_HH 2 #define BSEMCGEOITEM_HH 7 #include "RtypesCore.h" 15 class TMemberInspector;
34 Bool_t
IsAdded()
const {
return fIsAdded; }
39 void SetID(Int_t t_uniqueId) { fUniqueID = t_uniqueId; }
40 Int_t
GetID()
const {
return fUniqueID; }
41 const std::vector<BSEmcGeoItem *> &
GetNeighbours()
const {
return fNeighbours; }
49 const std::vector<const BSEmcDigi *> &
GetDigis()
const {
return fDigis; }
50 void AddDigiIndex(Int_t t_digiindex) { fDigiIndices.push_back(t_digiindex); }
55 std::vector<BSEmcGeoItem *> fNeighbours{};
56 Int_t fNeighbourCount{-1};
57 std::vector<const BSEmcDigi *> fDigis{};
58 std::vector<Int_t> fDigiIndices{};
59 Bool_t fIsAdded{kFALSE};
const std::vector< Int_t > & GetDigiIndices() const
Bool_t IsDigiPresent() const
Bool_t IsSameItem(const BSEmcGeoItem *t_item) const
void ClearNeighbourList()
Bool_t HasNeighbours() const
void AddDigi(const BSEmcDigi *t_digi)
BSEmcGeoItem * GetNeighbour(Int_t t_index)
const std::vector< BSEmcGeoItem * > & GetNeighbours() const
const std::vector< const BSEmcDigi * > & GetDigis() const
void FindClusterCrystals(std::vector< BSEmcGeoItem *> &t_clusterCrystals)
Convenience object for neighbouring relations used by BSEmcRecursiveClustering.
Bool_t IsNeighbour(const BSEmcGeoItem *t_item) const
represents the reconstructed hit of one emc crystal
void AddDigiIndex(Int_t t_digiindex)
void SetID(Int_t t_uniqueId)
Int_t NumberOfNeighbours() const
void AddNeighbour(BSEmcGeoItem *t_item)
const BSEmcGeoItem * GetNeighbour(Int_t t_index) const