1 | #ifndef _VERYFORWARD_H_
|
---|
2 | #define _VERYFORWARD_H_
|
---|
3 |
|
---|
4 | /***********************************************************************
|
---|
5 | ** **
|
---|
6 | ** /----------------------------------------------\ **
|
---|
7 | ** | Delphes, a framework for the fast simulation | **
|
---|
8 | ** | of a generic collider experiment | **
|
---|
9 | ** \------------- arXiv:0903.2225v1 ------------/ **
|
---|
10 | ** **
|
---|
11 | ** **
|
---|
12 | ** This package uses: **
|
---|
13 | ** ------------------ **
|
---|
14 | ** ROOT: Nucl. Inst. & Meth. in Phys. Res. A389 (1997) 81-86 **
|
---|
15 | ** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
|
---|
16 | ** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
|
---|
17 | ** FROG: [hep-ex/0901.2718v1] **
|
---|
18 | ** HepMC: Comput. Phys. Commun.134 (2001) 41 **
|
---|
19 | ** **
|
---|
20 | ** ------------------------------------------------------------------ **
|
---|
21 | ** **
|
---|
22 | ** Main authors: **
|
---|
23 | ** ------------- **
|
---|
24 | ** **
|
---|
25 | ** Severine Ovyn Xavier Rouby **
|
---|
26 | ** severine.ovyn@uclouvain.be xavier.rouby@cern **
|
---|
27 | ** **
|
---|
28 | ** Center for Particle Physics and Phenomenology (CP3) **
|
---|
29 | ** Universite catholique de Louvain (UCL) **
|
---|
30 | ** Louvain-la-Neuve, Belgium **
|
---|
31 | ** **
|
---|
32 | ** Copyright (C) 2008-2009, **
|
---|
33 | ** All rights reserved. **
|
---|
34 | ** **
|
---|
35 | ***********************************************************************/
|
---|
36 |
|
---|
37 | #include <vector>
|
---|
38 |
|
---|
39 | #include "SmearUtil.h"
|
---|
40 | #include "BlockClasses.h"
|
---|
41 | #include "ExRootTreeBranch.h"
|
---|
42 | #include "ExRootTreeWriter.h"
|
---|
43 | #include "H_BeamParticle.h"
|
---|
44 | #include "H_BeamLine.h"
|
---|
45 | #include "PhysicsTower.hh"
|
---|
46 |
|
---|
47 | using namespace std;
|
---|
48 |
|
---|
49 | class VeryForward {
|
---|
50 |
|
---|
51 | public:
|
---|
52 | /// Constructor
|
---|
53 | VeryForward();
|
---|
54 | VeryForward(const string& DetDatacard);
|
---|
55 | VeryForward(const RESOLution * DetDatacard);
|
---|
56 | VeryForward(const VeryForward& vf);
|
---|
57 | VeryForward& operator=(const VeryForward& vf);
|
---|
58 | void init();
|
---|
59 | ~VeryForward() {delete DET; delete beamline1; delete beamline2;};
|
---|
60 |
|
---|
61 | void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
|
---|
62 | void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
|
---|
63 |
|
---|
64 |
|
---|
65 | private:
|
---|
66 | RESOLution *DET;
|
---|
67 | float d_max;
|
---|
68 | H_BeamLine* beamline1;
|
---|
69 | H_BeamLine* beamline2;
|
---|
70 | bool rel_energy;
|
---|
71 | int kickers;
|
---|
72 | static unsigned int counter;
|
---|
73 |
|
---|
74 | float time_of_flight(TRootGenParticle *particle, const float detector_s, const float detector_etamin, const float detector_t_resolution);
|
---|
75 |
|
---|
76 | };
|
---|
77 | #endif
|
---|