remoe duplicate QA initialisation and do ESD QA for same detectors as RecPoint QA
[u/mrichter/AliRoot.git] / MUON / AliMUONVTrackerDataMaker.h
CommitLineData
0145e89a 1#ifndef ALIMUONVTRACKERDATAMAKER_H
2#define ALIMUONVTRACKERDATAMAKER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup graphics
10/// \class AliMUONVTrackerDataMaker
11/// \brief Producer of some AliMUONVTrackerData
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONVTrackerData;
49419555 20class TCollection;
0145e89a 21
22class AliMUONVTrackerDataMaker : public TObject
23{
24public:
25 AliMUONVTrackerDataMaker();
26 virtual ~AliMUONVTrackerDataMaker();
27
9016a84e 28 /// Whether we are valid or not
0145e89a 29 virtual Bool_t IsValid() const = 0;
30
9016a84e 31 /// Our data
0145e89a 32 virtual AliMUONVTrackerData* Data() const = 0;
33
9016a84e 34 /// Whether we can be run
0145e89a 35 virtual Bool_t IsRunnable() const = 0;
36
9016a84e 37 /// Whether we are running (must be false if IsRunnable is false)
0145e89a 38 virtual Bool_t IsRunning() const = 0;
39
49419555 40 /// Whether we're only handling event-by-event data (i.e. no accumulation)
41 virtual Bool_t IsEventByEvent() const { return kFALSE; }
42
43 /// Set event-by-event mode
44 virtual void SetEventByEvent(Bool_t /*flag*/) { }
45
9016a84e 46 /// Set the running state (no effect if not runnable)
0145e89a 47 virtual void SetRunning(Bool_t flag) = 0;
48
9016a84e 49 /// Advance to next event (no effect if not runnable)
0145e89a 50 virtual Bool_t NextEvent() = 0;
51
9016a84e 52 /// Rewind events (no effect if not runnable)
0145e89a 53 virtual void Rewind() = 0;
54
9016a84e 55 /// Set our source URI
0145e89a 56 virtual void SetSource(const char* source) = 0;
57
9016a84e 58 /// Get our source URI
0145e89a 59 virtual TString Source() const = 0;
d59411b9 60
61 /// Get the number of events we have seen (but not necessarily used...)
62 virtual Int_t NumberOfEvents() const = 0;
0145e89a 63
49419555 64 /// Merge
65 virtual Long64_t Merge(TCollection* list) = 0;
66
0145e89a 67 ClassDef(AliMUONVTrackerDataMaker,1) // Producer of AliMUONVTrackerData
68};
69
70#endif