8TeV analysis

Delphes

  1. Download and compile Delphes on Ubuntu:
    • Download newest version of Delphes at Delphes website
    • Follow instructions in quick start documentation or of specific version:
      • encountered problem: "g++: error: tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.: No such file or directory
        make: * [tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.] Error 1". Problem most probably connected to the loactionof root and path of ROOTSYS in the computer or some missing libraries. Check makefile line 213 and make corrections.
      • with version 3.0.0: started compiling then showed error "external/ExRootAnalysis/ExRootProgressBar.cc:45: error: conversion from ‘TTime’ to ‘ULong64_t’ is ambiguous"..but wasnt able to find out what it means
  2. Download and install Delphes in lxplus.... Successful!
  3. Try using examples and tutorials in combination with root
    • to open root cd to CMSSW_X_X_X and then to src
    • make sure to sign in using ssh -Y otherwise gSystem->Load("libDelphes"); won't work
    • check out the examples and the cards in the folder
    • try to setup DelphesCMSFWLite

Hadronization

Working in the local cluster here at FIT

  1. Login to the cluster and set up the CMS enviroment
    • source /mnt/nas0/OSG/APP/cmssoft/cms/smsset_default.csh
    • cd to CMMSWX_X_X/src and type cmsenv
    • setenv CVSROOT :gserver:cmssw.cvs.cern.ch:/local/reps/CMSSW 
      kinit username@CERN.CH
      password
      kdestroy ##when you finish
  2. set up the libraries
    • cvs co Configuration/GenProduction/python/EightTeV/Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff.py
      scram b
  3. Use MadGraph to create event
    • define l+ = l+ ta+
    • define l- = l- ta-
    • generate p p > t t~, (t~ > W- b~, W- > l- vl~), (t~ > W+ b, W+ > l+ vl)
    • add process p p > t t~, (t~ > W- b~, W- > j j), (t~ > W+ b, W+ > j j) @2
    • add process p p > t t~, (t~ > W- b~, W- > l- vl~), (t~ > W+ b, W+ > j j) @3
    • add process p p > t t~, (t~ > W- b~, W- > j j), (t~ > W+ b, W+ > l+ vl) @4
    • output ttbar_v1
    • launch
    • change run card accordingly to whichever # of events, change the energy wanted for the collisions etc.
    • exit
  4. use cmsDriver.py Configuration/GenProduction/python/Z2onLHE_7TeV_pythia6_cff.py --filein=file:ttbar_1.lhe -s GEN,FASTSIM,HLT:GRun --pileup=FlatDist10_2011EarlyData_50ns --conditions START42_V11::All --beamspot Realistic7TeVCollision --eventcontent=RECOSIM --datatier GEN-SIM-DIGI-RECO -n 5000
  5. seems to work but doesnt create gen and root files just shows: More... Close
    Traceback (most recent call last):
    File "/mnt/nas0/OSG/APP/cmssoft/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_3/bin/slc5_amd64_gcc462/cmsDriver.py", line 43, in <module>
    run()
    File "/mnt/nas0/OSG/APP/cmssoft/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_3/bin/slc5_amd64_gcc462/cmsDriver.py", line 15, in run
    configBuilder.prepare()
    File "/mnt/nas0/OSG/APP/cmssoft/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_3/python/Configuration/PyReleaseValidation/ConfigBuilder.py", line 1801, in prepare
    self.addStandardSequences()
    File "/mnt/nas0/OSG/APP/cmssoft/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_3/python/Configuration/PyReleaseValidation/ConfigBuilder.py", line 585, in addStandardSequences
    raise Exception(pileupSpec+' is not a know mixing scenario:\n available are: '+'\n'.join(Mixing.keys()))
    Exception: FS_FlatDist10_2011EarlyData_50ns is not a know mixing scenario:
    available are: E7TeV _AVE_1_BX156
    E14TeV_L28E32_BX2808
    E8TeV_FlatDist_2011EarlyData_50ns
    E7TeV_FlatDist10_2011EarlyData_75ns
    E10TeV_L13E31_BX432
    LowLumiPileUp4Sources
    E7TeV_AVE_2_8_BXgt50ns_intime_only
    E7TeV_FIX_5_BX156
    E7TeV_Flat20_AllLate_75ns
    E7TeV_Chamonix2012_50ns_PoissonOOT
    E7TeV_FlatDist10_2011EarlyData_50ns_PoissonOOT
    E7TeV_L34E30_BX156
    E10TeV_FIX_3_BX432
    SLHC_LowLumiPileUp_Phase1_R39F16_HCal
    2012_peak11_25ns_PoissonOOTPU
    SLHC_LowLumiPileUp_Phase1_R34F16
    FS_E7TeV_ProbDist_2011Data_inTimeOnly
    LowLumiPileUp
    E7TeV_Flat20_AllEarly_75ns
    E7TeV_Ave25_25ns_PoissonOOTPU
    E7TeV_AVE_3_BX156
    E10TeV_FIX_2_BX432
    FS_mix_2012_Startup_inTimeOnly
    E7TeV_Fall2011ReDigi_50ns_PoissonOOT
    HiMix
    E8TeV_ProbDist_2011EarlyData_50ns
    NoPileUp
    E7TeV_FlatDist10_2011EarlyData_25ns_PoissonOOT
    E7TeV_Ave25_50ns_PoissonOOTPU
    E7TeV_Ave32_50ns
    E7TeV_ProbDist_2010Data_BX156
    2012_Summer_50ns_PoissonOOTPU
    E10TeV_FIX_1_BX432
    2012_lumiLevel_15_20_50ns_PoissonOOTPU
    SLHC_LowLumiPileUp_Phase1_R34F16_smpx
    E7TeV_AVE_2_8_BX_50ns
    E7TeV_FlatDist10_2011EarlyData_50ns
    E7TeV_Fall2011ReDigi_prelim_50ns_PoissonOOT
    SLHC_LowLumiPileUp_Phase1_R39F16_smpx
    InitialLumiPileUp
    E10TeV_L21E31_BX432
    E7TeV_AVE_1_BX2808
    E7TeV_FlatDist10_2011EarlyData_inTimeOnly
    E7TeV_AVE_10_BX2808
    FS_FlatDist10_2011EarlyData_inTimeOnly
    E10TeV_FIX_5_BX432
    FS_NoPileUp
    E7TeV_Fall2011_Reprocess_50ns_PoissonOOTPU
    E7TeV_Flat20_AllEarly_50ns
    156BxLumiPileUp
    E8TeV_AVE_10_BX_50ns
    E7TeV_AVE_5_BX156
    E7TeV_AVE_5_BX2808
    E7TeV_Flat20_AllLate_50ns
    SLHC_LowLumiPileUp_Phase1_R39F16
    E7TeV_AVE_02_BX2808
    FS_E7TeV_Fall2011_Reprocess_inTimeOnly
    E7TeV_Ave23_50ns
    E7TeV_AVE_50_BX2808
    E7TeV_AVE_2_BX156
    ProdStep2
    E8TeV_AVE_16_BX_25ns
    E7TeV_FIX_3_BX156
    E7TeV_FIX_2_BX156
    FS_LowLumiPileUp
    E7TeV_AVE_2_BX2808
    E7TeV_Fall2011ReDigi_25ns_PoissonOOT
    E7TeV_Ave18p4_50ns
    E8TeV_AVE_16_BX_50ns
    LowLumiPileUp4Sources_ProdStep1
    E7TeV_FIX_1_BX156
    E14TeV_L10E33_BX2808
    E7TeV_AVE_01_BX2808
    LowLumiPileUp_ProdStep1
    FS_2012_Startup_inTimeOnly
    E7TeV_AVE_05_BX2808
    2012_Startup_50ns_PoissonOOTPU
    2012_peak26_50ns_PoissonOOTPU
    E7TeV_L69E30_BX156
    E7TeV_AVE_20_BX2808
    HighLumiPileUp
    SLHC_LowLumiPileUp_stdgeom
  6. Dr. Yumiceva suggested to change the command cmsDriver.py Configuration/GenProduction/python/Z2onLHE_7TeV_pythia6_cff.py --filein=file:ttbar_1.lhe -s GEN,FASTSIM,HLT:GRun --pileup=FlatDist10_2011EarlyData_50ns --conditions START42_V11::All --beamspot Realistic7TeVCollision --eventcontent=RECOSIM --datatier GEN-SIM-DIGI-RECO -n 5000 because its not compatible with my version of CMSSW and it also only for collisions at 7TeV
  7. found this useful intro guide on GENERATION & SIMULATION
  8. Comparing the various commands to try to figure out what to change to make it work
cmsDriver.py Configuration/GenProduction/python/Z2onLHE_7TeV_pythia6_cff.py --filein=file:ttbar_1.lhe -s GEN,FASTSIM,HLT:GRun --pileup=FlatDist10_2011EarlyData_50ns --conditions START42_V11::All --beamspot Realistic7TeVCollision --eventcontent=RECOSIM --datatier GEN-SIM-DIGI-RECO -n 5000
cmsDriver.py Configuration/GenProduction/python/EightTeV/Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff.py --step GEN,SIM --beamspot Realistic8TeVCollision --conditions START52_V9::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN-SIM --filein=file:lhe/tttt_unweighted_events.lhe
cmsDriver.py TTbar_Tauola_cfi.py -s GEN,FASTSIM --pileup NoPileUp \ --conditions auto:mc --eventcontent RECOSIM \ --beamspot=Early10TeVCollision --datatier GEN-SIM-RECO -n 10 --no_exec
cmsDriver.py Configuration/GenProduction/python/EightTeV/Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff.py --filein=file:lhe/tttt_unweighted_events.lhe -s GEN,FASTSIM,HLT:5E33v4 --conditions START52_V9::All --beamspot Realistic8TeVCollision --pileup 2012_Startup_inTimeOnly --datatier AODSIM --eventcontent AODSIM -n 20
the one in the upper right corner seems to work somehow even though with some errors, but it created the root and py files: Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff_py_GEN_SIM.py and .root (on the right track!) More... Close GEN,SIM,ENDJOB We have determined that this is simulation (if not, rerun cmsDriver.py with --data)
GEN
Loading generator fragment from EightTeV.Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff
SIM
ENDJOB
entry file:ttbar_1.lhe
Starting cmsRun Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff_py_GEN_SIM.py
01-Mar-2013 12:44:56 EST Initiating request to open LHE file file:ttbar_1.lhe
----- Begin Fatal Exception 01-Mar-2013 12:44:56 EST-----------------------
An exception of category 'FileOpenError' occurred while
[0] Calling InputSource::beginRun
[1] Calling StorageFactory::open()
[2] Calling File::sysopen()
Exception Message:
Failed to open the file 'file:ttbar_1.lhe'
Additional Info:
[a] open() failed with system error 'No such file or directory' (error code 2)
----- End Fatal Exception -------------------------------------------------
=========================================
MessageLogger Summary
type category sev module subroutine count total
---- -------------------- -- ---------------- ---------------- ----- -----
1 Fatal Exception -s AfterSource 1 1
2 fileAction -s AfterSource 1 1
type category Examples: run/evt run/evt run/evt
---- -------------------- ---------------- ---------------- ----------------
1 Fatal Exception BeforeEvents
2 fileAction BeforeEvents
Severity # Occurrences Total Occurrences
-------- ------------- -----------------
no actual event is generated...
System 2 2

  1. The problem was that I didn't have the "Configuration" file in my local directory
  2. import the file from CERN to local
    • kinit username@CERNNOSPAMPLEASE.CH
    • cvs co Configuration/GenProduction/python/EightTeV/Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff.py
    • cd into src
    • now there should be a directory under src (or wherever you were located) called "Configuration"
    • use cmsDriver.py Configuration/GenProduction/python/EightTeV/Hadronizer_TuneZ2star_8TeV_generic_LHE_pythia_tauola_cff.py --step GEN,SIM --beamspot Realistic8TeVCollision --conditions START52_V9::All --pileup NoPileUp --datamix NODATAMIXER --eventcontent RAWSIM --datatier GEN-SIM --filein=file:unweighted_events.lhe
    • *make sure that the lhe file is also in the local directory!

*

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2013-03-18 - VirginiaZiweiZhang
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback