Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:40

0001 import FWCore.ParameterSet.Config as cms
0002 import copy
0003 from EventFilter.EcalRawToDigi.EcalUnpackerData_cfi import ecalEBunpacker
0004 from Calibration.EcalCalibAlgos.ecalPedestalPCLworker_cfi import ecalpedestalPCL
0005 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
0006 
0007 ALCARECOEcalTestPulsesRaw = copy.deepcopy(hltHighLevel)
0008 ALCARECOEcalTestPulsesRaw.HLTPaths = ['pathALCARECOEcalTestPulsesRaw']
0009 # dont throw on unknown path names
0010 ALCARECOEcalTestPulsesRaw.throw = True
0011 ALCARECOEcalTestPulsesRaw.TriggerResultsTag = cms.InputTag("TriggerResults", "", "RECO")
0012 
0013 ALCARECOEcalPedestalsDigis = ecalEBunpacker.clone()
0014 ALCARECOEcalPedestalsDigis.InputLabel = cms.InputTag('hltEcalCalibrationRaw')
0015 
0016 ALCARECOEcalPedestals = ecalpedestalPCL.clone()
0017 ALCARECOEcalPedestals.BarrelDigis = cms.InputTag('ALCARECOEcalPedestalsDigis', 'ebDigis')
0018 ALCARECOEcalPedestals.EndcapDigis = cms.InputTag('ALCARECOEcalPedestalsDigis', 'eeDigis')
0019 ALCARECOEcalPedestals.tcdsRecord   = cms.InputTag('ALCALRECOEcalTCDSDigis', 'tcdsRecord')
0020 
0021 
0022 MEtoEDMConvertEcalPedestals = cms.EDProducer("MEtoEDMConverter",
0023                                              Name=cms.untracked.string('MEtoEDMConverter'),
0024                                              Verbosity=cms.untracked.int32(0),
0025                                              # 0 provides no output
0026                                              # 1 provides basic output
0027                                              # 2 provide more detailed output
0028                                              Frequency=cms.untracked.int32(50),
0029                                              MEPathToSave=cms.untracked.string('AlCaReco/EcalPedestalsPCL'),
0030                                              )
0031 
0032 ALCALRECOEcalTCDSDigis = cms.EDProducer('TcdsRawToDigi')
0033 ALCALRECOEcalTCDSDigis.InputLabel =  cms.InputTag('hltEcalCalibrationRaw')
0034 
0035 # The actual sequence
0036 seqALCARECOPromptCalibProdEcalPedestals = cms.Sequence(ALCALRECOEcalTCDSDigis    *
0037                                                        ALCARECOEcalTestPulsesRaw *
0038                                                        ALCARECOEcalPedestalsDigis *
0039                                                        ALCARECOEcalPedestals *
0040                                                        MEtoEDMConvertEcalPedestals)