![]() |
PandaRoot
|
Neigbouring Relations based on a list of detectorIds. More...
#include <BSEmcGeoNeighbouringRelationPar.h>
Public Member Functions | |
BSEmcGeoNeighbouringRelationPar (const char *t_name="EmcGeoNeighbouringRelationPar", const char *t_title="Neighbouring relation of Emc crystals", const char *t_context="TestDefaultContext") | |
~BSEmcGeoNeighbouringRelationPar (void) | |
void | clear (void) |
void | putParams (FairParamList *) |
Bool_t | getParams (FairParamList *) |
void | RegisterIdAndNeighbours (Int_t t_id, std::vector< Int_t > &t_neighbours) |
void | AddNeighbourToId (Int_t t_neighbourid, Int_t t_id) |
const std::vector< Int_t > & | GetNeighbourIds (Int_t t_detectorid) const |
Bool_t | AreNeighbours (Int_t t_a, Int_t t_b) const |
const TObjArray * | GetRelations () const |
BSEmcGeoNeighbouringRelationPar (const BSEmcGeoNeighbouringRelationPar &t_l) | |
BSEmcGeoNeighbouringRelationPar & | operator= (const BSEmcGeoNeighbouringRelationPar &t_l) |
void | InitFromTextFile (const TString &t_filename) |
void | FillMap () |
void | UpdateRelationArray () |
Bool_t | IsSet () |
const std::map< Int_t, std::vector< Int_t > > & | GetRelationMap () const |
Static Public Attributes | |
static std::string | fgParameterName |
Neigbouring Relations based on a list of detectorIds.
Definition at line 31 of file BSEmcGeoNeighbouringRelationPar.h.
BSEmcGeoNeighbouringRelationPar::BSEmcGeoNeighbouringRelationPar | ( | const char * | t_name = "EmcGeoNeighbouringRelationPar" , |
const char * | t_title = "Neighbouring relation of Emc crystals" , |
||
const char * | t_context = "TestDefaultContext" |
||
) |
Referenced by GetRelations().
BSEmcGeoNeighbouringRelationPar::~BSEmcGeoNeighbouringRelationPar | ( | void | ) |
BSEmcGeoNeighbouringRelationPar::BSEmcGeoNeighbouringRelationPar | ( | const BSEmcGeoNeighbouringRelationPar & | t_l | ) |
void BSEmcGeoNeighbouringRelationPar::AddNeighbourToId | ( | Int_t | t_neighbourid, |
Int_t | t_id | ||
) |
Referenced by clear().
|
inline |
Definition at line 46 of file BSEmcGeoNeighbouringRelationPar.h.
References GetNeighbourIds().
Referenced by BSEmcEnergies_t::GetEnergies().
|
inline |
Definition at line 38 of file BSEmcGeoNeighbouringRelationPar.h.
References AddNeighbourToId(), GetNeighbourIds(), getParams(), putParams(), and RegisterIdAndNeighbours().
void BSEmcGeoNeighbouringRelationPar::FillMap | ( | ) |
Referenced by GetRelations(), and BSEmcParameterLoadingProcess< DataStruct >::SetupParameters().
const std::vector<Int_t>& BSEmcGeoNeighbouringRelationPar::GetNeighbourIds | ( | Int_t | t_detectorid | ) | const |
Referenced by AreNeighbours(), and clear().
Bool_t BSEmcGeoNeighbouringRelationPar::getParams | ( | FairParamList * | ) |
Referenced by clear().
|
inline |
Definition at line 61 of file BSEmcGeoNeighbouringRelationPar.h.
|
inline |
Definition at line 51 of file BSEmcGeoNeighbouringRelationPar.h.
References BSEmcGeoNeighbouringRelationPar(), FillMap(), InitFromTextFile(), operator=(), and UpdateRelationArray().
void BSEmcGeoNeighbouringRelationPar::InitFromTextFile | ( | const TString & | t_filename | ) |
Referenced by GetRelations().
|
inline |
Definition at line 60 of file BSEmcGeoNeighbouringRelationPar.h.
Referenced by BSEmcParameterLoadingProcess< DataStruct >::SetupParameters().
BSEmcGeoNeighbouringRelationPar& BSEmcGeoNeighbouringRelationPar::operator= | ( | const BSEmcGeoNeighbouringRelationPar & | t_l | ) |
Referenced by GetRelations().
void BSEmcGeoNeighbouringRelationPar::putParams | ( | FairParamList * | ) |
Referenced by clear().
void BSEmcGeoNeighbouringRelationPar::RegisterIdAndNeighbours | ( | Int_t | t_id, |
std::vector< Int_t > & | t_neighbours | ||
) |
Referenced by clear(), and BSEmcParameterLoadingProcess< DataStruct >::SetupParameters().
void BSEmcGeoNeighbouringRelationPar::UpdateRelationArray | ( | ) |
Referenced by GetRelations(), and BSEmcParameterLoadingProcess< DataStruct >::SetupParameters().
|
static |
Definition at line 33 of file BSEmcGeoNeighbouringRelationPar.h.
Referenced by BSEmcParameterLoadingProcess< DataStruct >::SetDetectorName(), and BSEmcParameterLoadingProcess< DataStruct >::SetupParameters().