1 #ifndef ALIMUONDIGITSTOREVIMPL_H
2 #define ALIMUONDIGITSTOREVIMPL_H
15 #ifndef ALIMUONVDIGITSTORE_H
37 virtual void Clear(Option_t* opt=
"");
40 Int_t manuChannel, Int_t cathode)
const = 0;
50 Int_t cathode=2)
const;
61 Int_t manuChannel, Int_t cathode)
const;
82 Int_t
FindIndex(Int_t detElemId, Int_t internalManuId, Int_t manuChannel)
const;
Bool_t fIndexed
! whether our internal indices fDEs and fManus are uptodate
Base implementation of TIterator for AliMUONDigitStoreVImpl.
virtual Int_t GetSize() const
Number of digits we store.
Interface for a digit container.
virtual TIterator * CreateTriggerIterator() const
Create an iterator to loop over trigger digits only.
virtual void Clear(Option_t *opt="")
Clear ourselves (i.e. Reset)
virtual ~AliMUONDigitStoreVImpl()
AliMUONDigitStoreVImpl & operator=(const AliMUONDigitStoreVImpl &rhs)
Base implementation of VDigitStore.
virtual AliMUONVDigit * AddConcreteDigit(TClonesArray &a, const AliMUONVDigit &digit, Int_t index)=0
Add concrete digit.
AliMUON2DMap * fMap
! index map for fast digit retrieval
virtual Int_t GetSize() const =0
Number of digits we store.
virtual Bool_t Connect(TTree &tree, Bool_t alone=kTRUE) const
Connect us to a TTree (only valid if CanConnect()==kTRUE)
virtual AliMUONVDigit * Add(const AliMUONVDigit &digit, EReplacePolicy replace)
AliMUONVDigit * Find(const AliMUONVDigit &digit) const
void UpdateIndex(const AliMUONVDigit &digit, Int_t index)
TClonesArray * fDigits
collection of digits
virtual TIterator * CreateTrackerIterator() const
Create an iterator to loop over tracker digits only.
virtual TIterator * CreateIterator() const
Create an iterator to loop over all our digits.
Int_t FindIndex(const AliMUONVDigit &digit) const
Basic implementation of AliMUONVStore container using AliMpExMap internally.
virtual Bool_t CanConnect() const
Whether we can be connected to a TTree.
virtual AliMUONVDigit * Remove(AliMUONVDigit &digit)
Remove an element.
virtual AliMUONVDigit * FindObject(UInt_t uniqueID) const
Find an object by its uniqueID.
virtual AliMUONVDigit * CreateDigit(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const =0
Create a digit.
AliMUONDigitStoreVImpl(const char *concreteClassName)
EReplacePolicy
Replacement policy : what to do when adding a digit to the store.
virtual TObject * FindObject(const char *name) const
Find an object by name.
virtual Bool_t Add(TObject *object)
Add an object, if it is of the right class.