5 : FairParGenericSet(name,title,context), fSensorNames()
33 if (!list)
return kFALSE;
34 if (!list->fillObject(
"SensorNames",
fSensorNames))
return kFALSE;
44 FairRun *
fRun = FairRun::Instance();
56 std::vector<TString> result;
58 if (value.first.Contains(identifier)){
59 result.push_back(value.first);
69 std::cout<<
"SensorNames:"<<std::endl;
70 std::cout<<
"Entries: " <<
fSensorNames->GetEntries() << std::endl;
76 std::cout << iter->first <<
": " << iter->second.Data() << std::endl;
std::map< TString, Int_t > fMapOfSensorNames
Bool_t getParams(FairParamList *list)
Par setInputVersion(fRun->GetRunId(), 1)
PndSensorNamePar(const char *name="PndSensorNamePar", const char *title="Match between GeoManager path and SensorId", const char *context="TestDefaultContext")
Int_t SensorInList(TObjString *name)
std::map< Int_t, TString > fMapOfSensorIndizes
Int_t AddSensorName(TObjString *name)
PndSensorNamePar & operator=(const PndSensorNamePar &L)
TObjArray * GetSensorNames() const
std::vector< TString > GetSensorNamesWithString(TString identifier)
void putParams(FairParamList *list)
Unique match between SensorID and path in TGeoManager.