Fork me on GitHub

source: svn/trunk/interface/VeryForward.h@ 430

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

bug removed in Hector implementation for RP220/FP420

File size: 3.3 KB
Line 
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** 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***********************************************************************/
34
35
36#include <vector>
37
38#include "SmearUtil.h"
39#include "BlockClasses.h"
40#include "ExRootTreeBranch.h"
41#include "ExRootTreeWriter.h"
42#include "H_BeamParticle.h"
43#include "H_BeamLine.h"
44#include "PhysicsTower.hh"
45
46using namespace std;
47
48class VeryForward {
49
50 public:
51 /// Constructor
52 VeryForward();
53 VeryForward(const string& DetDatacard);
54 VeryForward(const RESOLution * DetDatacard);
55 VeryForward(const VeryForward& vf);
56 VeryForward& operator=(const VeryForward& vf);
57 void init();
58 ~VeryForward() {delete DET; delete beamline1; delete beamline2;};
59
60 void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
61 void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
62
63
64 private:
65 RESOLution *DET;
66 float d_max;
67 H_BeamLine* beamline1;
68 H_BeamLine* beamline2;
69 bool rel_energy;
70 int kickers;
71 static unsigned int counter;
72
73 float time_of_flight(TRootGenParticle *particle, const float detector_s, const float detector_etamin, const float detector_t_resolution);
74
75};
76#endif
Note: See TracBrowser for help on using the repository browser.