Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DataFormats
L1GlobalMuonTrigger
src
L1MuGMTReadoutCollection.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: DataFormats/L1GlobalMuonTrigger
4
// Class : L1MuGMTReadoutCollection
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Christopher Jones
10
// Created: Mon, 04 Nov 2013 17:08:29 GMT
11
//
12
13
// system include files
14
#include "oneapi/tbb/concurrent_unordered_map.h"
15
16
// user include files
17
#include "
DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h
"
18
19
static
tbb::concurrent_unordered_map<int, L1MuGMTReadoutRecord>
s_empty_record_cache
;
20
21
L1MuGMTReadoutRecord
const
&
L1MuGMTReadoutCollection::getDefaultFor
(
int
bx
) {
22
// if bx not found return empty readout record
23
auto
itFound =
s_empty_record_cache
.find(
bx
);
24
if
(itFound ==
s_empty_record_cache
.end()) {
25
auto
foundPair =
s_empty_record_cache
.insert(std::make_pair(
bx
,
L1MuGMTReadoutRecord
(
bx
)));
26
itFound = foundPair.first;
27
}
28
return
itFound->second;
29
}
L1MuGMTReadoutRecord
Definition:
L1MuGMTReadoutRecord.h:44
L1MuGMTReadoutCollection.h
simKBmtfDigis_cfi.bx
bx
Definition:
simKBmtfDigis_cfi.py:55
s_empty_record_cache
static tbb::concurrent_unordered_map< int, L1MuGMTReadoutRecord > s_empty_record_cache
Definition:
L1MuGMTReadoutCollection.cc:19
L1MuGMTReadoutCollection::getDefaultFor
static L1MuGMTReadoutRecord const & getDefaultFor(int bx)
Definition:
L1MuGMTReadoutCollection.cc:21
Generated for CMSSW Reference Manual by
1.8.14