CMS 3D CMS Logo

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

#include <L1MuBMSectorProcessor.h>

Public Member Functions

const L1MuBMAssignmentUnitAU (int id) const
 return pointer to Assignment Unit, index [0,1] More...
 
bool brl () const
 is it a barrel-only Sector Processor? More...
 
const L1MuBMDataBufferdata () const
 return pointer to Data Buffer More...
 
L1MuBMDataBufferdata ()
 
const L1MuBMExtrapolationUnitEU () const
 return pointer to Extrapolation Unit More...
 
const L1MuBMSecProcIdid () const
 return Sector Processor identifier More...
 
 L1MuBMSectorProcessor (const L1MuBMTrackFinder &, const L1MuBMSecProcId &, edm::ConsumesCollector &&)
 constructor More...
 
const L1MuBMSectorProcessorneighbour () 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 L1MuBMTrackAssemblerTA () const
 return pointer to Track Assembler More...
 
const L1MuBMTrackFindertf () const
 return reference to barrel MTTF More...
 
L1MuBMTracktrack (int id) const
 return pointer to muon candidate, index [0,1] More...
 
L1MuBMTracktracK (int id) const
 return pointer to muon candidate, index [0,1] More...
 
virtual ~L1MuBMSectorProcessor ()
 destructor More...
 

Private Member Functions

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

Private Attributes

std::vector
< L1MuBMAssignmentUnit * > 
m_AUs
 
L1MuBMDataBufferm_DataBuffer
 
L1MuBMExtrapolationUnitm_EU
 
L1MuBMSectorReceiverm_SectorReceiver
 
L1MuBMSecProcId m_spid
 
L1MuBMTrackAssemblerm_TA
 
const L1MuBMTrackFinderm_tf
 
std::vector< L1MuBMTrack * > m_TrackCands
 
std::vector< L1MuBMTrack * > m_TracKCands
 

Detailed Description

Sector Processor:

A Sector Processor consists of:

N. Neumeister CERN EP J. Troconiz UAM Madrid

Definition at line 54 of file L1MuBMSectorProcessor.h.

Constructor & Destructor Documentation

L1MuBMSectorProcessor::L1MuBMSectorProcessor ( const L1MuBMTrackFinder tf,
const L1MuBMSecProcId id,
edm::ConsumesCollector &&  iC 
)

constructor

Definition at line 53 of file L1MuBMSectorProcessor.cc.

L1MuBMSectorProcessor::~L1MuBMSectorProcessor ( )
virtual

destructor

Definition at line 85 of file L1MuBMSectorProcessor.cc.

Member Function Documentation

bool L1MuBMSectorProcessor::anyTrack ( ) const
private

are there any non-empty muon candidates?

Definition at line 243 of file L1MuBMSectorProcessor.cc.

const L1MuBMAssignmentUnit* L1MuBMSectorProcessor::AU ( int  id) const
inline

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

Definition at line 99 of file L1MuBMSectorProcessor.h.

References id(), and m_AUs.

99 { return m_AUs[id]; }
const L1MuBMSecProcId & id() const
return Sector Processor identifier
std::vector< L1MuBMAssignmentUnit * > m_AUs
bool L1MuBMSectorProcessor::brl ( ) const
inline

is it a barrel-only Sector Processor?

Definition at line 83 of file L1MuBMSectorProcessor.h.

References m_spid, and L1MuBMSecProcId::ovl().

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

return pointer to Data Buffer

Definition at line 89 of file L1MuBMSectorProcessor.h.

References m_DataBuffer.

Referenced by L1MuBMSEU::run().

89 { return m_DataBuffer; }
L1MuBMDataBuffer * m_DataBuffer
L1MuBMDataBuffer* L1MuBMSectorProcessor::data ( )
inline

Definition at line 90 of file L1MuBMSectorProcessor.h.

References m_DataBuffer.

90 { return m_DataBuffer; }
L1MuBMDataBuffer * m_DataBuffer
const L1MuBMExtrapolationUnit* L1MuBMSectorProcessor::EU ( ) const
inline

return pointer to Extrapolation Unit

Definition at line 93 of file L1MuBMSectorProcessor.h.

References m_EU.

93 { return m_EU; }
L1MuBMExtrapolationUnit * m_EU
const L1MuBMSecProcId& L1MuBMSectorProcessor::id ( void  ) const
inline

return Sector Processor identifier

Definition at line 77 of file L1MuBMSectorProcessor.h.

References m_spid.

Referenced by AU(), track(), and tracK().

77 { return m_spid; }
const L1MuBMSectorProcessor * L1MuBMSectorProcessor::neighbour ( ) const

return pointer to the next wheel neighbour

Definition at line 221 of file L1MuBMSectorProcessor.cc.

bool L1MuBMSectorProcessor::ovl ( ) const
inline

is it an overlap region Sector Processor?

Definition at line 86 of file L1MuBMSectorProcessor.h.

References m_spid, and L1MuBMSecProcId::ovl().

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

print muon candidates found by the Sector Processor

Definition at line 204 of file L1MuBMSectorProcessor.cc.

void L1MuBMSectorProcessor::reset ( void  )
virtual

reset the Sector Processor

Definition at line 185 of file L1MuBMSectorProcessor.cc.

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

run the Sector Processor

Definition at line 107 of file L1MuBMSectorProcessor.cc.

const L1MuBMTrackAssembler* L1MuBMSectorProcessor::TA ( ) const
inline

return pointer to Track Assembler

Definition at line 96 of file L1MuBMSectorProcessor.h.

References m_TA.

96 { return m_TA; }
L1MuBMTrackAssembler * m_TA
const L1MuBMTrackFinder& L1MuBMSectorProcessor::tf ( ) const
inline

return reference to barrel MTTF

Definition at line 80 of file L1MuBMSectorProcessor.h.

References m_tf.

80 { return m_tf; }
const L1MuBMTrackFinder & m_tf
L1MuBMTrack* L1MuBMSectorProcessor::track ( int  id) const
inline

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

Definition at line 102 of file L1MuBMSectorProcessor.h.

References id(), and m_TrackCands.

102 { return m_TrackCands[id]; }
std::vector< L1MuBMTrack * > m_TrackCands
const L1MuBMSecProcId & id() const
return Sector Processor identifier
L1MuBMTrack* L1MuBMSectorProcessor::tracK ( int  id) const
inline

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

Definition at line 105 of file L1MuBMSectorProcessor.h.

References id(), and m_TracKCands.

105 { return m_TracKCands[id]; }
std::vector< L1MuBMTrack * > m_TracKCands
const L1MuBMSecProcId & id() const
return Sector Processor identifier

Member Data Documentation

std::vector<L1MuBMAssignmentUnit*> L1MuBMSectorProcessor::m_AUs
private

Definition at line 121 of file L1MuBMSectorProcessor.h.

Referenced by AU().

L1MuBMDataBuffer* L1MuBMSectorProcessor::m_DataBuffer
private

Definition at line 118 of file L1MuBMSectorProcessor.h.

Referenced by data().

L1MuBMExtrapolationUnit* L1MuBMSectorProcessor::m_EU
private

Definition at line 119 of file L1MuBMSectorProcessor.h.

Referenced by EU().

L1MuBMSectorReceiver* L1MuBMSectorProcessor::m_SectorReceiver
private

Definition at line 117 of file L1MuBMSectorProcessor.h.

L1MuBMSecProcId L1MuBMSectorProcessor::m_spid
private

Definition at line 115 of file L1MuBMSectorProcessor.h.

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

L1MuBMTrackAssembler* L1MuBMSectorProcessor::m_TA
private

Definition at line 120 of file L1MuBMSectorProcessor.h.

Referenced by TA().

const L1MuBMTrackFinder& L1MuBMSectorProcessor::m_tf
private

Definition at line 114 of file L1MuBMSectorProcessor.h.

Referenced by tf().

std::vector<L1MuBMTrack*> L1MuBMSectorProcessor::m_TrackCands
private

Definition at line 123 of file L1MuBMSectorProcessor.h.

Referenced by track().

std::vector<L1MuBMTrack*> L1MuBMSectorProcessor::m_TracKCands
private

Definition at line 124 of file L1MuBMSectorProcessor.h.

Referenced by tracK().