...
This package will be compiled on the fly by FlatAna but you need to copy the root file to the topology directory: {{
Code Block |
---|
phansson@pcphuat27]/u1/phansson/jetmetbtag% cp JetUncertainty/JESUncertaintyProvider/share/JESUncertainty.root FlatAna/trunk/topologies/jetmetbtag/ |
...
|
Trigger Navigation Tools:
Code Block |
---|
phansson@pcphuat27]/u1/phansson/jetmetbtag% svn co svn+ssh://phansson@svn.cern.ch/reps/atlasoff/Trigger/TrigAnalysis/TriggerMenuNtuple/tags/TriggerMenuNtuple-00-01-32 TriggerMenuNtuple |
This package MUST be compiled first!>cd
Code Block |
---|
phansson@pcphuat27]/u1/phansson/jetmetbtag% cd TriggerMenuNtuple/cmd |
Edit the Makefile in this directory. You must remove the two instances of "-m32" lines 15,20.>make
Code Block |
---|
phansson@pcphuat27]/u1/phansson/jetmetbtag/TriggerMenuNtuple/cmd% make
|
you might need to check that the path to this package are correct in ana.C (your run directory e.g. topology/jetmetbtag/), in particular check a few hard-coded paths (not very nice): // GRL loader
Code Block |
---|
gSystem->AddIncludePath(" -I../../../../DataQuality/GoodRunsLists/"); |
...
gSystem->AddIncludePath(" -I../../../../JetUncertainties/"); |
...
gSystem->CompileMacro("../../../../JetUncertainties/src/JESUncertaintyProvider.cxx","k"); |
...
gSystem->AddIncludePath(" -I../../../../TriggerMenuNtuple"); |
...
gSystem->Load("../../../../TriggerMenuNtuple/lib/libTriggerMenuNtuple.so","k"); |
...
|
gSystem->AddIncludePath(" -I../../../../JetUncertainties/");
gSystem->CompileMacro("../../../../JetUncertainties/src/JESUncertaintyProvider.cxx","k");
gSystem->AddIncludePath(" -I../../../../TriggerMenuNtuple");
gSystem->Load("../../../../TriggerMenuNtuple/lib/libTriggerMenuNtuple.so","k");
Run an example
In order to run on the example you need a ntuple. This example runs on an ntuple:
user.bcbutler.susySlim11.v1.simple_Bb_B200_L100_herwigpp_susy.merge.NTUP_SUSY.e636_s933_s946_r1831_r1700_p364/
...
All the needed compilations are done automatically in the main root macro ana.C
.
Wiki Markup |
---|
There is an example in the {{topologies/example/}} directory to start from:
{{\[\]}}{{/u1/phansson/jetmetbtag% cd flatana/trunk/topologies/jetmetbtag}} |
The The analysis class Topology_cutflow
can be run with: \ Wiki Markup
Code Block |
---|
[phansson@pcphuat27 |
...
]/u1/phansson/ |
...
jetmetbtag% cd FlatAna/trunk/topologies/jetmetbtag |
...
[phansson@pcphuat27]/u1/phansson/temp/flatana_test/FlatAna/trunk/topologies/jetmetbtag% root |
...
-l |
...
root [0] .L ana.C |
...
root |
...
[1 |
...
] ana("cutflow","BbB200L100.susy011",100) |
This should produce root files containing some basic histograms and a log file with event statistics. Have a look at the next section to get more info on what was going on and how to use a generic ntuple.
...