Skip to content

Commit

Permalink
fix ecal local validation after ged switch
Browse files Browse the repository at this point in the history
  • Loading branch information
bendavid committed Dec 17, 2013
1 parent 362f85d commit b4d26fb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,9 @@
reducedEcalRecHitsEE*
seldigis*
reducedEcalRecHitsES)

reducedEcalRecHitsSequenceEcalOnly = cms.Sequence(interestingEcalDetIdEB*interestingEcalDetIdEBU*
interestingEcalDetIdEE*
reducedEcalRecHitsEB*
reducedEcalRecHitsEE*
seldigis)
15 changes: 12 additions & 3 deletions Validation/Configuration/python/ECALHCAL.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,20 @@ def customise(process):
process.ecalRecHit.recoverEBFE = cms.bool(False)
process.ecalRecHit.recoverEEFE = cms.bool(False)

process.reducedEcalRecHitsSequence.remove( process.interestingTrackEcalDetIds )

# process.local_digireco = cms.Path(process.mix * process.calDigi * process.ecalLocalRecoSequence * process.hbhereco * process.hfreco * process.horeco * (process.ecalClusters+process.caloTowersRec) * process.reducedEcalRecHitsSequence )

process.local_digireco = cms.Path(process.mix * process.calDigi * process.ecalPacker * process.esDigiToRaw * process.hcalRawData * process.rawDataCollector * process.ecalDigis * process.ecalPreshowerDigis * process.hcalDigis * process.calolocalreco *(process.ecalClusters+process.caloTowersRec) * process.reducedEcalRecHitsSequence )
process.reducedEcalRecHitsEB.interestingDetIdCollections = cms.VInputTag(
# ecal
cms.InputTag("interestingEcalDetIdEB"),
cms.InputTag("interestingEcalDetIdEBU"),
)

process.reducedEcalRecHitsEE.interestingDetIdCollections = cms.VInputTag(
# ecal
cms.InputTag("interestingEcalDetIdEE"),
)

process.local_digireco = cms.Path(process.mix * process.calDigi * process.ecalPacker * process.esDigiToRaw * process.hcalRawData * process.rawDataCollector * process.ecalDigis * process.ecalPreshowerDigis * process.hcalDigis * process.calolocalreco *(process.ecalClustersNoPFBox+process.caloTowersRec) * process.reducedEcalRecHitsSequenceEcalOnly )

process.schedule.append(process.local_digireco)

Expand Down

0 comments on commit b4d26fb

Please sign in to comment.