3#ifndef FTAGVALIDATION_PHYSICSVARIABLEPLOTS_H
4#define FTAGVALIDATION_PHYSICSVARIABLEPLOTS_H 1
11#include "GaudiKernel/ITHistSvc.h"
27 virtual StatusCode
execute()
override;
28 virtual StatusCode
finalize()
override;
48 template <
typename T >
52 const std::string& path =
"" );
53 template <
typename T >
58 const std::string& path =
"" );
60 template <
typename T >
62 template <
typename T,
typename U >
69 "Input Jet collection name" };
71 "Input Vertex collection name" };
73 "Input Track collection name" };
79 "Map with 1D histograms" };
81 "Map with 1D histograms" };
FTAGValidationAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode analyseBTaggingObject(const xAOD::Jet *, const std::string &, std::string="")
virtual StatusCode execute() override
StatusCode fillHistogram(const std::string &, T)
std::map< const std::string, TH2 * > m_Histograms2D
virtual ~PhysicsVariablePlots()
StatusCode initializeHistograms()
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackKey
StatusCode computeAndStoreTrackVariables(const std::string &, const xAOD::Jet *, const std::string &, const xAOD::TrackParticle *, const xAOD::Vertex *, const std::string &="")
std::map< const std::string, TH1 * > m_Histograms1D
Gaudi::Property< std::vector< std::vector< std::string > > > m_Histograms2Ddefinitions
StatusCode analyseTrackParticleObjects(const xAOD::Jet *, const xAOD::Vertex *, const std::string &, std::string="")
PhysicsVariablePlots(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::vector< std::vector< std::string > > > m_Histograms1Ddefinitions
virtual StatusCode finalize() override
StatusCode defineHistogram(const std::string &, const std::string &, int, double, double, const std::string &path="")
ServiceHandle< ITHistSvc > m_histSvc
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Jet_v1 Jet
Definition of the current "jet version".
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.