]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONQADataMakerSim.cxx
Splitting of the QA maker into simulation and reconstruction dependent parts (Yves)
[u/mrichter/AliRoot.git] / MUON / AliMUONQADataMakerSim.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16
17 // --- ROOT system ---
18 #include <TClonesArray.h>
19 #include <TFile.h> 
20 #include <TH1F.h> 
21 #include <TH1I.h> 
22 #include <TH2F.h> 
23 #include <TLorentzVector.h>
24
25 // --- AliRoot header files ---
26 #include "AliLog.h"
27 #include "AliQAChecker.h"
28
29 #include "AliMUONQADataMakerSim.h"
30
31 //-----------------------------------------------------------------------------
32 /// \class AliMUONQADataMakerSim
33 ///
34 /// MUON base class for quality assurance data (histo) maker
35 ///
36 /// \author C. Finck
37
38 /// \cond CLASSIMP
39 ClassImp(AliMUONQADataMakerSim)
40 /// \endcond
41            
42 //____________________________________________________________________________ 
43 AliMUONQADataMakerSim::AliMUONQADataMakerSim() : 
44     AliQADataMakerSim(AliQA::GetDetName(AliQA::kMUON), "MUON Quality Assurance Data Maker")
45 {
46     /// ctor
47 }
48
49 //____________________________________________________________________________ 
50 AliMUONQADataMakerSim::AliMUONQADataMakerSim(const AliMUONQADataMakerSim& qadm) :
51     AliQADataMakerSim()
52 {
53     ///copy ctor 
54     SetName((const char*)qadm.GetName()) ; 
55     SetTitle((const char*)qadm.GetTitle()); 
56 }
57
58 //__________________________________________________________________
59 AliMUONQADataMakerSim& AliMUONQADataMakerSim::operator = (const AliMUONQADataMakerSim& qadm )
60 {
61     /// Equal operator.
62     this->~AliMUONQADataMakerSim();
63     new(this) AliMUONQADataMakerSim(qadm);
64     return *this;
65 }
66
67 //__________________________________________________________________
68 AliMUONQADataMakerSim::~AliMUONQADataMakerSim()
69 {
70     /// dtor
71 }
72
73 //____________________________________________________________________________ 
74 void AliMUONQADataMakerSim::EndOfDetectorCycle(AliQA::TASKINDEX task, TObjArray* list)
75 {
76     ///Detector specific actions at end of cycle
77     // do the QA checking
78     AliQAChecker::Instance()->Run(AliQA::kMUON, task, list) ;  
79 }
80
81
82 //____________________________________________________________________________ 
83 void AliMUONQADataMakerSim::StartOfDetectorCycle()
84 {
85     /// Detector specific actions at start of cycle
86   
87 }