Fork me on GitHub

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

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

memory leakage free code

File size: 1.3 KB
Line 
1#ifndef _VERYFORWARD_H_
2#define _VERYFORWARD_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/// \file SmearUtil.h
15/// \brief RESOLution class, and some generic definitions
16
17
18#include <vector>
19
20#include "SmearUtil.h"
21#include "BlockClasses.h"
22#include "ExRootTreeBranch.h"
23#include "ExRootTreeWriter.h"
24#include "H_BeamParticle.h"
25#include "H_BeamLine.h"
26#include "PhysicsTower.hh"
27
28using namespace std;
29
30class VeryForward {
31
32 public:
33 /// Constructor
34 VeryForward();
35 VeryForward(const string& DetDatacard);
36 VeryForward(const RESOLution * DetDatacard);
37 VeryForward(const VeryForward& vf);
38 VeryForward& operator=(const VeryForward& vf);
39 void init();
40 ~VeryForward() {delete DET; delete beamline1; delete beamline2;};
41
42 void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
43 void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
44
45 bool relative_energy;
46 int kickers_on;
47
48 private:
49 H_BeamLine* beamline1;
50 H_BeamLine* beamline2;
51 RESOLution *DET;
52
53};
54#endif
Note: See TracBrowser for help on using the repository browser.