Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radstep.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: radstep.h
4 // Created: Fri Apr 17 13:27:38 EDT 2009
5 // Creator: davidl
6 //
7 
8 #ifndef _radstep_
9 #define _radstep_
10 
11 #include <TObject.h>
12 #include <TVector3.h>
13 
14 
15 class radstep:public TObject{
16 
17  public:
18  TVector3 pthrown;
19  TVector3 pos;
20  TVector3 B;
21  double s;
22  double stot;
23  double Xo;
24  double ix_over_Xo;
25  double iB_cross_p_dl; // integral of magnitude of B x p_hat dl up to and including this step in Tesla-cm
26  double iB_dl; // integral of magnitude of B times the step dl in Tesla-cm
27 
28  private:
29  ClassDef(radstep,1);
30 
31 };
32 
33 // Notes:
34 //
35 // The iB_cross_p_dl value is the running sum over steps of the magnitude of the cross
36 // product of the B-field vector and the unit vector in the momentum direction
37 // times the step size. This is the relevant quantity for assessing the analyzing
38 // power of the field for the current trajectory.
39 //
40 // The iB_dl value is just the running sum over steps of the magnitude of the B-field
41 // times the step size. This gives and idea of how much field is "seen" by a particle
42 // even the component parallel to the particle direction. This is more typical for
43 // specifying a magnet's strength. Therefore, this may be most relevant for particles
44 // going straight down the beamline.
45 //
46 
47 #endif // _radstep_
48 
double iB_cross_p_dl
Definition: radstep.h:25
ClassDef(radstep, 1)
double ix_over_Xo
Definition: radstep.h:24
TVector3 pthrown
Definition: radstep.h:18
TVector3 B
Definition: radstep.h:20
double iB_dl
Definition: radstep.h:26
double s
Definition: radstep.h:21
double Xo
Definition: radstep.h:23
TVector3 pos
Definition: radstep.h:19
double stot
Definition: radstep.h:22