AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUON1DMap.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 ALIMUON1DMAP_H
13 #define ALIMUON1DMAP_H
14 
15 #ifndef ALIMUONV1DSTORE_H
16 # include "AliMUONVStore.h"
17 #endif
18 
19 class AliMpExMap;
20 
22 {
23 public:
24  AliMUON1DMap(Int_t theSize);
25  AliMUON1DMap(TRootIOCtor* ioCtor);
26  AliMUON1DMap(const AliMUON1DMap& other);
27  AliMUON1DMap& operator=(const AliMUON1DMap& other);
28  virtual ~AliMUON1DMap();
29 
30  virtual Bool_t Add(TObject* object);
31 
32  virtual Bool_t CanConnect() const { return kFALSE; }
33 
34  virtual void Clear(Option_t* opt="");
35 
36  virtual AliMUON1DMap* Create() const;
37 
39 
40  virtual TObject* FindObject(UInt_t i) const;
41 
42  virtual TObject* FindObject(Int_t i, Int_t j) const;
43 
44  virtual TIterator* CreateIterator() const;
45 
47 
48  virtual Int_t GetSize() const;
49 
50 private:
51  virtual Bool_t Set(Int_t i, TObject* object);
52 
53 private:
55  AliMUON1DMap();
56 
58 
59  ClassDef(AliMUON1DMap,1) // Implementation of AliMUONVStore
60 };
61 
62 #endif
virtual Bool_t Set(Int_t i, TObject *object)
virtual AliMUON1DMap * Create() const
Create an empty copy of this.
AliMUON1DMap()
Not implemented.
virtual Int_t GetSize() const =0
The number of objects stored.
virtual Bool_t CanConnect() const
Whether the Connect(TTree&) method is implemented.
Definition: AliMUON1DMap.h:32
virtual void Clear(Option_t *opt="")
Clear ourselves (i.e. Reset)
virtual TIterator * CreateIterator() const
Return an iterator to loop over the whole store.
virtual Bool_t Add(TObject *object)
Add an object to the store.
AliMpExMap * fMap
Internal array (map)
Definition: AliMUON1DMap.h:57
virtual ~AliMUON1DMap()
virtual Int_t GetSize() const
The number of objects stored.
AliMUON1DMap & operator=(const AliMUON1DMap &other)
Implementation of AliMUONVStore.
Definition: AliMUON1DMap.h:21
virtual TObject * FindObject(UInt_t i) const
Find an object using a single id.
Base class for MUON data stores.
Definition: AliMUONVStore.h:22
virtual TObject * FindObject(const char *name) const
Find an object by name.
Helper class making Root persistent TExMap.
Definition: AliMpExMap.h:28