Work log

Miscellaneous

Compute the remaining luminosity to be processed for a CRAB job

First of all get the JSON file containing the CRAB job part still to be processed :
crab -report -c XXX
Then, use your favourite LumiCalc instance to compute the integrated luminosity of this JSON list of events
pixelLumiCalc.py -i XXX/res/missingLumiSummary.json overview

Get the prescaling information on physics objects

E.g. for muons on Run2011A and Run2011B
cvs co HLTrigger/Tools/python/makeHLTPrescaleTable.py
HLTrigger/Tools/python/makeHLTPrescaleTable.py --path='*mu*' --firstRun=160404 --lastRun=173692 muonsA.csv
HLTrigger/Tools/python/makeHLTPrescaleTable.py --path='*mu*' --firstRun=175832 --lastRun=178078 muonsB.csv

FastSim HLT studies

cmsDriver.py Configuration/GenProduction/python/EightTeV/DYToMuMu_M_20_TuneZ2star_8TeV_pythia6_cff.py -s GEN,FASTSIM,HLT:GRun --conditions=auto:startup_GRun --pileup=NoPileUp --geometry DB --eventcontent=FEVTDEBUGHLT --datatier GEN-SIM-DIGI-RECO -n 1000 --no_exec --fileout=output.root

Pileup estimation in data

8th October

pileupCalc.py -i Cert_160404-180252_7TeV_PromptReco_Collisions11_JSON_MuonPhys.txt --inputLumiJSON /afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions11/7TeV/PileUp/pileup_2011_JSON_pixelLumi.txt --calcMode observed --minBiasXsec 69400 --maxPileupBin 50 --numPileupBins 50 MyDataPileupHistogram.root

Run 161020 not found in Lumi/Pileup input file. Check your files! Run 161156 not found in Lumi/Pileup input file. Check your files!

pileupCalc.py -i /afs/cern.ch/user/l/lforthom/scratch0/DiffFwdAnalysis/CMSSW_4_4_2_patch8/src/DiffractiveForwardAnalysis/GammaGammaLeptonLepton/json_Run2011A.txt --inputLumiJSON /afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions11/7TeV/PileUp/pileup_2011_JSON_pixelLumi.txt --calcMode observed --minBiasXsec 69400 --maxPileupBin 50 --numPileupBins 50 MyDataPileupHistogramA.root
Run 161020 not found in Lumi/Pileup input file.  Check your files!
Run 161156 not found in Lumi/Pileup input file.  Check your files!
pileupCalc.py -i /afs/cern.ch/user/l/lforthom/scratch0/DiffFwdAnalysis/CMSSW_4_4_2_patch8/src/DiffractiveForwardAnalysis/GammaGammaLeptonLepton/json_Run2011B.txt --inputLumiJSON /afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions11/7TeV/PileUp/pileup_2011_JSON_pixelLumi.txt --calcMode observed --minBiasXsec 69400 --maxPileupBin 50 --numPileupBins 50 MyDataPileupHistogramB.root

  Run2011A Run2011B Total
‹n› 6.56 12.24 9.674
σn 3.133 4.601 4.902

6th September

If necessary, modify all occurences of constexpr to const in PhysicsTools/Utilities/interface/LumiReWeighting.h (C++11 feature not fully supported on Ingrid and LXPLUS)

  • scram b

21st June

Instructions on how to use LPAIR

First of all, fetch the latest revision of the CDF version of LPAIR on your favourite SLCx 32-bit machine

23rd-27th January

Created new EDAnalyzer ( GeneratePUdist) to generate the pileup distributions within a unique root file (using a TFileService) :

  • genPUdist
    • TNPVIcount : number of PileupInfo elements (should be 3 all the way)
    • TNVTX : number of reconstructed vertices within the event
    • TNPUTrue : number of true interactions (returned by getTrueNumInteractions() method)
    • TNPUInTime : number of interactions reconstructed in-time (returned by getPU_NumInteractions() method)
Modified the python config file (currently test/RunGammaGammaMuEPAT2_modLF_cfg.py). If the previously mentioned root file is not discovered the analyzer will generate it using the EDAnalyzer. Otherwise, the next step will be performed : construction of the TTree using the GammaGammaMuE EDAnalyzer and weights evaluation for each event using the 3D reweighting package.

root files for pileup distributions on afs
/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions11/7TeV/PileUp/

As of today, the following files were available :

filename from run to run
Cert_160404-163869_7TeV_May10ReReco_Collisions11_JSON_v3.pileupTruth_v2_finebin.root 160404 163869
Cert_165088-167913_7TeV_PromptReco_JSON.pileupTruth_v2_finebin.root 165088 167913
Cert_170249-172619_7TeV_ReReco5Aug_Collisions11_JSON_v2.pileupTruth_v2_finebin.root 170249 172619
Cert_172620-173692_PromptReco_JSON.pileupTruth_v2_finebin.root 172620 173692
Cert_175832-177515_PromptReco_JSON.pileupTruth_v2_finebin.root 175832 177515
Cert_177718_178078_7TeV_PromptReco_Collisons11_JSON.pileupTruth_v2_finebin.root 177718 178078
Cert_178098-180252_7TeV_PromptReco_Collisions11_JSON.pileupTruth_v2_finebin.root 178098 180252

Note that these are "true" distributions with fine binning size for Lumi3DReweighting as seen in PileupMCReweightingUtilities.

-- LaurentForthomme - 27-Jan-2012

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r9 - 2013-01-22 - unknown
 
    • 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