![]() |
AliRoot Core
a565103 (a565103)
|
Interface of a cluster container. More...
#include <AliMUONVClusterStore.h>
Public Member Functions | |
AliMUONVClusterStore () | |
virtual | ~AliMUONVClusterStore () |
virtual Bool_t | Add (TObject *object) |
Add an object to the store. More... | |
virtual AliMUONVCluster * | Add (const AliMUONVCluster &Cluster)=0 |
Add a cluster object to the store. More... | |
virtual AliMUONVCluster * | Add (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 AliMUONVCluster * | CreateCluster (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 AliMUONVCluster * | Remove (AliMUONVCluster &cluster)=0 |
Remove a cluster object to the store. More... | |
virtual AliMUONVCluster * | FindObject (const TObject *object) const |
Find an object. More... | |
virtual AliMUONVCluster * | FindObject (UInt_t uniqueID) const |
Find an object using a single id. More... | |
![]() | |
AliMUONVStore () | |
virtual | ~AliMUONVStore () |
virtual AliMUONVStore * | Create () 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 AliMUONVClusterStore * | Create (TTree &tree) |
![]() | |
static AliMUONVStore * | Create (TTree &tree, const char *what) |
Create a store from a TTree. More... | |
Interface of a cluster container.
An interface of a cluster container
The object stored are inherited from AliMUONVCluster
Definition at line 25 of file AliMUONVClusterStore.h.
AliMUONVClusterStore::AliMUONVClusterStore | ( | ) |
ctor
Definition at line 36 of file AliMUONVClusterStore.cxx.
|
virtual |
dtor
Definition at line 42 of file AliMUONVClusterStore.cxx.
|
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().
|
pure virtual |
Add a cluster object to the store.
Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.
|
pure virtual |
Create a new cluster with an unique ID and add it to the store.
Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.
|
pure virtual |
Clear container.
Implements AliMUONVStore.
Implemented in AliMUONClusterStoreV1, and AliMUONClusterStoreV2.
Referenced by AliMUONTracker::Clusters2Tracks(), AliMUONDataInterface::ClusterStore(), AliMUONTracker::LoadClusters(), AliMUONTrackerQADataMakerRec::MakeRecPoints(), MUONClusterInfo(), AliMUONRefitter::RetrackFromDigits(), and AliMUONTracker::UnloadClusters().
|
static |
Create a VClusterStore from the tree
Definition at line 62 of file AliMUONVClusterStore.cxx.
|
pure virtual |
Return an iterator to loop over the store in the given chamber range.
Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.
Referenced by AliMUONLegacyClusterServer::Clusterize(), AliMUONTrackReconstructorK::ComplementTracks(), AliMUONTrackReconstructor::ComplementTracks(), AliMUONVTrackReconstructor::FollowLinearTrackInChamber(), AliMUONVTrackReconstructor::FollowLinearTrackInStation(), AliMUONTrackReconstructor::FollowTrackInChamber(), AliMUONTrackReconstructorK::FollowTrackInChamber(), AliMUONTrackReconstructor::FollowTrackInStation(), AliMUONTrackReconstructorK::FollowTrackInStation(), AliMUONDataInterface::GetIterator(), and AliMUONVTrackReconstructor::MakeSegmentsBetweenChambers().
|
pure virtual |
Create a cluster.
Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.
Referenced by AliMUONESDInterface::NewCluster().
|
pure virtual |
Return an iterator to loop over the whole store.
Implements AliMUONVStore.
Implemented in AliMUONClusterStoreV2, and AliMUONClusterStoreV1.
Referenced by AliMUONRefitter::AddClusterToTracks(), AliMUONTrackerQADataMakerRec::MakeRecPoints(), MUONClusterInfo(), RawClustersOk(), AliMUONRefitter::ReClusterize(), and AliMUONRefitter::RetrackFromDigits().
|
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().
|
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.
|
pure virtual |
Remove a cluster object to the store.
Implemented in AliMUONClusterStoreV1, and AliMUONClusterStoreV2.
Referenced by AliMUONLegacyClusterServer::Clusterize(), and MUONClusterInfo().