CMS 3D CMS Logo

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

#include <L1MuBMTrackFinder.h>

Public Types

typedef
l1t::RegionalMuonCandBxCollection::const_iterator 
TFtracks_const_iter
 container for muon candidates More...
 
typedef
l1t::RegionalMuonCandBxCollection::iterator 
TFtracks_iter
 

Public Member Functions

TFtracks_const_iter begin (int bx)
 
void clear ()
 
TFtracks_const_iter end (int bx)
 
const L1MuBMEtaProcessorep (int id) const
 get a pointer to an Eta Processor, index [0-11] More...
 
l1t::RegionalMuonCandBxCollectiongetcache ()
 
l1t::RegionalMuonCandBxCollectiongetcache0 ()
 
 L1MuBMTrackFinder (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC)
 constructor More...
 
const L1MuBMMuonSorterms () const
 get a pointer to the BM Muon Sorter More...
 
int numberOfTracks ()
 get number of muon candidates found by the barrel MTTF More...
 
int numberOfTracks (int bx)
 get number of muon candidates found by the barrel MTTF at a given bx More...
 
void reset ()
 reset the barrel MTTF More...
 
void run (const edm::Event &e, const edm::EventSetup &c)
 run the barrel MTTF More...
 
int setAdd (int ust, int rel_add)
 
void setup (edm::ConsumesCollector &&)
 build the structure of the barrel MTTF More...
 
const L1MuBMSectorProcessorsp (const L1MuBMSecProcId &) const
 get a pointer to a Sector Processor More...
 
const L1MuBMWedgeSorterws (int id) const
 get a pointer to a Wedge Sorter, index [0-11] More...
 
virtual ~L1MuBMTrackFinder ()
 destructor More...
 

Static Public Member Functions

static const L1MuBMTFConfigconfig ()
 return configuration More...
 

Private Member Functions

virtual void reconstruct (const edm::Event &e, const edm::EventSetup &c)
 run Track Finder and store candidates in cache More...
 

Private Attributes

l1t::RegionalMuonCandBxCollection _cache
 
l1t::RegionalMuonCandBxCollection _cache0
 
std::map< int, int > eta_map
 
edm::EDGetTokenT
< L1MuDTChambPhContainer
m_DTDigiToken
 
std::vector< L1MuBMEtaProcessor * > m_epvec
 Eta Processors. More...
 
L1MuBMMuonSorterm_ms
 BM Muon Sorter. More...
 
L1MuBMSecProcMapm_spmap
 Sector Processors. More...
 
std::vector< L1MuBMWedgeSorter * > m_wsvec
 Wedge Sorters. More...
 

Static Private Attributes

static L1MuBMTFConfigm_config = 0
 Track Finder configuration. More...
 

Detailed Description

L1 barrel Muon Trigger Track Finder (MTTF)

The barrel MTTF consists of:

N. Neumeister CERN EP J. Troconiz UAM Madrid

Definition at line 62 of file L1MuBMTrackFinder.h.

Member Typedef Documentation

container for muon candidates

Definition at line 67 of file L1MuBMTrackFinder.h.

Definition at line 68 of file L1MuBMTrackFinder.h.

Constructor & Destructor Documentation

L1MuBMTrackFinder::L1MuBMTrackFinder ( const edm::ParameterSet ps,
edm::ConsumesCollector &&  iC 
)

constructor

Definition at line 58 of file L1MuBMTrackFinder.cc.

L1MuBMTrackFinder::~L1MuBMTrackFinder ( )
virtual

destructor

Definition at line 80 of file L1MuBMTrackFinder.cc.

Member Function Documentation

L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::begin ( int  bx)

Definition at line 401 of file L1MuBMTrackFinder.cc.

void L1MuBMTrackFinder::clear ( void  )

Definition at line 415 of file L1MuBMTrackFinder.cc.

Referenced by L1TMuonBarrelTrackProducer::produce().

static const L1MuBMTFConfig* L1MuBMTrackFinder::config ( void  )
inlinestatic

return configuration

Definition at line 112 of file L1MuBMTrackFinder.h.

References m_config.

112 { return m_config; }
static L1MuBMTFConfig * m_config
Track Finder configuration.
L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::end ( int  bx)

Definition at line 408 of file L1MuBMTrackFinder.cc.

const L1MuBMEtaProcessor* L1MuBMTrackFinder::ep ( int  id) const
inline

get a pointer to an Eta Processor, index [0-11]

Definition at line 91 of file L1MuBMTrackFinder.h.

References m_epvec.

91 { return m_epvec[id]; }
std::vector< L1MuBMEtaProcessor * > m_epvec
Eta Processors.
l1t::RegionalMuonCandBxCollection& L1MuBMTrackFinder::getcache ( )
inline

Definition at line 116 of file L1MuBMTrackFinder.h.

References _cache.

Referenced by L1TMuonBarrelTrackProducer::produce().

116 { return _cache; }
l1t::RegionalMuonCandBxCollection _cache
l1t::RegionalMuonCandBxCollection& L1MuBMTrackFinder::getcache0 ( )
inline

Definition at line 117 of file L1MuBMTrackFinder.h.

References _cache0.

Referenced by L1TMuonBarrelTrackProducer::produce().

117 { return _cache0; }
l1t::RegionalMuonCandBxCollection _cache0
const L1MuBMMuonSorter* L1MuBMTrackFinder::ms ( ) const
inline

get a pointer to the BM Muon Sorter

Definition at line 97 of file L1MuBMTrackFinder.h.

References m_ms.

97 { return m_ms; }
L1MuBMMuonSorter * m_ms
BM Muon Sorter.
int L1MuBMTrackFinder::numberOfTracks ( )

get number of muon candidates found by the barrel MTTF

Definition at line 392 of file L1MuBMTrackFinder.cc.

Referenced by L1TMuonBarrelTrackProducer::produce().

int L1MuBMTrackFinder::numberOfTracks ( int  bx)

get number of muon candidates found by the barrel MTTF at a given bx

Definition at line 426 of file L1MuBMTrackFinder.cc.

virtual void L1MuBMTrackFinder::reconstruct ( const edm::Event e,
const edm::EventSetup c 
)
inlineprivatevirtual

run Track Finder and store candidates in cache

Definition at line 122 of file L1MuBMTrackFinder.h.

References reset(), and run().

122 { reset(); run(e,c); }
void run(const edm::Event &e, const edm::EventSetup &c)
run the barrel MTTF
void reset()
reset the barrel MTTF
void L1MuBMTrackFinder::reset ( void  )

reset the barrel MTTF

Definition at line 354 of file L1MuBMTrackFinder.cc.

Referenced by reconstruct().

void L1MuBMTrackFinder::run ( const edm::Event e,
const edm::EventSetup c 
)

run the barrel MTTF

Definition at line 152 of file L1MuBMTrackFinder.cc.

Referenced by L1TMuonBarrelTrackProducer::produce(), and reconstruct().

int L1MuBMTrackFinder::setAdd ( int  ust,
int  rel_add 
)
inline

Definition at line 435 of file L1MuBMTrackFinder.cc.

void L1MuBMTrackFinder::setup ( edm::ConsumesCollector &&  iC)

build the structure of the barrel MTTF

Definition at line 113 of file L1MuBMTrackFinder.cc.

Referenced by L1MuBMTFSetup::L1MuBMTFSetup().

const L1MuBMSectorProcessor * L1MuBMTrackFinder::sp ( const L1MuBMSecProcId id) const

get a pointer to a Sector Processor

Definition at line 382 of file L1MuBMTrackFinder.cc.

const L1MuBMWedgeSorter* L1MuBMTrackFinder::ws ( int  id) const
inline

get a pointer to a Wedge Sorter, index [0-11]

Definition at line 94 of file L1MuBMTrackFinder.h.

References m_wsvec.

94 { return m_wsvec[id]; }
std::vector< L1MuBMWedgeSorter * > m_wsvec
Wedge Sorters.

Member Data Documentation

l1t::RegionalMuonCandBxCollection L1MuBMTrackFinder::_cache
private

Definition at line 127 of file L1MuBMTrackFinder.h.

Referenced by getcache().

l1t::RegionalMuonCandBxCollection L1MuBMTrackFinder::_cache0
private

Definition at line 126 of file L1MuBMTrackFinder.h.

Referenced by getcache0().

std::map<int,int> L1MuBMTrackFinder::eta_map
private
Initial value:
={
{-32, -118}, {-31, -114}, {-30, -111}, {-29, -107}, {-28, -103}, {-27, -99}, {-26, -96}, {-25, -92}, {-24, -88},
{-23, -84}, {-22, -81}, {-21, -77}, {-20, -73}, {-19, -69}, {-18, -66}, {-17, -62}, {-16, -58}, {-15, -54}, {-14, -51},
{-13, -47}, {-12, -43}, {-11, -39}, {-10, -36}, {-9, -32}, {-8, -28}, {-7, -24}, {-6, -21}, {-5, -17}, {-4, -13},
{-3, -9}, {-2, -6}, {-1, -2}, {0, 0}, {1, 6}, {2, 9}, {3, 13}, {4, 17}, {5, 21}, {6, 24},
{7, 28}, {8, 32}, {9, 36}, {10, 39}, {11, 43}, {12, 47}, {13, 51}, {14, 54}, {15, 58}, {16, 62},
{17, 66}, {18, 69}, {19, 73}, {20, 77}, {21, 81}, {22, 84}, {23, 88}, {24, 92}, {25, 96},
{26, 99}, {27, 103}, {28, 107}, {29, 111}, {30, 114}, {31, 118}}

Definition at line 135 of file L1MuBMTrackFinder.h.

L1MuBMTFConfig * L1MuBMTrackFinder::m_config = 0
staticprivate

Track Finder configuration.

Definition at line 133 of file L1MuBMTrackFinder.h.

Referenced by config().

edm::EDGetTokenT<L1MuDTChambPhContainer> L1MuBMTrackFinder::m_DTDigiToken
private

Definition at line 145 of file L1MuBMTrackFinder.h.

std::vector<L1MuBMEtaProcessor*> L1MuBMTrackFinder::m_epvec
private

Eta Processors.

Definition at line 129 of file L1MuBMTrackFinder.h.

Referenced by ep().

L1MuBMMuonSorter* L1MuBMTrackFinder::m_ms
private

BM Muon Sorter.

Definition at line 131 of file L1MuBMTrackFinder.h.

Referenced by ms().

L1MuBMSecProcMap* L1MuBMTrackFinder::m_spmap
private

Sector Processors.

Definition at line 128 of file L1MuBMTrackFinder.h.

std::vector<L1MuBMWedgeSorter*> L1MuBMTrackFinder::m_wsvec
private

Wedge Sorters.

Definition at line 130 of file L1MuBMTrackFinder.h.

Referenced by ws().