ATLAS Offline Software
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
TrigBmuxState Class Reference

State class for TrigBmuxComboHypo algorithm. More...

#include <TrigBmuxComboHypo.h>

Inheritance diagram for TrigBmuxState:
Collaboration diagram for TrigBmuxState:

Classes

struct  Muon
 

Public Member Functions

 TrigBmuxState ()=delete
 
 TrigBmuxState (const EventContext &context, const TrigCompositeUtils::DecisionContainer &previousDecisions, TrigCompositeUtils::DecisionContainer &decisions, xAOD::TrigBphysContainer *trigBphysCollection=nullptr, const InDet::BeamSpotData *beamSpotData=nullptr)
 
virtual ~TrigBmuxState ()=default
 
xAOD::TrigBphysaddTriggerObject (size_t muonIndex)
 
std::vector< xAOD::TrigBphys * > addTriggerObjects (size_t n, size_t muonIndex)
 
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
 

Public Attributes

std::vector< Muonmuons
 
std::vector< size_t > trigBphysMuonIndices
 

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

State class for TrigBmuxComboHypo algorithm.

Definition at line 45 of file TrigBmuxComboHypo.h.

Constructor & Destructor Documentation

◆ TrigBmuxState() [1/2]

TrigBmuxState::TrigBmuxState ( )
delete

◆ TrigBmuxState() [2/2]

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

Definition at line 48 of file TrigBmuxComboHypo.h.

◆ ~TrigBmuxState()

virtual TrigBmuxState::~TrigBmuxState ( )
virtualdefault

Member Function Documentation

◆ addTriggerObject()

xAOD::TrigBphys* TrigBmuxState::addTriggerObject ( size_t  muonIndex)
inline

Definition at line 64 of file TrigBmuxComboHypo.h.

64  {
66  trigBphysMuonIndices.push_back(muonIndex);
67  return trigBphysCollection().back();
68  }

◆ addTriggerObjects()

std::vector<xAOD::TrigBphys*> TrigBmuxState::addTriggerObjects ( size_t  n,
size_t  muonIndex 
)
inline

Definition at line 70 of file TrigBmuxComboHypo.h.

70  {
71  std::vector<xAOD::TrigBphys*> triggerObjects(n, nullptr);
72  for (size_t i = 0; i < n; i++) {
73  triggerObjects[i] = addTriggerObject(muonIndex);
74  }
75  return triggerObjects;
76  }

◆ beamSpot()

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

Definition at line 48 of file ITrigBphysState.h.

48 { return m_beamSpotVertex; }

◆ beamSpotPosition()

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

Definition at line 47 of file ITrigBphysState.h.

◆ context()

const EventContext& ITrigBphysState::context ( ) const
inlineinherited

Definition at line 42 of file ITrigBphysState.h.

42 { return *m_context; }

◆ decisions()

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

Definition at line 44 of file ITrigBphysState.h.

44 { return *m_decisions; }

◆ previousDecisions()

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

Definition at line 43 of file ITrigBphysState.h.

43 { return *m_previousDecisions; }

◆ setTrigBphysCollection()

void ITrigBphysState::setTrigBphysCollection ( xAOD::TrigBphysContainer trigBphysCollection)
inlineinherited

Definition at line 46 of file ITrigBphysState.h.

◆ trigBphysCollection()

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

Definition at line 45 of file ITrigBphysState.h.

45 { return *m_trigBphysCollection; }

Member Data Documentation

◆ m_beamSpotData

const InDet::BeamSpotData* ITrigBphysState::m_beamSpotData
privateinherited

Definition at line 55 of file ITrigBphysState.h.

◆ m_beamSpotVertex

xAOD::Vertex ITrigBphysState::m_beamSpotVertex
privateinherited

Definition at line 56 of file ITrigBphysState.h.

◆ m_context

const EventContext* ITrigBphysState::m_context
privateinherited

Definition at line 51 of file ITrigBphysState.h.

◆ m_decisions

TrigCompositeUtils::DecisionContainer* ITrigBphysState::m_decisions
privateinherited

Definition at line 53 of file ITrigBphysState.h.

◆ m_previousDecisions

const TrigCompositeUtils::DecisionContainer* ITrigBphysState::m_previousDecisions
privateinherited

Definition at line 52 of file ITrigBphysState.h.

◆ m_trigBphysCollection

xAOD::TrigBphysContainer* ITrigBphysState::m_trigBphysCollection
privateinherited

Definition at line 54 of file ITrigBphysState.h.

◆ muons

std::vector<Muon> TrigBmuxState::muons

Definition at line 61 of file TrigBmuxComboHypo.h.

◆ trigBphysMuonIndices

std::vector<size_t> TrigBmuxState::trigBphysMuonIndices

Definition at line 62 of file TrigBmuxComboHypo.h.


The documentation for this class was generated from the following file:
ITrigBphysState::m_decisions
TrigCompositeUtils::DecisionContainer * m_decisions
Definition: ITrigBphysState.h:53
ITrigBphysState::m_beamSpotVertex
xAOD::Vertex m_beamSpotVertex
Definition: ITrigBphysState.h:56
ITrigBphysState::m_beamSpotData
const InDet::BeamSpotData * m_beamSpotData
Definition: ITrigBphysState.h:55
TrigBmuxState::addTriggerObject
xAOD::TrigBphys * addTriggerObject(size_t muonIndex)
Definition: TrigBmuxComboHypo.h:64
lumiFormat.i
int i
Definition: lumiFormat.py:85
ITrigBphysState::context
const EventContext & context() const
Definition: ITrigBphysState.h:42
beamspotman.n
n
Definition: beamspotman.py:731
DataVector::back
const T * back() const
Access the last element in the collection as an rvalue.
InDet::BeamSpotData::beamPos
const Amg::Vector3D & beamPos() const noexcept
Definition: BeamSpotData.h:68
ITrigBphysState::m_trigBphysCollection
xAOD::TrigBphysContainer * m_trigBphysCollection
Definition: ITrigBphysState.h:54
TrigBmuxState::trigBphysMuonIndices
std::vector< size_t > trigBphysMuonIndices
Definition: TrigBmuxComboHypo.h:62
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
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::TrigBphys_v1
Class describing a Bphysics online composite object.
Definition: TrigBphys_v1.h:44
generate::Zero
void Zero(TH1D *hin)
Definition: generate.cxx:32
ITrigBphysState::trigBphysCollection
xAOD::TrigBphysContainer & trigBphysCollection()
Definition: ITrigBphysState.h:45
ITrigBphysState::ITrigBphysState
ITrigBphysState()=delete