Avoid jumping of entries in data-selector window -- restore scrollbar position after...
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveTracklet.h
1 // $Id$
2 // Author: Matevz Tadel 2009
3
4 /**************************************************************************
5  * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveTracklet_H
11 #define AliEveTracklet_H
12
13 #include "AliEveTrack.h"
14
15 class AliVVertex;
16
17 //______________________________________________________________________________
18 // AliEveTracklet is a representation of SPD tracklet.
19 // It inherits from AliEveTrack to allow for common functionality
20 // regarding track counting.
21
22 class AliEveTracklet : public AliEveTrack
23 {
24 public:
25   AliEveTracklet(Int_t index, const AliVVertex* pv, Float_t theta, Float_t phi, TEveTrackPropagator* prop=0);
26   virtual ~AliEveTracklet() {}
27
28   virtual void MakeTrack(Bool_t recurse=kTRUE);
29
30   virtual void SecSelected(TEveTrack*);              // *SIGNAL*
31   virtual void SecSelectedTracklet(AliEveTracklet*); // *SIGNAL*
32
33   // ----------------------------------------------------------------
34
35   static Float_t GetDefaultRadius();
36   static void    SetDefaultRadius(Float_t r);
37
38 protected:
39   static Float_t fgDefaultRadius;
40
41 private:
42   AliEveTracklet(const AliEveTracklet&);            // Not implemented
43   AliEveTracklet& operator=(const AliEveTracklet&); // Not implemented
44
45   ClassDef(AliEveTracklet, 0); // Short description.
46 };
47
48 #endif