CMS 3D CMS Logo

Functions
slice_test_customizations_cff Namespace Reference

Functions

def customise_for_slice_test (process)
 

Function Documentation

◆ customise_for_slice_test()

def slice_test_customizations_cff.customise_for_slice_test (   process)

Definition at line 4 of file slice_test_customizations_cff.py.

4 def customise_for_slice_test(process):
5 
6  print("[customise_for_slice_test]: cloning unpacker and DTDigiTask + customising AB7 sequence")
7 
8  # This is commented out as the AB7 unpacker is not in CMSSW
9  # at present, the following lines need to be uncommented in the P5 setup
10 
11  # from EventFilter.DTRawToDigi.dtab7unpacker_cfi import dtAB7unpacker
12  # process.dtAB7Unpacker = dtAB7unpacker.clone()
13 
14  # Here using the uROS unpacker as proxy, the following lines
15  # need to be commented out in the setup running @ P5
16 
17  from EventFilter.DTRawToDigi.dturosunpacker_cfi import dturosunpacker
18  process.dtAB7Unpacker = dturosunpacker.clone()
19 
20  from DQM.DTMonitorModule.dtDigiTask_cfi import dtDigiMonitor
21  process.dtAB7DigiMonitor = dtDigiMonitor.clone()
22 
23  process.dtAB7DigiMonitor.dtDigiLabel = cms.InputTag("dtAB7Unpacker")
24  process.dtAB7DigiMonitor.sliceTestMode = True
25 
26  process.dtAB7DigiMonitor.performPerWireT0Calibration = False
27 
28  if hasattr(process,"dtDQMTask") :
29  print("[customise_for_slice_test]: extending dtDQMTask sequence to include AB7 monitoring")
30  process.dtDQMTask.replace(process.dtDigiMonitor, process.dtDigiMonitor +\
31  process.dtAB7Unpacker +\
32  process.dtAB7DigiMonitor)
33 
34  return process

References edm.print().

slice_test_customizations_cff.customise_for_slice_test
def customise_for_slice_test(process)
Definition: slice_test_customizations_cff.py:4
edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
dtDigiTask_cfi