forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
abenagli
committed
May 7, 2013
1 parent
411f530
commit 2f1a2a8
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
Calibration/EcalAlCaRecoProducers/python/ALCARECOEcalUncalIsolElectron_Output_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
|
||
|
||
OutALCARECOEcalUncalElectron_specific = cms.untracked.vstring( | ||
'drop *_TriggerResults_*_RECO', | ||
#'keep *_TriggerResults_*_*', | ||
#'keep recoGsfElectrons_gsfElectrons_*_RECO', | ||
#'keep recoGsfElectronCores_gsfElectronCores_*_RECO', | ||
'keep *EcalTriggerPrimitiveDigi*_ecalDigis_*_*', | ||
'keep *_ecalGlobalUncalibRecHit_*_*', | ||
'keep *_ecalPreshowerDigis_*_*', | ||
'keep *_ecalDetIdToBeRecovered_*_*', | ||
#this are recreated, so they are not needed at this step | ||
'drop recoCaloClusters_*_*_*', | ||
'drop recoSuperClusters_*_*_*', | ||
'drop recoPreshowerCluster*_*_*_*', | ||
'drop *EcalRecHit*_reducedEcalRecHitsES*_*_*', | ||
# these are not recreated | ||
'keep reco*Clusters_pfElectronTranslator_*_*' | ||
) | ||
|
||
from Calibration.EcalAlCaRecoProducers.ALCARECOEcalCalIsolElectron_Output_cff import * | ||
|
||
import copy | ||
OutALCARECOEcalUncalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop) | ||
OutALCARECOEcalUncalElectron.outputCommands.insert(0, "drop *") | ||
OutALCARECOEcalUncalElectron.outputCommands += OutALCARECOEcalUncalElectron_specific | ||
|
||
OutALCARECOEcalUncalElectron.SelectEvents = cms.untracked.PSet( | ||
SelectEvents = cms.vstring('pathALCARECOEcalUncalZElectron', 'pathALCARECOEcalUncalWElectron') | ||
) |
15 changes: 15 additions & 0 deletions
15
Calibration/EcalAlCaRecoProducers/python/ALCARECOEcalUncalIsolElectron_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
|
||
|
||
from Calibration.EcalAlCaRecoProducers.ALCARECOEcalCalIsolElectron_cff import * | ||
from Configuration.StandardSequences.RawToDigi_Data_cff import * | ||
from RecoLocalCalo.Configuration.RecoLocalCalo_cff import * | ||
|
||
ecalUncalibRecHitSequence = cms.Sequence(ecalGlobalUncalibRecHit * ecalDetIdToBeRecovered) | ||
uncalibRecHitSeq = cms.Sequence((ecalDigis+ecalPreshowerDigis) * ecalUncalibRecHitSequence) | ||
|
||
seqALCARECOEcalUncalElectron = cms.Sequence( uncalibRecHitSeq ) | ||
|
||
seqALCARECOEcalUncalZElectron = cms.Sequence( tagGsfSeq * seqALCARECOEcalUncalElectron) | ||
seqALCARECOEcalUncalWElectron = cms.Sequence( WSkimSeq * seqALCARECOEcalUncalElectron) |