예제 #1
0
dtTPTriggerMonitor = cms.EDAnalyzer("DTLocalTriggerTask",
    # set static booking (all the detector)
    staticBooking = cms.untracked.bool(True),
    # labels of DDU/TM data and 4D segments
    tm_labelIn = cms.untracked.string('twinMuxStage2Digis:PhIn'),
    tm_labelOut = cms.untracked.string('twinMuxStage2Digis:PhOut'),
    ros_label = cms.untracked.string('dtunpacker'),
    seg_label = cms.untracked.string('dt4DSegments'),
    minBXDDU = cms.untracked.int32(0),  # min BX for DDU plots
    maxBXDDU = cms.untracked.int32(20), # max BX for DDU plots
    minBXTM = cms.untracked.int32(0), # min BX for TM plots
    maxBXTM = cms.untracked.int32(2),  # max BX for TM plots
    process_seg = cms.untracked.bool(False), # if true enables comparisons with reconstructed segments    
    process_ddu = cms.untracked.bool(True),  # if true enables DDU data analysis
    process_tm = cms.untracked.bool(True),  # if true enables TM data analysis
    testPulseMode = cms.untracked.bool(True), #if true enables test pulse mode
    detailedAnalysis = cms.untracked.bool(False), #if true enables detailed analysis plots
    enableTMTheta = cms.untracked.bool(False), # if true enables theta plots for TM
    localrun = cms.untracked.bool(True), # if false access LTC digis
    # number of luminosity blocks to reset the histos
    ResetCycle = cms.untracked.int32(10000)
)

#
# Modify for running in run 2 2016 data
#
from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify( dtTPTriggerMonitor, process_ddu = cms.untracked.bool(False))

예제 #2
0
import FWCore.ParameterSet.Config as cms

triggerEfficiencyTest = cms.EDAnalyzer(
    "DTLocalTriggerEfficiencyTest",
    # prescale factor (in luminosity blocks) to perform client analysis
    diagnosticPrescale=cms.untracked.int32(1),
    # run in online environment
    runOnline=cms.untracked.bool(True),
    # kind of trigger data processed by DTLocalTriggerTask
    hwSources=cms.untracked.vstring('TM', 'DDU'),
    # false if DTLocalTriggerTask used LTC digis
    localrun=cms.untracked.bool(True),
    # root folder for booking of histograms
    folderRoot=cms.untracked.string(''))

from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify(triggerEfficiencyTest,
                            hwSources=cms.untracked.vstring('TM'))
예제 #3
0
dtTriggerEfficiencyMonitor = cms.EDAnalyzer(
    "DTTriggerEfficiencyTask",
    # label for muons
    inputTagMuons=cms.untracked.InputTag('muons'),
    SegmArbitration=cms.untracked.string("SegmentAndTrackArbitration"),

    # labels of DDU/TM data and 4D segments
    inputTagTM=cms.untracked.InputTag('dttfDigis'),
    #    inputTagTM = cms.untracked.InputTag('dttfDigis'),
    inputTagDDU=cms.untracked.InputTag('muonDTDigis'),
    inputTagSEG=cms.untracked.InputTag('dt4DSegments'),
    inputTagGMT=cms.untracked.InputTag('gtDigis'),
    processDDU=cms.untracked.bool(True),  # if true enables DDU data analysis
    processTM=cms.untracked.bool(True),  # if true enables TM data analysis
    minBXDDU=cms.untracked.int32(7),  # min BX for DDU eff computation
    maxBXDDU=cms.untracked.int32(15),  # max BX for DDU eff computation
    checkRPCtriggers=cms.untracked.bool(True),
    nMinHitsPhi=cms.untracked.int32(5),
    phiAccRange=cms.untracked.double(30.),
    detailedAnalysis=cms.untracked.bool(
        False),  #if true enables detailed analysis plots
)

#
# Modify for running in run 2 2016 data
#
from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify(dtTriggerEfficiencyMonitor,
                            checkRPCtriggers=cms.untracked.bool(False),
                            processDDU=cms.untracked.bool(False))
예제 #4
0
dtTriggerMonitor = cms.EDAnalyzer("DTLocalTriggerTask",
    # set static booking (all the detector)
    staticBooking = cms.untracked.bool(True),
    # labels of DDU/TM data and 4D segments
    tm_label = cms.untracked.string('twinMuxStage2Digis:PhIn'),
    tmTh_label = cms.untracked.InputTag("twinMuxStage2Digis","ThIn"),
    ros_label = cms.untracked.string('dtunpacker'),
    seg_label = cms.untracked.string('dt4DSegments'),
    minBXDDU = cms.untracked.int32(0),  # min BX for DDU plots
    maxBXDDU = cms.untracked.int32(20), # max BX for DDU plots
    maxBXTM = cms.untracked.int32(2),  # max BX for TM plots
    minBXTM = cms.untracked.int32(0), # min BX for TM plots
    process_seg = cms.untracked.bool(False), # if true enables comparisons with reconstructed segments    
    process_ddu = cms.untracked.bool(False),  # if true enables DDU data analysis
    process_tm = cms.untracked.bool(True), # if true enables TM data analysis
    testPulseMode = cms.untracked.bool(False), # if true enables test pluse mode
    detailedAnalysis = cms.untracked.bool(False), #if true enables detailed analysis plots
    enableTMTheta = cms.untracked.bool(True), # if true enables theta plots for TM
    localrun = cms.untracked.bool(True), # if false access LTC digis
    # number of luminosity blocks to reset the histos
    ResetCycle = cms.untracked.int32(10000)
)

#
# Modify for running in run 2 2016 data
#
from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify( dtTriggerMonitor, process_ddu = cms.untracked.bool(False))

예제 #5
0
dtTriggerEfficiencyMonitor = cms.EDAnalyzer("DTTriggerEfficiencyTask",
    # label for muons
    inputTagMuons = cms.untracked.InputTag('muons'),

    SegmArbitration = cms.untracked.string("SegmentAndTrackArbitration"),

    # labels of DDU/TM data and 4D segments
    inputTagTM = cms.untracked.InputTag('dttfDigis'),
#    inputTagTM = cms.untracked.InputTag('dttfDigis'),
    inputTagDDU = cms.untracked.InputTag('muonDTDigis'),
    inputTagSEG = cms.untracked.InputTag('dt4DSegments'),
    inputTagGMT = cms.untracked.InputTag('gtDigis'),
    processDDU = cms.untracked.bool(True),  # if true enables DDU data analysis
    processTM = cms.untracked.bool(True), # if true enables TM data analysis
    minBXDDU = cms.untracked.int32(7),  # min BX for DDU eff computation
    maxBXDDU = cms.untracked.int32(15), # max BX for DDU eff computation

    checkRPCtriggers = cms.untracked.bool(True),
    nMinHitsPhi = cms.untracked.int32(5),
    phiAccRange = cms.untracked.double(30.),

    detailedAnalysis = cms.untracked.bool(False), #if true enables detailed analysis plots
)

#
# Modify for running in run 2 2016 data
#
from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify( dtTriggerEfficiencyMonitor, checkRPCtriggers = cms.untracked.bool(False),processDDU = cms.untracked.bool(False))
예제 #6
0
import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos, "HFDigiTime", 11, verbose=False)
HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos, "HBHEFlatNoise", 12)
HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos, "HBHENegativeNoise", 12)

#--- Subsequent era-wise HCAL data-specific flags customization

from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific


def _modName(algos):
    HcalRemoveAddSevLevel.AddFlag(algos, "HBHEFlatNoise", 8)
    HcalRemoveAddSevLevel.AddFlag(algos, "HFDigiTime", 8)


run2_25ns_specific.toModify(hcalRecAlgos, _modName)

from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017


def _modName(algos):
    HcalRemoveAddSevLevel.RemoveFlag(algos, "HFDigiTime")


run2_HCAL_2017.toModify(hcalRecAlgos, _modName)

#--- NB: MC and data get back in sync for >= Run3  ------------------------
from Configuration.Eras.Modifier_run3_HB_cff import run3_HB


def _modName(algos):
예제 #7
0
import FWCore.ParameterSet.Config as cms

triggerEffTest = cms.EDAnalyzer("DTTriggerEfficiencyTest",
    # prescale factor (in luminosity blocks) to perform client analysis
    diagnosticPrescale = cms.untracked.int32(1),
    # run in online environment
    runOnline = cms.untracked.bool(False),
    # kind of trigger data processed by DTLocalTriggerTask
    hwSources = cms.untracked.vstring('TM','DDU'),
    # false if DTLocalTriggerTask used LTC digis
    localrun = cms.untracked.bool(True),
    # root folder for booking of histograms
    folderRoot = cms.untracked.string(''),
    #enable generation of chamber granularity plots
    detailedAnalysis = cms.untracked.bool(False)                                  
)

from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify( triggerEffTest,hwSources = cms.untracked.vstring('TM') )

예제 #8
0
import FWCore.ParameterSet.Config as cms

dtTriggerBaseMonitor = cms.EDAnalyzer("DTLocalTriggerBaseTask",
    testPulseMode = cms.untracked.bool(False),
    detailedAnalysis = cms.untracked.bool(False),
    targetBXTM = cms.untracked.int32(0), 
    targetBXDDU = cms.untracked.int32(9),
    bestTrigAccRange = cms.untracked.int32(3),
    processDDU = cms.untracked.bool(True),
    processTM = cms.untracked.bool(True),
    nTimeBins = cms.untracked.int32(100),
    nLSTimeBin = cms.untracked.int32(15),    
    ResetCycle = cms.untracked.int32(9999),
    inputTagTM = cms.untracked.InputTag('twinMuxStage2Digis:PhIn'),
    inputTagTMphIn = cms.untracked.InputTag('twinMuxStage2Digis:PhIn'),
    inputTagTMphOut = cms.untracked.InputTag('twinMuxStage2Digis:PhOut'),
    inputTagTMth = cms.untracked.InputTag('twinMuxStage2Digis:ThIn'),
    inputTagDDU = cms.untracked.InputTag('dtunpacker'),
    minBXDDU = cms.untracked.int32(0), 
    maxBXDDU = cms.untracked.int32(20),
    minBXTM = cms.untracked.int32(-2), 
    maxBXTM = cms.untracked.int32(2)
)

from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify( dtTriggerBaseMonitor, processDDU = cms.untracked.bool(False))

예제 #9
0
import FWCore.ParameterSet.Config as cms

dtTriggerBaseMonitor = cms.EDAnalyzer(
    "DTLocalTriggerBaseTask",
    testPulseMode=cms.untracked.bool(False),
    detailedAnalysis=cms.untracked.bool(False),
    targetBXTM=cms.untracked.int32(0),
    targetBXDDU=cms.untracked.int32(9),
    bestTrigAccRange=cms.untracked.int32(3),
    processDDU=cms.untracked.bool(True),
    processTM=cms.untracked.bool(True),
    nTimeBins=cms.untracked.int32(100),
    nLSTimeBin=cms.untracked.int32(15),
    ResetCycle=cms.untracked.int32(9999),
    inputTagTM=cms.untracked.InputTag('twinMuxStage2Digis:PhIn'),
    inputTagTMphIn=cms.untracked.InputTag('twinMuxStage2Digis:PhIn'),
    inputTagTMphOut=cms.untracked.InputTag('twinMuxStage2Digis:PhOut'),
    inputTagTMth=cms.untracked.InputTag('twinMuxStage2Digis:ThIn'),
    inputTagDDU=cms.untracked.InputTag('dtunpacker'),
    minBXDDU=cms.untracked.int32(0),
    maxBXDDU=cms.untracked.int32(20),
    minBXTM=cms.untracked.int32(-2),
    maxBXTM=cms.untracked.int32(2))

from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
run2_25ns_specific.toModify(dtTriggerBaseMonitor,
                            processDDU=cms.untracked.bool(False))