]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONTriggerEfficiency.C
Resolving all symbols in the library
[u/mrichter/AliRoot.git] / MUON / MUONTriggerEfficiency.C
index a8ab4b14f79936b499fcf6d5149e67b75eeac663..b867968f159f13c68989fa3f3457f2e0f0844664 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*  */
+// $Id$
 
-//
-// Macro for checking trigger integrated efficiency for dimuons.
-// The efficiency is calculated with respect to the 3/4 coincidence.
-// Author: Fabien Guerin, LPC Clermont-Ferrand, Jan. 2006
-//
+/// \ingroup macros
+/// \file MUONTriggerEfficiency.C
+/// \brief Macro for checking trigger integrated efficiency for dimuons.
+///
+/// The efficiency is calculated with respect to the 3/4 coincidence.
+///
+/// \author Fabien Guerin, LPC Clermont-Ferrand, Jan. 2006
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
 // ROOT includes
@@ -38,6 +40,7 @@
 #include "AliHeader.h"
 #include "AliLoader.h"
 #include "AliStack.h"
+#include "AliCDBManager.h"
 
 // MUON includes
 #include "AliMUON.h"
@@ -62,6 +65,11 @@ void MUONTriggerEfficiency(const char* filenameSim="galice_sim.root",
                            Bool_t readFromRP = 0)
 {
   
+  // Set default CDB storage
+  AliCDBManager* man = AliCDBManager::Instance();
+  man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  man->SetRun(0);
+  
   // output file
   
   AliMUONMCDataInterface diSim(filenameSim);