|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef ASG_ANALYSIS_ALGORITHMS__ASG_CUT_BOOKKEEPER_ALG_H
9 #define ASG_ANALYSIS_ALGORITHMS__ASG_CUT_BOOKKEEPER_ALG_H
53 ToolHandle<PMGTools::IPMGTruthWeightTool>
m_truthWeightTool {
this,
"truthWeightTool",
"PMGTools::PMGTruthWeightTool",
"the truth weight tool"};
61 Gaudi::Property<uint32_t>
m_runNumber {
this,
"runNumber", 0,
"the run number we are processing"};
86 Gaudi::Property<std::string>
m_histPattern {
this,
"histPattern",
"CutBookkeeper_%DSID%_%RUN%_%SYS%",
"the pattern for histogram names"};
uint32_t m_mcChannelNumber
MC channel number we are processing.
Description of the class that is used to keep track of event counts.
std::unordered_map< size_t, WeightsGroup > m_weights
weights map
float sumOfWeightsSquared
ServiceHandle< ISystematicsSvc > m_systematics
the systematics service
void processCutBookkeeper(const xAOD::CutBookkeeper *cbk, size_t index)
process a CutBookkeeper
Select isolated Photons, Electrons and Muons.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Gaudi::Property< uint32_t > m_runNumber
run number we are processing
the (new) base class for EventLoop algorithms
ToolHandle< PMGTools::IPMGTruthWeightTool > m_truthWeightTool
the truth weight tool
Gaudi::Property< bool > m_enableSystematics
flag to enable systematics
std::vector< std::string > m_allowed_streams
input streams that we can run the CutBookkeepers against
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode finalize() override
finalize
Gaudi::Property< std::string > m_histPattern
the pattern for histogram names
StatusCode initialize() override
initialize
an algorithm for dumping the CutBookkeeper metadata into a histogram
StatusCode fileExecute() override
run once on each file