StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHelixHelper.h
1 
5 /***************************************************************************/
6 #ifndef ROOT_StHelixHelper
7 #define ROOT_StHelixHelper
8 
10 // //
14 // //
16 
17 #include "TObject.h"
18 #include "StHelixD.hh"
19 #include "StPhysicalHelixD.hh"
20 #include "StHelixD.hh"
21 
22 class THelixTrack;
23 class StPhysicalHelix;
24 
25 class StHelixHelper: public TObject
26 {
27  protected:
28  StHelixHelper();
29  public:
30  static THelixTrack *MyHelix(THelixTrack *myHlx,const StHelixD *evHlx);
31  enum {kInnerHelix, kOutterHelix};
32  StHelixHelper(const StPhysicalHelix &helix
33  ,const StPhysicalHelix &outerHelix, double length);
34  StHelixHelper(const StHelixHelper &helper);
35  ~StHelixHelper();
36  float GetLength() const;
37 
38  virtual StPhysicalHelixD *GetHelix(int idx=0) const;
39  virtual THelixTrack *GetTHelix(int idx=0) const;
40  virtual Float_t *GetPoints(int &npoints) const;
41 
42 
43 private:
44  mutable StPhysicalHelixD *fHelx[kOutterHelix+1];
45  mutable THelixTrack *fTHlx[kOutterHelix+1];
46  float fLength;
47  ClassDef(StHelixHelper,0)
48 };
49 
50 #endif //ROOT_StHelixHelper
virtual Float_t * GetPoints(int &npoints) const