Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-17 02:42:26

0001 from FWCore.ParameterSet.Config import *
0002 
0003 process = Process("analysis")
0004 
0005 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0006 
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0008 
0009 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0010 
0011 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0012 
0013 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0014 
0015 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0016 
0017 from CondCore.DBCommon.CondDBSetup_cfi import *
0018 process.ecalConditions = cms.ESSource("PoolDBESSource",
0019                                       CondDBSetup,
0020                                       toGet = cms.VPSet(cms.PSet(
0021     record = cms.string('EcalChannelStatusRcd'),
0022     tag = cms.string('EcalChannelStatus_may2009_mc')
0023     )
0024                                                         ),
0025                                       
0026                                       connect = cms.string('frontier://FrontierProd/CMS_COND_31X_ECAL'), ##cms_conditions_data/CMS_COND_ECAL"
0027                                       
0028                                       )
0029 
0030 # process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0031 # process.GlobalTag.globaltag = 'MC_31X_V6::All'
0032 
0033 #input_files.append( "/store/relval/2008/4/17/RelVal-RelValTTbar-1208465820/0000/0ABDA540-EE0C-DD11-BA9F-000423D94990.root" )
0034 input_files = vstring('rfio:///castor/cern.ch/user/m/meridian/ZeeFiltProbSC31X/meridian/Zee/ZeeFiltProbSC/0330624041aaf504f2f5a3cbc2ef3a16/filteredSC_30.root'
0035 
0036 #file:///tmp/meridian/filteredSC.root',
0037 #                      'file:///tmp/meridian/filteredSC_39.root'
0038                       );
0039 
0040 
0041 process.source = Source("PoolSource",
0042     fileNames = untracked( input_files )
0043 )
0044 
0045 process.maxEvents = untracked.PSet( input = untracked.int32( -1 ) )
0046 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0047 
0048 
0049 process.testEcalClusterSeverityAlgo = EDAnalyzer("testEcalClusterSeverityAlgo",
0050                                                  reducedBarrelRecHitCollection = InputTag("reducedEcalRecHitsEB"),
0051                                                  reducedEndcapRecHitCollection = InputTag("reducedEcalRecHitsEE"),
0052                                                  barrelClusterCollection = InputTag("correctedHybridSuperClusters"),
0053                                                  endcapClusterCollection = InputTag("correctedMulti5x5SuperClustersWithPreshower"),
0054                                                  mcTruthCollection = cms.InputTag("VtxSmeared"),
0055                                                  outputFile = cms.string('filteredSCtree.root')
0056                                                  )
0057 
0058 process.p1 = Path( process.testEcalClusterSeverityAlgo )
0059