]>
Commit | Line | Data |
---|---|---|
09784d5b | 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 | ||
9 | /// \ingroup rec | |
10 | /// \class AliMUONTriggerTrackStoreV1 | |
11 | /// \brief Implementation of AliMUONVTriggerTrackStore | |
12 | /// | |
13 | // Author Laurent Aphecetche | |
14 | ||
15 | #ifndef ALIMUONVTRIGERTRACKSTORE_H | |
16 | # include "AliMUONVTriggerTrackStore.h" | |
17 | #endif | |
18 | ||
19 | class TClonesArray; | |
20 | ||
21 | class AliMUONTriggerTrackStoreV1 : public AliMUONVTriggerTrackStore | |
22 | { | |
23 | public: | |
24 | AliMUONTriggerTrackStoreV1(); | |
ce350193 | 25 | AliMUONTriggerTrackStoreV1(TRootIOCtor* dummy); |
09784d5b | 26 | virtual ~AliMUONTriggerTrackStoreV1(); |
27 | ||
28 | using AliMUONVTriggerTrackStore::Add; | |
29 | virtual void Add(const AliMUONTriggerTrack& track); | |
30 | ||
31 | /// Whether the Connect(TTree&) method is implemented | |
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 | ||
38 | virtual AliMUONTriggerTrackStoreV1* Create() const { return new AliMUONTriggerTrackStoreV1; } | |
39 | ||
40 | virtual TIterator* CreateIterator() const; | |
41 | ||
42 | using AliMUONVTriggerTrackStore::GetSize; | |
43 | ||
44 | virtual Int_t GetSize() const; | |
45 | ||
46 | private: | |
47 | /// Return the tracks array | |
48 | TClonesArray* Tracks() const { return fTracks; } | |
49 | /// Return the address of the tracks array | |
50 | TClonesArray** TracksPtr() const { return const_cast<TClonesArray**>(&fTracks); } | |
51 | ||
52 | /// Not implemented | |
53 | AliMUONTriggerTrackStoreV1(const AliMUONTriggerTrackStoreV1&); | |
54 | /// Not implemented | |
55 | AliMUONTriggerTrackStoreV1& operator=(const AliMUONTriggerTrackStoreV1&); | |
56 | ||
57 | private: | |
58 | TClonesArray* fTracks; ///< internal array | |
59 | ||
60 | ClassDef(AliMUONTriggerTrackStoreV1,1) // Implementation of AliMUONVTriggerTrackStore | |
61 | }; | |
62 | ||
63 | #endif |