Use TObject bit 22 to indicate if AliCentralTrigger owns or not fConfiguration
[u/mrichter/AliRoot.git] / ITS / AliITSQADataMakerSim.cxx
CommitLineData
04236e67 1/**************************************************************************
2 * Copyright(c) 2007-2009, 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/* $Id$ */
17
18// *************************************************************
19// Checks the quality assurance
20// by comparing with reference data
21// contained in a DB
22// -------------------------------------------------------------
23// W. Ferrarese Nov 2007
24// INFN Torino
25
26// --- ROOT system ---
27#include <TH2D.h>
28#include <TTree.h>
29
30// --- Standard library ---
31
32// --- AliRoot header files ---
33#include "AliITSQADataMakerSim.h"
34#include "AliLog.h"
35#include "AliQAChecker.h"
36
37
38ClassImp(AliITSQADataMakerSim)
39
40//____________________________________________________________________________
41AliITSQADataMakerSim::AliITSQADataMakerSim() :
42 AliQADataMakerSim(AliQA::GetDetName(AliQA::kITS), "SDD Quality Assurance Data Maker")
43{
44 // ctor
45}
46
47//____________________________________________________________________________
886fb7c9 48AliITSQADataMakerSim::AliITSQADataMakerSim(Int_t /*ldc */, Bool_t /*kMode */) :
04236e67 49 AliQADataMakerSim(AliQA::GetDetName(AliQA::kITS), "SDD Quality Assurance Data Maker")
50{
51 //ctor used to discriminate OnLine-Offline analysis
52}
53
54//____________________________________________________________________________
55AliITSQADataMakerSim::AliITSQADataMakerSim(const AliITSQADataMakerSim& qadm) :
56 AliQADataMakerSim()
57{
58 //copy ctor
59 SetName((const char*)qadm.GetName()) ;
60 SetTitle((const char*)qadm.GetTitle());
61}
62
63//__________________________________________________________________
64AliITSQADataMakerSim& AliITSQADataMakerSim::operator = (const AliITSQADataMakerSim& qac )
65{
66 // Equal operator.
67 this->~AliITSQADataMakerSim();
68 new(this) AliITSQADataMakerSim(qac);
69 return *this;
70}
71
72//____________________________________________________________________________
85f5e9c2 73void AliITSQADataMakerSim::StartOfDetectorCycle()
04236e67 74{
75 //Detector specific actions at start of cycle
76 AliDebug(1,"AliITSQADM::Start of ITS Cycle\n");
77}
78
79//____________________________________________________________________________
92a357bf 80void AliITSQADataMakerSim::EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray *list)
04236e67 81{
82 // launch the QA checking
83 AliDebug(1,"AliITSDM instantiates checker with Run(AliQA::kITS, task, list)\n");
84
85 AliQAChecker::Instance()->Run( AliQA::kITS , task, list);
86}
87