![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef DerivationFrameworkHiggs_TruthCategoriesDecorator_H
9 #define DerivationFrameworkHiggs_TruthCategoriesDecorator_H
12 #include "GaudiKernel/ToolHandle.h"
37 ToolHandle<IHiggsTruthCategoryTool>
m_higgsTruthCatTool{
this,
"CategoryTool",
"HiggsTruthCategoryTool"};
40 Gaudi::Property<std::string>
m_configPath{
this,
"ConfigPath",
"DerivationFrameworkHiggs/HiggsMCsamples.cfg"};
83 return StatusCode::FAILURE;
85 return StatusCode::SUCCESS;
88 using P4DecorMap = std::map<std::string, FourMomDecoration>;
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< int > m_detailLevel
SG::WriteDecorHandleKeyArray< xAOD::EventInfo > m_STXSDecors
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEvtKey
std::map< std::string, FourMomDecoration > P4DecorMap
Gaudi::Property< std::string > m_configPath
const std::string & key() const
Return the StoreGate ID for the referenced object.
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode execute(const EventContext &ctx) const
An algorithm that can be simultaneously executed in multiple threads.
TruthCategoriesDecorator(const std::string &n, ISvcLocator *p)
std::vector< EvtInfoDecorKey > vect() const
virtual ~TruthCategoriesDecorator()=default
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
HTXS::HiggsProdMode prod
Higgs production modes, corresponding to input sample.
std::vector< HTXSSample > m_htxs_samples
FourMomDecoration(const SG::ReadHandleKey< xAOD::EventInfo > &ev_key, const std::string &prefix)
::StatusCode StatusCode
StatusCode definition for legacy code.
HiggsProdMode
Higgs production modes, corresponding to input sample.
ToolHandle< IHiggsTruthCategoryTool > m_higgsTruthCatTool
ToolHandle< IxAODtoHepMCTool > m_xAODtoHepMCTool
HTXS::tH_type th_type
Additional identifier flag for TH production modes.
Set of DecorHandleKeys to write the four momenta needed for the HTXS categorization.
StatusCode decorateFourVec(const EventContext &ctx, const std::string &prefix, const TLorentzVector &p4) const
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
tH_type
Additional identifier flag for TH production modes.
StatusCode decorateFourVecs(const EventContext &ctx, const std::string &prefix, const std::vector< TLorentzVector > &p4s) const