![]() |
ATLAS Offline Software
|
#include <DiTauExtraVarDecorator.h>
Classes | |
struct | DitauTrackingInfo |
struct | SubjetTrackingInfo |
Public Member Functions | |
DiTauExtraVarDecorator (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual | ~DiTauExtraVarDecorator () |
virtual StatusCode | initialize () override |
Tool initializer. More... | |
virtual StatusCode | execute (DiTauCandidateData *data, const EventContext &ctx) const override |
Execute - called for each Ditau candidate. More... | |
virtual StatusCode | executeObj (xAOD::DiTauJet &xDiTau, const EventContext &ctx) const override |
Execute - called for each Ditau jet. More... | |
virtual StatusCode | eventInitialize (DiTauCandidateData *data) |
Event initializer - called at the beginning of each event. More... | |
virtual StatusCode | finalize () |
Finalizer. More... | |
template<class T > | |
bool | retrieveTool (T &tool) |
Convenience functions to handle storegate objects. More... | |
ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More... | |
virtual StatusCode | sysInitialize () override |
Perform system initialization for an algorithm. More... | |
virtual StatusCode | sysStart () override |
Handle START transition. More... | |
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
Return this algorithm's input handles. More... | |
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
Return this algorithm's output handles. More... | |
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
Declare a new Gaudi property. More... | |
void | updateVHKA (Gaudi::Details::PropertyBase &) |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
InterfaceID implementation needed for ToolHandle. More... | |
Protected Member Functions | |
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
remove all handles from I/O resolution More... | |
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
Add StoreName to extra input/output deps as needed. More... | |
Private Types | |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Attributes | |
Gaudi::Property< float > | m_dDefault {this, "DefaultValue", -1234} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_ditau_ptDecKey { this, "ditauPtDecName", "DiTauJets.ditau_pt", "Name of the ditauPt Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_core_leadDecKey { this, "fCoreLeadDecName", "DiTauJets.f_core_lead", "Name of the fCoreLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_core_sublDecKey { this, "fCoreSublDecName", "DiTauJets.f_core_subl", "Name of the fCoreSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_subjet_leadDecKey { this, "fSubjetLeadDecName", "DiTauJets.f_subjet_lead", "Name of the fSubjetLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_subjet_sublDecKey { this, "fSubjetSublDecName", "DiTauJets.f_subjet_subl", "Name of the fSubjetSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_subjetsDecKey { this, "fSubjetsDecName", "DiTauJets.f_subjets", "Name of the fSubjets Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_track_leadDecKey { this, "fTrackLeadDecName", "DiTauJets.f_track_lead", "Name of the fTrackLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_track_sublDecKey { this, "fTrackSublDecName", "DiTauJets.f_track_subl", "Name of the fTrackSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_max_leadDecKey { this, "RMaxLeadDecName", "DiTauJets.R_max_lead", "Name of the RMaxLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_max_sublDecKey { this, "RMaxSublDecName", "DiTauJets.R_max_subl", "Name of the RMaxSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_n_trackDecKey { this, "nTrackDecName", "DiTauJets.n_track", "Name of the nTrack Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_n_tracks_leadDecKey { this, "nTracksLeadDecName", "DiTauJets.n_tracks_lead", "Name of the nTracksLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_n_tracks_sublDecKey { this, "nTracksSublDecName", "DiTauJets.n_tracks_subl", "Name of the nTracksSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_n_isotrackDecKey { this, "nIsotrackDecName", "DiTauJets.n_isotrack", "Name of the nIsotrack Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_trackDecKey { this, "RTrackDecName", "DiTauJets.R_track", "Name of the RTrack Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_track_coreDecKey { this, "RTrackCoreDecName", "DiTauJets.R_track_core", "Name of the RTrackCore Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_track_allDecKey { this, "RTrackAllDecName", "DiTauJets.R_track_all", "Name of the RTrackAll Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_isotrackDecKey { this, "RIsotrackDecName", "DiTauJets.R_isotrack", "Name of the RIsotrack Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_core_leadDecKey { this, "RCoreLeadDecName", "DiTauJets.R_core_lead", "Name of the RCoreLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_core_sublDecKey { this, "RCoreSublDecName", "DiTauJets.R_core_subl", "Name of the RCoreSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_tracks_leadDecKey { this, "RTracksLeadDecName", "DiTauJets.R_tracks_lead", "Name of the RTracksLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_tracks_sublDecKey { this, "RTracksSublDecName", "DiTauJets.R_tracks_subl", "Name of the RTracksSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_trackDecKey { this, "MTrackDecName", "DiTauJets.m_track", "Name of the MTrack Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_track_coreDecKey { this, "MTrackCoreDecName", "DiTauJets.m_track_core", "Name of the MTrackCore Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_core_leadDecKey { this, "MCoreLeadDecName", "DiTauJets.m_core_lead", "Name of the MCoreLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_core_sublDecKey { this, "MCoreSublDecName", "DiTauJets.m_core_subl", "Name of the MCoreSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_track_allDecKey { this, "MTrackAllDecName", "DiTauJets.m_track_all", "Name of the MTrackAll Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_tracks_leadDecKey { this, "MTracksLeadDecName", "DiTauJets.m_tracks_lead", "Name of the MTracksLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_M_tracks_sublDecKey { this, "MTracksSublDecName", "DiTauJets.m_tracks_subl", "Name of the MTracksSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_E_frac_sublDecKey { this, "EFracSublDecName", "DiTauJets.E_frac_subl", "Name of the EFracSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_E_frac_subsublDecKey { this, "EFracSubsublDecName", "DiTauJets.E_frac_subsubl", "Name of the EFracSubsubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_subjets_sublDecKey { this, "RSubjetsSublDecName", "DiTauJets.R_subjets_subl", "Name of the RSubjetsSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_R_subjets_subsublDecKey { this, "RSubjetsSubsublDecName", "DiTauJets.R_subjets_subsubl", "Name of the RSubjetsSubsubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_d0_leadtrack_leadDecKey { this, "d0LeadtrackLeadDecName", "DiTauJets.d0_leadtrack_lead", "Name of the d0LeadtrackLead Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_d0_leadtrack_sublDecKey { this, "d0LeadtrackSublDecName", "DiTauJets.d0_leadtrack_subl", "Name of the d0LeadtrackSubl Decorator"} |
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > | m_f_isotracksDecKey { this, "fIsotracksDecName", "DiTauJets.f_isotracks", "Name of the fIsotracks Decorator"} |
StoreGateSvc_t | m_evtStore |
Pointer to StoreGate (event store by default) More... | |
StoreGateSvc_t | m_detStore |
Pointer to StoreGate (detector store by default) More... | |
std::vector< SG::VarHandleKeyArray * > | m_vhka |
bool | m_varHandleArraysDeclared |
Definition at line 17 of file DiTauExtraVarDecorator.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
DiTauExtraVarDecorator::DiTauExtraVarDecorator | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 18 of file DiTauExtraVarDecorator.cxx.
|
virtualdefault |
|
private |
Definition at line 403 of file DiTauExtraVarDecorator.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore
Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 95 of file AthCommonDataStore.h.
|
private |
Definition at line 176 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 393 of file DiTauExtraVarDecorator.cxx.
|
virtualinherited |
Event initializer - called at the beginning of each event.
Definition at line 32 of file DiTauToolBase.cxx.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 of file AthCommonDataStore.h.
|
overridevirtual |
Execute - called for each Ditau candidate.
Reimplemented from DiTauToolBase.
Definition at line 68 of file DiTauExtraVarDecorator.cxx.
|
overridevirtual |
Execute - called for each Ditau jet.
Reimplemented from DiTauToolBase.
Definition at line 75 of file DiTauExtraVarDecorator.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
private |
Definition at line 181 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 411 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 186 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 190 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 195 of file DiTauExtraVarDecorator.cxx.
|
virtualinherited |
Finalizer.
Reimplemented in DiTauOnnxDiscriminantTool.
Definition at line 50 of file DiTauToolBase.cxx.
|
private |
Definition at line 419 of file DiTauExtraVarDecorator.cxx.
|
overridevirtual |
Tool initializer.
Reimplemented from DiTauToolBase.
Definition at line 26 of file DiTauExtraVarDecorator.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
staticinherited |
InterfaceID implementation needed for ToolHandle.
Definition at line 9 of file DiTauToolBase.cxx.
|
private |
Definition at line 340 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 366 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 378 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 324 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 353 of file DiTauExtraVarDecorator.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
private |
Definition at line 223 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 168 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 214 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 218 of file DiTauExtraVarDecorator.cxx.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
private |
Definition at line 242 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 307 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 203 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 397 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 273 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 290 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 257 of file DiTauExtraVarDecorator.cxx.
|
private |
Definition at line 227 of file DiTauExtraVarDecorator.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inherited |
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 105 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 106 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 67 of file DiTauExtraVarDecorator.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 72 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 101 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 102 of file DiTauExtraVarDecorator.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 73 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 74 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 107 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 75 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 76 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 77 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 78 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 79 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 96 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 97 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 98 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 95 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 94 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 99 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 100 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 85 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 82 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 83 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 84 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 90 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 91 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 89 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 80 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 81 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 103 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 104 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 88 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 87 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 86 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 92 of file DiTauExtraVarDecorator.h.
|
private |
Definition at line 93 of file DiTauExtraVarDecorator.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.