ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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.

29  : m_context(&context),
33  m_beamSpotData(beamSpotData) {
35  if (m_beamSpotData) {
36  m_beamSpotVertex.setPosition(beamSpotData->beamVtx().position());
37  m_beamSpotVertex.setCovariancePosition(beamSpotData->beamVtx().covariancePosition());
38  }
39  }

◆ ~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.

◆ 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:
xAOD::Vertex_v1::setPosition
void setPosition(const Amg::Vector3D &position)
Sets the 3-position.
ITrigBphysState::m_decisions
TrigCompositeUtils::DecisionContainer * m_decisions
Definition: ITrigBphysState.h:53
ITrigBphysState::m_beamSpotVertex
xAOD::Vertex m_beamSpotVertex
Definition: ITrigBphysState.h:56
InDet::BeamSpotData::beamVtx
const Trk::RecVertex & beamVtx() const noexcept
Definition: BeamSpotData.h:79
ITrigBphysState::m_beamSpotData
const InDet::BeamSpotData * m_beamSpotData
Definition: ITrigBphysState.h:55
ITrigBphysState::context
const EventContext & context() const
Definition: ITrigBphysState.h:42
Trk::Vertex::position
const Amg::Vector3D & position() const
return position of vertex
Definition: Vertex.cxx:72
InDet::BeamSpotData::beamPos
const Amg::Vector3D & beamPos() const noexcept
Definition: BeamSpotData.h:68
ITrigBphysState::m_trigBphysCollection
xAOD::TrigBphysContainer * m_trigBphysCollection
Definition: ITrigBphysState.h:54
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:172
ITrigBphysState::previousDecisions
const TrigCompositeUtils::DecisionContainer & previousDecisions() const
Definition: ITrigBphysState.h:43
ITrigBphysState::decisions
TrigCompositeUtils::DecisionContainer & decisions()
Definition: ITrigBphysState.h:44
ITrigBphysState::m_context
const EventContext * m_context
Definition: ITrigBphysState.h:51
ITrigBphysState::m_previousDecisions
const TrigCompositeUtils::DecisionContainer * m_previousDecisions
Definition: ITrigBphysState.h:52
xAOD::Vertex_v1::setCovariancePosition
void setCovariancePosition(const AmgSymMatrix(3)&covariancePosition)
Sets the vertex covariance matrix.
generate::Zero
void Zero(TH1D *hin)
Definition: generate.cxx:32
ITrigBphysState::trigBphysCollection
xAOD::TrigBphysContainer & trigBphysCollection()
Definition: ITrigBphysState.h:45