![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef TRIGBJETHYPO_TRIGBJETBTAGHYPOALG_H
7 #define TRIGBJETHYPO_TRIGBJETBTAGHYPOALG_H 1
27 #define MONITOR_BTAG_AUX_TRACK_VAR(VAR_NAME, VAR_TYPE ) \
28 auto monitor_for_##VAR_NAME = Monitored::Collection( #VAR_NAME, \
29 SG::ConstAccessor< std::vector<VAR_TYPE> acc( #VAR_NAME )(**bTagLink));
31 #define MONITOR_BTAG_AUX_VAR(VAR_NAME, VAR_TYPE, CONTAINER ) \
32 auto monitor_for_##VAR_NAME = Monitored::Collection( #VAR_NAME, CONTAINER, \
33 [](const ElementLink< xAOD::BTaggingContainer >& bTagLink) { \
34 return SG::ConstAccessor<VAR_TYPE>( #VAR_NAME )(**bTagLink); \
60 ToolHandleArray< TrigBjetBtagHypoTool >
m_hypoTools {
this,
"HypoTools",{},
"Hypo Tools"};
61 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool"};
68 Gaudi::Property< std::string >
m_bTaggingLink {
this,
"BTaggingLink",
"Unspecified",
"b-Tagging Link name in navigation (output)"};
69 Gaudi::Property< std::string >
m_prmVtxLink {
this,
"PrmVtxLink",
"Unspecified",
"Vertex Link name in navigation (input)"};
73 "BeamSpotKey",
"BeamSpotData",
"SG key for beam spot" };
virtual StatusCode monitor_flavor_bb_probabilities(const ElementLinkVector< xAOD::BTaggingContainer > &bTaggingEL, const std::string &var_name) const
virtual StatusCode initialize()
SG::ReadHandleKey< xAOD::JetContainer > m_bTaggedJetKey
virtual StatusCode monitor_btagging(const ElementLinkVector< xAOD::BTaggingContainer > &bTaggingEL) const
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackKey
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual ElementLinkVector< xAOD::BTaggingContainer > collect_valid_links(const ElementLinkVector< xAOD::BTaggingContainer > &bTaggingEL, std::string tagger) const
Gaudi::Property< std::string > m_bTaggingLink
SG::ReadHandleKey< xAOD::BTaggingContainer > m_bTagKey
Gaudi::Property< std::string > m_prmVtxLink
virtual StatusCode monitor_primary_vertex(const ElementLink< xAOD::VertexContainer > &primVertexEL) const
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode monitor_flavor_probabilities(const ElementLinkVector< xAOD::BTaggingContainer > &bTaggingEL, const std::string &var_name) const
Header file to be included by clients of the Monitored infrastructure.
ElementLink implementation for ROOT usage.
ElementLinkVector implementation for standalone ROOT.
virtual StatusCode monitor_tracks(const EventContext &context, const TrigCompositeUtils::DecisionContainer *prevDecisionContainer) const
SG::ReadHandleKey< xAOD::VertexContainer > m_inputPrmVtx
virtual StatusCode monitor_jets(const ElementLinkVector< xAOD::JetContainer > &jetELs, const ElementLinkVector< xAOD::JetContainer > &all_bTaggedJetELs) const
Gaudi::Property< std::string > m_btaggingLinkName
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandleArray< TrigBjetBtagHypoTool > m_hypoTools
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Helper class to provide constant type-safe access to aux data.
virtual StatusCode execute(const EventContext &context) const