1 #ifndef ALIMUONVDIGITSTORE_H
2 #define ALIMUONVDIGITSTORE_H
15 #ifndef ALIMUONVSTORE_H
19 #ifndef ALIMUONVDIGIT_H
35 virtual Bool_t
Add(TObject*
object);
46 Int_t manuChannel, Int_t cathode)
const = 0;
73 Int_t cathode=2)
const = 0;
93 virtual Int_t
GetSize()
const = 0;
99 virtual Int_t
GetSize(Int_t detElemId)
const {
return GetSize(detElemId,2); }
102 virtual Int_t
GetSize(Int_t detElemId, Int_t cathode)
const;
Interface for a digit container.
virtual TIterator * CreateIterator() const =0
Create an iterator to loop over all our digits.
virtual Int_t GetSize() const =0
Number of digits we store.
virtual AliMUONVDigit * Remove(AliMUONVDigit &digit)=0
Remove an element.
virtual AliMUONVDigitStore * Create() const =0
Create an (empty) object of the same concrete class as *this.
virtual TIterator * CreateTriggerIterator() const =0
Create an iterator to loop over trigger digits only.
virtual TIterator * CreateTrackerIterator() const =0
Create an iterator to loop over tracker digits only.
virtual Int_t GetSize(Int_t detElemId) const
Number of digits in a given detection element.
virtual ~AliMUONVDigitStore()
virtual AliMUONVDigit * FindObject(const TObject *object) const
Find an object (default is to forward to FindObject(object->GetUniqueID())
virtual AliMUONVDigit * CreateDigit(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const =0
Create a digit.
EReplacePolicy
Replacement policy : what to do when adding a digit to the store.
Base class for MUON data stores.
virtual Bool_t HasMCInformation() const =0
Whether we have any MC related information (e.g. at least one simulated digit)
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.