10 declareInterface<JetContainerHistoFiller>(
this);
20 ATH_MSG_ERROR(
"Jet Container name not set. Please set the JetContainer property");
21 return StatusCode::FAILURE;
28 return StatusCode::SUCCESS;
55 float weight = evtInfo->beamSpotWeight();
60 ATH_MSG_DEBUG (
"Filling hists " << jtool->name() <<
"..." << jCont);
62 count += jtool->fillHistosFromContainer(*jCont, weight);
71 jtool->setInterval(ityp,force);
83 count+=jtool->buildHistos();
87 const auto & hdata = jtool->bookedHistograms();
88 for(
const auto & hd : hdata ){
99 count+=jtool->finalizeHistos();
#define CHECK(...)
Evaluate an expression and check for errors.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
std::string m_histoDir
The path where histos in this group leave.
std::vector< HistData > m_vBookedHistograms
The list of histos in this group.
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
HistoGroupBase(const std::string &t)
ToolHandleArray< JetHistoBase > m_histoTools
The list of histogramming tools.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual int buildHistos()
JetContainerHistoFiller(const std::string &t)
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerName
the jet container to build histos from
virtual int finalizeHistos()
virtual void prefixHistoDir(const std::string &preDir)
redefine from base class to forward prefix path to sub histos
virtual void setInterval(Interval_t ityp, bool force=false)
virtual bool isValid() override final
Can the handle be successfully dereferenced?
@ LAr
The LAr calorimeter.
@ Error
The sub-detector issued an error.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string