AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVClusterStore Class Referenceabstract

Interface of a cluster container. More...

#include <AliMUONVClusterStore.h>

Inheritance diagram for AliMUONVClusterStore:

Public Member Functions

 AliMUONVClusterStore ()
 
virtual ~AliMUONVClusterStore ()
 
virtual Bool_t Add (TObject *object)
 Add an object to the store. More...
 
virtual AliMUONVClusterAdd (const AliMUONVCluster &Cluster)=0
 Add a cluster object to the store. More...
 
virtual AliMUONVClusterAdd (Int_t chamberId, Int_t detElemId, Int_t clusterIndex)=0
 Create a new cluster with an unique ID and add it to the store. More...
 
virtual AliMUONVClusterCreateCluster (Int_t chamberId, Int_t detElemId, Int_t clusterIndex) const =0
 Create a cluster. More...
 
virtual TIterator * CreateIterator () const =0
 Return an iterator to loop over the whole store. More...
 
virtual TIterator * CreateChamberIterator (Int_t firstChamberId, Int_t lastChamberId) const =0
 Return an iterator to loop over the store in the given chamber range. More...
 
virtual void Clear (Option_t *opt="")=0
 Clear container. More...
 
virtual AliMUONVClusterRemove (AliMUONVCluster &cluster)=0
 Remove a cluster object to the store. More...
 
virtual AliMUONVClusterFindObject (const TObject *object) const
 Find an object. More...
 
virtual AliMUONVClusterFindObject (UInt_t uniqueID) const
 Find an object using a single id. More...
 
- Public Member Functions inherited from AliMUONVStore
 AliMUONVStore ()
 
virtual ~AliMUONVStore ()
 
virtual AliMUONVStoreCreate () const =0
 Create an empty copy of this. More...
 
virtual Bool_t CanConnect () const =0
 Whether the Connect(TTree&) method is implemented. More...
 
virtual Bool_t Connect (TTree &tree, Bool_t alone=kTRUE) const
 Connect us to a TTree (only valid if CanConnect()==kTRUE) More...
 
virtual TObject * FindObject (const char *name) const
 Find an object by name. More...
 
virtual TObject * FindObject (Int_t i, Int_t j) const
 Find an object using 2 ids. More...
 
virtual Int_t GetSize () const =0
 The number of objects stored. More...
 
virtual Int_t GetSize (Int_t i) const
 The number of objects stored for firstid=i. Not implemented by default. More...
 
virtual Bool_t IsEmpty () const
 Whether we are empty or not. More...
 
virtual void Print (Option_t *wildcard="") const
 Print all objects whose name matches wildcard. More...
 
virtual void Print (Option_t *wildcard, Option_t *opt) const
 Print, with option, all objects whose name matches wildcard. More...
 

Static Public Member Functions

static AliMUONVClusterStoreCreate (TTree &tree)
 
- Static Public Member Functions inherited from AliMUONVStore
static AliMUONVStoreCreate (TTree &tree, const char *what)
 Create a store from a TTree. More...
 

Detailed Description

Interface of a cluster container.

An interface of a cluster container

The object stored are inherited from AliMUONVCluster

Author
Laurent Aphecetche, Subatech

Definition at line 25 of file AliMUONVClusterStore.h.

Constructor & Destructor Documentation

AliMUONVClusterStore::AliMUONVClusterStore ( )

ctor

Definition at line 36 of file AliMUONVClusterStore.cxx.

AliMUONVClusterStore::~AliMUONVClusterStore ( )
virtual

dtor

Definition at line 42 of file AliMUONVClusterStore.cxx.

Member Function Documentation

Bool_t AliMUONVClusterStore::Add ( TObject *  object)
virtual

Add an object to the store.

Add an object, if it is of the right class

Implements AliMUONVStore.

Definition at line 49 of file AliMUONVClusterStore.cxx.

Referenced by AliMUONESDInterface::Add(), AliMUONLegacyClusterServer::Clusterize(), AliMUONSimpleClusterServer::Clusterize(), and AliMUONTriggerTrackToTrackerClusters::GenerateClusters().

virtual AliMUONVCluster* AliMUONVClusterStore::Add ( const AliMUONVCluster Cluster)
pure virtual

Add a cluster object to the store.

Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.

virtual AliMUONVCluster* AliMUONVClusterStore::Add ( Int_t  chamberId,
Int_t  detElemId,
Int_t  clusterIndex 
)
pure virtual

Create a new cluster with an unique ID and add it to the store.

Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.

AliMUONVClusterStore * AliMUONVClusterStore::Create ( TTree &  tree)
static

Create a VClusterStore from the tree

Definition at line 62 of file AliMUONVClusterStore.cxx.

virtual AliMUONVCluster* AliMUONVClusterStore::CreateCluster ( Int_t  chamberId,
Int_t  detElemId,
Int_t  clusterIndex 
) const
pure virtual

Create a cluster.

Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.

Referenced by AliMUONESDInterface::NewCluster().

virtual TIterator* AliMUONVClusterStore::CreateIterator ( ) const
pure virtual
AliMUONVCluster * AliMUONVClusterStore::FindObject ( const TObject *  object) const
virtual

Find an object.

Find an object, if of AliMUONVCluster type

Reimplemented from AliMUONVStore.

Reimplemented in AliMUONClusterStoreV2.

Definition at line 69 of file AliMUONVClusterStore.cxx.

Referenced by MUONClusterInfo().

AliMUONVCluster * AliMUONVClusterStore::FindObject ( UInt_t  uniqueID) const
virtual

Find an object using a single id.

Find an object by its uniqueID (default is the same as in AliMUONVStore)

Generic find method. Should be overriden by derived class if it can be made more efficient there.

Reimplemented from AliMUONVStore.

Reimplemented in AliMUONClusterStoreV2.

Definition at line 79 of file AliMUONVClusterStore.cxx.

virtual AliMUONVCluster* AliMUONVClusterStore::Remove ( AliMUONVCluster cluster)
pure virtual

Remove a cluster object to the store.

Implemented in AliMUONClusterStoreV1, and AliMUONClusterStoreV2.

Referenced by AliMUONLegacyClusterServer::Clusterize(), and MUONClusterInfo().


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