6 print(
"[customise_for_slice_test]: cloning unpacker and DTDigiTask + customising AB7 sequence and TP monitoring")
11 process.dtDigiMonitor.maxTDCHitsPerChamber = 5000
22 from EventFilter.DTRawToDigi.dturosunpacker_cfi
import dturosunpacker
23 process.dtAB7Unpacker = dturosunpacker.clone()
25 if hasattr(process,
"dtDQMTask"):
26 print(
"[customise_for_slice_test]: extending dtDQMTask sequence to include AB7 unpacker")
27 process.dtDQMTask.replace(process.dtDigiMonitor, process.dtDigiMonitor
28 + process.dtAB7Unpacker)
33 process.dtAB7DigiMonitor = dtDigiMonitor.clone(
34 dtDigiLabel =
"dtAB7Unpacker",
36 maxTDCHitsPerChamber = 5000
39 process.dtAB7DigiMonitor.performPerWireT0Calibration =
False 41 if hasattr(process,
"dtAB7Unpacker"):
42 print(
"[customise_for_slice_test]: extending dtDQMTask sequence to include AB7 digi monitoring")
43 process.dtDQMTask.replace(process.dtAB7Unpacker, process.dtAB7Unpacker
44 + process.dtAB7DigiMonitor)
48 print(
"[customise_for_slice_test]: customise dtTriggerBaseMonitor to include AB7 TP monitoring")
49 process.dtTriggerBaseMonitor.processAB7 =
True 52
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def customise_for_slice_test(process, enableDigis, enableTPs)