Fork me on GitHub

source: svn/trunk/interface/BFieldProp.h@ 197

Last change on this file since 197 was 193, checked in by Xavier Rouby, 16 years ago

new algorithm inserted but not yet active

File size: 1.5 KB
Line 
1#ifndef _BFIELD_PROP_H_
2#define _BFIELD_PROP_H_
3
4/*
5 * ---- Delphes ----
6 * A Fast Simulator for general purpose LHC detector
7 * S. Ovyn ~~~~ severine.ovyn@uclouvain.be
8 *
9 * Center for Particle Physics and Phenomenology (CP3)
10 * Universite Catholique de Louvain (UCL)
11 * Louvain-la-Neuve, Belgium
12 * */
13
14#include "TLorentzVector.h"
15#include "interface/SmearUtil.h"
16#include "Utilities/ExRootAnalysis/interface/BlockClasses.h"
17#include "Utilities/ExRootAnalysis/interface/TSimpleArray.h"
18
19using namespace std;
20
21class TrackPropagation {
22
23 public:
24 // Constructor
25 TrackPropagation(const string DetDatacard);
26
27 void Propagation(const TRootGenParticle *Part,TLorentzVector &genMomentum);
28
29
30 private:
31 unsigned int MAXITERATION;
32 RESOLution *DET;
33
34
35 /// radial/longitudinal extensions of magnetic field volume
36 double R_max, z_max;
37 /// magnetic field components
38 double B_x, B_y, B_z;
39 /// particle charge
40 double q;
41 /// initial coordinate
42 double phi_0;
43 /// relativistic gamma \times m
44 double gammam;
45 /// giration frequency and radius
46 double omega, r;
47 /// center of the helix in the transverse plane
48 double x_c, y_c, R_c, Phi_c;
49 // variable for an intermediate computing
50 double rr;
51 /// times for exiting the magnetic field volume
52 double t, t_z, t_T;
53 /// coordinates of the exit point
54 double x_t, y_t, z_t, R_t, Phi_t, Theta_t, Eta_t;
55
56 unsigned int loop_overflow_counter;
57};
58
59#endif
60
61
Note: See TracBrowser for help on using the repository browser.