static AliMUONVDigitStore* Create(TTree& tree);
+ static AliMUONVDigitStore* Create(const char* classname);
+
/// Create a digit
virtual AliMUONVDigit* CreateDigit(Int_t detElemId, Int_t manuId,
Int_t manuChannel, Int_t cathode) const = 0;
virtual TIterator* CreateTriggerIterator() const = 0;
using AliMUONVStore::FindObject;
+
+ /// Find an object (default is to forward to FindObject(object->GetUniqueID())
+ virtual AliMUONVDigit* FindObject(const TObject* object) const;
- /// Find a (tracker) digit by the triplet (de,manu,channel)
- virtual AliMUONVDigit* FindObject(Int_t detElemId, Int_t manuId, Int_t manuChannel) const = 0;
+ /// Find an object by its uniqueID
+ virtual AliMUONVDigit* FindObject(UInt_t uniqueID) const;
- /// Find a (trigger) digit by the quadruplet (de,lb,channel,cathode)
- virtual AliMUONVDigit* FindObject(Int_t detElemId, Int_t localBoardId, Int_t localBoardChannel, Int_t cathode) const = 0;
+ /// Find a digit by the quadruplet (de,manu,channel,cathode)
+ virtual AliMUONVDigit* FindObject(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) const = 0;
/// Number of digits we store
virtual Int_t GetSize() const = 0;
/// Number of digits in a given detection element and a given cathode (2 for both cathodes)
virtual Int_t GetSize(Int_t detElemId, Int_t cathode) const;
+ /// Whether we have any MC related information (e.g. at least one simulated digit)
+ virtual Bool_t HasMCInformation() const = 0;
+
ClassDef(AliMUONVDigitStore,1) // Digit container interface
};