CMS 3D CMS Logo

Functions | Variables
MuonGeometrySanityCheck_cfi Namespace Reference

Functions

def detectors (dt=True, csc=True, me42=False, chambers=True, superlayers=False, layers=False)
 

Variables

 MuonGeometrySanityCheck
 

Function Documentation

def MuonGeometrySanityCheck_cfi.detectors (   dt = True,
  csc = True,
  me42 = False,
  chambers = True,
  superlayers = False,
  layers = False 
)

Definition at line 13 of file MuonGeometrySanityCheck_cfi.py.

References list(), and genParticles_cff.map.

Referenced by MTDCPEBase.fillDetParams(), and TrackingMaterialAnalyser.split().

13 def detectors(dt=True, csc=True, me42=False, chambers=True, superlayers=False, layers=False):
14  output = []
15  if dt:
16  for wheelName in "-2", "-1", "0", "+1", "+2":
17  for stationName in "1", "2", "3", "4":
18  numSectors = 12
19  if stationName == "4": numSectors = 14
20  for sectorName in map(str, list(range(1, numSectors+1))):
21  name = "MB" + wheelName + "/" + stationName + "/" + sectorName
22  if chambers: output.append(name)
23 
24  superlayerNames = "1", "2", "3"
25  if stationName == "4": superlayerNames = "1", "3"
26  for superlayerName in superlayerNames:
27  name = "MB" + wheelName + "/" + stationName + "/" + sectorName + "/" + superlayerName
28  if superlayers: output.append(name)
29 
30  for layerName in "1", "2", "3", "4":
31  name = "MB" + wheelName + "/" + stationName + "/" + sectorName + "/" + superlayerName + "/" + layerName
32  if layers: output.append(name)
33 
34  if csc:
35  for stationName in "-4", "-3", "-2", "-1", "+1", "+2", "+3", "+4":
36  ringNames = "1", "2"
37  if stationName in ("-1", "+1"): ringNames = "1", "2", "3", "4"
38  for ringName in ringNames:
39  numChambers = 36
40  if stationName + "/" + ringName in ("-4/1", "-3/1", "-2/1", "+2/1", "+3/1", "+4/1"): numChambers = 18
41  for chamberName in map(str, list(range(1, numChambers+1))):
42  name = "ME" + stationName + "/" + ringName + "/" + chamberName
43  if chambers:
44  if me42 or stationName + "/" + ringName not in ("-4/2", "+4/2"):
45  output.append(name)
46 
47  for layerName in "1", "2", "3", "4", "5", "6":
48  name = "ME" + stationName + "/" + ringName + "/" + chamberName + "/" + layerName
49  if layers:
50  if me42 or stationName + "/" + ringName not in ("-4/2", "+4/2"):
51  output.append(name)
52 
53  return output
54 
def detectors(dt=True, csc=True, me42=False, chambers=True, superlayers=False, layers=False)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run

Variable Documentation

MuonGeometrySanityCheck_cfi.MuonGeometrySanityCheck
Initial value:
1 = cms.EDAnalyzer(
2  "MuonGeometrySanityCheck",
3  printout = cms.string("all"),
4  tolerance = cms.double(1e-6),
5  prefix = cms.string("CHECK"),
6  frames = cms.VPSet(),
7  points = cms.VPSet(),
8  )

Definition at line 4 of file MuonGeometrySanityCheck_cfi.py.