|
ATLAS Offline Software
|
Go to the documentation of this file.
29 return StatusCode::FAILURE;
34 ATH_MSG_DEBUG(
"The ID will be copied from the previous decision if it matches with some trigger from the list below:" );
42 ATH_MSG_DEBUG(
"The triggerList is empty, all decision IDs will be copied from the previous decisions" );
46 return StatusCode::SUCCESS;
56 CHECK( previousDecisionsHandle.isValid() );
57 ATH_MSG_DEBUG(
"Running with " << previousDecisionsHandle->size() <<
" previous decisions" );
63 for (
const Decision* previousDecision : *previousDecisionsHandle) {
69 for (
const auto& previousDecisionID : previousDecisionIDs) {
87 auto roiLink = TrigCompositeUtils::findLink<TrigRoiDescriptorCollection>(decision,
"roi");
97 if (
muon->trackParticle(xAOD::Muon::TrackParticleType::CombinedTrackParticle)) {
116 return StatusCode::SUCCESS;
Gaudi::Property< std::string > m_roiLinkName
ToolHandleArray< TrigBphysStreamerHypoTool > m_hypoTools
xAOD::TrigCompositeContainer DecisionContainer
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
const std::string & hypoAlgNodeName()
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
Gaudi::Property< std::string > m_triggerLevel
void insertDecisionIDs(const Decision *src, Decision *dest)
Appends the decision IDs of src to the dest decision object.
bool msgLvl(const MSG::Level lvl) 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...
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
const SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > & decisionOutput() const
methods for derived classes to access handles of the base class output other read/write handles may b...
bool isValid() const
Test to see if the link can be dereferenced.
TrigCompositeUtils::DecisionIDContainer m_triggerIDs
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
virtual StatusCode execute(const EventContext &) const override
virtual StatusCode initialize() override
TrigBphysStreamerHypo()=delete
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 va...
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
#define CHECK(...)
Evaluate an expression and check for errors.
Gaudi::Property< std::vector< std::string > > m_triggerList
const std::string & featureString()
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
xAOD::TrigComposite Decision
std::set< DecisionID > DecisionIDContainer
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
HLT::Identifier getIDFromLeg(const HLT::Identifier &legIdentifier)
Generate the HLT::Identifier which corresponds to the chain name from the leg name.
Class describing a TrackParticle.