ATLAS Offline Software
Loading...
Searching...
No Matches
GeneratorPhysValMonitoringTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GeneratorPhysVal_GeneratorPhysValMonitoring_H
6#define GeneratorPhysVal_GeneratorPhysValMonitoring_H
7
8// STL includes
9#include <string>
10
11// FrameWork includes
12#include "GaudiKernel/ServiceHandle.h"
13
14// Local includes
23#include <TLorentzVector.h>
24#include "GeneratorPlots.h"
26#include "GeneratorSelector.h"
27#include "GeneratorEventInfo.h"
31#include "AtlasHepMC/GenEvent.h"
32// Root includes
33#include "TH1.h"
34
35
36
37
38
39namespace GeneratorPhysVal
40{
43 {
44
45 public:
46
47 GeneratorPhysValMonitoringTool(const std::string &type,
48 const std::string &name,
49 const IInterface *parent);
50
52
53 virtual StatusCode initialize();
54 virtual StatusCode bookHistograms();
55 virtual StatusCode fillHistograms();
56 virtual StatusCode procHistograms();
57
58 private:
66
67 StatusCode book(PlotBase& plots);
68 TH1D* m_number = nullptr;
69 TH1D* m_number_GeneratorLevel = nullptr;
70 TH1D* m_number_SimulationLevel = nullptr;
71
73
74
76
77 Gaudi::Property<std::vector<float>> m_binning_N_TruthParticle{this, "binning_N_TruthParticle", {600,0.,6000},"binning_N_TruthParticle"};
78 Gaudi::Property<std::vector<float>> m_binning_N_GeneratorLevelParticle{this, "binning_N_GeneratorLevelParticle", {10,-5.,5},"binning_N_GeneratorLevelParticle"};
79 Gaudi::Property<std::vector<float>> m_binning_N_SimulationLevelParticle{this, "binning_N_SimulationLevelParticle", {2000,0,2000},"binning_N_SimulationLevelParticle"};
80
81
82
84 , "EventInfo"
85 , "EventInfo"
86 , "ReadHandleKey for xAOD::EventInfo" };
87
88 };
89}
90
91#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for reading from StoreGate.
Gaudi::Property< std::vector< float > > m_binning_N_TruthParticle
GeneratorPhysVal::GeneratorProductionVertexPlots m_ProductionVertexPlots
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Gaudi::Property< std::vector< float > > m_binning_N_SimulationLevelParticle
Gaudi::Property< std::vector< float > > m_binning_N_GeneratorLevelParticle
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
GeneratorPhysValMonitoringTool(const std::string &type, const std::string &name, const IInterface *parent)
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Property holding a SG store/key/clid from which a ReadHandle is made.