5#ifndef JETTAGDERIVATIONUTILS_METADATAALG_H
6#define JETTAGDERIVATIONUTILS_METADATAALG_H
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/IIncidentListener.h"
25 public IIncidentListener
28 MetadataAlg(
const std::string& name, ISvcLocator* pSvcLocator);
35 void handle(
const Incident&)
override;
41 this,
"truthWeightTool",
"PMGTools::PMGTruthWeightTool",
42 "the truth weight tool"};
44 this,
"h5Output",
"",
"output file service"};
46 this,
"jsonOutput",
"",
"json output file"
49 this,
"h5OutputHists",
"",
50 "output service for histogram output"};
52 this,
"enableSystematics",
true,
53 "include systematic variations (false = nominal only)"};
55 this,
"allowedStreams",
56 {
"StreamAOD",
"StreamEVGEN",
"StreamEVNT",
57 "StreamDAOD_PHYS",
"StreamDAOD_PHYSLITE"},
58 "CutBookkeeper inputStream values accepted as AllExecutedEvents"
60 std::unordered_map<size_t, OriginalAodCounts>
m_weights;
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
CutBookkeeper_v1 CutBookkeeper
Define the latest version of the CutBookkeeper class.