 |
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"};
65 {
this,
"ProdModeDecorKey",
m_evtInfoKey,
"HTXS_prodMode",
"" };
67 {
this,
"ErrorCodeDecorKey",
m_evtInfoKey,
"HTXS_errorCore",
"" };
69 {
this,
"Stage0CatDecorKey",
m_evtInfoKey,
"HTXS_Stage0_Category",
"" };
72 {
this,
"Stage1CatPt25Key",
m_evtInfoKey,
"HTXS_Stage1_Category_pTjet25",
"" };
74 {
this,
"Stage1CatPt30Key",
m_evtInfoKey,
"HTXS_Stage1_Category_pTjet30",
"" };
76 {
this,
"Stage1IdxPt25Key",
m_evtInfoKey,
"HTXS_Stage1_FineIndex_pTjet25",
"" };
78 {
this,
"Stage1IdxPt30Key",
m_evtInfoKey,
"HTXS_Stage1_FineIndex_pTjet30",
"" };
82 {
this,
"Stage1p2_CatPt25Key",
m_evtInfoKey,
"HTXS_Stage1_2_Category_pTjet25",
"" };
84 {
this,
"Stage1p2_CatPt30Key",
m_evtInfoKey,
"HTXS_Stage1_2_Category_pTjet30",
"" };
86 {
this,
"Stage1p2_IdxPt25Key",
m_evtInfoKey,
"HTXS_Stage1_2_FineIndex_pTjet25",
"" };
88 {
this,
"Stage1p2_IdxPt30Key",
m_evtInfoKey,
"HTXS_Stage1_2_FineIndex_pTjet30",
"" };
92 {
this,
"Stage1p2_Fine_CatPt25Key",
m_evtInfoKey,
"HTXS_Stage1_2_Fine_Category_pTjet25",
"" };
94 {
this,
"Stage1p2_Fine_CatPt30Key",
m_evtInfoKey,
"HTXS_Stage1_2_Fine_Category_pTjet30",
"" };
96 {
this,
"Stage1p2_Fine_IdxPt25Key",
m_evtInfoKey,
"HTXS_Stage1_2_Fine_FineIndex_pTjet25",
"" };
98 {
this,
"Stage1p2_Fine_IdxPt30Key",
m_evtInfoKey,
"HTXS_Stage1_2_Fine_FineIndex_pTjet30",
"" };
101 {
this,
"NJets25Key",
m_evtInfoKey,
"HTXS_Njets_pTjet25",
"" };
103 {
this,
"NJets30Key",
m_evtInfoKey,
"HTXS_Njets_pTjet30",
"" };
105 {
this,
"IsZnunuKey",
m_evtInfoKey,
"HTXS_isZ2vvDecay",
"" };
111 const std::string& the_prefix) :
124 return StatusCode::FAILURE;
126 return StatusCode::SUCCESS;
131 {
this,
"Higgs_ptKey",
m_evtInfoKey,
"HTXS_Higgs_pt",
"" };
147 const FourMomDecorationKeys&
keys,
149 const TLorentzVector& p4)
const;
151 const FourMomDecorationKeys&
keys,
153 const std::vector<TLorentzVector>& p4s)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< int > m_detailLevel
EvtInfoDecorKey m_dec_stage1CatPt30Key
FourMomDecorationKeys m_decp4_Higgs_decayKeys
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEvtKey
EvtInfoDecorKey m_dec_Higgs_ptKey
EvtInfoDecorKey m_dec_errorCodeKey
EvtInfoDecorKey m_dec_NJets25Key
EvtInfoDecorKey m_dec_prodModeKey
EvtInfoDecorKey m_dec_stage1p2_CatPt30Key
Gaudi::Property< std::string > m_configPath
EvtInfoDecorKey m_dec_stage0CatKey
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.
FourMomDecorationKeys m_decp4_V_jets25Keys
EvtInfoDecorKey m_dec_stage1p2_CatPt25Key
TruthCategoriesDecorator(const std::string &n, ISvcLocator *p)
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
FourMomDecorationKeys m_decp4_VKeys
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode decorateFourVecs(const EventContext &ctx, const FourMomDecorationKeys &keys, const xAOD::EventInfo &eventInfo, const std::vector< TLorentzVector > &p4s) const
EvtInfoDecorKey m_dec_stage1p2_IdxPt25Key
StatusCode decorateFourVec(const EventContext &ctx, const FourMomDecorationKeys &keys, const xAOD::EventInfo &eventInfo, const TLorentzVector &p4) const
EvtInfoDecorKey m_dec_stage1p2_Fine_IdxPt30Key
StatusCode initialize(bool used=true)
HiggsProdMode
Higgs production modes, corresponding to input sample.
ToolHandle< IHiggsTruthCategoryTool > m_higgsTruthCatTool
ToolHandle< IxAODtoHepMCTool > m_xAODtoHepMCTool
EvtInfoDecorKey m_dec_stage1p2_Fine_IdxPt25Key
FourMomDecorationKeys m_decp4_V_jets30Keys
FourMomDecorationKeys m_decp4_HiggsKeys
Class describing the basic event information.
HTXS::tH_type th_type
Additional identifier flag for TH production modes.
EvtInfoDecorKey m_dec_stage1CatPt25Key
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.
EvtInfoDecorKey m_dec_stage1p2_Fine_CatPt25Key
Set of DecorHandleKeys to write the four momenta needed for the HTXS categorization.
FourMomDecorationKeys m_decp4_V_decayKeys
FourMomDecorationKeys(TruthCategoriesDecorator *parent, const SG::ReadHandleKey< xAOD::EventInfo > &ei_key, const std::string &the_prefix)
EvtInfoDecorKey m_dec_stage1p2_IdxPt30Key
EvtInfoDecorKey m_dec_stage1IdxPt30Key
EvtInfoDecorKey m_dec_stage1p2_Fine_CatPt30Key
EvtInfoDecorKey m_dec_isZnunuKey
EvtInfoDecorKey m_dec_stage1IdxPt25Key
EvtInfoDecorKey m_dec_NJets30Key