1 #ifndef ALIMUONTRACKERDATAMAKER_H 2 #define ALIMUONTRACKERDATAMAKER_H 15 #ifndef ALIMUONVTRACKERDATAMAKER_H 37 AliRawReader* rawReader,
39 const char* calibMode,
40 Bool_t histogram=kFALSE,
42 Double_t xmax=4095.0);
45 AliRawReader* rawReader,
47 const char* calibMode,
48 Bool_t histogram=kFALSE,
50 Double_t xmax=4095.0);
86 void Print(Option_t* opt=
"")
const;
105 Long64_t
Merge(TCollection* li);
129 const char* calibMode,
132 Double_t xmax=4095.0);
Int_t fRunNumber
run number of the data
void EnableErrorLogger(AliMUONLogger *logger)
Set the error logger.
void SetEventRange(Int_t first, Int_t last)
Set the event range to consider.
AliMUONTrackerDataMaker & operator=(const AliMUONTrackerDataMaker &rhs)
not implemented
Bool_t IsRunning() const
Whether we are running or not.
Int_t NumberOfGoodPhysicsEvents() const
Number of good physics events seen.
TString fSource
where the data comes from
void SetEventByEvent(Bool_t flag)
Set event-by-event mode.
Bool_t IsValid() const
Whether we have a valid reader or not.
Long64_t Merge(TCollection *li)
Merge.
Producer of some AliMUONVTrackerData.
Class with MUON reconstruction parameters.
AliMUONTrackerDataMaker(TRootIOCtor *)
Bool_t IsEventByEvent() const
Whether we're only handling event-by-event data (i.e. no accumulation)
Bool_t fIsEventByEvent
we only keep one event's data (no accumulation)
AliMUONVStore * fOneEventData
data for a single event (owner)
void SetTryRecover(Bool_t flag)
Whether or not we should try to recover corrupted raw data.
AliRawReader * fRawReader
! reader of the data (owner or not)
AliMUONVTrackerData * Data() const
Get our accumulated data.
A logger that keeps track of the number of times a message appeared.
Bool_t NextEvent()
Advance to next event and process it (no effect if not runnable)
virtual ~AliMUONTrackerDataMaker()
void Print(Option_t *opt="") const
Class to calibrate the digits.
Int_t fNumberOfGoodPhysicsEvents
number of errors with no (fatal) readout error
Int_t fFirstEvent
first event to consider
void SetRunning(Bool_t flag)
Set the runnning status.
Int_t fLastEvent
last event to consider
Bool_t ProcessEvent()
Process current event.
Bool_t fTryRecover
whether we should try to recover corrupted raw data
AliMUONDigitCalibrator * fDigitCalibrator
! digit calibrator (if calibrating)
Bool_t fIsRunning
whether we are running or not
Bool_t IsRunnable() const
We can run if we have a reader.
Int_t NumberOfEvents() const
Number of events seen.
Int_t NumberOfPhysicsEvents() const
Number of physics events seen.
Single entry point to access MUON calibration data.
Implementation of VTrackerDataMaker to read raw data.
void Rewind()
Rewind events (no effect if not runnable)
void SetOwnerOfData(Bool_t flag)
Whether or not we're the owner of our fAccumulatedData.
void SetSource(const char *source)
Set our source URI.
AliMUONCalibrationData * fCalibrationData
calibration data (if calibrating)
static Int_t fgkCounter
to count the number of instances
TString fOCDBPath
OCDB path (if calibrating)
AliMUONVTrackerData * fAccumulatedData
data (owner or not)
Bool_t fIsOwnerOfRawReader
whether we must delete rawReader or not
void Ctor(const AliMUONRecoParam *param, Int_t runNumber, const char *calibMode, Bool_t histogram, Double_t xmin=0.0, Double_t xmax=4095.0)
TString Source() const
Get our source URI.
AliMUONLogger * fLogger
error logger (not owner)
Bool_t LastEventWasEmpty() const
Whether last decoded event was empty.
Int_t fNumberOfPhysicsEvents
number of physics events seen
Bool_t Add(const AliMUONTrackerDataMaker &other)
void SetRawReader(AliRawReader *rawReader)
Base class for MUON data stores.
Int_t fNumberOfEvents
number of events seen
Bool_t fIsOwnerOfAccumulatedData
owner or not of fAccumulatedData
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
Bool_t fLastEventWasEmpty
whether last decoded event was empty