AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUON1DArray.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 
4 // $Id$
5 
10 // Author Laurent Aphecetche
11 
12 #ifndef ALIMUON1DARRAY_H
13 #define ALIMUON1DARRAY_H
14 
15 #ifndef ALIMUONVSTORE_H
16 # include "AliMUONVStore.h"
17 #endif
18 
19 class TObjArray;
20 
22 {
23 public:
24  AliMUON1DArray(Int_t theSize=0);
25  AliMUON1DArray(const AliMUON1DArray& other);
27 
28  virtual ~AliMUON1DArray();
29 
30  virtual AliMUON1DArray* Create() const;
31 
34  virtual Bool_t Add(TObject* object);
35 
36  virtual Bool_t CanConnect() const { return kFALSE; }
37 
38  virtual void Clear(Option_t* opt="");
39 
40  virtual TIterator* CreateIterator() const;
41 
43 
45  virtual TObject* FindObject(UInt_t identifier) const;
46 
48 
49  virtual Int_t GetSize() const;
50 
51 private:
52  void CopyTo(AliMUON1DArray& to) const;
53  Bool_t Set(Int_t i, TObject* object, Bool_t replace);
54 
55 private:
56 
58 
59  ClassDef(AliMUON1DArray,1) // Implementation of AliMUONVStore
60 };
61 
62 #endif
AliMUON1DArray & operator=(const AliMUON1DArray &other)
virtual TIterator * CreateIterator() const
Return an iterator to loop over the whole store.
virtual Bool_t Add(TObject *object)
#define TObjArray
virtual void Clear(Option_t *opt="")
Clear ourselves (i.e. Reset)
virtual Int_t GetSize() const =0
The number of objects stored.
AliMUON1DArray(Int_t theSize=0)
Bool_t Set(Int_t i, TObject *object, Bool_t replace)
virtual Int_t GetSize() const
The number of objects stored.
TObjArray * fArray
Internal array.
virtual AliMUON1DArray * Create() const
Create an empty copy of this.
virtual ~AliMUON1DArray()
virtual TObject * FindObject(UInt_t identifier) const
Return the object stored with id.
Implementation of AliMUONVStore.
void CopyTo(AliMUON1DArray &to) const
Base class for MUON data stores.
Definition: AliMUONVStore.h:22
virtual Bool_t CanConnect() const
Whether the Connect(TTree&) method is implemented.
virtual TObject * FindObject(const char *name) const
Find an object by name.