]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/amoreTPC-QA/src/subscriber/SubscriberQA.cxx
Updated geometry on side C + measured ZDC z position
[u/mrichter/AliRoot.git] / TPC / amoreTPC-QA / src / subscriber / SubscriberQA.cxx
1 /***************************************************************************
2  *   Copyright (C) 2007 by Filimon Roukoutakis                             *
3  *   Filimon.Roukoutakis@cern.ch                                           *
4  *                                                                         *
5  *   This program is free software; you can redistribute it and/or modify  *
6  *   it under the terms of the GNU General Public License as published by  *
7  *   the Free Software Foundation; either version 2 of the License, or     *
8  *   (at your option) any later version.                                   *
9  *                                                                         *
10  *   This program is distributed in the hope that it will be useful,       *
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13  *   GNU General Public License for more details.                          *
14  *                                                                         *
15  *   You should have received a copy of the GNU General Public License     *
16  *   along with this program; if not, write to the                         *
17  *   Free Software Foundation, Inc.,                                       *
18  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19  ***************************************************************************/
20 #include "SubscriberQA.h"
21
22 ClassImp(amore::TPC::subscriber::SubscriberQA)
23
24 #include <sstream>
25 #include <iostream>
26
27 namespace amore {
28
29 namespace TPC {
30
31 namespace subscriber {
32
33 SubscriberQA::SubscriberQA()
34 {
35 }
36
37
38 SubscriberQA::~SubscriberQA()
39 {
40 }
41
42 void SubscriberQA::SubscribeMonitorObjects() {
43
44  std::ostringstream stringStream;
45  for(size_t i=0; i<100; ++i) {
46   stringStream << i;
47   //amore::subscriber::Subscribe(/*moH1F[i],*/ stringStream.str().c_str());
48   stringStream.str("\r");
49  }
50
51 }
52
53 void SubscriberQA::StartOfCycle() {
54
55 }
56
57 void SubscriberQA::EndOfCycle() {
58
59  Process();
60  Update();
61  
62 }
63
64 void SubscriberQA::Process() {
65
66  std::cerr << "\nProcessing!";
67  usleep(1000000);
68  
69 }
70
71 void SubscriberQA::Update() {
72
73  std::cerr << " Updating! ";
74  usleep(1000000);
75  
76 }
77
78 void SubscriberQA::StartOfRun() {
79
80 }
81
82 void SubscriberQA::EndOfRun() {
83
84 }
85
86 void SubscriberQA::StartOfSession() {
87
88 }
89
90 void SubscriberQA::EndOfSession() {
91
92 }
93
94 };
95
96 };
97
98 };