ROOT logo
#ifndef ALIMUONCHECK_H
#define ALIMUONCHECK_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

// $Id$

/// \ingroup evaluation
/// \class AliMUONCheck
/// \brief Class for data quality control
/// 
//  Author Frederic Yermia, INFN Torino

#ifndef ROOT_TObject
#  include "TObject.h"
#endif
#ifndef ROOT_TString
#  include "TString.h"
#endif

class AliESDEvent;
class TTree;
class TH1F ;

class AliMUONCheck : public TObject
{
public:
  AliMUONCheck(const char* galiceFile, const char* esdFile,
               Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
  AliMUONCheck(const char* galiceFile, const char* galiceFileSim, const char* esdFile,
               Int_t firstEvent=0, Int_t lastEvent=-1, const char* outDir="");
  virtual ~AliMUONCheck();
 
  void CheckESD(Bool_t pdc06TriggerResponse= false);
  void CheckKine();
  void CheckTrackRef();
  void CheckOccupancy(Bool_t perDetEle =kFALSE) const;  
  
  void SetEventsToCheck(Int_t firstEvent, Int_t lastEvent);
  void SetOutFileName(const TString& outFileName) { fOutFileName = outFileName; } 

private:
  /// Not implemented
  AliMUONCheck(const AliMUONCheck& rhs);
  /// Not implemented
  AliMUONCheck& operator=(const AliMUONCheck& rhs);
  
private:
  static const TString& GetDefaultOutFileName(); 

  TString fFileName;   //!< File (galice.root) to read from fro reconstructed data
  TString fFileNameSim; //!< File (galiceSim.root) for simulated data
  TString fesdFileName; //!< File (AliESDs.root) to read from
 
  const char* fkOutDir;  //!< output data directory
  TString fOutFileName;  //!< output file name 
  
  Int_t   fFirstEvent;  //!< First event to consider
  Int_t   fLastEvent;   //!< Last event to consider

  ClassDef(AliMUONCheck,0) // Dumper of MUON related data
}; 

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