Skip to content
Snippets Groups Projects
Commit fdf0683b authored by Pascal Raisig's avatar Pascal Raisig
Browse files

Add information on class and function to fatal output

parent 507214c3
Branches
Tags
1 merge request!210Trd mcbm common reco redmine issue #1827
......@@ -160,8 +160,8 @@ InitStatus CbmTrdHitProducer::Init() {
Int_t nrModules = fDigiPar->GetNrOfModules();
Int_t nrNodes = moduleMap.size();
if (nrModules != nrNodes)
LOG(fatal)
<< "Geometry and parameter files have different number of modules.";
LOG(fatal) << "CbmTrdHitProducer::Init() - Geometry and parameter files "
"have different number of modules.";
for (Int_t loop = 0; loop < nrModules; ++loop) {
Int_t address = fDigiPar->GetModuleId(loop);
std::map<Int_t, TGeoPhysicalNode*>::iterator it = moduleMap.find(address);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment