![]() |
ATLAS Offline Software
|
#include <TrigBjetBtagHypoAlg.h>
Public Member Functions | |
| TrigBjetBtagHypoAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual StatusCode | initialize () |
| virtual StatusCode | execute (const EventContext &context) const |
| virtual StatusCode | sysInitialize () override |
| initialise this base class | |
| virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. | |
| virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. | |
| virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| virtual bool | filterPassed (const EventContext &ctx) const |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static StatusCode | runtimeValidation (SG::WriteHandle< TrigCompositeUtils::DecisionContainer > &outputHandle, MsgStream &msg, bool onlyValidateOneStep=true, bool runTwoConversion=false) |
| Executes all individual runtime tests. | |
Protected Member Functions | |
| StatusCode | retrievePreviousDecisionContainer (const EventContext &, const TrigCompositeUtils::DecisionContainer *&) const |
| template<class CONTAINER> | |
| StatusCode | retrieveCollectionFromView (const EventContext &, ElementLinkVector< CONTAINER > &, const SG::ReadHandleKey< CONTAINER > &, const TrigCompositeUtils::Decision *) const |
| template<class CONTAINER> | |
| StatusCode | retrieveObjectFromNavigation (const std::string &, ElementLink< CONTAINER > &, const TrigCompositeUtils::Decision *) const |
| template<class CONTAINER> | |
| StatusCode | retrieveCollectionFromNavigation (const std::string &linkName, ElementLinkVector< CONTAINER > &objELs, const TrigCompositeUtils::DecisionContainer *) const |
| template<class CONTAINER> | |
| StatusCode | retrieveObjectFromStoreGate (const EventContext &, ElementLinkVector< CONTAINER > &, const SG::ReadHandleKey< CONTAINER > &) const |
| template<class CONTAINER> | |
| StatusCode | retrieveObjectFromEventView (const EventContext &, ElementLinkVector< CONTAINER > &, const SG::ReadHandleKey< CONTAINER > &, const TrigCompositeUtils::DecisionContainer *) const |
| template<class CONTAINER> | |
| StatusCode | attachObjectLinkToDecisionFromStoreGate (TrigCompositeUtils::Decision &, const SG::ReadHandleKey< CONTAINER > &, const std::string &, int objIndex=0) const |
| template<class CONTAINER> | |
| StatusCode | attachObjectLinkToDecisionsFromStoreGate (std::vector< TrigCompositeUtils::Decision * > &, const SG::ReadHandleKey< CONTAINER > &, const std::string &, int forcedIndex=-1) const |
| template<class CONTAINER> | |
| StatusCode | attachObjectLinkToDecisionFromEventView (const EventContext &, TrigCompositeUtils::Decision &, const SG::ReadHandleKey< CONTAINER > &, const std::string &, int objIndex=0) const |
| template<class CONTAINER> | |
| StatusCode | attachObjectLinkToDecisionsFromEventView (const EventContext &, std::vector< TrigCompositeUtils::Decision * > &, const SG::ReadHandleKey< CONTAINER > &, const std::string &, int forcedIndex=-1) const |
| template<class CONTAINER> | |
| StatusCode | attachObjectCollectionLinkToDecisionsFromEventView (const EventContext &, std::vector< TrigCompositeUtils::Decision * > &, const SG::ReadHandleKey< CONTAINER > &, const std::string &) const |
| const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > & | decisionInput () const |
| methods for derived classes to access handles of the base class input other read/write handles may be implemented by derived classes | |
| const SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > & | decisionOutput () const |
| methods for derived classes to access handles of the base class output other read/write handles may be implemented by derived classes | |
| StatusCode | hypoBaseOutputProcessing (SG::WriteHandle< TrigCompositeUtils::DecisionContainer > &outputHandle, MSG::Level lvl=MSG::DEBUG) const |
| Base class function to be called once slice specific code has finished. Handles debug printing and validation. | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| TrigBjetBtagHypoAlg () | |
| virtual StatusCode | monitor_jets (const ElementLinkVector< xAOD::JetContainer > &jetELs, const ElementLinkVector< xAOD::JetContainer > &all_bTaggedJetELs) const |
| virtual StatusCode | monitor_tracks (const EventContext &context, const TrigCompositeUtils::DecisionContainer *prevDecisionContainer) const |
| virtual StatusCode | monitor_primary_vertex (const ElementLink< xAOD::VertexContainer > &primVertexEL) const |
| virtual StatusCode | monitor_flavor_probabilities (const ElementLinkVector< xAOD::JetContainer > &jetEL, const std::string &var_name) const |
| virtual StatusCode | monitor_flavor_bb_probabilities (const ElementLinkVector< xAOD::JetContainer > &jetEL, const std::string &var_name) const |
| virtual ElementLinkVector< xAOD::JetContainer > | collect_valid_links (const ElementLinkVector< xAOD::JetContainer > &jetEL, std::string tagger) const |
| virtual StatusCode | monitor_btagging (const ElementLinkVector< xAOD::JetContainer > &jetEL) const |
| StatusCode | printDebugInformation (SG::WriteHandle< TrigCompositeUtils::DecisionContainer > &outputHandle, MSG::Level lvl) const |
| Common base function to print information on chains passed by objects considered in the hypo. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ToolHandleArray< TrigBjetBtagHypoTool > | m_hypoTools {this,"HypoTools",{},"Hypo Tools"} |
| ToolHandle< GenericMonitoringTool > | m_monTool {this,"MonTool","","Monitoring tool"} |
| SG::ReadHandleKey< xAOD::JetContainer > | m_bTaggedJetKey {this,"BTaggedJetKey","","Key for b-tagged jets"} |
| SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_trackKey {this,"TracksKey","","Key for precision tracks"} |
| SG::ReadHandleKey< xAOD::VertexContainer > | m_inputPrmVtx {this,"PrmVtxKey","","Key for Primary vertex collection for monitoring"} |
| Gaudi::Property< std::string > | m_prmVtxLink {this,"PrmVtxLink","Unspecified","Vertex Link name in navigation (input)"} |
| SG::ReadCondHandleKey< InDet::BeamSpotData > | m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" } |
| SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > | m_input { this, "HypoInputDecisions", "UNSPECIFIED_INPUT", "Input Decision (implicit)" } |
| input decisions | |
| SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > | m_output { this, "HypoOutputDecisions", "UNSPECIFIED_OUTPUT", "Ouput Decision" } |
| output decisions | |
| Gaudi::Property< bool > | m_runtimeValidation { this, "RuntimeValidation", false, "Enable detailed runtime validation of HypoAlg output, and upstream Decisions." } |
| Enabling of detailed validation checks for use during development. | |
| DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Runtime validation methods | |
| enum | LogicalFlowCheckMode { kRequireOne , kRequireAll } |
| static StatusCode | validateHasLinks (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg) |
| Ensure all Decisions have the named ElementLink graph edges which they are required to by spec. | |
| static StatusCode | validateLogicalFlow (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg, const LogicalFlowCheckMode mode) |
| Ensure that all DecisionIDs have propagated correctly from their parent. | |
| static StatusCode | validateDuplicatedDecisionID (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg) |
| Ensure that no space is being wasted by duplicated DecisionIDs in any Decision objects. | |
| static StatusCode | validateDecisionIDs (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg) |
| Ensure that all present IDs correspond to configured chains. | |
| static StatusCode | validateParentLinking (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg, bool runTwoConversion) |
| Ensure that the Decision has at least one valid parent, unless it is a initial Decision from the HLTSeeding. | |
| static StatusCode | recursiveValidateGraph (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg, bool onlyValidateOneStep, bool runTwoConversion, size_t callDepth, std::set< const TrigCompositeUtils::Decision * > &fullyExploredFrom) |
| Execute all checks on one node in the graph, d, then recursive call self on all parent nodes up to L1. | |
| static void | printBangs (MsgStream &msg) |
| Print header line. | |
| static void | printErrorHeader (const ElementLink< TrigCompositeUtils::DecisionContainer > &dEL, MsgStream &msg) |
| A problem was found, print common output data. | |
Definition at line 27 of file TrigBjetBtagHypoAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
privateinherited |
| Enumerator | |
|---|---|
| kRequireOne | Require all DecisionIDs to be present in at least one of my parent Decision objects. |
| kRequireAll | |
Definition at line 52 of file HypoBase.h.
| TrigBjetBtagHypoAlg::TrigBjetBtagHypoAlg | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 12 of file TrigBjetBtagHypoAlg.cxx.
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.
|
privatevirtual |
Definition at line 396 of file TrigBjetBtagHypoAlg.cxx.
|
protectedinherited |
methods for derived classes to access handles of the base class input other read/write handles may be implemented by derived classes
Definition at line 18 of file HypoBase.cxx.
|
protectedinherited |
methods for derived classes to access handles of the base class output other read/write handles may be implemented by derived classes
Definition at line 22 of file HypoBase.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 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.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
virtual |
Implements TrigBjetHypoAlgBase.
Definition at line 36 of file TrigBjetBtagHypoAlg.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
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.
|
inlinevirtualinherited |
Definition at line 96 of file AthCommonReentrantAlgorithm.h.
|
protectedinherited |
Base class function to be called once slice specific code has finished. Handles debug printing and validation.
Definition at line 35 of file HypoBase.cxx.
|
virtual |
Implements TrigBjetHypoAlgBase.
Definition at line 17 of file TrigBjetBtagHypoAlg.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.
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ITkPixelCablingAlg, ITkStripCablingAlg, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, and Simulation::BeamEffectsAlg.
Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.
|
privatevirtual |
Definition at line 408 of file TrigBjetBtagHypoAlg.cxx.
|
privatevirtual |
Definition at line 360 of file TrigBjetBtagHypoAlg.cxx.
|
privatevirtual |
Definition at line 306 of file TrigBjetBtagHypoAlg.cxx.
|
privatevirtual |
Definition at line 191 of file TrigBjetBtagHypoAlg.cxx.
|
privatevirtual |
Definition at line 386 of file TrigBjetBtagHypoAlg.cxx.
|
privatevirtual |
Definition at line 227 of file TrigBjetBtagHypoAlg.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
staticprivateinherited |
|
privateinherited |
Common base function to print information on chains passed by objects considered in the hypo.
Definition at line 406 of file HypoBase.cxx.
|
staticprivateinherited |
A problem was found, print common output data.
Definition at line 395 of file HypoBase.cxx.
|
staticprivateinherited |
Execute all checks on one node in the graph, d, then recursive call self on all parent nodes up to L1.
Definition at line 71 of file HypoBase.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.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 15 of file TrigBjetHypoAlgBase.cxx.
|
staticinherited |
Executes all individual runtime tests.
Definition at line 47 of file HypoBase.cxx.
|
inlinevirtualinherited |
Definition at line 100 of file AthCommonReentrantAlgorithm.h.
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.
|
overridevirtualinherited |
initialise this base class
Reimplemented from AthCommonReentrantAlgorithm< Gaudi::Algorithm >.
Definition at line 26 of file HypoBase.cxx.
|
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.
|
staticprivateinherited |
Ensure that all present IDs correspond to configured chains.
Definition at line 209 of file HypoBase.cxx.
|
staticprivateinherited |
Ensure that no space is being wasted by duplicated DecisionIDs in any Decision objects.
Definition at line 229 of file HypoBase.cxx.
|
staticprivateinherited |
Ensure all Decisions have the named ElementLink graph edges which they are required to by spec.
Definition at line 338 of file HypoBase.cxx.
|
staticprivateinherited |
Ensure that all DecisionIDs have propagated correctly from their parent.
Definition at line 247 of file HypoBase.cxx.
|
staticprivateinherited |
Ensure that the Decision has at least one valid parent, unless it is a initial Decision from the HLTSeeding.
Definition at line 135 of file HypoBase.cxx.
|
private |
Definition at line 56 of file TrigBjetBtagHypoAlg.h.
|
private |
Definition at line 50 of file TrigBjetBtagHypoAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 114 of file AthCommonReentrantAlgorithm.h.
|
private |
Definition at line 47 of file TrigBjetBtagHypoAlg.h.
|
privateinherited |
input decisions
Definition at line 101 of file HypoBase.h.
|
private |
Definition at line 52 of file TrigBjetBtagHypoAlg.h.
|
private |
Definition at line 48 of file TrigBjetBtagHypoAlg.h.
|
privateinherited |
output decisions
Definition at line 103 of file HypoBase.h.
|
private |
Definition at line 54 of file TrigBjetBtagHypoAlg.h.
|
privateinherited |
Enabling of detailed validation checks for use during development.
Definition at line 105 of file HypoBase.h.
|
private |
Definition at line 51 of file TrigBjetBtagHypoAlg.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.