Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ANALYSIS")
0004 process.maxEvents = cms.untracked.PSet(
0005     input = cms.untracked.int32(-1)
0006     )
0007 process.source = cms.Source(
0008     "PoolSource",
0009     secondaryFileNames = cms.untracked.vstring(
0010     '/store/relval/CMSSW_7_1_0_pre3/RelValTTbar_13/GEN-SIM-RECO/POSTLS171_V1-v1/00000/76897917-C0A1-E311-A852-02163E00EA9A.root',
0011     '/store/relval/CMSSW_7_1_0_pre3/RelValTTbar_13/GEN-SIM-RECO/POSTLS171_V1-v1/00000/7AAC4BC0-C3A1-E311-A8BF-02163E00EAEA.root',
0012     '/store/relval/CMSSW_7_1_0_pre3/RelValTTbar_13/GEN-SIM-RECO/POSTLS171_V1-v1/00000/9C3661D6-C3A1-E311-BC51-02163E00E997.root',
0013     '/store/relval/CMSSW_7_1_0_pre3/RelValTTbar_13/GEN-SIM-RECO/POSTLS171_V1-v1/00000/B660879E-B9A1-E311-BFBE-02163E00A0FF.root'
0014     ),
0015     fileNames = cms.untracked.vstring(
0016     '/store/group/phys_egamma/lgray/TTBarPU25ns_reRECO-step4_RECO_EI/step4_RECO_EI-76897917-C0A1-E311-A852-02163E00EA9A.root',
0017     '/store/group/phys_egamma/lgray/TTBarPU25ns_reRECO-step4_RECO_EI/step4_RECO_EI-7AAC4BC0-C3A1-E311-A8BF-02163E00EAEA.root',
0018     '/store/group/phys_egamma/lgray/TTBarPU25ns_reRECO-step4_RECO_EI/step4_RECO_EI-9C3661D6-C3A1-E311-BC51-02163E00E997.root',
0019     '/store/group/phys_egamma/lgray/TTBarPU25ns_reRECO-step4_RECO_EI/step4_RECO_EI-B660879E-B9A1-E311-BFBE-02163E00A0FF.root'
0020     )
0021     #dropDescendantsOfDroppedBranches=cms.untracked.bool(False),
0022     #inputCommands=cms.untracked.vstring(
0023     #'keep *',
0024     #'drop recoPFRecHits_*_*_*'
0025     #)
0026 )
0027 
0028 process.TFileService = cms.Service('TFileService',
0029                                    fileName = cms.string('clusterValid_ttbar.root')
0030                                    )
0031 
0032 process.preshowerClusterCompare = cms.EDAnalyzer(
0033     "PFClusterComparator",
0034     PFClusters = cms.InputTag("particleFlowClusterPS",'','RECO'),
0035     PFClustersCompare = cms.InputTag("particleFlowClusterPS",'','reRECO'),
0036     verbose = cms.untracked.bool(True),
0037     printBlocks = cms.untracked.bool(True)
0038 )
0039 
0040 process.ecalClusterCompare = cms.EDAnalyzer(
0041     "PFClusterComparator",
0042     PFClusters = cms.InputTag("particleFlowClusterECAL",'','RECO'),
0043     PFClustersCompare = cms.InputTag("particleFlowClusterECAL",'','reRECO'),
0044     verbose = cms.untracked.bool(True),
0045     printBlocks = cms.untracked.bool(True)
0046 )
0047 
0048 process.hcalClusterCompare = cms.EDAnalyzer(
0049     "PFClusterComparator",
0050     PFClusters = cms.InputTag("particleFlowClusterHCAL",'','RECO'),
0051     PFClustersCompare = cms.InputTag("particleFlowClusterHCAL",'','reRECO'),
0052     verbose = cms.untracked.bool(True),
0053     printBlocks = cms.untracked.bool(True)
0054 )
0055 
0056 
0057 
0058 process.p = cms.Path( process.preshowerClusterCompare +
0059                       process.ecalClusterCompare      +
0060                       process.hcalClusterCompare        )
0061 
0062