Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # output block for alcastream Electron
0004 OutALCARECOEcalCalElectron_specific = cms.untracked.vstring(
0005     'drop reco*Clusters_hfEMClusters_*_*',
0006     'drop reco*Clusters_pfPhotonTranslator_*_*',
0007     'drop *EcalRecHit*_ecalRecHit_*_*',
0008     'drop *EcalrecHit*_*ecalPreshowerRecHit*_*EcalRecHitsES*_*',
0009     'drop *EcalRecHit*_reducedEcalRecHitsE*_*_*',
0010     'drop *_*Unclean*_*_*',
0011     'drop *_*unclean*_*_*',
0012     'drop *_*_*Unclean*_*',
0013     'drop *_*_*unclean*_*',
0014     'drop *CaloCluster*_*particleFlowEGamma*_*EBEEClusters*_*',
0015     'drop *CaloCluster*_*particleFlowEGamma*_*ESClusters*_*',
0016 #    'keep *CaloCluster*_*alCaIsolatedElectrons*_*alcaCaloCluster*_*'
0017     'keep *CaloCluster*_alCaIsolatedElectrons_*alcaCaloCluster*_*'
0018 )
0019 
0020 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
0021     # put this if you have a filter
0022     SelectEvents = cms.untracked.PSet(
0023     SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalWElectron', 'pathALCARECOEcalCalZSCElectron')
0024     ),
0025     outputCommands = cms.untracked.vstring( 
0026     'keep *_pfMet_*_*', # met for Wenu selection
0027     #'keep *_kt6PFJetsForRhoCorrection_rho_*', #rho for effective area subtraction
0028     #'keep *_kt6PFJets_rho_*', #rho for effective area subtraction
0029     #'keep recoVertexs_offlinePrimaryVertices*_*_*',
0030     'keep recoVertexs_offlinePrimaryVertices_*_*',
0031     'keep recoVertexs_offlinePrimaryVerticesWithBS_*_*',
0032     'keep *BeamSpot_offlineBeamSpot_*_*',
0033     'keep *_allConversions_*_*',
0034     'keep *_conversions_*_*',
0035     #'keep *GsfTrack*_*_*_*',
0036     'keep *GsfTrack*_electronGsfTracks_*_*',
0037 #    'keep *GsfTrack*_uncleanedOnlyElectronGsfTracks_*_*',
0038     'keep *_generator_*_*',
0039     'keep *_addPileupInfo_*_*',
0040     'keep *_genParticles_*_*',
0041     'keep recoGsfElectron*_gsfElectron*_*_*',
0042     #'keep recoGsfElectron*_gedGsfElectron*_*_*',
0043     'keep recoGsfElectron*_gedGsfElectrons_*_*',
0044 #    'keep recoGsfElectron*_gedGsfElectronsTmp_*_*',
0045     'keep recoGsfElectron*_gedGsfElectronCores_*_*',
0046     'keep recoPhoton*_gedPhoton_*_*',
0047     #'keep recoCaloClusters_*_*_*',
0048     'keep recoCaloClusters_hfEMClusters_*_*',
0049     'keep recoCaloClusters_particleFlowEGamma_*_*',
0050     'keep recoCaloClusters_alCaIsolatedElectrons_*_*',
0051     'keep recoCaloClusters_cleanedHybridSuperClusters_*_*',
0052     'keep recoCaloClusters_hybridSuperClusters_*_*',
0053     'keep recoCaloClusters_uncleanedHybridSuperClusters_*_*',
0054     'keep recoCaloClusters_multi5x5BasicClustersCleaned_*_*',
0055     'keep recoCaloClusters_multi5x5BasicClustersUncleaned_*_*',
0056     'keep recoCaloClusters_multi5x5SuperClusters_*_*',
0057     'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
0058     #'keep recoSuperClusters_*_*_*',
0059     'keep recoSuperClusters_SCselector_*_*',
0060     'keep recoSuperClusters_cleanedHybridSuperClusters_*_*',
0061     'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
0062     'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
0063     'keep recoSuperClusters_hfEMClusters_*_*',
0064     'keep recoSuperClusters_hybridSuperClusters_*_*',
0065     'keep recoSuperClusters_mergedSuperClusters_*_*',
0066     'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
0067     'keep recoSuperClusters_particleFlowEGamma_*_*',
0068     'keep recoSuperClusters_uncleanedHybridSuperClusters_*_*',
0069     'keep recoSuperClusters_uncleanedOnlyCorrectedHybridSuperClusters_*_*',
0070     'keep recoSuperClusters_uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower_*_*',
0071     'keep recoSuperClusters_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
0072     'keep recoSuperClusters_multi5x5SuperClustersCleaned_*_*',
0073     'keep recoSuperClusters_multi5x5SuperClustersUncleaned_*_*',
0074     'keep recoSuperClusters_multi5x5SuperClusters_*_*',
0075     'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
0076     #'keep recoPreshowerCluster*_*_*_*',
0077     'keep recoPreshowerCluster*_multi5x5SuperClustersWithPreshower_*_*',
0078     'keep recoPreshowerCluster*_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
0079     'keep recoPreshowerCluster*_multi5x5PreshowerClusterShape_*_*',
0080     'keep *_pfElectronTranslator_*_*',
0081     #'keep *_*_*_HLT',
0082     #'keep *_generalTracks_*_*',
0083     #'keep reco*Track*Extra*_generalTracks_*_*',
0084     'keep *_alcaElectronTracksReducer_*_*',
0085     # for the trigger matching
0086     'keep *_l1extraParticles_*_*',
0087     'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0088     'keep *_l1L1GtObjectMap_*_*',
0089     'keep edmConditionsInEventBlock_conditionsInEdm_*_*',
0090     'keep edmConditionsInLumiBlock_conditionsInEdm_*_*',
0091     'keep edmConditionsInRunBlock_conditionsInEdm_*_*',
0092     'keep *_TriggerResults_*_*',
0093     'keep *_hltTriggerSummaryAOD_*_HLT',
0094     # pfisolation CMSSW_5_3_X
0095     'keep *EcalRecHit*_alCaIsolatedElectrons_*_*',
0096     'keep *EcalRecHit*_reducedEcalRecHitsES_alCaRecHitsES_*',
0097     'keep *_fixedGridRhoFastjetAll_*_*'
0098     
0099     )
0100 )
0101 
0102 import copy
0103 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
0104 OutALCARECOEcalCalElectron.outputCommands.insert(0, "drop *")
0105 OutALCARECOEcalCalElectron.outputCommands+=OutALCARECOEcalCalElectron_specific
0106 
0107 OutALCARECOEcalCalWElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
0108 OutALCARECOEcalCalWElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
0109 OutALCARECOEcalCalWElectron.SelectEvents = cms.untracked.PSet(
0110     SelectEvents = cms.vstring('pathALCARECOEcalCalWElectron')   )
0111 OutALCARECOEcalCalWElectron_noDrop.SelectEvents = cms.untracked.PSet(
0112     SelectEvents = cms.vstring('pathALCARECOEcalCalWElectron')   )
0113 
0114 
0115 OutALCARECOEcalCalZElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
0116 OutALCARECOEcalCalZElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
0117 
0118 OutALCARECOEcalCalZElectron.SelectEvents =  cms.untracked.PSet(
0119     SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalZSCElectron')    )
0120 OutALCARECOEcalCalZElectron_noDrop.SelectEvents =  cms.untracked.PSet(
0121     SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalZSCElectron')    )
0122 
0123 
0124