19#include "GaudiKernel/IToolSvc.h"
45 const std::string& name,
46 const IInterface* parent ) :
49 m_elecPlots(nullptr,
"Summary/Electron/",
"Electron"),
55 m_metPlots(nullptr,
"Summary/MET/",
"RefFinal"),
84 return StatusCode::SUCCESS;
90 std::vector<HistData> hists = plots.retrieveBookedHistograms();
92 for (
auto& hist : hists){
93 ATH_MSG_INFO (
"Initializing " << hist.first <<
" " << hist.first->GetName() <<
" " << hist.second <<
"...");
96 return StatusCode::SUCCESS;
114 return StatusCode::SUCCESS;
134 for (
auto jet : *jets) {
149 for (
auto elec : *electrons)
m_elecPlots.fill(elec,event);
156 for (
auto photon : *photons)
m_photonPlots.fill(photon,event);
163 for (
auto muon : *muons)
m_muonPlots.fill(muon,event);
193 return StatusCode::SUCCESS;
198 return StatusCode::SUCCESS;
204 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
size_type size() const noexcept
Returns the number of elements in the collection.
PhysVal::BTagPlots m_btagPlots
StatusCode book(PlotBase &plots)
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
PhysVal::KinematicsPlots m_elecPlots
virtual ~PhysValExample()
Destructor:
PhysValExample()
Default constructor:
PhysVal::TrkAndVtxPlots m_trkvtxPlots
PhysVal::KinematicsPlots m_jetPlots
virtual StatusCode initialize()
PhysVal::KinematicsPlots m_muonPlots
PhysVal::METPlots m_metPlots
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
PhysVal::KinematicsPlots m_photonPlots
PhysVal::EventInfoPlots m_evtPlots
PhysVal::KinematicsPlots m_tauPlots
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
float IP3D_loglikelihoodratio() const
get IP3D log likelihood ratio
const BTagging * getBTagging(const SG::AuxElement &part)
Access the default xAOD::BTagging object associated to an object.
PhotonContainer_v1 PhotonContainer
Definition of the current "photon container version".
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
EventInfo_v1 EventInfo
Definition of the latest event info version.
MissingET_v1 MissingET
Version control by type defintion.
BTagging_v1 BTagging
Definition of the current "BTagging version".
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
MissingETContainer_v1 MissingETContainer
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".