Fork me on GitHub

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

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

memory leakage free code

File size: 1.3 KB
RevLine 
[54]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
[223]20#include "SmearUtil.h"
21#include "BlockClasses.h"
22#include "ExRootTreeBranch.h"
23#include "ExRootTreeWriter.h"
[54]24#include "H_BeamParticle.h"
25#include "H_BeamLine.h"
[223]26#include "PhysicsTower.hh"
[54]27
28using namespace std;
29
[100]30class VeryForward {
[54]31
32 public:
33 /// Constructor
[223]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();
[241]40 ~VeryForward() {delete DET; delete beamline1; delete beamline2;};
[54]41
[223]42 void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
43 void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
[54]44
[223]45 bool relative_energy;
46 int kickers_on;
[54]47
[100]48 private:
[223]49 H_BeamLine* beamline1;
50 H_BeamLine* beamline2;
51 RESOLution *DET;
[100]52
[54]53};
54#endif
Note: See TracBrowser for help on using the repository browser.