Skip to content

Commit

Permalink
check that tools are retrieved successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannimarchiori committed Oct 24, 2023
1 parent a848093 commit 66d6e75
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,15 @@ StatusCode CreateFCCeeCaloNoiseLevelMap::initialize() {
return StatusCode::FAILURE;
}

//m_ecalBarrelNoiseTool.retrieve();
//m_hcalBarrelNoiseTool.retrieve();
if (!m_ecalBarrelNoiseTool.retrieve()) {
error() << "Unable to retrieve the ECAL noise tool!!!" << endmsg;
return StatusCode::FAILURE;
}

if (!m_hcalBarrelNoiseTool.retrieve()) {
error() << "Unable to retrieve the HCAL noise tool!!!" << endmsg;
return StatusCode::FAILURE;
}

std::unordered_map<uint64_t, std::pair<double,double>> map;

Expand Down

0 comments on commit 66d6e75

Please sign in to comment.