00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from SimCalorimetry.EcalSimProducers.ecalNotContainmentSim_cff import *
00005
00006
00007 from SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cff import *
00008
00009 from SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff import *
00010 from SimCalorimetry.HcalSimProducers.hcalSimParameters_cfi import *
00011
00012
00013 from SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cff import *
00014
00015 ecalRecHit = cms.EDProducer("CaloRecHitsProducer",
00016 InputRecHitCollectionTypes = cms.vuint32(2, 3),
00017 OutputRecHitCollections = cms.vstring('EcalRecHitsEB',
00018 'EcalRecHitsEE'),
00019 doDigis = cms.bool(False),
00020 doMiscalib = cms.bool(False),
00021
00022 RecHitsFactory = cms.PSet(
00023 ECALBarrel = cms.PSet(
00024 Noise = cms.double(-1.),
00025 NoiseADC = cms.double(1.054),
00026 HighNoiseParameters = cms.vdouble(0.04,0.51,0.000),
00027 Threshold = cms.double(0.1),
00028 SRThreshold = cms.double(1.),
00029 Refactor = cms.double(1.),
00030 Refactor_mean = cms.double(1.),
00031 MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEB"),
00032 ContFact = cms.PSet(ecal_notCont_sim)),
00033
00034 ECALEndcap = cms.PSet(
00035 Noise = cms.double(-1.),
00036 NoiseADC = cms.double(2.32),
00037 HighNoiseParameters = cms.vdouble(5.72,1.65,2.7,6.1),
00038 Threshold = cms.double(.32),
00039 SRThreshold = cms.double(1.),
00040 Refactor = cms.double(1.),
00041 Refactor_mean = cms.double(1.),
00042 MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEE"),
00043 ContFact = cms.PSet(ecal_notCont_sim)),
00044 ))
00045
00046
00047 ecalPreshowerRecHit = cms.EDProducer("CaloRecHitsProducer",
00048 InputRecHitCollectionTypes = cms.vuint32(1),
00049 OutputRecHitCollections = cms.vstring('EcalRecHitsES'),
00050 doDigis = cms.bool(False),
00051 doMiscalib = cms.bool(False),
00052
00053 RecHitsFactory = cms.PSet(
00054 ECALPreshower = cms.PSet(
00055 Noise = cms.double(1.5e-05),
00056 Threshold = cms.double(4.5e-05),
00057 MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsES"))))
00058
00059
00060 hbhereco = cms.EDProducer("CaloRecHitsProducer",
00061 InputRecHitCollectionTypes = cms.vuint32(4),
00062 OutputRecHitCollections = cms.vstring(""),
00063 doDigis = cms.bool(False),
00064 doMiscalib = cms.bool(False),
00065
00066 RecHitsFactory = cms.PSet(
00067 HCAL = cms.PSet(
00068 Noise = cms.vdouble(-1.,-1.),
00069 NoiseCorrectionFactor = cms.vdouble(1.39,1.32),
00070 Threshold = cms.vdouble(-1.,-1.),
00071 MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
00072 EnableSaturation = cms.bool(True),
00073 Refactor = cms.double(1.),
00074 Refactor_mean = cms.double(1.),
00075 fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
00076
00077
00078 horeco = cms.EDProducer("CaloRecHitsProducer",
00079 InputRecHitCollectionTypes = cms.vuint32(5),
00080 OutputRecHitCollections = cms.vstring(""),
00081 doDigis = cms.bool(False),
00082 doMiscalib = cms.bool(False),
00083
00084 RecHitsFactory = cms.PSet(
00085 HCAL = cms.PSet(
00086 Noise = cms.vdouble(-1.),
00087 NoiseCorrectionFactor = cms.vdouble(3.),
00088 Threshold = cms.vdouble(-1.5),
00089 MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
00090 EnableSaturation = cms.bool(True),
00091 Refactor = cms.double(1.),
00092 Refactor_mean = cms.double(1.),
00093 fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
00094
00095 hfreco = cms.EDProducer("CaloRecHitsProducer",
00096 InputRecHitCollectionTypes = cms.vuint32(6),
00097 OutputRecHitCollections = cms.vstring(""),
00098 doDigis = cms.bool(False),
00099 doMiscalib = cms.bool(False),
00100
00101 RecHitsFactory = cms.PSet(
00102 HCAL = cms.PSet(
00103 Noise = cms.vdouble(-1.),
00104 NoiseCorrectionFactor = cms.vdouble(2.51),
00105 Threshold = cms.vdouble(-0.5),
00106 MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
00107 EnableSaturation = cms.bool(True),
00108 Refactor = cms.double(1.),
00109 Refactor_mean = cms.double(1.),
00110 fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
00111
00112
00113 simHcalTriggerPrimitiveDigis.peakFilter = False
00114 simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag('hbhereco'), cms.InputTag('hfreco'))
00115 'hbhereco'
00116 simEcalTriggerPrimitiveDigis.Famos = True
00117 simEcalTriggerPrimitiveDigis.Label = 'ecalRecHit'
00118
00119 caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hbhereco*horeco*hfreco)