Fork me on GitHub

Changeset 223 in svn for trunk/interface/VeryForward.h


Ignore:
Timestamp:
Feb 2, 2009, 12:39:42 PM (16 years ago)
Author:
Xavier Rouby
Message:

include statements have been cleaned ; copy-constructor ; operator= ; destructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/VeryForward.h

    r100 r223  
    1717
    1818#include <vector>
    19 #include "TLorentzVector.h"
    2019
    21 #include "interface/SmearUtil.h"
    22 
    23 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h"
    24 #include "Utilities/ExRootAnalysis/interface/TSimpleArray.h"
    25 #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"
    26 #include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h"
    27 
     20#include "SmearUtil.h"
     21#include "BlockClasses.h"
     22#include "ExRootTreeBranch.h"
     23#include "ExRootTreeWriter.h"
    2824#include "H_BeamParticle.h"
    2925#include "H_BeamLine.h"
    30 #include "H_RomanPot.h"
    31 
    32 
    33 #include "Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh"
     26#include "PhysicsTower.hh"
    3427
    3528using namespace std;
     
    3932 public:
    4033  /// Constructor
    41   VeryForward(string DetDatacard);
     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;*/}; //known memory leak in Hector. Should first be fixed in Hector
    4241
    43   void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
    44   void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
     42   void ZDC(ExRootTreeWriter *treeWriter,ExRootTreeBranch *branchZDC,TRootGenParticle *particle);
     43   void RomanPots(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchRP220,ExRootTreeBranch *branchFP420,TRootGenParticle *particle) ;
    4544
    46   bool relative_energy;
    47   int kickers_on;
    48 
    49  H_BeamLine* beamline1;
    50  H_BeamLine* beamline2;
     45   bool relative_energy;
     46   int kickers_on;
    5147
    5248 private:
    53  
    54  RESOLution *DET;
     49   H_BeamLine* beamline1;
     50   H_BeamLine* beamline2;
     51   RESOLution *DET;
    5552
    5653};
Note: See TracChangeset for help on using the changeset viewer.