Skip to content

aperloff/TAMUWW

Repository files navigation

/////////////////////////////////////////////////////////////////////////////////////////////////
//// CMS 
//// Preliminary Sensitivity Analysis
//// Modified by Osipenkov, Ilya : ilyao@fnal.gov
/////////////////////////////////////////////////////////////////////////////////////////////////
A lot of this is wrong (Alexx' comment)
Testing github again

////***PAT Skimming***////
1. Reduce the Monte Carlo (usually obtained via https://twiki.cern.ch/twiki/bin/viewauth/CMS/ProductionSummer2009at7TeV) to PAT Skims using
     CRAB_Launch_Files: 
       a) CRABLaunch_Any.py - define the PAT content, inplement the HLT and place loose cuts.
       b) QCDHT100to250MG.py, QCDHT250to500MG.py, STopSMG.py, STopTMG.py, STopTWMG.py, TTbarMG.py, WWPY.py, WZPY.py, WpJMG.py, ZZPY.py, ZpJMG.py (MG=MadGraph PY=PYTHIA) - specify the output file names which should match the ones in crab.cfg.
       c) crab.cfg - Specify the MC source files, output files, the number of total events as well as the number of events per job. Last used with CRAB 2_7_1.

2. Process the PAT Skims and create a user generated output 
     Selection/bin/PerformSelection.cc, BuildFile.xml:
       a) Create the CMSSW_3_5_4/bin/slc5_ia32_gcc434/PerformSelection.exe, which runs over the (small collections of) PAT tuples and generates the results. E.g.
       /uscms/home/ilyao/MATRIXELEMENT/CMSSW_3_5_4/bin/slc5_ia32_gcc434/PerformSelection.exe inputFiles=WZPY_TestRun_1_1.root,WZPY_TestRun_2_1.root,WZPY_TestRun_3_1.root  \outputEvery=5000 WZTestTAMUWW_outfile.root First100K_WZTestTAMUWW_Params.txt
       b) The EvtTree is stored in the .root output file (i.e. WZTestTAMUWW_outfile.root)
       c) The .txt file (i.e. First100K_WZTestTAMUWW_Params.txt) is a table with the information on how many events pass each of the cuts.
          -Note that the user defined .root & .txt output files should be the last two listed on the command line.

3. Work with large collections of PAT and user defined skims with
     Tools/ProcessSkims.cc:
       a). Process larage collections of PATTuple and/or compbine the results (via the ProcessPATSet function).
       b). Make a table summarizing an individual process ().
       c). Make a Global Table summarizing all of the processes ().

    -The .txt table is then used by MakeSelectionTable.C

2. MakeSelectionTable.C - place in CMSSW_3_3_0/src/ :
A macro, which reads in the input tables for the desired processes and produces the final SelectionTable.

3. InputXSections_PerformSelectionMG.txt - 
A listing of input CrossSections & Filter efficiencies for the madgraph MC.
  


About

The CMSSW UserCode repository for the TAMUWW group at Texas A&M University

Resources

Stars

Watchers

Forks

Packages

No packages published