00001
00002
00003
00004
00005
00006
00007
00008 #ifndef StMuHelix_h
00009 #define StMuHelix_h
00010
00011 #include "StarClassLibrary/SystemOfUnits.h"
00012 #include "StarClassLibrary/StPhysicalHelixD.hh"
00013 #include "StarClassLibrary/StThreeVectorD.hh"
00014 #include "StarClassLibrary/StThreeVectorF.hh"
00015
00016 #include "TObject.h"
00017
00018 #ifndef ST_NO_NAMESPACES
00019 using namespace units;
00020 #endif
00021
00022
00023 class StMuHelix : public TObject {
00024 public:
00025 StMuHelix() { }
00026 StMuHelix(const StPhysicalHelixD &hh, double field);
00027 const StThreeVectorF &p() const;
00028 const StThreeVectorF &origin() const;
00029 short q() const;
00030 float b() const;
00031 int bad() const;
00032 StPhysicalHelix helix() const;
00033 protected:
00034 StThreeVectorF mP;
00035 StThreeVectorF mOrigin;
00036 short mQ;
00037 float mB;
00038
00039 friend class StMuMomentumShiftMaker;
00040 ClassDef(StMuHelix,1)
00041 };
00042
00043
00044 inline const StThreeVectorF &StMuHelix::p() const { return mP; }
00045 inline const StThreeVectorF &StMuHelix::origin() const { return mOrigin; }
00046 inline short StMuHelix::q() const { return mQ; }
00047 inline float StMuHelix::b() const { return mB; }
00048
00049 #endif
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079