1 /**************************************************************************
2 * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 // *************************************************************
19 // Checks the quality assurance
20 // by comparing with reference data
22 // -------------------------------------------------------------
23 // W. Ferrarese Nov 2007
26 // --- ROOT system ---
30 // --- Standard library ---
32 // --- AliRoot header files ---
33 #include "AliITSQADataMakerSim.h"
35 #include "AliQAChecker.h"
38 ClassImp(AliITSQADataMakerSim)
40 //____________________________________________________________________________
41 AliITSQADataMakerSim::AliITSQADataMakerSim() :
42 AliQADataMakerSim(AliQA::GetDetName(AliQA::kITS), "SDD Quality Assurance Data Maker")
47 //____________________________________________________________________________
48 AliITSQADataMakerSim::AliITSQADataMakerSim(Int_t ldc, Bool_t kMode) :
49 AliQADataMakerSim(AliQA::GetDetName(AliQA::kITS), "SDD Quality Assurance Data Maker")
51 //ctor used to discriminate OnLine-Offline analysis
54 //____________________________________________________________________________
55 AliITSQADataMakerSim::AliITSQADataMakerSim(const AliITSQADataMakerSim& qadm) :
59 SetName((const char*)qadm.GetName()) ;
60 SetTitle((const char*)qadm.GetTitle());
63 //__________________________________________________________________
64 AliITSQADataMakerSim& AliITSQADataMakerSim::operator = (const AliITSQADataMakerSim& qac )
67 this->~AliITSQADataMakerSim();
68 new(this) AliITSQADataMakerSim(qac);
72 //____________________________________________________________________________
73 void AliITSQADataMakerSim::StartOfDetectorCycle() const
75 //Detector specific actions at start of cycle
76 AliDebug(1,"AliITSQADM::Start of ITS Cycle\n");
79 //____________________________________________________________________________
80 void AliITSQADataMakerSim::EndOfDetectorCycle(AliQA::TASKINDEX task, TObjArray *list)
82 // launch the QA checking
83 AliDebug(1,"AliITSDM instantiates checker with Run(AliQA::kITS, task, list)\n");
85 AliQAChecker::Instance()->Run( AliQA::kITS , task, list);