Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ANA")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1))
0007 
0008 process.source = cms.Source("EmptySource",
0009   numberEventsInRun = cms.untracked.uint32(1),
0010   firstRun = cms.untracked.uint32(1)
0011 )
0012 
0013 
0014 process.TFileService = cms.Service("TFileService",
0015     fileName = cms.string('hfShowerLibHistograms.root')
0016 )
0017 
0018 process.ana = cms.EDAnalyzer("AnalyzeTuples",
0019      HFShowerLibrary = cms.PSet(
0020          FileName        = cms.FileInPath('myOutputFile.root'),
0021 #FileName        = cms.FileInPath('SimG4CMS/ShowerLibraryProducer/test/python/hfshowerlibrary_lhep_140_edm.root'),
0022          BackProbability = cms.double(0.2),
0023          TreeEMID        = cms.string('emParticles'),
0024          TreeHadID       = cms.string('hadParticles'),
0025          Verbosity       = cms.untracked.bool(False),
0026          BranchPost      = cms.untracked.string('_HFSHOWERLIBRARY.obj'),
0027          #BranchEvt       = cms.untracked.string('HFShowerLibraryEventInfos_hfshowerlib_HFShowerLibraryEventInfo'),
0028         # BranchPre       = cms.untracked.string('ints_hfshowerlib_')
0029           BranchEvt       = cms.untracked.string('HFShowerLibraryEventInfos_photon_HFShowerLibraryEventInfo'),
0030           BranchPre       = cms.untracked.string('HFShowerPhotons_photon_')
0031      )
0032 )
0033 
0034 process.p  = cms.Path(process.ana)