* 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"
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);
}
}
}
-
- delete hitStore;
} // end track loop
// 3/4 coincidence
if (gloTrg->PairUnlikeLpt()>=1) muonlpt++;
if (gloTrg->PairUnlikeHpt()>=1) muonhpt++;
- delete triggerStore;
-
} // end loop on event
// calculate efficiency with as a ref. at least 3/4 planes fired