ATLAS Offline Software
ITrigBphysState.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIG_ITrigBphysState_H
6 #define TRIG_ITrigBphysState_H
7 
11 
12 
13 class EventContext;
14 
15 
22  public:
23  ITrigBphysState() = delete;
24  ITrigBphysState(const EventContext& context,
28  const InDet::BeamSpotData* beamSpotData = nullptr)
29  : m_context(&context),
33  m_beamSpotData(beamSpotData) {
35  if (m_beamSpotData) {
38  }
39  }
40  virtual ~ITrigBphysState() = default;
41 
42  inline const EventContext& context() const { return *m_context; }
48  const xAOD::Vertex& beamSpot() const { return m_beamSpotVertex; }
49 
50  private:
51  const EventContext* m_context;
57 };
58 
59 #endif // TRIG_ITrigBphysState_H
xAOD::Vertex_v1::setPosition
void setPosition(const Amg::Vector3D &position)
Sets the 3-position.
ITrigBphysState::beamSpot
const xAOD::Vertex & beamSpot() const
Definition: ITrigBphysState.h:48
ITrigBphysState::m_decisions
TrigCompositeUtils::DecisionContainer * m_decisions
Definition: ITrigBphysState.h:53
ITrigBphysState::m_beamSpotVertex
xAOD::Vertex m_beamSpotVertex
Definition: ITrigBphysState.h:56
ITrigBphysState::setTrigBphysCollection
void setTrigBphysCollection(xAOD::TrigBphysContainer *trigBphysCollection)
Definition: ITrigBphysState.h:46
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::beamSpotPosition
Amg::Vector3D beamSpotPosition() const
Definition: ITrigBphysState.h:47
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
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
TrigCompositeContainer.h
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:192
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
ITrigBphysState::previousDecisions
const TrigCompositeUtils::DecisionContainer & previousDecisions() const
Definition: ITrigBphysState.h:43
InDet::BeamSpotData
Definition: BeamSpotData.h:21
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
ITrigBphysState::~ITrigBphysState
virtual ~ITrigBphysState()=default
ITrigBphysState::decisions
TrigCompositeUtils::DecisionContainer & decisions()
Definition: ITrigBphysState.h:44
BeamSpotData.h
ITrigBphysState
Base class for TrigBphys state objects.
Definition: ITrigBphysState.h:21
TrigBphysContainer.h
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
ITrigBphysState::ITrigBphysState
ITrigBphysState(const EventContext &context, const TrigCompositeUtils::DecisionContainer &previousDecisions, TrigCompositeUtils::DecisionContainer &decisions, xAOD::TrigBphysContainer *trigBphysCollection=nullptr, const InDet::BeamSpotData *beamSpotData=nullptr)
Definition: ITrigBphysState.h:24
ITrigBphysState::ITrigBphysState
ITrigBphysState()=delete