Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("simpleAnalysis")
0004 # initialize  MessageLogger
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 #Take 2007H4TB geometry
0007 #process.load("Configuration.EcalTB.2007TBH4GeometryXML_cfi");
0008 process.load("Geometry.CMSCommonData.ecalhcalGeometryXML_cfi");
0009 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0010 #process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0011 process.CaloGeometryBuilder.SelectedCalos = ['EcalEndcap']
0012 
0013 process.maxEvents=cms.untracked.PSet(input=cms.untracked.int32(int(10000)))
0014 process.source = cms.Source("PoolSource",
0015     #   untracked vstring fileNames = {'rfio:/castor/cern.ch/cms/archive/ecal/h4tb.pool-cmssw-SM12/h4b.00015217.A.0.0.root'}
0016     fileNames = cms.untracked.vstring('file:hits.root')
0017 )
0018 
0019 process.simple2007H4TBanalysis = cms.EDAnalyzer("EcalSimple2007H4TBAnalyzer",
0020     rootfile = cms.untracked.string('ecalSimple2007H4TBAnalysis.root'),
0021     eventHeaderProducer = cms.string('ecalTBunpack'),
0022     hitProducer = cms.string('ecal2007TBWeightUncalibRecHit'),
0023     digiCollection = cms.string('eeDigis'),
0024     tdcRecInfoCollection = cms.string('EcalTBTDCRecInfo'),
0025     digiProducer = cms.string('ecalTBunpack'),
0026     hitCollection = cms.string('EcalUncalibRecHitsEE'),
0027     hodoRecInfoProducer = cms.string('ecal2006TBHodoscopeReconstructor'),
0028     eventHeaderCollection = cms.string(''),
0029     hodoRecInfoCollection = cms.string('EcalTBHodoscopeRecInfo'),
0030     tdcRecInfoProducer = cms.string('ecal2007H4TBTDCReconstructor')
0031 )
0032 
0033 process.p = cms.Path(process.simple2007H4TBanalysis)
0034