.. _program_listing_file_xAODAnaHelpers_TrigMatcher.h: Program Listing for File TrigMatcher.h ====================================== |exhale_lsh| :ref:`Return to documentation for file ` (``xAODAnaHelpers/TrigMatcher.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef xAODAnaHelpers_TrigMatcher_H #define xAODAnaHelpers_TrigMatcher_H // algorithm wrapper #include #include #include #include #include "TriggerMatchingTool/IMatchScoringTool.h" #include class TrigMatcher : public xAH::Algorithm { public: /* configuration variables */ std::string m_inContainerName = ""; std::string m_systNames = ""; std::string m_trigChains = ""; private: /* tools */ asg::AnaToolHandle m_trigDecTool_handle {"Trig::TrigDecisionTool/TrigDecisionTool" }; asg::AnaToolHandle m_trigMatchTool_handle; asg::AnaToolHandle m_scoreTool {"Trig::DRScoringTool/DRScoringTool"}; std::vector m_trigChainsList; public: /* this is a standard constructor */ TrigMatcher (); ~TrigMatcher(); /* these are the functions inherited from Algorithm */ virtual EL::StatusCode setupJob (EL::Job& job); virtual EL::StatusCode initialize (); virtual EL::StatusCode execute (); /* these are the functions not inherited from Algorithm */ EL::StatusCode executeMatching( const xAOD::IParticleContainer* inParticles ); ClassDef(TrigMatcher, 1); }; #endif //#ifndef xAODAnaHelpers_TrigMatcher_H