Fork me on GitHub

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

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

arXiv reference added to the header

File size: 3.9 KB
RevLine 
[54]1#ifndef _BFIELD_PROP_H_
2#define _BFIELD_PROP_H_
3
[260]4/***********************************************************************
5** **
6** /----------------------------------------------\ **
7** | Delphes, a framework for the fast simulation | **
8** | of a generic collider experiment | **
[346]9** \------------- arXiv:0903.2225v1 ------------/ **
[260]10** **
11** **
12** This package uses: **
13** ------------------ **
14** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
15** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
16** FROG: [hep-ex/0901.2718v1] **
17** **
18** ------------------------------------------------------------------ **
19** **
20** Main authors: **
21** ------------- **
22** **
23** Severine Ovyn Xavier Rouby **
24** severine.ovyn@uclouvain.be xavier.rouby@cern **
25** **
26** Center for Particle Physics and Phenomenology (CP3) **
27** Universite catholique de Louvain (UCL) **
28** Louvain-la-Neuve, Belgium **
29** **
30** Copyright (C) 2008-2009, **
31** All rights reserved. **
32** **
33***********************************************************************/
[54]34
35#include "TLorentzVector.h"
[223]36#include "SmearUtil.h"
37#include "BlockClasses.h"
38#include "TSimpleArray.h"
[54]39
40using namespace std;
41
[100]42class TrackPropagation {
[54]43
44 public:
45 // Constructor
[223]46 TrackPropagation();
47 TrackPropagation(const string& DetDatacard);
48 TrackPropagation(const RESOLution * DetDatacard);
49 TrackPropagation(const TrackPropagation & tp);
50 TrackPropagation& operator=(const TrackPropagation & tp);
51 ~TrackPropagation() {delete DET;};
52 void init(); // for constructors
[248]53
54 // Propagation and bfield are very similar. At the end, after code cleaning,
[264]55 // only bfield will remain in this class
[54]56 void Propagation(const TRootGenParticle *Part,TLorentzVector &genMomentum);
[264]57 void bfield(TRootGenParticle *Part); // fills in Part->EtaCalo and Part->PhiCalo
[54]58
[100]59
60 private:
[193]61 unsigned int MAXITERATION;
62 RESOLution *DET;
[100]63
[193]64
65 /// radial/longitudinal extensions of magnetic field volume
66 double R_max, z_max;
67 /// magnetic field components
68 double B_x, B_y, B_z;
69 /// particle charge
70 double q;
71 /// initial coordinate
72 double phi_0;
73 /// relativistic gamma \times m
74 double gammam;
75 /// giration frequency and radius
76 double omega, r;
77 /// center of the helix in the transverse plane
78 double x_c, y_c, R_c, Phi_c;
79 // variable for an intermediate computing
80 double rr;
81 /// times for exiting the magnetic field volume
82 double t, t_z, t_T;
83 /// coordinates of the exit point
84 double x_t, y_t, z_t, R_t, Phi_t, Theta_t, Eta_t;
[199]85 /// energy-momentum of the exit point [Gev] et c=1
86 double Px_t, Py_t, Pz_t, PT_t, p_t, E_t;
[193]87
88 unsigned int loop_overflow_counter;
[291]89 unsigned int aaa,bbb,ccc,ddd; // to be deleted
90
[54]91};
92
93#endif
94
95
Note: See TracBrowser for help on using the repository browser.