CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
customCSCChamberMasker Namespace Reference

Functions

def appendCSCChamberMaskerAtUnpacking (process)
 
def maskExperimentalME11ChambersRun2 (process)
 

Function Documentation

◆ appendCSCChamberMaskerAtUnpacking()

def customCSCChamberMasker.appendCSCChamberMaskerAtUnpacking (   process)

Definition at line 4 of file customCSCChamberMasker.py.

Referenced by customiseForMuonAging.enableAgingAtReco(), and maskExperimentalME11ChambersRun2().

5 
6  if hasattr(process,'muonCSCDigis') :
7 
8  # clone the original producer
9  process.preCSCDigis = process.muonCSCDigis.clone()
10  # now apply the filter
11  process.muonCSCDigis = cscDigiFilterDef.clone(
12  stripDigiTag = "preCSCDigis:MuonCSCStripDigi",
13  wireDigiTag = "preCSCDigis:MuonCSCWireDigi",
14  comparatorDigiTag = "preCSCDigis:MuonCSCComparatorDigi",
15  alctDigiTag = "preCSCDigis:MuonCSCALCTDigi",
16  clctDigiTag = "preCSCDigis:MuonCSCCLCTDigi",
17  lctDigiTag = "preCSCDigis:MuonCSCCorrelatedLCTDigi",
18  showerDigiTag = "preCSCDigis:MuonCSCShowerDigi",
19  gemPadClusterDigiTag = "preCSCDigis:MuonGEMPadDigiCluster",
20  maskedChambers = [],
21  selectedChambers = []
22  )
23  process.RawToDigiTask.add(process.preCSCDigis)
24 
25  return process
26 
def appendCSCChamberMaskerAtUnpacking(process)

◆ maskExperimentalME11ChambersRun2()

def customCSCChamberMasker.maskExperimentalME11ChambersRun2 (   process)

Definition at line 27 of file customCSCChamberMasker.py.

References appendCSCChamberMaskerAtUnpacking().

28  process = appendCSCChamberMaskerAtUnpacking(process)
29  # these 3 chambers had Phase-2 firmware loaded partially during Run-2
30  process.muonCSCDigis.maskedChambers = [
31  "ME+1/1/9", "ME+1/1/10", "ME+1/1/11"]
32 
def maskExperimentalME11ChambersRun2(process)
def appendCSCChamberMaskerAtUnpacking(process)