ATLAS Offline Software
Loading...
Searching...
No Matches
InputMakerForRoI.cxx File Reference
Include dependency graph for InputMakerForRoI.cxx:

Go to the source code of this file.

Typedefs

typedef xAOD::TrigCompositeContainer DecisionContainer
typedef xAOD::TrigComposite Decision

Functions

SG::WriteHandle< DecisionContainercreateAndStore (const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
 Creates and right away records the DecisionContainer with the key.
const std::string & roiString ()

Typedef Documentation

◆ Decision

◆ DecisionContainer

Function Documentation

◆ createAndStore()

SG::WriteHandle< DecisionContainer > TrigCompositeUtils::createAndStore ( const SG::WriteHandleKey< DecisionContainer > & key,
const EventContext & ctx )

Creates and right away records the DecisionContainer with the key.

Returns the WriteHandle.

Definition at line 28 of file TrigCompositeUtilsRoot.cxx.

28 {
29 SG::WriteHandle<DecisionContainer> handle( key, ctx );
30 auto data = std::make_unique<DecisionContainer>() ;
31 auto aux = std::make_unique<DecisionAuxContainer>() ;
32 data->setStore( aux.get() );
33 handle.record( std::move( data ), std::move( aux ) ).ignore();
34 return handle;
35 }
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11

◆ roiString()

const std::string & TrigCompositeUtils::roiString ( )
inline

Definition at line 419 of file TrigCompositeUtils.h.

419{ return Decision::s_roiString; }
static const std::string s_roiString
Constant used to identify an (explicitly) updated HLT ROI.