ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/

/* $Id$ */

/// \ingroup macros
/// \file MUONCheck.C
/// \brief Macro for data quality control
///  
/// \author: Frederic Yermia, INFN Torino

#if !defined(__CINT__) || defined(__MAKECINT__)

#include "AliMUONCheck.h"

#include "AliCDBManager.h"

#include <TSystem.h>

#endif

void MUONCheck(Int_t firstEvent, Int_t lastEvent,
               TString fileNameSim="$ALICE_ROOT/MUON/test_out/galice_sim.root",
               TString fileName="$ALICE_ROOT/MUON/test_out/galice.root",
               TString esdsFileName="$ALICE_ROOT/MUON/test_out/AliESDs.root",
               TString outDir="$ALICE_ROOT/MUON/test_out/DataQualityControl")
{
   // Set default CDB storage
   AliCDBManager* man = AliCDBManager::Instance();
   man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");

   gSystem->Load("libMUONevaluation");

   AliMUONCheck* check
     = new AliMUONCheck(fileName.Data(), fileNameSim.Data(), esdsFileName.Data(),
                        firstEvent, lastEvent, outDir.Data());
      
   check->CheckESD();
   check->CheckKine();
   check->CheckTrackRef();
   check->CheckOccupancy();

   // delete check;  
}

 MUONCheck.C:1
 MUONCheck.C:2
 MUONCheck.C:3
 MUONCheck.C:4
 MUONCheck.C:5
 MUONCheck.C:6
 MUONCheck.C:7
 MUONCheck.C:8
 MUONCheck.C:9
 MUONCheck.C:10
 MUONCheck.C:11
 MUONCheck.C:12
 MUONCheck.C:13
 MUONCheck.C:14
 MUONCheck.C:15
 MUONCheck.C:16
 MUONCheck.C:17
 MUONCheck.C:18
 MUONCheck.C:19
 MUONCheck.C:20
 MUONCheck.C:21
 MUONCheck.C:22
 MUONCheck.C:23
 MUONCheck.C:24
 MUONCheck.C:25
 MUONCheck.C:26
 MUONCheck.C:27
 MUONCheck.C:28
 MUONCheck.C:29
 MUONCheck.C:30
 MUONCheck.C:31
 MUONCheck.C:32
 MUONCheck.C:33
 MUONCheck.C:34
 MUONCheck.C:35
 MUONCheck.C:36
 MUONCheck.C:37
 MUONCheck.C:38
 MUONCheck.C:39
 MUONCheck.C:40
 MUONCheck.C:41
 MUONCheck.C:42
 MUONCheck.C:43
 MUONCheck.C:44
 MUONCheck.C:45
 MUONCheck.C:46
 MUONCheck.C:47
 MUONCheck.C:48
 MUONCheck.C:49
 MUONCheck.C:50
 MUONCheck.C:51
 MUONCheck.C:52
 MUONCheck.C:53
 MUONCheck.C:54
 MUONCheck.C:55
 MUONCheck.C:56
 MUONCheck.C:57
 MUONCheck.C:58