How to create RECO/AOD files with the Z→μμγ Lyon selection

Documentation for files created from 2012 data and corresponding Monte Carlo

  • Links to and/or exact names of: Versions of: CMSSW (work area), IPNTreeProducer tag, mini-tree-making macro, event-list-making macro (with input cut values)

Data samples

For Nancy CMSSW_532 and 533

Status Dataset toto-Tag Run range JSON file SPS location events-tototuple before skim events-tototuple after skim events-miniTree events-pickEvents selection PU $\int L (\pb^{-1})$ lumiCal tag toto.py crab.cfg mini-tree-making event-list-making pickEvents ouput RECO file size
DONE /DoubleMu/Run2012A-13Jul2012-v1/AOD RECO_5_3_3_v1 190456-193621 Cert_190456-196531_8TeV_13Jul2012ReReco_Collisions12_JSON.txt /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMu2012 4143940 657836 4112 4112 isLooseMMG==1 and some other normal selection S6 809.379 V04-01-09 /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma.py & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMu2012/Run2012AV2/res/std*out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/crab.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Logfiles/Run2011A16Jan2012v1_*.out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/RunFileTXT/MakeTxtForPickEvent.C /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012AV2/crab_0_120913_152509/res/rootFile/Run2012A13Jul2012v1.root & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012AV2/crab_0_120913_152509/res/*std* 1.2G
DONE /DoubleMu/Run2012B-13Jul2012-v4/AOD RECO_5_3_3_v1 193834-196531 Cert_190456-196531_8TeV_13Jul2012ReReco_Collisions12_JSON.txt /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMu2012 19588003 3717960 20845 20845 isLooseMMG==1 and some other normal selection S6 4273 V04-01-09 /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma.py & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMu2012/Run2012BV2/res/std*out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/crab.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Logfiles/Run2012BV2_*.out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/RunFileTXT/MakeTxtForPickEvent.C /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012BV2/crab_0_120914_105122/res/rootFile/Run2012B13Jul2012v4.root & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012BV2/crab_0_120914_105122/res/*std* 5.6G
DONE /DoubleMu/Run2012A-recover-06Aug2012-v1/AOD RECO_5_3_3_v1 190782-190949 Cert_190782-190949_8TeV_06Aug2012ReReco_Collisions12_JSON.txt /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMu2012Runs5 655833 66520 420 420 isLooseMMG==1 and some other normal selection S6 82.136 V04-01-09 /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma.py & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMu2012Runs5/Run2012AV2Run5/res/std*out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/crab.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Logfiles/Run2012A_*.out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/RunFileTXT/MakeTxtForPickEvent.C /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012AV2Run5/crab_0_120913_135316/res/rootFile/Run2012Arecover06Aug2012v1.root & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012AV2Run5/crab_0_120913_135316/res/*std* 0.152G
DONE /DoubleMu/Run2012C-PromptReco-v1/AOD RECO_5_3_3_v1 197770-198913 Cert_201679-204567_8TeV_PromptReco_Collisions12_JSON.txt /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMuPromptRunC 2028921 418655 2535 2535 isLooseMMG==1 and some other normal selection S6 485.861 V04-01-09 /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma.py & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMuPromptRunC/Run2012CpromptV1/res/std*out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/crab.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Logfiles/Run2012C_*.out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/RunFileTXT/MakeTxtForPickEvent.C /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012CpromptV1/crab_0_120912_154318/res/rootFile/Run2012CPromptRecov1.root & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012CpromptV1/crab_0_120912_154318/res/*std* 0.736G
DONE /DoubleMu/Run2012C-PromptReco-v2/AOD RECO_5_3_3_v1 198934-203755 Cert_201679-204567_8TeV_PromptReco_Collisions12_JSON.txt /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMuPromptRunC 23863195 5278942 28344 28344 isLooseMMG==1 and some other normal selection S6 6168.44 V04-01-09 /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma.py & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/DoubleMuPromptRunC/Run2012CpromptV3*/res/std*out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/test/crab.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Logfiles/Run2012C_*.out /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/RunFileTXT/MakeTxtForPickEvent.C /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012CpromptV2AllNew/crab_0_130131_112842/res/Run2012CPromptRecov2.root & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012CpromptV2AllNew/crab_0_130131_112842/res/*std* 8.6G
DONE /DoubleMu/Run2012D-PromptReco-v1/AOD RECO_5_3_3_v3 203773-209465 Cert_190456-208686_8TeV_PromptReco_Collisions12_JSON.txt /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/DoubleMuPromptRunDOldSkim 28694416 6195637 28535(ZMu)/28477(Zmmg) 28535 isLooseMMG==1 and some other normal selection S6 7274 V04-01-09 /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma2.py & /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/DoubleMuPromptRunDOldSkim/Run2012DpromptV1OldSkim/res/std*.out /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/crab.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Logfiles/Run2012D*.out /sps/cms/jfan/CMSSW_5_3_3/src/PickEvents/RunFileTXT/MakeTxtForPickEvent.C /sps/cms/jfan/CMSSW_5_3_3/src/PickEvents/Utilities/scripts/Run2012DpromptV1OldSkim/crab_0_130205_130311/res/*root & /sps/cms/jfan/CMSSW_5_3_2_patch4/src/PickEvents/Utilities/scripts/Run2012DpromptV1OldSkim/crab_0_130205_130311/res/*std* 9.6G

MC samples

For Nancy CMSSW_533

Status Dataset toto-Tag SPS location events-tototuple before skim events-tototuple after skim events-miniTree events-pickEvents selection toto.py crab.cfg mini-tree-making event-list-making pickEvents ouput RECO file size
DONE /DYToMuMu_M-20_CT10_TuneZ2star_v2_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM RECO_5_3_3_v3 /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/DYToMuMu2012 42542115(ZMu)/47944386(Zmmg)/48819386(DAS) 12688875(ZMu)/3504656(Zmmg) 98890(ZMu)/106463(Zmmg) 98890(ZMu)/106463(Zmmg) isLooseMMG==1 and some other normal selection /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/toto_ZmumuGamma_MC.py & /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/DYToMuMu2012OldSkim/DYToMuMu2012ForNancyOLdSkimV1/res/CMSSW_*.stdout /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/test/crabMC.cfg = & =multicrab.cfg /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/MuGammaMiniTree/Selection_miniTree.C & /sps/cms/jfan/CMSSW_5_3_3/src/Morgan/IpnTreeProducer/MuGammaMiniTree/LogfileMC/DYToMuMu2012*.out /sps/cms/jfan/CMSSW_5_3_3/src/PickEvents/RunFileTXT /sps/cms/jfan/CMSSW_5_3_3/src/PickEvents/Utilities/scripts/DYToMuMu2012OldSkim/crab_0_130207_204736/res/*.root 31G

Step 1: Creation of toto-uples :

  • Install the correct version of CMSSW :
      scram list CMSSW // checks the versions of CMSSW installed on the computing center.
      scram project CMSSW CMSSW_X_X_X // Allows you to install the X_X_X version of CMSSW.
  • Install IPNTreeProducer :
      cd CMSSW_X_X_X/src/
      export CVSROOT=:gserver:cmscvs.cern.ch:/local/reps/CMSSW
      kinit -5 login@CERN.CH
      cvs co -r {tagName} -d ./UserCode/IpnTreeProducer UserCode/Morgan/IpnTreeProducer
  • Compilation and creation of libToto.so :
      cd CMSSW_X_X_X/src/
      scram build
      cd CMSSW_X_X_X/src/UserCode/IpnTreeProducer/src/
      make
      crab -cfg crab_X_.cfg -create
      crab "your directory" -submit
      crab "your directory" -get
      crab "your directory" -report
      source listGoodFiles.sh "your directory"

Step 2: Creation of miniTrees :

  • Import Zmumugamma programs :
      cvs co -d ./Zmumugamma/Selection UserCode/OBondu/Zmumugamma/Selection
  • Compile the macro with compile.sh
      source compile.sh macro.exe

  • Launch jobs on batch :
      source launcherJobs_miniTrees.sh

Step 3: Generation of the events list:

  • Copy EventsList.sh and EventsList.C in Zmumugamma/Selection, and modify the cuts inside. Then launch the script :
          source EventsList.sh "miniTree_*partALL"
    

Step 4: Creation of RECO samples of our selection :

  • In CMSSW_X_X_X/src/ do :
      cvs co -r CMSSW_X_X_X PhysicsTools/Utilities
  • Copy the outputs (= .txt files) of EventsList.sh in PhysicsTools/Utilities/scripts
  • Then run edmPickEvents.py as follows (before creating crab jobs, you can modify pickevents_crab.config if you want) :
      edmPickEvents.py "Dataset_name" events.txt --crab 
      crab -create -cfg pickevents_crab.config
      crab -submit
      crab -getoutput

A complete description of pick events can be found here: How to Pick Events

-- LouisSgandurra - 01-Oct-2012
Latex rendering error!! dvi file was not created.

Edit | Attach | Watch | Print version | History: r22 < r21 < r20 < r19 < r18 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r22 - 2013-02-14 - FanJiawei
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 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