ATLAS Offline Software
Loading...
Searching...
No Matches
ITrigBphysState Class Reference

Base class for TrigBphys state objects. More...

#include <ITrigBphysState.h>

Inheritance diagram for ITrigBphysState:
Collaboration diagram for ITrigBphysState:

Public Member Functions

 ITrigBphysState ()=delete
 ITrigBphysState (const EventContext &context, const TrigCompositeUtils::DecisionContainer &previousDecisions, TrigCompositeUtils::DecisionContainer &decisions, xAOD::TrigBphysContainer *trigBphysCollection=nullptr, const InDet::BeamSpotData *beamSpotData=nullptr)
virtual ~ITrigBphysState ()=default
const EventContext & context () const
const TrigCompositeUtils::DecisionContainerpreviousDecisions () const
TrigCompositeUtils::DecisionContainerdecisions ()
xAOD::TrigBphysContainertrigBphysCollection ()
void setTrigBphysCollection (xAOD::TrigBphysContainer *trigBphysCollection)
Amg::Vector3D beamSpotPosition () const
const xAOD::VertexbeamSpot () const

Private Attributes

const EventContext * m_context
const TrigCompositeUtils::DecisionContainerm_previousDecisions
TrigCompositeUtils::DecisionContainerm_decisions
xAOD::TrigBphysContainerm_trigBphysCollection
const InDet::BeamSpotDatam_beamSpotData
xAOD::Vertex m_beamSpotVertex

Detailed Description

Base class for TrigBphys state objects.

Definition at line 21 of file ITrigBphysState.h.

Constructor & Destructor Documentation

◆ ITrigBphysState() [1/2]

ITrigBphysState::ITrigBphysState ( )
delete

◆ ITrigBphysState() [2/2]

ITrigBphysState::ITrigBphysState ( const EventContext & context,
const TrigCompositeUtils::DecisionContainer & previousDecisions,
TrigCompositeUtils::DecisionContainer & decisions,
xAOD::TrigBphysContainer * trigBphysCollection = nullptr,
const InDet::BeamSpotData * beamSpotData = nullptr )
inline

Definition at line 24 of file ITrigBphysState.h.

33 m_beamSpotData(beamSpotData) {
34 m_beamSpotVertex.makePrivateStore();
35 if (m_beamSpotData) {
36 m_beamSpotVertex.setPosition(m_beamSpotData->beamVtx().position());
37 m_beamSpotVertex.setCovariancePosition(m_beamSpotData->beamVtx().covariancePosition());
38 }
39 }
const EventContext * m_context
TrigCompositeUtils::DecisionContainer & decisions()
const TrigCompositeUtils::DecisionContainer * m_previousDecisions
const TrigCompositeUtils::DecisionContainer & previousDecisions() const
const InDet::BeamSpotData * m_beamSpotData
xAOD::TrigBphysContainer * m_trigBphysCollection
xAOD::Vertex m_beamSpotVertex
xAOD::TrigBphysContainer & trigBphysCollection()
const EventContext & context() const
TrigCompositeUtils::DecisionContainer * m_decisions

◆ ~ITrigBphysState()

virtual ITrigBphysState::~ITrigBphysState ( )
virtualdefault

Member Function Documentation

◆ beamSpot()

const xAOD::Vertex & ITrigBphysState::beamSpot ( ) const
inline

Definition at line 48 of file ITrigBphysState.h.

48{ return m_beamSpotVertex; }

◆ beamSpotPosition()

Amg::Vector3D ITrigBphysState::beamSpotPosition ( ) const
inline

Definition at line 47 of file ITrigBphysState.h.

47{ return (m_beamSpotData ? m_beamSpotData->beamPos() : Amg::Vector3D::Zero(3)); }

◆ context()

const EventContext & ITrigBphysState::context ( ) const
inline

Definition at line 42 of file ITrigBphysState.h.

42{ return *m_context; }

◆ decisions()

TrigCompositeUtils::DecisionContainer & ITrigBphysState::decisions ( )
inline

Definition at line 44 of file ITrigBphysState.h.

44{ return *m_decisions; }

◆ previousDecisions()

const TrigCompositeUtils::DecisionContainer & ITrigBphysState::previousDecisions ( ) const
inline

Definition at line 43 of file ITrigBphysState.h.

43{ return *m_previousDecisions; }

◆ setTrigBphysCollection()

void ITrigBphysState::setTrigBphysCollection ( xAOD::TrigBphysContainer * trigBphysCollection)
inline

Definition at line 46 of file ITrigBphysState.h.

◆ trigBphysCollection()

xAOD::TrigBphysContainer & ITrigBphysState::trigBphysCollection ( )
inline

Definition at line 45 of file ITrigBphysState.h.

45{ return *m_trigBphysCollection; }

Member Data Documentation

◆ m_beamSpotData

const InDet::BeamSpotData* ITrigBphysState::m_beamSpotData
private

Definition at line 55 of file ITrigBphysState.h.

◆ m_beamSpotVertex

xAOD::Vertex ITrigBphysState::m_beamSpotVertex
private

Definition at line 56 of file ITrigBphysState.h.

◆ m_context

const EventContext* ITrigBphysState::m_context
private

Definition at line 51 of file ITrigBphysState.h.

◆ m_decisions

TrigCompositeUtils::DecisionContainer* ITrigBphysState::m_decisions
private

Definition at line 53 of file ITrigBphysState.h.

◆ m_previousDecisions

const TrigCompositeUtils::DecisionContainer* ITrigBphysState::m_previousDecisions
private

Definition at line 52 of file ITrigBphysState.h.

◆ m_trigBphysCollection

xAOD::TrigBphysContainer* ITrigBphysState::m_trigBphysCollection
private

Definition at line 54 of file ITrigBphysState.h.


The documentation for this class was generated from the following file: