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

Implementation of AliMUONVDigitStore. More...

#include <AliMUONDigitStoreV2S.h>

Inheritance diagram for AliMUONDigitStoreV2S:

Public Member Functions

 AliMUONDigitStoreV2S ()
 
virtual ~AliMUONDigitStoreV2S ()
 
virtual AliMUONVDigitStoreCreate () const
 Create an (empty) object of the same concrete class as *this. More...
 
virtual AliMUONVDigitCreateDigit (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const
 Create a digit. More...
 
virtual Bool_t HasMCInformation () const
 Whether we have any MC related information (e.g. at least one simulated digit) More...
 
- Public Member Functions inherited from AliMUONDigitStoreVImpl
 AliMUONDigitStoreVImpl (const char *concreteClassName)
 
 AliMUONDigitStoreVImpl (const AliMUONDigitStoreVImpl &rhs)
 
AliMUONDigitStoreVImploperator= (const AliMUONDigitStoreVImpl &rhs)
 
virtual ~AliMUONDigitStoreVImpl ()
 
virtual Bool_t CanConnect () const
 Whether we can be connected to a TTree. More...
 
virtual Bool_t Connect (TTree &tree, Bool_t alone=kTRUE) const
 Connect us to a TTree (only valid if CanConnect()==kTRUE) More...
 
virtual void Clear (Option_t *opt="")
 Clear ourselves (i.e. Reset) More...
 
virtual AliMUONVDigitAdd (const AliMUONVDigit &digit, EReplacePolicy replace)
 
virtual TIterator * CreateIterator () const
 Create an iterator to loop over all our digits. More...
 
virtual TIterator * CreateIterator (Int_t firstDetElemId, Int_t lastDetElemId, Int_t cathode=2) const
 
virtual TIterator * CreateTrackerIterator () const
 Create an iterator to loop over tracker digits only. More...
 
virtual TIterator * CreateTriggerIterator () const
 Create an iterator to loop over trigger digits only. More...
 
virtual AliMUONVDigitFindObject (UInt_t uniqueID) const
 Find an object by its uniqueID. More...
 
virtual AliMUONVDigitFindObject (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const
 Find a digit by the quadruplet (de,manu,channel,cathode) More...
 
virtual Int_t GetSize () const
 Number of digits we store. More...
 
virtual AliMUONVDigitRemove (AliMUONVDigit &digit)
 Remove an element. More...
 
- Public Member Functions inherited from AliMUONVDigitStore
 AliMUONVDigitStore ()
 
virtual ~AliMUONVDigitStore ()
 
virtual Bool_t Add (TObject *object)
 Add an object, if it is of the right class. More...
 
virtual AliMUONVDigitAdd (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode, EReplacePolicy replace)
 Add a digit and return the newly created digit. More...
 
virtual AliMUONVDigitFindObject (const TObject *object) const
 Find an object (default is to forward to FindObject(object->GetUniqueID()) More...
 
virtual Int_t GetSize (Int_t detElemId) const
 Number of digits in a given detection element. More...
 
virtual Int_t GetSize (Int_t detElemId, Int_t cathode) const
 Number of digits in a given detection element and a given cathode (2 for both cathodes) More...
 
- Public Member Functions inherited from AliMUONVStore
 AliMUONVStore ()
 
virtual ~AliMUONVStore ()
 
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 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...
 

Protected Member Functions

virtual AliMUONVDigitAddConcreteDigit (TClonesArray &a, const AliMUONVDigit &digit, Int_t index)
 Add concrete digit. More...
 

Additional Inherited Members

- Public Types inherited from AliMUONVDigitStore
enum  EReplacePolicy { kAllow, kDeny, kMerge, kIgnore }
 Replacement policy : what to do when adding a digit to the store. More...
 
- Static Public Member Functions inherited from AliMUONVDigitStore
static AliMUONVDigitStoreCreate (TTree &tree)
 
static AliMUONVDigitStoreCreate (const char *classname)
 
- Static Public Member Functions inherited from AliMUONVStore
static AliMUONVStoreCreate (TTree &tree, const char *what)
 Create a store from a TTree. More...
 

Detailed Description

Implementation of AliMUONVDigitStore.

Concrete implementation of AliMUONVDigitStore for simulated digits, using the AliMUONDigitStoreVImpl base implementation

Author
Laurent Aphecetche

Definition at line 19 of file AliMUONDigitStoreV2S.h.

Constructor & Destructor Documentation

AliMUONDigitStoreV2S::AliMUONDigitStoreV2S ( )

ctor

Definition at line 38 of file AliMUONDigitStoreV2S.cxx.

Referenced by Create().

AliMUONDigitStoreV2S::~AliMUONDigitStoreV2S ( )
virtual

dtor

Definition at line 45 of file AliMUONDigitStoreV2S.cxx.

Member Function Documentation

AliMUONVDigit * AliMUONDigitStoreV2S::AddConcreteDigit ( TClonesArray &  a,
const AliMUONVDigit digit,
Int_t  index 
)
protectedvirtual

Add concrete digit.

add a digit to this store

Implements AliMUONDigitStoreVImpl.

Definition at line 52 of file AliMUONDigitStoreV2S.cxx.

AliMUONVDigitStore * AliMUONDigitStoreV2S::Create ( ) const
virtual

Create an (empty) object of the same concrete class as *this.

create an empty store

Implements AliMUONVDigitStore.

Definition at line 74 of file AliMUONDigitStoreV2S.cxx.

AliMUONVDigit * AliMUONDigitStoreV2S::CreateDigit ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel,
Int_t  cathode 
) const
virtual

Create a digit.

create a digit, compatible with this store

Implements AliMUONDigitStoreVImpl.

Definition at line 82 of file AliMUONDigitStoreV2S.cxx.

virtual Bool_t AliMUONDigitStoreV2S::HasMCInformation ( ) const
inlinevirtual

Whether we have any MC related information (e.g. at least one simulated digit)

Implements AliMUONVDigitStore.

Definition at line 30 of file AliMUONDigitStoreV2S.h.


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