AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerTrackStoreV1.h
Go to the documentation of this file.
1 #ifndef ALIMUONTRIGGERTRACKSTOREV1_H
2 #define ALIMUONTRIGGERTRACKSTOREV1_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche
14 
15 #ifndef ALIMUONVTRIGERTRACKSTORE_H
17 #endif
18 
19 class TClonesArray;
20 
22 {
23 public:
25  AliMUONTriggerTrackStoreV1(TRootIOCtor* dummy);
27 
29  virtual void Add(const AliMUONTriggerTrack& track);
30 
32  virtual Bool_t CanConnect() const { return kTRUE; }
33 
34  virtual void Clear(Option_t* opt="");
35 
36  virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;
37 
39 
40  virtual TIterator* CreateIterator() const;
41 
43 
44  virtual Int_t GetSize() const;
45 
46 private:
48  TClonesArray* Tracks() const { return fTracks; }
50  TClonesArray** TracksPtr() const { return const_cast<TClonesArray**>(&fTracks); }
51 
56 
57 private:
58  TClonesArray* fTracks;
59 
60  ClassDef(AliMUONTriggerTrackStoreV1,1) // Implementation of AliMUONVTriggerTrackStore
61 };
62 
63 #endif
virtual Int_t GetSize() const
The number of objects stored.
virtual TIterator * CreateIterator() const
Iterator to loop over tracks.
virtual Int_t GetSize() const =0
The number of objects stored.
Implementation of AliMUONVTriggerTrackStore.
virtual Bool_t Add(TObject *object)
Add.
TClonesArray * fTracks
internal array
AliTPCfastTrack * track
Reconstructed trigger track in ALICE dimuon spectrometer.
virtual Bool_t Connect(TTree &tree, Bool_t alone=kTRUE) const
Connect us to a TTree (only valid if CanConnect()==kTRUE)
TTree * tree
virtual Bool_t CanConnect() const
Whether the Connect(TTree&) method is implemented.
virtual void Clear(Option_t *opt="")
Clear ourselves (i.e. Reset)
TClonesArray ** TracksPtr() const
Return the address of the tracks array.
Base class of a trigger track store.
TClonesArray * Tracks() const
Return the tracks array.
AliMUONTriggerTrackStoreV1 & operator=(const AliMUONTriggerTrackStoreV1 &)
Not implemented.
virtual void Add(const AliMUONTriggerTrack &track)
Add a trigger track.
virtual AliMUONTriggerTrackStoreV1 * Create() const
Create an empty copy of this.