10 const std::string&
name,
14 m_histSvc(
"THistSvc",
name){
20 std::unique_ptr<StepHistogram>
33 return StatusCode::SUCCESS;
38 for (
auto const&
x : hMap)
40 ATH_MSG_INFO(
"Currently in volume:\t" <<
x.first <<
" got histoMap " <<
x.second);
41 for (
auto const& hm :
x.second)
44 std::ostringstream stringStream;
45 stringStream <<
"/stepHisto/" << subfolder <<
x.first <<
"/" <<
suffix << hm.first;
46 if (
m_histSvc->regHist(stringStream.str().c_str(), hm.second).isFailure() ) {
64 BookHistograms(
report.histoMapMap_vol_postStepKineticEnergy,
"postStepKineticEnergy/",
"volumes/");
67 BookHistograms(
report.histoMapMap_vol_stepEnergyNonIonDeposit,
"stepEnergyNonIonDeposit/",
"volumes/");
68 BookHistograms(
report.histoMapMap_vol_stepSecondaryKinetic,
"stepSecondaryKinetic/",
"volumes/");
69 BookHistograms(
report.histoMapMap_vol_trackLengthPerInitialE,
"trackLengthPerInitialE/",
"volumes/");
72 BookHistograms(
report.histoMapMap_vol_numberOfStepsPerInitialE,
"numberOfStepsPerInitialE/",
"volumes/");
77 BookHistograms(
report.histoMapMap_mat_postStepKineticEnergy,
"postStepKineticEnergy/",
"materials/");
79 BookHistograms(
report.histoMapMap_mat_stepEnergyNonIonDeposit,
"stepEnergyNonIonDeposit/",
"materials/");
80 BookHistograms(
report.histoMapMap_mat_stepSecondaryKinetic,
"stepSecondaryKinetic/",
"materials/");
81 BookHistograms(
report.histoMapMap_mat_trackLengthPerInitialE,
"trackLengthPerInitialE/",
"materials/");
84 BookHistograms(
report.histoMapMap_mat_numberOfStepsPerInitialE,
"numberOfStepsPerInitialE/",
"materials/");
89 BookHistograms(
report.histoMapMap_prc_postStepKineticEnergy,
"postStepKineticEnergy/",
"processes/");
91 BookHistograms(
report.histoMapMap_prc_stepEnergyNonIonDeposit,
"stepEnergyNonIonDeposit/",
"processes/");
92 BookHistograms(
report.histoMapMap_prc_stepSecondaryKinetic,
"stepSecondaryKinetic/",
"processes/");
93 BookHistograms(
report.histoMapMap_prc_trackLengthPerInitialE,
"trackLengthPerInitialE/",
"processes/");
96 BookHistograms(
report.histoMapMap_prc_numberOfStepsPerInitialE,
"numberOfStepsPerInitialE/",
"processes/");
100 BookHistograms(
report.histoMapMap_numberOfStepsPerInitialE,
"numberOfStepsPerInitialE/",
"nSteps/");
101 BookHistograms(
report.histoMapMap_trackLengthPerInitialE,
"trackLengthPerInitialE/",
"nSteps/");
119 return StatusCode::SUCCESS;