latest-geratest Z->ee generation Y. Gershtein May 15 2006 Based on Andrew's how-to for signle particles, see it for detailed set-up instructions This is based on 0_6_0 scramv1 project CMSSW CMSSW_0_6_0 cd CMSSW_0_6_0 eval `scramv1 runtime -csh` cd src cmscvsroot CMSSW cvs login (password 98passwd) cvs co -r V00-00-03 RecoEcal/EgammaClusterAlgos cvs co -r V00-00-05 RecoEcal/EgammaClusterProducers cd RecoEcal/EgammaClusterAlgos scramv1 b cd ../RecoEcal/EgammaClusterProducers scramv1 b cd RecoEcal/EgammaClusterProducers/test eval `scramv1 runtime -csh` now you can copy these example files as a starting point for your investigations: cp /afs/fnal.gov/files/home/room1/gerstein/public/submit_Zee.sh . cp /afs/fnal.gov/files/home/room1/gerstein/public/submit_condor.sh . cp /afs/fnal.gov/files/home/room1/gerstein/public/TestHybridProducer.cfg . I prefer generating events in two steps - from generator to Digis, and then separately run the reconstruction (reconstruction is much less stable) To run the first part, use the two submit*sh scripts. The submit_condor.sh is just an interface to submit_Zee.sh and passes two parameters to it: run number and number of events to generate. The submit_Zee.sh contains a bit of setup and generates a .cfg file. You need to go an edit it if you want to use different PYTHIA cards, as well as to edit the output file names and paths. This example stored things in dCache. Once the forst step is done, you need to edit TestHybridProducer.cfg to use the correct files and then do cmsRun TestHybridProducer.cfg Some generated Z->ee events are stored in /uscms_scratch/lpceg/gerstein/CMSSW_data/Zee_g4_digi_*.root