ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrigMultiTrkStateBase Class Referenceabstract

#include <TrigMultiTrkComboHypo.h>

Inheritance diagram for TrigMultiTrkStateBase:
Collaboration diagram for TrigMultiTrkStateBase:

Public Member Functions

 TrigMultiTrkStateBase ()=delete
 
 TrigMultiTrkStateBase (const EventContext &context, const TrigCompositeUtils::DecisionContainer &previousDecisions, TrigCompositeUtils::DecisionContainer &decisions, xAOD::TrigBphysContainer *trigBphysCollection=nullptr, const InDet::BeamSpotData *beamSpotData=nullptr)
 
virtual ~TrigMultiTrkStateBase ()=default
 
virtual std::vector< ElementLink< TrigCompositeUtils::DecisionContainer > > & getDecisionLinks (size_t)=0
 
virtual TrigCompositeUtils::DecisionIDContainergetDecisionIDs (size_t)=0
 
virtual void addTrigBphysObject (xAOD::TrigBphys *, const std::vector< size_t > &legIndices)=0
 
virtual bool checkMultiplicity (const std::vector< int > &legMultiplicity, const std::vector< HLT::Identifier > &legDecisionIDs) const =0
 
void setEventAccepted (bool flag=true)
 
int isEventAccepted () const
 
std::vector< std::vector< size_t > > & trigBphysLegIndices ()
 
std::vector< size_t > & getTrigBphysLegIndices (size_t idx)
 
std::vector< ElementLink< xAOD::TrackParticleContainer > > & tracks ()
 
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

int m_isEventAccepted
 
std::vector< std::vector< size_t > > m_trigBphysLegIndices
 
std::vector< ElementLink< xAOD::TrackParticleContainer > > m_tracks
 
const EventContext * m_context
 
const TrigCompositeUtils::DecisionContainerm_previousDecisions
 
TrigCompositeUtils::DecisionContainerm_decisions
 
xAOD::TrigBphysContainerm_trigBphysCollection
 
const InDet::BeamSpotDatam_beamSpotData
 
xAOD::Vertex m_beamSpotVertex
 

Detailed Description

Definition at line 59 of file TrigMultiTrkComboHypo.h.

Constructor & Destructor Documentation

◆ TrigMultiTrkStateBase() [1/2]

TrigMultiTrkStateBase::TrigMultiTrkStateBase ( )
delete

◆ TrigMultiTrkStateBase() [2/2]

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

Definition at line 62 of file TrigMultiTrkComboHypo.h.

◆ ~TrigMultiTrkStateBase()

virtual TrigMultiTrkStateBase::~TrigMultiTrkStateBase ( )
virtualdefault

Member Function Documentation

◆ addTrigBphysObject()

virtual void TrigMultiTrkStateBase::addTrigBphysObject ( xAOD::TrigBphys ,
const std::vector< size_t > &  legIndices 
)
pure virtual

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

◆ checkMultiplicity()

virtual bool TrigMultiTrkStateBase::checkMultiplicity ( const std::vector< int > &  legMultiplicity,
const std::vector< HLT::Identifier > &  legDecisionIDs 
) const
pure virtual

◆ 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; }

◆ getDecisionIDs()

virtual TrigCompositeUtils::DecisionIDContainer& TrigMultiTrkStateBase::getDecisionIDs ( size_t  )
pure virtual

◆ getDecisionLinks()

virtual std::vector<ElementLink<TrigCompositeUtils::DecisionContainer> >& TrigMultiTrkStateBase::getDecisionLinks ( size_t  )
pure virtual

◆ getTrigBphysLegIndices()

std::vector<size_t>& TrigMultiTrkStateBase::getTrigBphysLegIndices ( size_t  idx)
inline

Definition at line 78 of file TrigMultiTrkComboHypo.h.

78 { return m_trigBphysLegIndices[idx]; }

◆ isEventAccepted()

int TrigMultiTrkStateBase::isEventAccepted ( ) const
inline

Definition at line 76 of file TrigMultiTrkComboHypo.h.

76 { return m_isEventAccepted; }

◆ previousDecisions()

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

Definition at line 43 of file ITrigBphysState.h.

43 { return *m_previousDecisions; }

◆ setEventAccepted()

void TrigMultiTrkStateBase::setEventAccepted ( bool  flag = true)
inline

Definition at line 75 of file TrigMultiTrkComboHypo.h.

75 { m_isEventAccepted = (flag ? 1 : 0); }

◆ setTrigBphysCollection()

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

Definition at line 46 of file ITrigBphysState.h.

◆ tracks()

std::vector<ElementLink<xAOD::TrackParticleContainer> >& TrigMultiTrkStateBase::tracks ( )
inline

Definition at line 79 of file TrigMultiTrkComboHypo.h.

79 { return m_tracks; }

◆ trigBphysCollection()

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

Definition at line 45 of file ITrigBphysState.h.

45 { return *m_trigBphysCollection; }

◆ trigBphysLegIndices()

std::vector<std::vector<size_t> >& TrigMultiTrkStateBase::trigBphysLegIndices ( )
inline

Definition at line 77 of file TrigMultiTrkComboHypo.h.

77 { return m_trigBphysLegIndices; }

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_isEventAccepted

int TrigMultiTrkStateBase::m_isEventAccepted
private

Definition at line 82 of file TrigMultiTrkComboHypo.h.

◆ m_previousDecisions

const TrigCompositeUtils::DecisionContainer* ITrigBphysState::m_previousDecisions
privateinherited

Definition at line 52 of file ITrigBphysState.h.

◆ m_tracks

std::vector<ElementLink<xAOD::TrackParticleContainer> > TrigMultiTrkStateBase::m_tracks
private

Definition at line 84 of file TrigMultiTrkComboHypo.h.

◆ m_trigBphysCollection

xAOD::TrigBphysContainer* ITrigBphysState::m_trigBphysCollection
privateinherited

Definition at line 54 of file ITrigBphysState.h.

◆ m_trigBphysLegIndices

std::vector<std::vector<size_t> > TrigMultiTrkStateBase::m_trigBphysLegIndices
private

Definition at line 83 of file TrigMultiTrkComboHypo.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
ITrigBphysState::context
const EventContext & context() const
Definition: ITrigBphysState.h:42
master.flag
bool flag
Definition: master.py:29
TrigMultiTrkStateBase::m_tracks
std::vector< ElementLink< xAOD::TrackParticleContainer > > m_tracks
Definition: TrigMultiTrkComboHypo.h:84
InDet::BeamSpotData::beamPos
const Amg::Vector3D & beamPos() const noexcept
Definition: BeamSpotData.h:68
ITrigBphysState::m_trigBphysCollection
xAOD::TrigBphysContainer * m_trigBphysCollection
Definition: ITrigBphysState.h:54
ITrigBphysState::previousDecisions
const TrigCompositeUtils::DecisionContainer & previousDecisions() const
Definition: ITrigBphysState.h:43
TrigMultiTrkStateBase::m_isEventAccepted
int m_isEventAccepted
Definition: TrigMultiTrkComboHypo.h:82
TrigMultiTrkStateBase::m_trigBphysLegIndices
std::vector< std::vector< size_t > > m_trigBphysLegIndices
Definition: TrigMultiTrkComboHypo.h:83
ITrigBphysState::decisions
TrigCompositeUtils::DecisionContainer & decisions()
Definition: ITrigBphysState.h:44
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
ITrigBphysState::m_context
const EventContext * m_context
Definition: ITrigBphysState.h:51
ITrigBphysState::m_previousDecisions
const TrigCompositeUtils::DecisionContainer * m_previousDecisions
Definition: ITrigBphysState.h:52
generate::Zero
void Zero(TH1D *hin)
Definition: generate.cxx:32
ITrigBphysState::trigBphysCollection
xAOD::TrigBphysContainer & trigBphysCollection()
Definition: ITrigBphysState.h:45
ITrigBphysState::ITrigBphysState
ITrigBphysState()=delete