Pablo Jacome's Four Top Logbook2


More... Close my twisty content

Important questions:

  1. SM tt~tt~ XSec:
    1. MadGraph: 7.13E-4 pb
    2. 4top Twiki: 9.144E-4 pb
  2. Heavy scalar boson tt~ XSec:
    1. MadGraph:
  3. cleaner.JetLeptonSubtractor(m_corrector,false); vs JetRecorrector
  4. cleaner.JetEnergyResolutionShifter();
  5. No SelectionModules has cut with iso
  6. Clean just clean Electrons with relisomax , Francisco ask min reliso
  7. SingleMu.xml is taken from peiffer/Ntuples_53
  8. selectedPatElectronsPFlowLoose o selectedPatElectronsPFlow
  9. What Production we are going to use?:
    1. https://twiki.cern.ch/twiki/bin/view/CMS/B2GZPrime2012SFrameProduction
      1. Production based on tlbsm_53x_v3
      2. Production based on tlbsm_53x_v2
        1. /pnfs/cms/WAX/11/store/user/b2g12006/53xNTuples-v2
          1. http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/UICAnalyses/ZprimeAnalysis2012/53xNTuples-v2/
        2. /pnfs/cms/WAX/11/store/user/peiffer/Ntuples_53
      3. Production based on tlbsm_53x_v2 - No ElectronsPFlowLoose
      4. Production based on tlbsm_52x_v5
  10. Do I have to include Lumi files in PreSelection? (... there's no error when working without it)
  11. Revisar github
    1. https://github.com/yumiceva
  12. SFrame: Differences between ZprimeSelectionCycle and ZprimaPostSelection
  13. Ntuples samples: WJets means W+1Jet or W+2Jets or W+3Jets + ...
  14. In Selection, https://twiki.cern.ch/twiki/bin/view/Main/FYumicevaSFrameFwk
    1. "One good Muon" means :
      1. Only one muon
      2. At least One good muon
    2. "One good PV" means :
      1. Only one PV
      2. At least One good PV
  15. In sample definition, What is Lumi tag intended for? ... If you use
    1.                 <InputData Lumi="8693.5" NEventsMax="-1" Type="MC" Version="DYJets_50toInf" Cacheable="False">
                              <In FileName="/eos/uscms/store/user/pjacome/PreSelection/4tops/Muon_final/ZprimePreSelectionCycle.MC.DYJets_50toInf.root" Lumi="0.0"/>
                              <InputTree Name="AnalysisTree" />
                              <OutputTree Name="AnalysisTree" />
                      </InputData> 
      
    2.             <Item Name="LumiFilePath" Value="/uscms_data/d3/pjacome/SFrame_new/ZprimeAnalysis/LumiFiles/" />
                  <Item Name="LumiFileName" Value="Mu40_208686.root" />
                  <Item Name="LumiTrigger" Value="HLT_Mu40_eta2p1_v" />
      
  16. first_selection , second_selection, triangularcut_selection and chi2_selection are sequential selections?
  17. What's the difference between m_cleaner->JetCleaner and NJetSelection?
    1. What's the difference between Cleaner and Selection?
    2. ./SFrameAnalysis/src/Cleaner.cxx
      ./SFrameAnalysis/src/SelectionModules.cxx

I) 23-Dic-2013 to 29-Dic-2013

  1. Selection: https://twiki.cern.ch/twiki/bin/view/Main/FYumicevaSFrameFwk
    1. One good PV.
    2. One good muon: min pt (26 GeV), max eta (2.1) , min reliso (0.12), and muon ID
    3. No loose electron: pt (35 GeV), eta(2.5), iso (0.1)
    4. At least 6 jets: pt (40 GeV), eta (2.4)
    5. At least 2 CSVM b-tagged jets.
    6. Ht (400 GeV)
  2. Exploring NTuples elements:
    1. TFile * f = TFile::Open("dcap://cmsgridftp.fnal.gov:24125/pnfs/fnal.gov/usr/cms/WAX/11/store/user/b2g12006/53xNTuples-v2/Tbar_s-channel_TuneZ2star_8TeV-powheg-tauola/Ntuple_1_1_CNy.root")
  3. cd ZprimeAnalysis
    1. rm obj/ZprimeSelectionCycle.o obj/dep/ZprimeSelectionCycle.d
    2. rm ../lib/ZprimeAnalysis.par ../lib/libZprimeAnalysis.so
    3. make

I)16-Dic-2013 to 22-Dic-2013

  1. Copy location fo Ntuples:
    1. cd SFrame/ZprimeAnalysis/config
      git clone git://github.com/yumiceva/FITAnalysis.git
      cp -r FITAnalysis/config/53xNTuples-v2/ ./
      
  2. List of several samples:
    1. DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph.xml
    2. DY2JetsToLL _M-50_TuneZ2Star_8TeV-madgraph.xml
    3. DY3JetsToLL _M-50_TuneZ2Star_8TeV-madgraph.xml
    4. DY4JetsToLL _M-50_TuneZ2Star_8TeV-madgraph.xml
    5. DYJetsToLL_M-10To50filter_8TeV-madgraph.xml
    6. DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball.xml
    7. DYJetsToLL _M-50_matchingdown_8TeV-madgraph.xml
    8. DYJetsToLL _M-50_matchingup_8TeV-madgraph-tauola.xml
    9. DYJetsToLL _M-50_scaledown_8TeV-madgraph-tauola.xml
    10. DYJetsToLL _M-50_scaleup_8TeV-madgraph-tauola.xml
    11. ElectronHad _Run2012A-13Jul2012-v1-ext-v1.xml
    12. ElectronHad _Run2012A-13Jul2012-v1.xml
    13. ElectronHad _Run2012A-recover-06Aug2012-v1.xml
    14. ElectronHad _Run2012B-13Jul2012-v1-ext-v1.xml
    15. ElectronHad _Run2012B-13Jul2012-v1.xml
    16. ElectronHad _Run2012C-24Aug2012.xml
    17. ElectronHad _Run2012C-EcalRecover_11Dec2012-v1.xml
    18. ElectronHad _Run2012C-PromptReco-v2-ext-v1.xml
    19. ElectronHad _Run2012C-PromptReco-v2.xml
    20. ElectronHad _Run2012D-PromptReco-v1-ext-v1.xml
    21. ElectronHad _Run2012D-PromptReco-v1.xml
    22. QCD_Pt_170_250_BCtoE_TuneZ2star_8TeV_pythia6.xml
    23. QCD_Pt_170_250_EMEnriched_TuneZ2star_8TeV_pythia6.xml
    24. QCD_Pt_20_30_BCtoE_TuneZ2star_8TeV_pythia6.xml
    25. QCD_Pt_20_30_EMEnriched_TuneZ2star_8TeV_pythia6.xml
    26. QCD_Pt_250_350_BCtoE_TuneZ2star_8TeV_pythia6.xml
    27. QCD_Pt_250_350_EMEnriched_TuneZ2star_8TeV_pythia6.xml
    28. QCD_Pt_30_80_BCtoE_TuneZ2star_8TeV_pythia6.xml
    29. QCD_Pt_30_80_EMEnriched_TuneZ2star_8TeV_pythia6.xml
    30. QCD_Pt_350_BCtoE_TuneZ2star_8TeV_pythia6.xml
    31. QCD_Pt_350_EMEnriched_TuneZ2star_8TeV_pythia6.xml
    32. QCD_Pt_80_170_BCtoE_TuneZ2star_8TeV_pythia6.xml
    33. QCD_Pt_80_170_EMEnriched_TuneZ2star_8TeV_pythia6.xml
    34. SingleMu.xml
    35. TTJets_MassiveBinDECAY_TuneZ2star_8TeV-madgraph-tauola.xml
    36. TTTT.xml
    37. TT_CT10_TuneZ2star_8TeV-powheg-tauola.xml
    38. TT_Mtt-1000toInf_CT10_TuneZ2star_8TeV-powheg-tauola.xml
    39. TT_Mtt-1000toInf_scaledown_8TeV-powheg-tauola.xml
    40. TT_Mtt-1000toInf_scaleup_8TeV-powheg-tauola.xml
    41. TT_Mtt-700to1000_CT10_TuneZ2star_8TeV-powheg-tauola.xml
    42. TT_Mtt-700to1000_scaledown_8TeV-powheg-tauola.xml
    43. TT_Mtt-700to1000_scaleup_8TeV-powheg-tauola.xml
    44. TT_scaledown_8TeV-powheg-tauola.xml TT_scaleup_8TeV-powheg-tauola.xml
    45. T_s-channel_TuneZ2star_8TeV-powheg-tauola.xml
    46. T_t-channel_TuneZ2star_8TeV-powheg-tauola.xml
    47. T_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola.xml
    48. Tbar_s-channel_TuneZ2star_8TeV-powheg-tauola.xml
    49. Tbar_t-channel_TuneZ2star_8TeV-powheg-tauola.xml
    50. Tbar_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola.xml
    51. W1JetsToLNu _TuneZ2Star_8TeV-madgraph.xml
    52. W2JetsToLNu _TuneZ2Star_8TeV-madgraph.xml
    53. W3JetsToLNu _TuneZ2Star_8TeV-madgraph.xml
    54. W4JetsToLNu _TuneZ2Star_8TeV-madgraph.xml
    55. WJetsToLNu_TuneZ2Star_8TeV-madgraph-tarball-v1.xml
    56. WJetsToLNu_TuneZ2Star_8TeV-madgraph-tarball-v2.xml
    57. WJetsToLNu _matchingdown_8TeV-madgraph-tauola.xml
    58. WJetsToLNu _matchingup_8TeV-madgraph-tauola.xml
    59. WJetsToLNu _scaledown_8TeV-madgraph-tauola.xml
    60. WJetsToLNu _scaleup_8TeV-madgraph-tauola.xml
    61. WW_TuneZ2star_8TeV_pythia6_tauola.xml
    62. WZ_TuneZ2star_8TeV_pythia6_tauola.xml
    63. ZZ_TuneZ2star_8TeV_pythia6_tauola.xml
  3. Preselection:
    1.     if(bcc->muons) cleaner.MuonCleaner(26,2.1,0.12);
          if(bcc->electrons) cleaner.ElectronCleaner(35,2.5,0.1,m_reversed_electron_selection);
          //if(bcc->jets) cleaner.JetLeptonSubtractor(m_corrector,false);
          if(!bcc->isRealData && bcc->jets) cleaner.JetEnergyResolutionShifter();
          if(bcc->jets) cleaner.JetCleaner(40,2.4,true);
      
    2. noIso vs. relIso
    3. if(bcc->jets) cleaner.JetLeptonSubtractor(m_corrector,false);
  4. Config:
    1.                         <Item Name="writeTTbarReco" Value="True" />
                              <Item Name="readTTbarReco" Value="False" />
      

H) 09-Dic-2013 to 15-Dic-2013

  1. PreSelection notes:
    1. JEC is required when using DATA
  2. Working on PROOF under CONDOR:
    1. condorPROOF_SFrame.sh , template.condor , configCondor.sh

G) 11-Oct-2013 to 17-Nov-2013

  1. Ntuple production:
    1. Production based on tlbsm_53x_v3
    2. Production based on tlbsm_53x_v2
    3. Production based on tlbsm_53x_v2 - No ElectronsPFlowLoose
    4. Production based on tlbsm_52x_v5
  2. Preselection:
    1. https://twiki.cern.ch/twiki/bin/view/Main/FYumicevaSFrameFwk#Skimmed_Analysis_ntuples_Presele
      1. At least one good muon: min pt (26 GeV), max eta (2.1) , min reliso (0.12), and muon ID
      2. No loose electron: pt (35 GeV), eta(2.5), iso (0.1)
      3. At least 6 jets: pt (40 GeV), eta (2.4)

F) 04-Oct-2013 to 10-Nov-2013

  1. Cross sections:
    1. ttbar, singleTop
      1. http://arxiv.org/pdf/1205.3453v1.pdf
  2. Working on number of events and luminosity problems:
    1. The following plot was obtained by using the luminosities from the config file of SFrame-Selection
      1. $scale factor=\frac{Lumi_{2012} }{Lumi_{config_file}}\,\,=\,\,\frac{19.3 pb^{-1} }{Lumi_{config_file}}$
      2. Using Event_Postsel directory:
        1. Histos_EventPostsel_HT.png
      3. Using EventCleaned directory:
        1. histos.png
    2. The following plot was done to check if: TTbar = TTbar_700_to_1000 + TTbar_1000toInf
      1. Using EventPostsel directory:
      2. HT_EventPostsel_TTbar.png
      3. Using EventCleaned directory:
      4. HT_EventCleaned_TTbar.png
    3. The following plot was done to check if: DYJets = DY1Jets + DY2Jets + DY3Jets + DY4Jets
      1. Using EventPostsel directory:
      2. HT_EventPostsel_DYs.png
      3. Using EventCleaned directory:
      4. HT_EventCleaned_DYs.png
  3. Working with SFramePlotter:
    1. Installing the latest version of SFrame: SFrame_Zprime.txt
    2. SFrame_new/SFramePlotter$ ./bin/Plots -f myExampleCyclePlots.steer
  4. Computed scales using Luminosity found in config files:
    1. TTbar Lumi: 92270 Scale: 0.21117
       
      SingleTop_T_sch Lumi: 68591 Scale: 0.284071
       
      SingleTop_T_tch Lumi: 66635 Scale: 0.292409
       
      SingleTop_Tbar_sch Lumi: 79531 Scale: 0.244995
       
      SingleTop_Tbar_tch Lumi: 63032 Scale: 0.309124
      
      WJets Lumi: 2097.3 Scale: 9.29037
      
      DYJets_50toInf Lumi: 8693.5 Scale: 2.2413
       
      DYJets_10to50 Lumi: 8288.5 Scale: 2.35081
       
      SingleTop_T_tWch Lumi: 44834 Scale: 0.434597
       
      SingleTop_Tbar_tWch Lumi: 44456 Scale: 0.438292
           
      DY1Jets_50toInf Lumi: 36088 Scale: 0.539922
           
      DY2Jets_50toInf Lumi: 10942 Scale: 1.78073
           
      DY3Jets_50toInf Lumi: 181499 Scale: 0.107354
           
      DY4Jets_50toInf Lumi: 233982 Scale: 0.0832743
      

E) 28-Oct-2013 to 03-Nov-2013

  1. Standard Model Cross sections from: https://twiki.cern.ch/twiki/bin/view/CMS/StandardModelCrossSectionsat8TeV
    1. NOTE: Production based on tlbsm_53x_v2
  2. Number of events for backgrounds from: https://twiki.cern.ch/twiki/bin/view/CMS/B2GZPrime2012SFrameProduction
  3. ... table

D) 21-Oct-2013 to 27-Oct-2013

  1. Exploring directories where the Preselection samples are:
    1. /pnfs/cms/WAX/11/store/user/b2g12006/MuonPreselection_53xNTuple-v2/
    2. Complete list of all the available samples in the directory:
      1. ElectronPreselection_53xNTuple-v2.txt and MuonPreselection_53xNTuple-v2.txt
  2. List of MC samples to be taken:
    1. ttbar
    2. W+jets
    3. single top
    4. Z+jets
  3. Preselection samples of our interest:
    1. Chosen-samples_MuonPreselection_53xNTuple-v2.txt
  4. Normalization:
    1. Formula for scale factor:
      1. $sf=\frac{Lumi \cdot XSec}{Nevents}$
    2. Example:
      1. http://cmscvs.cern.ch/cgi-bin/cmscvs.cgi/UserCode/makouski/NtuplePlotter/test/SF.py?revision=1.9&view=markup
  5. Working on histograms:
    1. Here's the code: Histos.C

C) 14-Oct-2013 to 20-Oct-2013

  1. Configuring PROOF (tested without using CONDOR):
    1. IMPORTANT: PROOF working/sandbox is NOT able to write to /eos system. For OUTPUT directory there is no problem to write to /eos
      1. ~/.rootrc
        1. Proof.Sandbox: /uscms_data/d3/pjacome/PROOF
      2. config/myAnalysisSelection.xml
        1. <Cycle Name="FourtopsSelectionCycle" RunMode="PROOF" ProofServer="lite://"  ProofWorkDir="/uscms_data/d3/pjacome/PROOF/" OutputDirectory="/eos/uscms/store/user/pjacome/Selection/from_Zprime/Muons/" PostFix="" TargetLumi="1.0" >
    2. Succeeded using CONDOR without PROOF:
    3. Add the following inside Cycle definition config/FourtopsSelectionCycleMuons_config.xml:
      1.  <Cycle Name="FourtopsSelectionCycle" OutputDirectory="/eos/uscms/store/user/pjacome/Selection/from_Zprime/Muons_v2/" PostFix="" TargetLumi="1.0" >
  2. CONDOR:
  3. Reading output using ROOT:
    • _file0->ls();
      TDirectory*  Event_Postsel = _file0->GetDirectory("Event_Postsel;1");
      Event_Postsel->ls();
      TH1F * HT = (TH1F*)Event_Postsel->Get("HT;1");
      # HT->Scale(0.1); ## example
      HT->Draw();
      
      
      TTree *myTree = (TTree*)_file0->Get("AnalysisTree;1");
      
      
      TObjString *tos = (TObjString*)_file0->Get("CycleConfiguration;1");
      cout << tos << endl;
      
      

B) 07-Oct-2013 to 13-Oct-2013

  1. FITAnalysis config
    • /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/config
      
  2. Ntuples Preselection output:
    • /eos/uscms/store/user/yumiceva/fourtops/sframePreselection/
  3. Original NTuples example, 53xNTuples-v2:
    • dcap://cmsgridftp.fnal.gov:24125/pnfs/fnal.gov/usr/cms/WAX/11/store/user/b2g12006/53xNTuples-v2/ElectronHad_Run2012A-13Jul2012-v1/Ntuple_10_1_fUN.root
  4. (OK) FITAnalysis from using tag Feb-15-2013 (see SFrame-Feb-15-2013 installation SFrame-Feb-15-2013.txt):
    • git clone git://github.com/yumiceva/FITAnalysis.git
      cd FITAnalysis
      rm obj/* obj/dep/*  src/*_Dict.* ../lib/libFITAnalysis.so ../lib/FITAnalysis.par
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/src/FourtopsSelectionCycle.cxx  ./src
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/include/FourtopsSelectionCycle.h  ./include
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/config/FourtopsSelectionCycleMuons_config.xml  ./config
      
      ## Add the following in   include/FITAnalysis_LinkDef.h  :
                  #pragma link C++ class FourtopsSelectionCycle+;
      make
      
  5. Configuring FourtopsSelection, use this DATA input Electrons_FourtopsPreselection_InputData.txt or Muons_FourtopsPreselection_InputData.txt :
    • cd FITAnalysis
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/ZprimeAnalysis2012/LumiFiles/HLT_Ele30_CaloIdVT_TrkIdT_PFNoPUJet100_PFNoPUJet25_208686.root   ./LumiFiles
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/ZprimeAnalysis2012/PileUpHistos/* ./PileUpHistos/
      cp -r /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/ZprimeAnalysis2012/JECFiles ./
      sframe_main config/FourtopsSelectionCycleMuons_config.xml
      

  1. (DO NOT USE THIS) Compiling FourtopsSelection (Yumiceva) using latest SFrame:
    • More... Close
      cd SFrameAnalysis
      source MakeAnalysis.sh  FIT
      cd FITAnalysis
      rm obj/* obj/dep/* src/*Analysis_Dict.* ../lib/libFITAnalysis.so ../lib/FITAnalysis.par
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/src/FourtopsSelectionCycle.cxx  ./src
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/include/FourtopsSelectionCycle.h  ./include
      cp /uscms/home/yumiceva/work/sframe/CMSSW_5_3_3/src/SFrame/FITAnalysis/config/FourtopsSelectionCycleMuons_config.xml  ./config
      
      ## Add the following in   include/testAnalysis_LinkDef.h  :
                  #pragma link C++ class FourtopsSelectionCycle+;
      
      ## Edit   include/FourtopsSelectionCycle.h   to have:
                  #include "SFrameTools/JetMETObjects/interface/FactorizedJetCorrector.h"
                  #include "SFrameTools/JetMETObjects/interface/JetCorrectionUncertainty.h"
                  #include "SFrameTools/include/ObjectHandler.h"
      
      
      ###### To download  from SFrameTools in   tag:  Feb-15-2013-v1:
      ##
      cd SFrame
      wget --no-check-certificate https://codeload.github.com/UHHAnalysis/SFrameTools/zip/Feb-07-2013-v1
      unzip Feb-07-2013-v1
      cp SFrameTools-Feb-07-2013-v1/src/ObjectHandler.cxx SFrameTools/src/
      cp SFrameTools-Feb-07-2013-v1/include/ObjectHandler.h  SFrameTools/include/
      cd SFrameTools
      rm obj/*   obj/dep/*  src/SFrameTools_Dict.*   ../libSFrameTools.so   ../lib/SFrameTools.par
      sed -i 's/#include "SLogger.h"/\/\/#include "SLogger.h"/g' include/ObjectHandler.h
      nano include/SFrameTools_LinkDef.h 
                    #pragma link C++ class ObjectHandler+;
      
                    #pragma link C++ class Particle+;
                    #pragma link C++ class std::vector<Particle>+;
                    #pragma link C++ class Jet+;
                    #pragma link C++ class std::vector<Jet>+;
                    #pragma link C++ class TopJet+;
                    #pragma link C++ class std::vector<TopJet>+;
                    #pragma link C++ class Electron+;
                    #pragma link C++ class std::vector<Electron>+;
                    #pragma link C++ class Muon+;
                    #pragma link C++ class std::vector<Muon>+;
                    #pragma link C++ class Tau+;
                    #pragma link C++ class std::vector<Tau>+;
                    #pragma link C++ class Photon+;
                    #pragma link C++ class std::vector<Photon>+;
                    #pragma link C++ class PrimaryVertex+;
                    #pragma link C++ class std::vector<PrimaryVertex>+;
                    #pragma link C++ class MET+;
                    #pragma link C++ class GenInfo+;
                    #pragma link C++ class GenParticle+;
                    #pragma link C++ class std::vector<GenParticle>+;
      
      make
      cd JetMETObjects
      rm tmp/*  lib/*
      make
      cd ../..
      
      ## Here ends SFrameTools recompiling
      ################################
      ## Now continues FIT , FourtopSelection
      cd ./testAnalysis
      sed -i 's/m_reversed_electron_selection/false/g' src/FourtopsSelectionCycle.cxx
      make
      
      

A) 30-Sep-2013 to 04-Oct-2013

  1. Important links:
    1. https://twiki.cern.ch/twiki/bin/view/Main/FranciscoYumiceva
    2. https://github.com/yumiceva/FITAnalysis
    3. https://twiki.cern.ch/twiki/bin/viewauth/CMS/B2GZprimeHighmassSemilep2012
    4. ~/nobackup/old_stuff_until_2012/analysis_area/exotica_wz/limit/CLA.C
  2. Installing SFrame in lxplus, following https://twiki.cern.ch/twiki/bin/viewauth/CMS/B2GZprimeHighmassSemilep2012:
    1. mkdir SFrame
      cd SFrame/
      export SCRAM_ARCH=slc5_amd64_gcc462
      scram project CMSSW CMSSW_5_3_3
      cd CMSSW_5_3_3/src/
      cmsenv
    2. Had problems when using git clone command:
      • git clone https://github.com/UHHAnalysis/NtupleWriter UHHAnalysis/NtupleWriter
    3. Message:
      • git: /afs/cern.ch/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_3/external/slc5_amd64_gcc462/lib/libz.so.1: version `ZLIB_1.2.0' not found (required by git)
  3. Installing SFrame in cmslpc:
    • # Change tcsh for bash, or remove 'source /uscmst1/prod/sw/cms/cshrc prod' from *~/.cshrc*
      mv ~/.cshrc ~/.cshrc.bak
      nano ~/.bashrc
              alias ls='ls --color'
              export SCRAM_ARCH=slc5_amd64_gcc462
              source /uscmst1/prod/sw/cms/bashrc prod
    • Executed commands: SFrame_all-latest.txt
  4. Error #1 appeared:
    • Error validating server certificate for 'https://svn.code.sf.net:443':
       - The certificate is not issued by a trusted authority. Use the
         fingerprint to validate the certificate manually!  - Valid: from Feb 21 03:55:25 2013 GMT until Mar 27 09:04:45 2014 GMT
      
  5. Error #2 appeared:
    • Generating dictionary src/SFrameTools_Dict.cxx
      ...
      /uscmst1/prod/sw/cms/slc5_amd64_gcc462/lcg/root/5.32.00-cms14/cint/cint/include/cwchar:9:20: fatal error: cwchar.h: No such file or directory
      compilation terminated.
      Error: external preprocessing failed. :0:
      !!!Removing src/SFrameTools_Dict.cxx src/SFrameTools_Dict.h !!!
      Error: /uscmst1/prod/sw/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_3/external/slc5_amd64_gcc462/bin/../../../../../../lcg/root/5.32.00-cms14/bin/rootcint: error loading headers...
      make: *** [src/SFrameTools_Dict.cxx] Error 1
      
      
  6. Setting SFrame:
    • cd ./SFrame/CMSSW_5_3_3/src
      cmsenv
      cd ../../SFrame
      source fullsetup.sh
  7. Creating own Analysis:
    • Modify /SFrame/SFrameAnalysis/MakeAnalysis.sh
    • sed -i "s|Example|${ANALYSISNAME}|g" include/*
      sed -i "s|Example|${ANALYSISNAME}|g" src/*
      sed -i "s|Example|${ANALYSISNAME}|g" proof/*
      sed -i "s|Example|${ANALYSISNAME}|g" Makefile
      sed -i "s|Example|${ANALYSISNAME}|g" config/*
      
      ## Removing  *New* files who use AnalysisModule
      find . -name '*New*' -type f -exec bash -c 'rm "$1" ' -- {} \;
      
      ## Renaming
      find . -name '*Example*' -type f -exec bash -c 'mv "$1" "${1/Example/${ANALYSISNAME}}"' -- {} \;
      
      
      #mv include/ExampleHists.h include/${ANALYSISNAME}Hists.h
      #mv include/ExampleCycle.h include/${ANALYSISNAME}Cycle.h
      #mv src/ExampleHists.cxx src/${ANALYSISNAME}Hists.cxx
      #mv src/ExampleCycle.cxx src/${ANALYSISNAME}Cycle.cxx
      #mv config/ExampleCycle_config.xml config/${ANALYSISNAME}_config.xml
      #mv include/ExampleAnalysis_LinkDef.h include/${ANALYSISNAME}Analysis_LinkDef.h
      
    • Generating new Analysis directory:
      •  cd SFrameAnalysis
        source MakeAnalysis.sh  mynew
    • To re-build:
      • testAnalysis$ rm obj/* obj/dep/* src/*Analysis_Dict.* ../lib/libtestAnalysis.so ../lib/testAnalysis.par

References

* http://arxiv.org/abs/1001.0221
* “Four-heavy-quark hadroproduction”, V. Barger, A. L. Stange, and R. J. N. Phillips, Phys. Rev. D 44 (Oct, 1991) 1987–1996, doi:10.1103/PhysRevD.44.1987.</verbatim>

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt Chosen-samples_MuonPreselection_53xNTuple-v2.txt r1 manage 0.5 K 2013-10-25 - 16:31 PabloJacome  
Texttxt ElectronPreselection_53xNTuple-v2.txt r1 manage 3.4 K 2013-10-25 - 15:38 PabloJacome  
Texttxt Electrons_FourtopsPreselection_InputData.txt r1 manage 30.4 K 2013-10-14 - 05:23 PabloJacome  
PNGpng HT_EventCleaned_DYs.png r1 manage 12.0 K 2013-11-04 - 22:10 PabloJacome  
PNGpng HT_EventCleaned_TTbar.png r1 manage 11.2 K 2013-11-04 - 22:07 PabloJacome  
PNGpng HT_EventPostsel_DYs.png r1 manage 10.7 K 2013-11-04 - 22:09 PabloJacome  
PNGpng HT_EventPostsel_TTbar.png r1 manage 9.8 K 2013-11-04 - 22:07 PabloJacome  
C source code filec Histos.C r1 manage 3.0 K 2013-11-01 - 15:39 PabloJacome  
PNGpng Histos_EventPostsel_HT.png r1 manage 13.8 K 2013-11-04 - 22:56 PabloJacome  
Texttxt MuonPreselection_53xNTuple-v2.txt r1 manage 1.8 K 2013-10-25 - 15:39 PabloJacome  
Texttxt Muons_FourtopsPreselection_InputData.txt r1 manage 18.4 K 2013-10-14 - 05:23 PabloJacome  
Texttxt SFrame-Feb-15-2013.txt r1 manage 1.9 K 2013-10-10 - 06:06 PabloJacome  
Texttxt SFrame_Zprime.txt r1 manage 1.0 K 2013-11-06 - 22:20 PabloJacome  
Texttxt SFrame_all-latest.txt r1 manage 2.4 K 2013-10-17 - 00:00 PabloJacome  
Unix shell scriptsh condorPROOF_SFrame.sh r1 manage 0.7 K 2013-12-16 - 01:05 PabloJacome  
Unix shell scriptsh condor_SFrame.sh r1 manage 0.3 K 2013-11-16 - 05:10 PabloJacome  
Unix shell scriptsh configCondor.sh r1 manage 0.5 K 2013-12-16 - 01:22 PabloJacome  
PNGpng histos.png r1 manage 13.1 K 2013-11-04 - 22:06 PabloJacome  
Unix shell scriptsh multiCondor.sh r1 manage 1.2 K 2013-11-16 - 05:11 PabloJacome  
Unknown file formatcondor template.condor r2 r1 manage 0.3 K 2013-12-16 - 01:06 PabloJacome  
Edit | Attach | Watch | Print version | History: r60 < r59 < r58 < r57 < r56 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r60 - 2014-02-09 - PabloJacome
 
    • 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-2020 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