|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
38 if (!evtInfo.isValid()) {
50 if( !jCont.isValid() ) {
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();
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
JetContainerHistoFiller(const std::string &t)
@ LAr
The LAr calorimeter.
virtual int buildHistos()
@ Error
The sub-detector issued an error.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void prefixHistoDir(const std::string &preDir)
redefine from base class to forward prefix path to sub histos
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
#define CHECK(...)
Evaluate an expression and check for errors.
ToolHandleArray< JetHistoBase > m_histoTools
The list of histogramming tools.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::string m_histoDir
The path where histos in this group leave.
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
virtual int finalizeHistos()
Interval_t
Redefinition of fill intervals as in ManagedMonitorToolBase.
virtual void setInterval(Interval_t ityp, bool force=false)
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerName
the jet container to build histos from
std::vector< HistData > m_vBookedHistograms
The list of histos in this group.