5#ifndef INDETSECVERTEXVALIDATION_PHYSVALSECVTX_H
6#define INDETSECVERTEXVALIDATION_PHYSVALSECVTX_H
25 const std::string& name,
26 const IInterface* parent);
39 "VrtSecInclusive_SecondaryVertices",
"Key of input vertices"};
44 template<
typename external_collection_t>
49template<
typename external_collection_t>
52 std::vector<HistData> hists = plot_collection->retrieveBookedHistograms();
53 for (
auto& [histo, directory] : hists) {
54 ATH_MSG_DEBUG (
"Initializing " << histo <<
" " << histo->GetName() <<
" " << directory <<
"...");
57 plot_collection->initialize();
58 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Property holding a SG store/key/clid from which a ReadHandle is made.
PhysValSecVtx(const std::string &type, const std::string &name, const IInterface *parent)
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
std::unique_ptr< SecVtxValidationPlots > m_secVtxValidationPlots
virtual StatusCode bookHistograms() override
An inheriting class should either override this function or bookHists().
StatusCode bookCollection(external_collection_t *)
virtual StatusCode initialize() override
virtual StatusCode procHistograms() override
An inheriting class should either override this function or finalHists().
virtual StatusCode fillHistograms() override
An inheriting class should either override this function or fillHists().
virtual ~PhysValSecVtx()=default
Property holding a SG store/key/clid from which a ReadHandle is made.