CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCNeutronWriter.cc
Go to the documentation of this file.
4 #include <iostream>
5 
8 {
9  for(int i = 1; i <= 10; ++i)
10  {
11  initialize(i);
12  }
13 }
14 
15 
17 }
18 
19 
20 int CSCNeutronWriter::localDetId(int globalDetId) const
21 {
22  return CSCDetId(globalDetId).layer();
23 }
24 
25 
26 int CSCNeutronWriter::chamberType(int globalDetId) const
27 {
28  CSCDetId id(globalDetId);
30 }
31 
32 
33 int CSCNeutronWriter::chamberId(int globalDetId) const
34 {
35  return CSCDetId(globalDetId).chamberId().rawId();
36 }
37 
38 
int i
Definition: DBlmapReader.cc:9
virtual int chamberId(int globalDetId) const
void initialize(int chamberType)
good practice to do once for each chamber type
static int whatChamberType(int istation, int iring)
CSCNeutronWriter(edm::ParameterSet const &pset)
virtual int chamberType(int globalDetId) const
virtual ~CSCNeutronWriter()
doesn&#39;t have to be a producer. Can act as an analyzer, too.
virtual int localDetId(int globalDetId) const