]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTriggerTrackStoreV1.h
Fixing (again) the HV display for St1 and 2. Should be OK now
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerTrackStoreV1.h
CommitLineData
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
19class TClonesArray;
20
21class AliMUONTriggerTrackStoreV1 : public AliMUONVTriggerTrackStore
22{
23public:
24 AliMUONTriggerTrackStoreV1();
25 virtual ~AliMUONTriggerTrackStoreV1();
26
27 using AliMUONVTriggerTrackStore::Add;
28 virtual void Add(const AliMUONTriggerTrack& track);
29
30 /// Whether the Connect(TTree&) method is implemented
31 virtual Bool_t CanConnect() const { return kTRUE; }
32
33 virtual void Clear(Option_t* opt="");
34
35 virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;
36
37 virtual AliMUONTriggerTrackStoreV1* Create() const { return new AliMUONTriggerTrackStoreV1; }
38
39 virtual TIterator* CreateIterator() const;
40
41 using AliMUONVTriggerTrackStore::GetSize;
42
43 virtual Int_t GetSize() const;
44
45private:
46 /// Return the tracks array
47 TClonesArray* Tracks() const { return fTracks; }
48 /// Return the address of the tracks array
49 TClonesArray** TracksPtr() const { return const_cast<TClonesArray**>(&fTracks); }
50
51 /// Not implemented
52 AliMUONTriggerTrackStoreV1(const AliMUONTriggerTrackStoreV1&);
53 /// Not implemented
54 AliMUONTriggerTrackStoreV1& operator=(const AliMUONTriggerTrackStoreV1&);
55
56private:
57 TClonesArray* fTracks; ///< internal array
58
59 ClassDef(AliMUONTriggerTrackStoreV1,1) // Implementation of AliMUONVTriggerTrackStore
60};
61
62#endif