Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
DTTrackFinder
src
L1MuDTExtrapolationUnit.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
21
//
22
//--------------------------------------------------
23
#ifndef L1MUDT_EXTRAPOLATION_UNIT_H
24
#define L1MUDT_EXTRAPOLATION_UNIT_H
25
26
//---------------
27
// C++ Headers --
28
//---------------
29
30
#include <utility>
31
#include <map>
32
#include <bitset>
33
34
//----------------------
35
// Base Class Headers --
36
//----------------------
37
38
#include "
L1Trigger/DTTrackFinder/interface/L1AbstractProcessor.h
"
39
40
//------------------------------------
41
// Collaborating Class Declarations --
42
//------------------------------------
43
44
#include "
CondFormats/L1TObjects/interface/L1MuDTExtParam.h
"
45
#include <
FWCore/Framework/interface/ESHandle.h
>
46
class
L1MuDTSectorProcessor
;
47
class
L1MuDTSEU
;
48
class
L1MuDTTFParameters
;
49
50
// ---------------------
51
// -- Class Interface --
52
// ---------------------
53
54
class
L1MuDTExtrapolationUnit
:
public
L1AbstractProcessor
{
55
56
public
:
57
58
typedef
std::pair<Extrapolation, unsigned int>
SEUId
;
59
typedef
std::map<SEUId, L1MuDTSEU*, std::less<SEUId> >
SEUmap
;
60
62
L1MuDTExtrapolationUnit
(
const
L1MuDTSectorProcessor
& );
63
65
virtual
~L1MuDTExtrapolationUnit
();
66
68
virtual
void
run
(
const
edm::EventSetup
&
c
);
69
71
virtual
void
reset
();
72
74
void
reset
(
Extrapolation
ext,
unsigned
int
startAdr,
unsigned
int
relAdr );
75
77
unsigned
short
int
getAddress
(
Extrapolation
ext,
unsigned
int
startAdr,
int
id
)
const
;
78
80
unsigned
short
int
getQuality
(
Extrapolation
ext,
unsigned
int
startAdr,
int
id
)
const
;
81
83
const
std::bitset<12>&
getEXTable
(
Extrapolation
ext,
unsigned
int
startAdr)
const
;
84
86
const
std::bitset<12>&
getQSTable
(
Extrapolation
ext,
unsigned
int
startAdr)
const
;
87
89
int
numberOfExt
()
const
;
90
92
void
print
(
int
level
=0)
const
;
93
95
static
std::pair<int,int>
which_ext
(
Extrapolation
ext);
96
97
private
:
98
99
const
L1MuDTSectorProcessor
&
m_sp
;
// reference to Sector Processor
100
101
mutable
SEUmap
m_SEUs
;
// Single Extrapolation Units
102
103
edm::ESHandle< L1MuDTTFParameters >
pars
;
104
105
};
106
107
#endif
L1MuDTExtrapolationUnit::getEXTable
const std::bitset< 12 > & getEXTable(Extrapolation ext, unsigned int startAdr) const
get Extrapolator table for a given SEU
Definition:
L1MuDTExtrapolationUnit.cc:236
L1MuDTExtrapolationUnit::SEUId
std::pair< Extrapolation, unsigned int > SEUId
Definition:
L1MuDTExtrapolationUnit.h:58
L1AbstractProcessor
Definition:
L1AbstractProcessor.h:36
L1MuDTExtrapolationUnit::reset
virtual void reset()
reset Extrapolation Unit
Definition:
L1MuDTExtrapolationUnit.cc:162
L1MuDTExtrapolationUnit::getQuality
unsigned short int getQuality(Extrapolation ext, unsigned int startAdr, int id) const
get extrapolation quality from a given ERS
Definition:
L1MuDTExtrapolationUnit.cc:213
L1AbstractProcessor.h
L1MuDTExtrapolationUnit::print
void print(int level=0) const
print all successful extrapolations
Definition:
L1MuDTExtrapolationUnit.cc:284
L1MuDTExtrapolationUnit::m_SEUs
SEUmap m_SEUs
Definition:
L1MuDTExtrapolationUnit.h:101
L1MuDTExtrapolationUnit::getQSTable
const std::bitset< 12 > & getQSTable(Extrapolation ext, unsigned int startAdr) const
get Quality Sorter table for a given SEU
Definition:
L1MuDTExtrapolationUnit.cc:252
L1MuDTExtrapolationUnit::m_sp
const L1MuDTSectorProcessor & m_sp
Definition:
L1MuDTExtrapolationUnit.h:99
L1MuDTExtrapolationUnit::L1MuDTExtrapolationUnit
L1MuDTExtrapolationUnit(const L1MuDTSectorProcessor &)
constructor
Definition:
L1MuDTExtrapolationUnit.cc:56
edm::ESHandle< L1MuDTTFParameters >
L1AbstractProcessor::run
virtual void run()
run processor logic
Definition:
L1AbstractProcessor.h:44
L1MuDTExtrapolationUnit::getAddress
unsigned short int getAddress(Extrapolation ext, unsigned int startAdr, int id) const
get extrapolation address from a given ERS
Definition:
L1MuDTExtrapolationUnit.cc:190
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
Extrapolation
Extrapolation
Definition:
L1MuDTExtParam.h:22
L1MuDTExtrapolationUnit
Definition:
L1MuDTExtrapolationUnit.h:54
L1MuDTExtParam.h
L1MuDTSectorProcessor
Definition:
L1MuDTSectorProcessor.h:54
L1MuDTExtrapolationUnit::which_ext
static std::pair< int, int > which_ext(Extrapolation ext)
return station of start and target track segment for a given extrapolation
Definition:
L1MuDTExtrapolationUnit.cc:338
L1MuDTExtrapolationUnit::pars
edm::ESHandle< L1MuDTTFParameters > pars
Definition:
L1MuDTExtrapolationUnit.h:103
trackerHits.c
tuple c
Definition:
trackerHits.py:26
L1MuDTExtrapolationUnit::numberOfExt
int numberOfExt() const
return number of successful extrapolations
Definition:
L1MuDTExtrapolationUnit.cc:268
L1MuDTExtrapolationUnit::~L1MuDTExtrapolationUnit
virtual ~L1MuDTExtrapolationUnit()
destructor
Definition:
L1MuDTExtrapolationUnit.cc:85
testEve_cfg.level
tuple level
Definition:
testEve_cfg.py:34
L1MuDTExtrapolationUnit::SEUmap
std::map< SEUId, L1MuDTSEU *, std::less< SEUId > > SEUmap
Definition:
L1MuDTExtrapolationUnit.h:59
L1MuDTSEU
Definition:
L1MuDTSEU.h:50
L1MuDTTFParameters
Definition:
L1MuDTTFParameters.h:38
Generated for CMSSW Reference Manual by
1.8.5