Line data Source code
1 : #ifndef ALIMUONVTRIGGERTRACKSTORE_H
2 : #define ALIMUONVTRIGGERTRACKSTORE_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 AliMUONVTriggerTrackStore
11 : /// \brief Base class of a trigger track store
12 : ///
13 : // Author Laurent Aphecetche, Subatech
14 :
15 : #ifndef ALIMUONVSTORE_H
16 : # include "AliMUONVStore.h"
17 : #endif
18 :
19 : class AliMUONTriggerTrack;
20 :
21 0 : class AliMUONVTriggerTrackStore : public AliMUONVStore
22 : {
23 : public:
24 : AliMUONVTriggerTrackStore();
25 : virtual ~AliMUONVTriggerTrackStore();
26 :
27 : /// Add
28 : virtual Bool_t Add(TObject* object);
29 :
30 : /// Add a trigger track
31 : virtual void Add(const AliMUONTriggerTrack& track) = 0;
32 :
33 : using AliMUONVStore::Create;
34 :
35 : /// Create a store from the tree (if possible).
36 : static AliMUONVTriggerTrackStore* Create(TTree& tree);
37 :
38 : /// Iterator to loop over tracks
39 : virtual TIterator* CreateIterator() const = 0;
40 :
41 : using AliMUONVStore::GetSize;
42 :
43 18 : ClassDef(AliMUONVTriggerTrackStore,1) // Base class of a trigger track container
44 : };
45 :
46 : #endif
|