CMS 3D CMS Logo

SingleGammaE120_ECALHCAL Namespace Reference


Functions

def customise


Function Documentation

def SingleGammaE120_ECALHCAL::customise (   process  ) 

Definition at line 2 of file SingleGammaE120_ECALHCAL.py.

00002                       :
00003 
00004 # extend the particle gun acceptance
00005 
00006     process.source.AddAntiParticle = cms.untracked.bool(False)
00007 
00008 # add ECAL and HCAL specific Geant4 hits objects
00009 
00010     process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
00011         instanceLabel = cms.untracked.string('EcalValidInfo'),
00012         type = cms.string('EcalSimHitsValidProducer'),
00013         verbose = cms.untracked.bool(False)
00014     ))
00015 
00016 # modify the content
00017 
00018     process.output.outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")
00019 
00020 
00021             
00022 # user schedule: use only calorimeters digitization and local reconstruction
00023 
00024     del process.schedule[:] 
00025 
00026     process.schedule.append(process.generation_step)
00027     process.schedule.append(process.simulation_step)
00028 
00029     process.ecalWeightUncalibRecHit.EBdigiCollection = cms.InputTag("simEcalDigis","ebDigis")
00030     process.ecalWeightUncalibRecHit.EEdigiCollection = cms.InputTag("simEcalDigis","eeDigis")
00031     process.ecalPreshowerRecHit.ESdigiCollection = cms.InputTag("simEcalPreshowerDigis") 
00032 
00033     process.hbhereco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00034     process.horeco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00035     process.hfreco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00036 
00037     process.local_digireco = cms.Path(process.mix * process.calDigi * process.calolocalreco * (process.ecalClusters+process.caloTowersRec) )
00038 
00039     process.schedule.append(process.local_digireco)
00040 
00041     process.load("Validation/Configuration/ecalSimValid_cff") 
00042     process.load("Validation/Configuration/hcalSimValid_cff") 
00043     process.local_validation = cms.Path(process.ecalSimValid+process.hcalSimValid)
00044     process.schedule.append(process.local_validation) 
00045 
00046     process.schedule.append(process.endjob_step)
00047     process.schedule.append(process.out_step)
00048 
00049     return(process)
    return(process)


Generated on Tue Jun 9 18:52:33 2009 for CMSSW by  doxygen 1.5.4