Adding PiKP-only histograms and eliminating a number of switches where histograms...
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackerQAChecker.h
1 #ifndef ALIMUONTRACKERQACHECKER_H
2 #define ALIMUONTRACKERQACHECKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 // $Id$
7
8 /// \ingroup rec 
9 /// \class AliMUONTrackerQAChecker
10 /// \brief Implementation of QAChecker for MCH
11 ///
12 //  Author: Laurent Aphecetche
13
14 #include "AliMUONVQAChecker.h"
15
16 class TH1;
17
18 class AliMUONTrackerQAChecker: public AliMUONVQAChecker {
19
20 public:
21   AliMUONTrackerQAChecker();
22   virtual ~AliMUONTrackerQAChecker();
23
24   virtual AliMUONVQAChecker::ECheckCode* CheckRaws(TObjArray** list, const AliMUONRecoParam* recoParam);
25   virtual AliMUONVQAChecker::ECheckCode* CheckRecPoints(TObjArray** list, const AliMUONRecoParam* recoParam);
26   virtual AliMUONVQAChecker::ECheckCode* CheckESD(TObjArray** list, const AliMUONRecoParam* recoParam);
27
28 private:
29   
30   AliMUONVQAChecker::ECheckCode MarkHisto(TH1& histo, AliMUONVQAChecker::ECheckCode value) const;
31   
32   AliMUONVQAChecker::ECheckCode BeautifyOccupancyHistograms(TH1& hddl,
33                                                             TH1& hbp, 
34                                                             const TH1* hbuspatchconfig, 
35                                                             Int_t neventsseen,
36                                                             Int_t neventsused,
37                                                             const AliMUONRecoParam& recoParam);
38
39   AliMUONVQAChecker::ECheckCode BeautifyReadoutHistograms(TH1& hroe,
40                                                           TH1& hroenorm,
41                                                           const TH1& hbuspatchtokenerrors,
42                                                           Int_t neventsseen,
43                                                           Int_t neventsused,
44                                                           const AliMUONRecoParam& recoParam);
45
46   AliMUONVQAChecker::ECheckCode BeautifyEventsizeHistograms(TH1& heventsize,
47                                                             TH1& heventsizeperevent,
48                                                             Int_t neventsseen,
49                                                             Int_t neventsused,
50                                                             const AliMUONRecoParam& recoParam);
51   
52   ClassDef(AliMUONTrackerQAChecker,1)  // MUON quality assurance checker
53
54 };
55
56 #endif