Skip to content

Commit

Permalink
Create the THistSvc if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 8, 2024
1 parent 276c2b0 commit ddbd50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CLUENtuplizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CLUENtuplizer::CLUENtuplizer(const std::string& name, ISvcLocator* svcLoc) : Gau
StatusCode CLUENtuplizer::initialize() {
if (Gaudi::Algorithm::initialize().isFailure()) return StatusCode::FAILURE;

m_ths = service("THistSvc", false);
m_ths = service("THistSvc", true);
if (!m_ths) {
error() << "Couldn't get THistSvc" << endmsg;
return StatusCode::FAILURE;
Expand Down

0 comments on commit ddbd50e

Please sign in to comment.