]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/READMEtrigger.txt
resolving new library dependency libAOD
[u/mrichter/AliRoot.git] / MUON / READMEtrigger.txt
index 8ca8b639d5ada70f5654d14ba9eb5d8edf0bd68e..4de1b682ce94dca24ee1983de4af762a3b257602 100644 (file)
@@ -111,11 +111,16 @@ root [0] .L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C+
 root [1] MUONTriggerEfficiency()
 </pre>
 
-For the CVS default version of the trigger LUT (i.e. lutAptLpt1Hpt1p7.root),
-Two LUTs are stored in the CDB (/Calib/TriggerLut/)
-Run0_999999999_v0_s0.root   with Lpt 1.0 GeV and Hpt 1.7 GeV
-and
-Run0_999999999_v1_s0.root   with Lpt 0.0 GeV and Hpt 1.0 GeV (default)
+Two LUTs are stored in the CDB (/Calib/TriggerLut/):
+- Run0_999999999_v0_s0.root   with Lpt 1.0 GeV and Hpt 1.7 GeV
+- Run0_999999999_v1_s0.root   with Lpt 0.0 GeV and Hpt 1.0 GeV (default)
+
+and can be built with the AliMUONCDB class taking as source the root files
+(found in $ALICE_ROOT/MUON/data/):
+- lutAptLpt1Hpt1p7.root
+- lutAptAptLpt1.root
+
+respectively.
 
 The reference for J/psi and Upsilon is as below
  For 1000 Jpsi events with:
@@ -138,7 +143,8 @@ The reference for J/psi and Upsilon is as below
   Efficiency Hpt cut = 0.6943 +/- 0.0376
 </pre>
 
- Similarly, for 1000 Upsilon events, the output should be
+ Similarly, for 1000 Upsilon events (replace kJpsi by kUpsilon), the output 
+should be
 
 <pre>
   Efficiency Lpt cut = 0.9872 +/- 0.0458
@@ -174,7 +180,8 @@ root [1] MUONTriggerEfficiencyPt()
 
 \section trigger_s5 How to get trigger chamber efficiency from data
 
-Trigger chamber efficiency map is calculated during reconstruction and saved in AliESDs.root
+Trigger chamber efficiency map is calculated from AliESDs.root with the analysis task: PWG3/muon/AliMUONTriggerChamberEff.
+The output of the task is a file filename="MUON.TriggerEfficiencyMap.root" containing the numerator and denominator histograms for the efficiency calculation.
 In order to view and save the map, use macro MUONTriggerChamberEfficiency.C
 
 To compile MUONTriggerChamberEfficiency.C
@@ -185,12 +192,24 @@ To compile MUONTriggerChamberEfficiency.C
 
 To run MUONTriggerChamberEfficiency.C
 <pre>
-MUONTriggerChamberEfficiency();
+MUONTriggerChamberEfficiency("filename");
+</pre>
+
+If you want to make the calculated map available for next simulation use option kTRUE, and specify the run validity:
+<pre>
+MUONTriggerChamberEfficiency("filename",kTRUE,firstRun,lastRun);
 </pre>
 
-If you want to make the calculated map available for next simulation use option kTRUE, i.e.
+The last option allows to set the efficiency of each board of an RPC with the mean value of the chamber: this is useful when the efficiency was calculated with low statistics (like in cosmic runs).
 <pre>
-MUONTriggerChamberEfficiency(kTRUE);
+MUONTriggerChamberEfficiency("filename",kFALSE,firstRun,lastRun,kTRUE);
+</pre>
+
+Finally, to have a look to the map stored in the OCDB for the run runNumber, do:
+<pre>
+.includepath $ALICE_ROOT/MUON
+.L $ALICE_ROOT/MUON/MUONTriggerChamberEfficiency.C+
+ShowOCDBmap(runNumber)
 </pre>
 
 When running next simulation, please remember to activate trigger efficiency