CMS 3D CMS Logo

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

Functions

def appendCSCChamberMaskerAtUnpacking
 
def maskExperimentalME11ChambersRun2
 

Function Documentation

def customCSCChamberMasker.appendCSCChamberMaskerAtUnpacking (   process)

Definition at line 4 of file customCSCChamberMasker.py.

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

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

Definition at line 27 of file customCSCChamberMasker.py.

References appendCSCChamberMaskerAtUnpacking().

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