CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
L1MuDTSectorProcessor Class Reference

#include <L1MuDTSectorProcessor.h>

Public Member Functions

const L1MuDTAssignmentUnitAU (int id) const
 return pointer to Assignment Unit, index [0,1] More...
 
bool brl () const
 is it a barrel-only Sector Processor? More...
 
const L1MuDTDataBufferdata () const
 return pointer to Data Buffer More...
 
L1MuDTDataBufferdata ()
 
const L1MuDTExtrapolationUnitEU () const
 return pointer to Extrapolation Unit More...
 
const L1MuDTSecProcIdid () const
 return Sector Processor identifier More...
 
 L1MuDTSectorProcessor (const L1MuDTTrackFinder &, const L1MuDTSecProcId &, edm::ConsumesCollector)
 constructor More...
 
const L1MuDTSectorProcessorneighbour () const
 return pointer to the next wheel neighbour More...
 
bool ovl () const
 is it an overlap region Sector Processor? More...
 
void print () const
 print muon candidates found by the Sector Processor More...
 
virtual void reset ()
 reset the Sector Processor More...
 
virtual void run (int bx, const edm::Event &e, const edm::EventSetup &c)
 run the Sector Processor More...
 
const L1MuDTTrackAssemblerTA () const
 return pointer to Track Assembler More...
 
const L1MuDTTrackFindertf () const
 return reference to barrel MTTF More...
 
const L1MuDTTracktrack (int id) const
 return pointer to muon candidate, index [0,1] More...
 
L1MuDTTracktrack (int id)
 
const L1MuDTTracktracK (int id) const
 return pointer to muon candidate, index [0,1] More...
 
L1MuDTTracktracK (int id)
 
virtual ~L1MuDTSectorProcessor ()
 destructor More...
 

Private Member Functions

bool anyTrack () const
 are there any non-empty muon candidates? More...
 

Private Attributes

std::array
< L1MuDTAssignmentUnit, 2 > 
m_AUs
 
L1MuDTDataBuffer m_DataBuffer
 
L1MuDTExtrapolationUnit m_EU
 
L1MuDTSectorReceiver m_SectorReceiver
 
L1MuDTSecProcId m_spid
 
L1MuDTTrackAssembler m_TA
 
const L1MuDTTrackFinderm_tf
 
std::array< L1MuDTTrack, 2 > m_TrackCands
 
std::array< L1MuDTTrack, 2 > m_TracKCands
 

Detailed Description

Sector Processor:

A Sector Processor consists of:

N. Neumeister CERN EP J. Troconiz UAM Madrid

Definition at line 56 of file L1MuDTSectorProcessor.h.

Constructor & Destructor Documentation

L1MuDTSectorProcessor::L1MuDTSectorProcessor ( const L1MuDTTrackFinder tf,
const L1MuDTSecProcId id,
edm::ConsumesCollector  iC 
)

constructor

Definition at line 52 of file L1MuDTSectorProcessor.cc.

55  : m_tf(tf),
56  m_spid(id),
57  m_SectorReceiver(*this, iC),
58  m_DataBuffer(*this),
59  m_EU(*this, iC),
60  m_TA(*this),
61  m_AUs{{{*this, 0, iC}, {*this, 1, iC}}},
L1MuDTTrackAssembler m_TA
std::array< L1MuDTAssignmentUnit, 2 > m_AUs
L1MuDTExtrapolationUnit m_EU
L1MuDTSectorReceiver m_SectorReceiver
const L1MuDTTrackFinder & m_tf
virtual L1MuDTSectorProcessor::~L1MuDTSectorProcessor ( )
virtual

destructor

Member Function Documentation

bool L1MuDTSectorProcessor::anyTrack ( ) const
private

are there any non-empty muon candidates?

const L1MuDTAssignmentUnit* L1MuDTSectorProcessor::AU ( int  id) const
inline

return pointer to Assignment Unit, index [0,1]

Definition at line 99 of file L1MuDTSectorProcessor.h.

References id(), and m_AUs.

99 { return &m_AUs[id]; }
std::array< L1MuDTAssignmentUnit, 2 > m_AUs
const L1MuDTSecProcId & id() const
return Sector Processor identifier
bool L1MuDTSectorProcessor::brl ( ) const
inline

is it a barrel-only Sector Processor?

Definition at line 83 of file L1MuDTSectorProcessor.h.

References m_spid, and L1MuDTSecProcId::ovl().

83 { return !m_spid.ovl(); }
bool ovl() const
is it an overlap region Sector Processor?
const L1MuDTDataBuffer* L1MuDTSectorProcessor::data ( ) const
inline
L1MuDTDataBuffer* L1MuDTSectorProcessor::data ( )
inline

Definition at line 90 of file L1MuDTSectorProcessor.h.

References m_DataBuffer.

90 { return &m_DataBuffer; }
const L1MuDTExtrapolationUnit* L1MuDTSectorProcessor::EU ( ) const
inline

return pointer to Extrapolation Unit

Definition at line 93 of file L1MuDTSectorProcessor.h.

References m_EU.

Referenced by L1MuDTTrackAssembler::run().

93 { return &m_EU; }
L1MuDTExtrapolationUnit m_EU
const L1MuDTSecProcId& L1MuDTSectorProcessor::id ( void  ) const
inline
const L1MuDTSectorProcessor* L1MuDTSectorProcessor::neighbour ( ) const

return pointer to the next wheel neighbour

bool L1MuDTSectorProcessor::ovl ( ) const
inline

is it an overlap region Sector Processor?

Definition at line 86 of file L1MuDTSectorProcessor.h.

References m_spid, and L1MuDTSecProcId::ovl().

Referenced by L1MuDTAssignmentUnit::getPtMethod(), L1MuDTSectorReceiver::receiveDTBXData(), and L1MuDTSectorReceiver::run().

86 { return m_spid.ovl(); }
bool ovl() const
is it an overlap region Sector Processor?
void L1MuDTSectorProcessor::print ( ) const

print muon candidates found by the Sector Processor

virtual void L1MuDTSectorProcessor::reset ( )
virtual

reset the Sector Processor

virtual void L1MuDTSectorProcessor::run ( int  bx,
const edm::Event e,
const edm::EventSetup c 
)
virtual

run the Sector Processor

const L1MuDTTrackAssembler* L1MuDTSectorProcessor::TA ( ) const
inline

return pointer to Track Assembler

Definition at line 96 of file L1MuDTSectorProcessor.h.

References m_TA.

Referenced by L1MuDTAssignmentUnit::getPtMethod(), L1MuDTAssignmentUnit::QuaAU(), and L1MuDTAssignmentUnit::run().

96 { return &m_TA; }
L1MuDTTrackAssembler m_TA
const L1MuDTTrackFinder& L1MuDTSectorProcessor::tf ( ) const
inline
const L1MuDTTrack* L1MuDTSectorProcessor::track ( int  id) const
inline

return pointer to muon candidate, index [0,1]

Definition at line 102 of file L1MuDTSectorProcessor.h.

References id(), and m_TrackCands.

Referenced by L1MuDTAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::PtAU(), L1MuDTAssignmentUnit::QuaAU(), L1MuDTEtaProcessor::receiveAddresses(), L1MuDTWedgeSorter::run(), and L1MuDTAssignmentUnit::run().

102 { return &m_TrackCands[id]; }
std::array< L1MuDTTrack, 2 > m_TrackCands
const L1MuDTSecProcId & id() const
return Sector Processor identifier
L1MuDTTrack* L1MuDTSectorProcessor::track ( int  id)
inline

Definition at line 103 of file L1MuDTSectorProcessor.h.

References id(), and m_TrackCands.

103 { return &m_TrackCands[id]; }
std::array< L1MuDTTrack, 2 > m_TrackCands
const L1MuDTSecProcId & id() const
return Sector Processor identifier
const L1MuDTTrack* L1MuDTSectorProcessor::tracK ( int  id) const
inline

return pointer to muon candidate, index [0,1]

Definition at line 106 of file L1MuDTSectorProcessor.h.

References id(), and m_TracKCands.

Referenced by L1MuDTAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::PtAU(), L1MuDTAssignmentUnit::QuaAU(), L1MuDTEtaProcessor::receiveAddresses(), and L1MuDTAssignmentUnit::run().

106 { return &m_TracKCands[id]; }
const L1MuDTSecProcId & id() const
return Sector Processor identifier
std::array< L1MuDTTrack, 2 > m_TracKCands
L1MuDTTrack* L1MuDTSectorProcessor::tracK ( int  id)
inline

Definition at line 107 of file L1MuDTSectorProcessor.h.

References id(), and m_TracKCands.

107 { return &m_TracKCands[id]; }
const L1MuDTSecProcId & id() const
return Sector Processor identifier
std::array< L1MuDTTrack, 2 > m_TracKCands

Member Data Documentation

std::array<L1MuDTAssignmentUnit, 2> L1MuDTSectorProcessor::m_AUs
private

Definition at line 121 of file L1MuDTSectorProcessor.h.

Referenced by AU().

L1MuDTDataBuffer L1MuDTSectorProcessor::m_DataBuffer
private

Definition at line 118 of file L1MuDTSectorProcessor.h.

Referenced by data().

L1MuDTExtrapolationUnit L1MuDTSectorProcessor::m_EU
private

Definition at line 119 of file L1MuDTSectorProcessor.h.

Referenced by EU().

L1MuDTSectorReceiver L1MuDTSectorProcessor::m_SectorReceiver
private

Definition at line 117 of file L1MuDTSectorProcessor.h.

L1MuDTSecProcId L1MuDTSectorProcessor::m_spid
private

Definition at line 115 of file L1MuDTSectorProcessor.h.

Referenced by brl(), id(), and ovl().

L1MuDTTrackAssembler L1MuDTSectorProcessor::m_TA
private

Definition at line 120 of file L1MuDTSectorProcessor.h.

Referenced by TA().

const L1MuDTTrackFinder& L1MuDTSectorProcessor::m_tf
private

Definition at line 114 of file L1MuDTSectorProcessor.h.

Referenced by tf().

std::array<L1MuDTTrack, 2> L1MuDTSectorProcessor::m_TrackCands
private

Definition at line 123 of file L1MuDTSectorProcessor.h.

Referenced by track().

std::array<L1MuDTTrack, 2> L1MuDTSectorProcessor::m_TracKCands
private

Definition at line 124 of file L1MuDTSectorProcessor.h.

Referenced by tracK().