Beispiel #1
0
def custom_2dclustering_dummy(process):
    process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
    return process
Beispiel #2
0
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import dummy_C2d_params

caloTruthCellsProducer = cms.EDProducer(
    'CaloTruthCellsProducer',
    caloParticles=cms.InputTag('mix', 'MergedCaloTruth'),
    triggerCells=cms.InputTag('hgcalVFEProducer:HGCalVFEProcessorSums'),
    simHitsEE=cms.InputTag('g4SimHits:HGCHitsEE'),
    simHitsHEfront=cms.InputTag('g4SimHits:HGCHitsHEfront'),
    simHitsHEback=cms.InputTag('g4SimHits:HcalHits'),
    makeCellsCollection=cms.bool(True),
    dummyClustering=dummy_C2d_params.clone())
Beispiel #3
0
def create_truth_dummy(process, inputs):
    producer = process.hgcalBackEndLayer1Producer.clone(
            InputTriggerCells = cms.InputTag('{}'.format(inputs))
            )
    producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
    return producer
Beispiel #4
0
def create_dummy(process, inputs):
    producer = process.hgcalBackEndLayer1Producer.clone(
            InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
            )
    producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
    return producer
Beispiel #5
0
def create_dummy(process, inputs):
    producer = process.hgcalBackEndLayer1Producer.clone(
            InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
            )
    producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
    return producer
Beispiel #6
0
 def __call__(self, process, inputs):
     producer = process.hgcalBackEndLayer1Producer.clone(
             InputTriggerCells = cms.InputTag(inputs)
             )
     producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
     return producer
Beispiel #7
0
 def __call__(self, process, inputs):
     producer = process.hgcalBackEndStage1Producer.clone(
         InputTriggerCells=cms.InputTag(inputs),
         C2d_parameters=dummy_C2d_params.clone(),
         ProcessorParameters=self.processor)
     return producer