AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTrackerDataWrapper Class Reference

Simple wrapper of AliMUONVTrackerData (for backward compatibility) More...

#include <AliMUONTrackerDataWrapper.h>

Inheritance diagram for AliMUONTrackerDataWrapper:

Public Member Functions

 AliMUONTrackerDataWrapper (AliMUONVTrackerData *data=0x0)
 
virtual ~AliMUONTrackerDataWrapper ()
 
virtual Bool_t IsValid () const
 Whether we are valid or not. More...
 
virtual AliMUONVTrackerDataData () const
 Our data. More...
 
virtual Bool_t IsRunnable () const
 Whether we can be run. More...
 
virtual Bool_t IsRunning () const
 Whether we are running (must be false if IsRunnable is false) More...
 
virtual void SetRunning (Bool_t)
 Set the running state (no effect if not runnable) More...
 
virtual Bool_t ProcessEvent ()
 Advance to next event (no effect if not runnable) More...
 
virtual void Rewind ()
 Rewind events (no effect if not runnable) More...
 
virtual void SetSource (const char *)
 Set our source URI. More...
 
virtual TString Source () const
 Get our source URI. More...
 
virtual Int_t NumberOfEvents () const
 Get the number of events we have seen (but not necessarily used...) More...
 
virtual Long64_t Merge (TCollection *li)
 Merge. More...
 
- Public Member Functions inherited from AliMUONVTrackerDataMaker
 AliMUONVTrackerDataMaker ()
 
virtual ~AliMUONVTrackerDataMaker ()
 
virtual void SetOwnerOfData (Bool_t)
 Whether or not we're the owner of our AliMUONVTrackerData. More...
 
virtual Bool_t IsEventByEvent () const
 Whether we're only handling event-by-event data (i.e. no accumulation) More...
 
virtual void SetEventByEvent (Bool_t)
 Set event-by-event mode. More...
 
virtual Bool_t NextEvent ()
 Advance to next event and process it (no effect if not runnable) More...
 
virtual void SetEventRange (Int_t, Int_t)
 Set event range (if not event by event) More...
 

Private Member Functions

 AliMUONTrackerDataWrapper (const AliMUONTrackerDataWrapper &rhs)
 not implemented. More...
 
AliMUONTrackerDataWrapperoperator= (const AliMUONTrackerDataWrapper &rhs)
 not implemented. More...
 

Private Attributes

AliMUONVTrackerDatafData
 our data (owner) More...
 

Detailed Description

Simple wrapper of AliMUONVTrackerData (for backward compatibility)

A simple wrapper to convert an AliMUONVTrackerData object into an AliMUONVTrackerDataMaker object.

This is mainly to offer backward compatibility : the mchview program used to save AliMUONVTrackerData objects, while it now saves AliMUONVTrackerDataMaker ones. So to read back old files, we need to be able to do the "conversion".

Author
Laurent Aphecetche, Subatech

Definition at line 23 of file AliMUONTrackerDataWrapper.h.

Constructor & Destructor Documentation

AliMUONTrackerDataWrapper::AliMUONTrackerDataWrapper ( AliMUONVTrackerData data = 0x0)

ctor

Definition at line 40 of file AliMUONTrackerDataWrapper.cxx.

AliMUONTrackerDataWrapper::~AliMUONTrackerDataWrapper ( )
virtual

dtor

Definition at line 47 of file AliMUONTrackerDataWrapper.cxx.

AliMUONTrackerDataWrapper::AliMUONTrackerDataWrapper ( const AliMUONTrackerDataWrapper rhs)
private

not implemented.

Member Function Documentation

virtual AliMUONVTrackerData* AliMUONTrackerDataWrapper::Data ( ) const
inlinevirtual

Our data.

Implements AliMUONVTrackerDataMaker.

Definition at line 33 of file AliMUONTrackerDataWrapper.h.

Referenced by NumberOfEvents().

virtual Bool_t AliMUONTrackerDataWrapper::IsRunnable ( ) const
inlinevirtual

Whether we can be run.

Implements AliMUONVTrackerDataMaker.

Definition at line 36 of file AliMUONTrackerDataWrapper.h.

virtual Bool_t AliMUONTrackerDataWrapper::IsRunning ( ) const
inlinevirtual

Whether we are running (must be false if IsRunnable is false)

Implements AliMUONVTrackerDataMaker.

Definition at line 39 of file AliMUONTrackerDataWrapper.h.

virtual Bool_t AliMUONTrackerDataWrapper::IsValid ( ) const
inlinevirtual

Whether we are valid or not.

Implements AliMUONVTrackerDataMaker.

Definition at line 30 of file AliMUONTrackerDataWrapper.h.

Long64_t AliMUONTrackerDataWrapper::Merge ( TCollection *  list)
virtual

Merge.

Merge

Implements AliMUONVTrackerDataMaker.

Definition at line 55 of file AliMUONTrackerDataWrapper.cxx.

Int_t AliMUONTrackerDataWrapper::NumberOfEvents ( ) const
virtual

Get the number of events we have seen (but not necessarily used...)

Get the number of events the data has seen

Implements AliMUONVTrackerDataMaker.

Definition at line 64 of file AliMUONTrackerDataWrapper.cxx.

AliMUONTrackerDataWrapper& AliMUONTrackerDataWrapper::operator= ( const AliMUONTrackerDataWrapper rhs)
private

not implemented.

virtual Bool_t AliMUONTrackerDataWrapper::ProcessEvent ( )
inlinevirtual

Advance to next event (no effect if not runnable)

Implements AliMUONVTrackerDataMaker.

Definition at line 45 of file AliMUONTrackerDataWrapper.h.

virtual void AliMUONTrackerDataWrapper::Rewind ( )
inlinevirtual

Rewind events (no effect if not runnable)

Implements AliMUONVTrackerDataMaker.

Definition at line 48 of file AliMUONTrackerDataWrapper.h.

virtual void AliMUONTrackerDataWrapper::SetRunning ( Bool_t  )
inlinevirtual

Set the running state (no effect if not runnable)

Implements AliMUONVTrackerDataMaker.

Definition at line 42 of file AliMUONTrackerDataWrapper.h.

virtual void AliMUONTrackerDataWrapper::SetSource ( const char *  )
inlinevirtual

Set our source URI.

Implements AliMUONVTrackerDataMaker.

Definition at line 51 of file AliMUONTrackerDataWrapper.h.

virtual TString AliMUONTrackerDataWrapper::Source ( ) const
inlinevirtual

Get our source URI.

Implements AliMUONVTrackerDataMaker.

Definition at line 54 of file AliMUONTrackerDataWrapper.h.

Member Data Documentation

AliMUONVTrackerData* AliMUONTrackerDataWrapper::fData
private

our data (owner)

Definition at line 68 of file AliMUONTrackerDataWrapper.h.

Referenced by Data(), and ~AliMUONTrackerDataWrapper().


The documentation for this class was generated from the following files: