Fork me on GitHub

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

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

bug removed in Hector implementation for RP220/FP420

File size: 3.3 KB
RevLine 
[54]1#ifndef _VERYFORWARD_H_
2#define _VERYFORWARD_H_
3
[260]4/***********************************************************************
5** **
6** /----------------------------------------------\ **
7** | Delphes, a framework for the fast simulation | **
8** | of a generic collider experiment | **
[374]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
36#include <vector>
37
[223]38#include "SmearUtil.h"
39#include "BlockClasses.h"
40#include "ExRootTreeBranch.h"
41#include "ExRootTreeWriter.h"
[54]42#include "H_BeamParticle.h"
43#include "H_BeamLine.h"
[223]44#include "PhysicsTower.hh"
[54]45
46using namespace std;
47
[100]48class VeryForward {
[54]49
50 public:
51 /// Constructor
[223]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();
[241]58 ~VeryForward() {delete DET; delete beamline1; delete beamline2;};
[54]59
[223]60 void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
61 void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
[54]62
63
[100]64 private:
[374]65 RESOLution *DET;
66 float d_max;
[223]67 H_BeamLine* beamline1;
68 H_BeamLine* beamline2;
[405]69 bool rel_energy;
70 int kickers;
[385]71 static unsigned int counter;
[100]72
[405]73 float time_of_flight(TRootGenParticle *particle, const float detector_s, const float detector_etamin, const float detector_t_resolution);
74
[54]75};
76#endif
Note: See TracBrowser for help on using the repository browser.