CMS 3D CMS Logo

MuonSimHitNumberingScheme.cc
Go to the documentation of this file.
10 
12  theDetector = d;
13  if (theDetector->isBarrel()) {
14  theNumbering = new DTNumberingScheme(muonConstants);
15  } else if (theDetector->isEndcap()) {
16  theNumbering = new CSCNumberingScheme(muonConstants);
17  } else if (theDetector->isRPC()) {
18  theNumbering = new RPCNumberingScheme(muonConstants);
19  } else if (theDetector->isGEM()) {
20  theNumbering = new GEMNumberingScheme(muonConstants);
21  } else if (theDetector->isME0()) {
22  theNumbering = new ME0NumberingScheme(muonConstants);
23  }
24 }
25 
27 
29  if (theNumbering) {
31  } else {
32  return 0;
33  }
34 }
int baseNumberToUnitNumber(const MuonBaseNumber &) const override
MuonSimHitNumberingScheme(MuonSubDetector *, const MuonGeometryConstants &muonConstants)
d
Definition: ztail.py:151
virtual int baseNumberToUnitNumber(const MuonBaseNumber &) const
MuonNumberingScheme * theNumbering