]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONTriggerEfficiency.C
More sharing diagnostics
[u/mrichter/AliRoot.git] / MUON / MUONTriggerEfficiency.C
index 5eb407ed16df7c4d7a11a9d7d141a3b0aa854d6c..2a8c1d6b27418878548af3817269bf4a2aedf559 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
 #include "AliHeader.h"
 #include "AliLoader.h"
 #include "AliStack.h"
+#include "AliCDBManager.h"
 
 // MUON includes
 #include "AliMUON.h"
 #include "AliMUONHit.h"
 #include "AliMUONConstants.h"
 #include "AliMUONDigit.h"
-#include "AliMUONRawCluster.h"
 #include "AliMUONGlobalTrigger.h"
 #include "AliMUONTrack.h"
 
@@ -63,6 +65,10 @@ 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");
+
   // output file
   
   AliMUONMCDataInterface diSim(filenameSim);