ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigBjetHypo
src
TrigBjetHypoAlgBase.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigBjetHypoAlgBase.h
"
6
7
TrigBjetHypoAlgBase::TrigBjetHypoAlgBase
(
const
std::string& name,
8
ISvcLocator* pSvcLocator ) :
9
::
HypoBase
( name, pSvcLocator ) {}
10
11
TrigBjetHypoAlgBase::~TrigBjetHypoAlgBase
() {}
12
13
// ============================================================================== //
14
15
StatusCode
TrigBjetHypoAlgBase::retrievePreviousDecisionContainer
(
const
EventContext& context,
16
const
TrigCompositeUtils::DecisionContainer
*& prevDecisionContainer )
const
{
17
18
ATH_MSG_DEBUG
(
"Retrieving Previous Decision"
);
19
SG::ReadHandle< TrigCompositeUtils::DecisionContainer >
prevDecisionContainerHandle =
SG::makeHandle
(
decisionInput
(),context );
20
CHECK
( prevDecisionContainerHandle.
isValid
() );
21
22
prevDecisionContainer = prevDecisionContainerHandle.
get
();
23
return
StatusCode::SUCCESS;
24
}
25
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
TrigBjetHypoAlgBase.h
HypoBase::decisionInput
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...
Definition
HypoBase.cxx:18
HypoBase::HypoBase
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition
HypoBase.cxx:12
SG::ReadHandle
Definition
StoreGate/StoreGate/ReadHandle.h:67
SG::ReadHandle::isValid
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadHandle::get
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
TrigBjetHypoAlgBase::retrievePreviousDecisionContainer
StatusCode retrievePreviousDecisionContainer(const EventContext &, const TrigCompositeUtils::DecisionContainer *&) const
Definition
TrigBjetHypoAlgBase.cxx:15
TrigBjetHypoAlgBase::TrigBjetHypoAlgBase
TrigBjetHypoAlgBase()
TrigBjetHypoAlgBase::~TrigBjetHypoAlgBase
virtual ~TrigBjetHypoAlgBase()
Definition
TrigBjetHypoAlgBase.cxx:11
SG::makeHandle
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Definition
ReadCondHandle.h:269
TrigCompositeUtils::DecisionContainer
xAOD::TrigCompositeContainer DecisionContainer
Definition
TrigCompositeContainer.h:21
Generated on
for ATLAS Offline Software by
1.17.0