17#include <FairRootManager.h>
29 , fShowDebugHistos(kFALSE)
45 if (fVerbose) LOG(info) <<
"//----------------------------------------//";
46 if (fVerbose) LOG(info) <<
"Send Input";
52 for (Int_t i = 0; i < nDigis; i++) {
58 if (fVerbose) LOG(info) <<
"Execute ReadoutPlugin Nr. " <<
fPluginNr;
60 if (fVerbose) LOG(info) <<
"End Chain";
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";
90 if (fVerbose) LOG(info) <<
"succesfully loaded Geometry from file";
93 LOG(fatal) <<
"Geometry couldn't be loaded from file. No MVD digitizer available.";
100 for (
auto itr = sensorMap.begin(); itr != sensorMap.end(); itr++) {
103 itr->second->AddPlugin(readerTask);
107 itr->second->SetClusterPlugin(plugincount);
117 LOG(info) << GetName() <<
" initialised with parameters: ";
148 LOG(info) <<
"============================================================";
149 LOG(info) <<
"============== Parameters Readout ===== ====================";
150 LOG(info) <<
"============================================================";
151 LOG(info) <<
"=============== End Task ===================================";
@ kMvd
Micro-Vertex Detector.
CbmDigiManager * fDigiMan
static Int_t GetNofDigis(ECbmModuleId systemId)
static Bool_t IsPresent(ECbmModuleId systemId)
Presence of a digi branch.
InitStatus Init()
Initialisation.
const Digi * Get(Int_t index) const
Get a digi object.
static CbmDigiManager * Instance()
Static instance.
std::map< int, CbmMvdSensor * > & GetSensorMap()
Int_t GetPluginArraySize()
static CbmMvdDetector * Instance()
Int_t DetectPlugin(Int_t pluginID)
void SetSensorArrayFilled(Bool_t value=kTRUE)
void SendInputToSensorPlugin(Int_t detectorid, Int_t nPlugin, TObject *input)
void SetPluginCount(UInt_t count)
Int_t GetSensorArraySize()
void SetRefId(int32_t refId)
CbmDigiManager * fDigiMan
virtual InitStatus ReInit()
virtual InitStatus Init()
CbmMvdDetector * fDetector
void PrintParameters() const