1 #ifndef ALIMUONDIGITSTOREV1_H
2 #define ALIMUONDIGITSTOREV1_H
15 #ifndef ALIMUONVDIGITSTORE_H
31 virtual void Clear(Option_t* opt=
"");
43 Int_t manuChannel, Int_t cathode)
const;
57 Int_t cathode=2)
const;
62 Int_t manuChannel, Int_t cathode)
const;
82 Int_t manuChannel, Int_t cathode, Int_t& index)
const;
virtual Bool_t CanConnect() const
Whether the Connect(TTree&) method is implemented.
virtual Bool_t Connect(TTree &tree, Bool_t alone=kTRUE) const
Connect us to a TTree (only valid if CanConnect()==kTRUE)
Interface for a digit container.
virtual ~AliMUONDigitStoreV1()
virtual AliMUONVDigit * FindObject(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const
Find a digit by the quadruplet (de,manu,channel,cathode)
AliMUONVDigit * FindIndex(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode, Int_t &index) const
virtual TIterator * CreateTriggerIterator() const
Create an iterator to loop over trigger digits only.
TObject ** ChamberDigitsPtr(Int_t chamberId) const
TObjArray * fDigits
array of tclonesarray
TClonesArray * ChamberDigits(Int_t chamberId)
(Legacy) implementation of AliMUONVDigitStore
virtual Int_t GetSize() const =0
Number of digits we store.
Bool_t HasMCInformation() const
Whether we have any MC related information (e.g. at least one simulated digit)
virtual AliMUONVDigit * Remove(AliMUONVDigit &digit)
Remove an element.
virtual Int_t GetSize() const
Number of digits we store.
virtual TIterator * CreateIterator() const
Create an iterator to loop over all our digits.
virtual void Clear(Option_t *opt="")
Clear ourselves (i.e. Reset)
AliMUONDigitStoreV1 & operator=(const AliMUONDigitStoreV1 &rhs)
virtual TIterator * CreateTrackerIterator() const
Create an iterator to loop over tracker digits only.
TClonesArray * fChamberDigits
array of digits for one chamber
virtual AliMUONVDigit * Add(const AliMUONVDigit &digit, EReplacePolicy replace=kDeny)
virtual AliMUONVDigitStore * Create() const
Create an (empty) object of the same concrete class as *this.
virtual AliMUONVDigit * CreateDigit(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const
Create a digit.
AliMUONVDigit * Find(const AliMUONVDigit &digit, Int_t &index) const
virtual AliMUONVDigit * FindObject(const TObject *object) const
Find an object (default is to forward to FindObject(object->GetUniqueID())
EReplacePolicy
Replacement policy : what to do when adding a digit to the store.
virtual Bool_t Add(TObject *object)
Add an object, if it is of the right class.