Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Run 2 H->bb twiki | ||||||||
Line: 23 to 23 | ||||||||
CERN Run 2 Analysis FrameworkThe VH group analysis framework is based on EventLoop. Documentation for which can be found here | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
https://twiki.cern.ch/twiki/bin/view/AtlasProtected/EventLoop![]() | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
The VH twiki can be found here | ||||||||
Line: 114 to 114 | ||||||||
/my/output/folder/ /my/output/folder/muon_data | ||||||||
Changed: | ||||||||
< < | /my/output/folder/muon_data/data-outputLabel /my/output/folder/muon_data/output-outputLabel | |||||||
> > | /my/output/folder/muon_data/*data-outputLabel* /my/output/folder/muon_data/*output-outputLabel* | |||||||
/my/output/folder/top .... | ||||||||
Line: 124 to 124 | ||||||||
..... | ||||||||
Added: | ||||||||
> > | (This is convenient because it means that we can go to our muon_data directory and run dq2-get to download all our muon data here and the code will automatically pick up all the output files from different grid sites because of the wildcard(*) character and run over all of them.) | |||||||
You then need to add the names muon_data, top and Zbb to the sample_names vector in FrameworkExe/util/hsg5frameworkReadCxAOD.cxx and recompile by doing rc compile from $MyAnalysisDir. You can now run the hsg5frameworkReadCxAOD MyOutDir executable. | ||||||||
Added: | ||||||||
> > | You can also set the cross section for each sample in this file. You do this using sample handler. An example for setting the top cross:
SH::Sample* top=sampleHandler.get ("topMC"); if (top) top->setMetaDouble ("sigmaEff", 252.89*0.543);This adds metadata to the output file that can be accessed later on when making the stacked plots. | |||||||
This will make output files hist-Zbb.root, hist-muon_data.root, hist-top.root. To make stacked plots from these files first do | ||||||||
Line: 133 to 144 | ||||||||
svn co svn+ssh://svn.cern.ch/reps/atlasphys/Physics/Higgs/HSG5/software/VHAnalysis/LHCRun2/InputsProcessingTools/PlottingTool/ PlottingTool | ||||||||
Changed: | ||||||||
< < | We then need to edit PlotCxAODReader.cxx and makePlots2Lepton.cxx. In the former there is a map called sampleNames. It maps the names used in the sampleNames vector from above to the names used in the makePlots file with addBackgroundSample("name from Reader", ""name that appears on plot legend", colour). | |||||||
> > | We then need to edit PlotCxAODReader.cxx and makePlots2Lepton.cxx. In the former there is a map called sampleNames. It maps the names used in the sampleNames vector from above to the names used in the makePlots file with addBackgroundSample("name from Reader", ""name that appears on plot legend", colour) . This file is also where the cross section information saved as metadata above is accessed and used for normalisation. | |||||||
Added: | ||||||||
> > | Editing the latter file is just to select which plots to make etc. | |||||||
We can then do root -b -q 'FrameworkExe/macros/runCxAODPlots.cxx("MyOutDir")' where MyOutDir is the directory that contains the hist-*.root files. |