Main Page
Namespaces
Classes
Package Documentation
DataFormats
L1TMuon
src
EMTFHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1TMuon/interface/EMTFHit.h
"
2
3
namespace
l1t
{
4
5
CSCDetId
EMTFHit::CreateCSCDetId
()
const
{
6
return
CSCDetId
( (
endcap
== 1) ? 1 : 2,
station
,
7
(
ring
== 4) ? 1 :
ring
,
chamber
, 0 );
8
// Layer always filled as 0 (indicates "whole chamber")
9
// See http://cmslxr.fnal.gov/source/L1Trigger/CSCTriggerPrimitives/src/CSCTriggerPrimitivesBuilder.cc#0198
10
}
11
12
// // Not yet implemented - AWB 15.03.17
13
// RPCDetId EMTFHit::CreateRPCDetId() const {
14
// return RPCDetId( endcap, ring, station, sector, rpc_layer, subsector, roll );
15
// }
16
17
CSCCorrelatedLCTDigi
EMTFHit::CreateCSCCorrelatedLCTDigi
()
const
{
18
return
CSCCorrelatedLCTDigi
( 1,
valid
,
quality
,
wire
,
strip
,
19
pattern
, (
bend
== 1) ? 1 : 0,
20
bx
+ 6, 0, 0,
sync_err
,
csc_ID
);
21
// Filling "trknmb" with 1 and "bx0" with 0 (as in MC).
22
// May consider filling "trknmb" with 2 for 2nd LCT in the same chamber. - AWB 24.05.17
23
// trknmb and bx0 are unused in the EMTF emulator code. mpclink = 0 (after bx) indicates unsorted.
24
}
25
26
// // Not yet implemented - AWB 15.03.17
27
// RPCDigi EMTFHit::CreateRPCDigi() const {
28
// return RPCDigi( (strip_hi + strip_lo) / 2, bx + 6 );
29
// }
30
31
}
// End namespace l1t
l1t::EMTFHit::station
int station
Definition:
EMTFHit.h:186
l1t::EMTFHit::ring
int ring
Definition:
EMTFHit.h:187
CSCDetId
Definition:
CSCDetId.h:26
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::EMTFHit::sync_err
int sync_err
Definition:
EMTFHit.h:212
l1t::EMTFHit::bend
int bend
Definition:
EMTFHit.h:210
l1t::EMTFHit::bx
int bx
Definition:
EMTFHit.h:214
l1t::EMTFHit::CreateCSCDetId
CSCDetId CreateCSCDetId() const
Definition:
EMTFHit.cc:5
l1t::EMTFHit::CreateCSCCorrelatedLCTDigi
CSCCorrelatedLCTDigi CreateCSCCorrelatedLCTDigi() const
Definition:
EMTFHit.cc:17
l1t::EMTFHit::pattern
int pattern
Definition:
EMTFHit.h:209
l1t::EMTFHit::endcap
int endcap
Definition:
EMTFHit.h:185
l1t::EMTFHit::strip
int strip
Definition:
EMTFHit.h:204
l1t::EMTFHit::wire
int wire
Definition:
EMTFHit.h:203
l1t::EMTFHit::quality
int quality
Definition:
EMTFHit.h:208
l1t::EMTFHit::valid
int valid
Definition:
EMTFHit.h:211
l1t::EMTFHit::chamber
int chamber
Definition:
EMTFHit.h:193
CSCCorrelatedLCTDigi
Definition:
CSCCorrelatedLCTDigi.h:18
EMTFHit.h
l1t::EMTFHit::csc_ID
int csc_ID
Definition:
EMTFHit.h:194
Generated for CMSSW Reference Manual by
1.8.11