• Fail to execute simple example of cmsDriver.py => because of Input file format error
    [seogoni@gate Python_event_gen]$ cmsDriver.py PythiaUESettings_cfi.py -s GEN --eventcontent=FEVTDEBUG --fileout=test_gen.root --scenario=pp --mc --conditions FrontierConditions_GlobalTag,STARTUP_V4::All --dump_python
    Traceback (most recent call last):
      File "/opt/osg-app/cmssoft/cms/slc4_ia32_gcc345/cms/cmssw/CMSSW_2_2_3/bin/slc4_ia32_gcc345/cmsDriver.py", line 13, in ?
      File "/opt/osg-app/cmssoft/cms/slc4_ia32_gcc345/cms/cmssw/CMSSW_2_2_3/python/Configuration/PyReleaseValidation/ConfigBuilder.py", line 628, in prepare
        self.pythonCfgCode += "process.source = "+self.process.source.dumpPython()
    AttributeError: 'NoneType' object has no attribute 'dumpPython'
    [seogoni@gate Python_event_gen]$

  • Just do "cmsRun" for simple GenExample
    [seogoni@gate Python_event_gen]$ cmsRun GenExample_cfg.py
    Internal FlatRandomEGun is initialzed
    It is going to generate 1events
    found 539 particles
    Begin processing the 1st record. Run 1, Event 1, LumiSection 1 at 20-Feb-2009 08:57:11 KST
    MessageLogger Summary
    Severity    # Occurrences   Total Occurrences
    --------    -------------   -----------------
    [seogoni@gate Python_event_gen]$ ls
    GenExample_cfg.py  gen.root  PYTHIA6_ppEleX_10TeV_cff.py  PYTHIA8_custom.py  PythiaUESettings_cfi.py
    [seogoni@gate Python_event_gen]$ cmsRun GenExample_cfg.py
I changed Pid(11->2212) and energy(10->7,000GeV) above example

  • How to create xxx_cfg.py
    • Don't know up to now. this is my homework!!
-- SeoKonKang - 19 Feb 2009
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-02-20 - SeoKonKang
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback