New DRAW format for the BTrigger group

The new DRAW format is derived from the DRAW_ZMUMU derivation.

This format should be used for the BTrigger validation, since it would contain enhanced B-Physics sample.

!!!Do not run the DRAW production on EOS, this produces corrupted files and it randomly fails in runtime!!!

The basic selection:

  • pT(mu) > 3.5 GeV
  • 1.5 < m(mumu) < 14 GeV
  • muon quality = 3 (very loose muons)
  • goodMuonTool.TurnOffMomCorr = True
  • get only Active triggers (no trigger selection would be better however it was producing corrupted files)
The following sections will describe how to produce this format and run the BTrigger slice test for users. (user)

In case that there must be performed some updates in the framework, the notes from developpement are attached. (devel)

How to Run (user)

asetup Athena,master,latest --AMI f1052 --inputBSFile <> --outputDRAW_DIMUFile <myDRAWOutputFileName.raw> -c "setMenu='LS2_v1';doEmptyMenu=True;doBphysicsSlice=True;forceEnableAllChains=True;doWriteBS=False;doWriteRDOTrigger=True;" --imf --perfmon --threads=1 --filesInput=<myDRAWOutputFileName.raw> TriggerJobOpts / --json -f expert-monitoring.root

Adjust DRAW in Athena master (devel)

mkdir source && mkdir build && mkdir run
asetup Athena,master,latest
cd source

lsetup git
git atlas init-workdir

cd athena/
git atlas addpkg PrimaryDPDMaker

vim PhysicsAnalysis /PrimaryDPDMaker/share/ ### The setting of the derivation is stored here

cd ..
echo "- athena/Projects/WorkDir" >> package_filters.txt

cd ../build
cmake ../source/athena/Projects/WorkDir/
source x86_64-centos7-gcc8-opt/

Produce the DRAW derivation files (devel)

Each time you start new work, load the compiled package:

cd build source x86_64-centos7-gcc8-opt/
cd ../run

nohup --AMI f1052 --inputBSFile <inputRawFile> --outputDRAW_DIMUFile <myDRAWOutputFileName.raw> &

This will produce <myDRAWOutputFileName.raw> file with selected events.

Update Metadata Information (devel)

In case that this file contain wrong metadata follofing command ned to be uset to rewrite them from the original RAW file -v -n 1000 --copyFrom <inputRawFile> --outputName <updatedFileName> <myDRAWOutputFileName.raw>

Merging Files (devel)

In order to merge multiple files the can be used (note that current version in athena have a bug, the fixed version attached below)

../mergeSctipt/ -n 2000 ../results

-- RadekNovotny - 2020-08-18

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2020-10-08 - RadekNovotny
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 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