Difference: IndependenceTests (1 vs. 10)

Revision 92015-09-30 - MikaVesterinen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Changed:
<
<

How to run

>
>

How to run Hlt1 independence tests on the LSF batch or Dirac with ganga

  The scripts now live in the Hlt/Hlt2CommissioningScripts package. You need to use MooreOnline rather than Moore, since this relies on the TupleHltDecReports
Line: 17 to 17
 
python scripts/Independence/MooreGetLines.py
Added:
>
>
Then we need to auto-generate the Moore scripts for the N + 1 lines (the +1 being the "all lines" version).
./scripts/Independence/make_hlt1_scripts.py
Then submit these to ganga
ganga -i scripts/Independence/ganga_Hlt1.py
Once you have the "AllLines" job, and at least one single line job completed, you can run this script to list the location of the tuples in your gangadir
scripts/Independence/list_jobs_Hlt1.py
Finally, you can analyse the tuples
scripts/Independence/independence.py
 

Older Instructions

Revision 82015-09-30 - MikaVesterinen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Changed:
<
<

Instructions

>
>

How to run

The scripts now live in the Hlt/Hlt2CommissioningScripts package. You need to use MooreOnline rather than Moore, since this relies on the TupleHltDecReports tool which lives in Hlt/IndependenceTests which is only included in MooreOnline in recent releases.

SetupProject MooreOnline v24r1 --build-env
getpack Hlt/Hlt2CommissioningScripts
Now we need to get the list of Hlt1 and Hlt2 line names. Edit the following script to choose whatever settings you want.
python scripts/Independence/MooreGetLines.py

Older Instructions

  For quick test (what is done in the nightlies) Setup:

Revision 72013-07-12 - MikaVesterinen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"
Added:
>
>
 

Independence Tests

Added:
>
>

Instructions

For quick test (what is done in the nightlies) Setup:

SetupProject Moore v20r2 --build-env
getpack Hlt/IndependenceTests head 
cd Hlt/IndependenceTests
cd cmt 
cmt make 
cd ..
SetupProject Moore v20r2
Run the test like this:
python tests/options/test_independence.py
Can set various options, e.g.
python tests/options/test_independence.py --Hlt1Lines=Hlt1TrackAllL0;Hlt1TrackMuon --Settings=Physics_September2012
And you can make random fake mismatches like this
python tests/options/test_independence.py --fake_rate=0.8
 

Results

* With Moore v14r5p2

Revision 62012-07-03 - MikaVesterinen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Added:
>
>

Results

* With Moore v14r5p2
 

Introduction

The HLT consist of socalled trigger lines, each line being optimised to cover a certain class of events of interest. All lines operate independently. Their independence is checked by running all lines alone on a large NoBias sample, and making sure that the results are compatible with running all lines simultaneously.

Revision 52012-04-22 - MikaVesterinen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Line: 37 to 37
 ./independence.py -d 2011 --version=v13r4p1 --backend=LSF --hlt1lines=all --hlt2lines=all -f --settings='Physics_May2012' --dddbtag='head-20110914' --conddbtag='head-20110901'
Changed:
<
<
>
>
Wait a few hours for the jobs to finish. Resubmit any failures.
./make_list.py <first_job_number> <last_job_number>
This makes a file, tuples.lst, with a list of lines and paths to the corresponding tuples. Now check for mismatches.
./find_mismatches.py tuples.lst
 

Revision 42012-04-22 - MikaVesterinen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Line: 14 to 14
 

Commands

To run the independence tests use the command Moore/Hlt/IndepenceTests/tests/options/test_independence.py as follows:
Added:
>
>

Instructions

Working setup for Moore v13r4p1

SetupProject Moore v13r4p1 --build-env
cd ${User_release_area}/Moore_v13r4p1/
getpack Hlt/IndependenceTests v1r2p1
cd ${User_release_area}/Moore_v13r4p1/Hlt/IndependenceTests/
cd cmt; cmt make; cd ..;
Running on the LSF batch system requires the following setup (there is probably a better way of doing this).
SetupDavinci
which garbage.exe
cp `which garbage.exe` ${User_release_area}/Moore_v13r4p1/InstallArea/x86_64-slc5-gcc43-opt/bin
Add some raw data to your ganga box and submit to the LSF batch system.
SetupGanga v507r12
lhcb-proxy-init
./independence.py -d 2011 --version=v13r4p1 --backend=LSF --hlt1lines=all --hlt2lines=all -f \
  --settings='Physics_May2012' --dddbtag='head-20110914' --conddbtag='head-20110901' <name_of_dataset_in_ganga_box>

 -- EricvanHerwijnen - 13-Jan-2012

Revision 32012-01-13 - EricvanHerwijnen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Revision 22012-01-13 - EricvanHerwijnen

Line: 1 to 1
 
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Line: 6 to 6
 The HLT consist of socalled trigger lines, each line being optimised to cover a certain class of events of interest. All lines operate independently. Their independence is checked by running all lines alone on a large NoBias sample, and making sure that the results are compatible with running all lines simultaneously.
Changed:
<
<
The independence tests are run in the nightlies as part of the Moore tests.
>
>
The independence tests are run in the nightlies as part of the Moore tests. The trigger decisions of all Hlt1&2 lines individually are compared to the decisions when running all the lines together. If the decisions match, the message "No mismatches found." is printed. When something is wrong, a list of the mismatches are printed.
 
Added:
>
>

Organization of the code

The code is kept in the Moore svn repository, under the directory Moore/Hlt/IndependenceTests.
 
Added:
>
>

Commands

To run the independence tests use the command Moore/Hlt/IndepenceTests/tests/options/test_independence.py as follows:
  -- EricvanHerwijnen - 13-Jan-2012 \ No newline at end of file

Revision 12012-01-13 - EricvanHerwijnen

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LHCbTrigger"

Independence Tests

Introduction

The HLT consist of socalled trigger lines, each line being optimised to cover a certain class of events of interest. All lines operate independently. Their independence is checked by running all lines alone on a large NoBias sample, and making sure that the results are compatible with running all lines simultaneously.

The independence tests are run in the nightlies as part of the Moore tests.

-- EricvanHerwijnen - 13-Jan-2012

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback