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
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
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
SimMuon
CSCDigitizer
src
CSCNeutronWriter.cc
Go to the documentation of this file.
1
#include "
DataFormats/MuonDetId/interface/CSCDetId.h
"
2
#include "
Geometry/CSCGeometry/interface/CSCChamberSpecs.h
"
3
#include "
SimMuon/CSCDigitizer/src/CSCNeutronWriter.h
"
4
#include <iostream>
5
6
CSCNeutronWriter::CSCNeutronWriter
(
edm::ParameterSet
const
&
pset
) :
SubsystemNeutronWriter
(
pset
) {
7
for
(
int
i
= 1;
i
<= 10; ++
i
) {
8
initialize
(
i
);
9
}
10
}
11
12
CSCNeutronWriter::~CSCNeutronWriter
() {}
13
14
int
CSCNeutronWriter::localDetId
(
int
globalDetId)
const
{
return
CSCDetId
(globalDetId).
layer
(); }
15
16
int
CSCNeutronWriter::chamberType
(
int
globalDetId)
const
{
17
CSCDetId
id
(globalDetId);
18
return
CSCChamberSpecs::whatChamberType
(
id
.
station
(),
id
.
ring
());
19
}
20
21
int
CSCNeutronWriter::chamberId
(
int
globalDetId)
const
{
return
CSCDetId
(globalDetId).
chamberId
().
rawId
(); }
mps_fire.i
i
Definition:
mps_fire.py:428
CSCNeutronWriter::chamberType
int chamberType(int globalDetId) const override
Definition:
CSCNeutronWriter.cc:16
SubsystemNeutronWriter::initialize
void initialize(int chamberType)
good practice to do once for each chamber type
Definition:
SubsystemNeutronWriter.cc:101
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
CSCNeutronWriter.h
CSCDetId.h
CSCDetId::layer
int layer() const
Definition:
CSCDetId.h:56
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCNeutronWriter::chamberId
int chamberId(int globalDetId) const override
Definition:
CSCNeutronWriter.cc:21
CSCDetId
Definition:
CSCDetId.h:26
CSCDetId::chamberId
CSCDetId chamberId() const
Definition:
CSCDetId.h:47
CSCChamberSpecs::whatChamberType
static int whatChamberType(int istation, int iring)
Definition:
CSCChamberSpecs.cc:164
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition:
DetId.h:57
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:31
CSCNeutronWriter::localDetId
int localDetId(int globalDetId) const override
Definition:
CSCNeutronWriter.cc:14
CSCNeutronWriter::CSCNeutronWriter
CSCNeutronWriter(edm::ParameterSet const &pset)
Definition:
CSCNeutronWriter.cc:6
relativeConstraints.ring
ring
Definition:
relativeConstraints.py:68
SubsystemNeutronWriter
doesn't have to be a producer. Can act as an analyzer, too.
Definition:
SubsystemNeutronWriter.h:28
CSCChamberSpecs.h
CSCNeutronWriter::~CSCNeutronWriter
~CSCNeutronWriter() override
Definition:
CSCNeutronWriter.cc:12
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16