Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/SystemOfUnits.h"
28 ISvcLocator* pSvcLocator ) :
36 return StatusCode::SUCCESS;
42 ATH_CHECK( previousDecisionsHandle.isValid() );
52 std::vector<TrigIsoHPtTrackTriggerHypoTool::TrackInfo> hypoToolInput;
54 ATH_MSG_DEBUG(
"Running with "<< previousDecisionsHandle->size() <<
" previous decisions");
55 if(previousDecisionsHandle->size()!=1) {
56 ATH_MSG_ERROR(
"Previous decision handle size isn't 1. It is"<<previousDecisionsHandle->size()<<
". This means there is something seriously different the way track desicions are handled and this Isolated High Pt Track Trigger hypo might need re-work");
57 return StatusCode::FAILURE;
60 const Decision * previousDecision = previousDecisionsHandle->at(0);
70 ATH_MSG_DEBUG (
"track handle size: " << trackHandle->size() <<
"..." );
114 return StatusCode::SUCCESS;
JetConstituentVector::iterator iterator
xAOD::TrigCompositeContainer DecisionContainer
TrigIsoHPtTrackTriggerHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandleArray< TrigIsoHPtTrackTriggerHypoTool > m_hypoTools
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()
const T * get(size_type n) const
Access an element, as an rvalue.
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...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackKey
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.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
xAOD::TrigCompositeAuxContainer DecisionAuxContainer
const std::string & featureString()
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
xAOD::TrigComposite Decision
void linkToPrevious(Decision *d, const std::string &previousCollectionKey, size_t previousIndex)
Links to the previous object, location of previous 'seed' decision supplied by hand.
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
std::set< DecisionID > DecisionIDContainer
LinkInfo< T > findLink(const Decision *start, const std::string &linkName, const bool suppressMultipleLinksWarning=false)
Perform a recursive search for ElementLinks of type T and name 'linkName', starting from Decision obj...
bool allFailed(const Decision *d)
return true if there is no positive decision stored
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
virtual StatusCode execute(const EventContext &context) const override
Class describing a TrackParticle.
virtual StatusCode initialize() override
const std::string & viewString()