68 LOG(info) << GetName() <<
": Initialisation...";
71 FairRootManager* ioman = FairRootManager::Instance();
73 LOG(error) << GetName() <<
"::Init: No FairRootManager!";
82 LOG(error) <<
"No MvdDigi branch found. There was no MVD in the "
83 "simulation. Switch this task off";
89 if (
fDetector->GetSensorArraySize() > 1) {
90 if (fVerbose) LOG(info) <<
"succesfully loaded Geometry from file";
93 LOG(fatal) <<
"Geometry couldn't be loaded from file. No MVD digitizer available.";
97 std::map<uint32_t, CbmMvdSensor*>& sensorMap =
fDetector->GetSensorMap();
98 UInt_t plugincount =
fDetector->GetPluginCount();
100 for (
auto itr = sensorMap.begin(); itr != sensorMap.end(); itr++) {
103 itr->second->AddPlugin(readerTask);
107 itr->second->SetClusterPlugin(plugincount);
110 fDetector->SetPluginCount(plugincount + 1);
117 LOG(info) << GetName() <<
" initialised with parameters: ";