LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
GiBUUHelper.cxx
Go to the documentation of this file.
1 
11 // GENIE includes
12 #include "EVGCore/EventRecord.h"
13 
14 // NuTools includes
22 
23 // Framework includes
25 #include "cetlib/search_path.h"
26 #include "cetlib/getenv.h"
27 #include "cetlib/split_path.h"
28 #include "cetlib_except/exception.h"
29 #include "fhiclcpp/ParameterSet.h"
31 
32 #ifndef NO_IFDH_LIB
33  // IFDHC
34  #include "ifdh.h"
35 #else
36  // nothing doing ... use ifdef to hide any referece that might need header
37  #include <cassert>
38 #endif
39 
40 namespace evgb {
41 
42  //static const int kNue = 0; // unused
43  //static const int kNueBar = 1; // unused
44  //static const int kNuMu = 2; // unused
45  //static const int kNuMuBar = 3; // unused
46  //static const int kNuTau = 4; // unused
47  //static const int kNuTauBar = 5; // unused
48 
49  //--------------------------------------------------
51  TGeoManager* geoManager,
52  std::string const& rootFile,
53  double const& detectorMass)
54  : GENIEHelper(pset, geoManager, rootFile, detectorMass),
55  fGiBUUEventRecord(0)
56  {
57  }
58 
59  //--------------------------------------------------
61  {
62  // clean up owned genie object (other genie obj are ref ptrs)
63  delete fGiBUUEventRecord;
64 
65  }
66 
67 
68 } // namespace evgb
69 
Wrapper for generating neutrino interactions with GiBUU.
Particle class.
object containing MC flux information
genie::EventRecord * fGiBUUEventRecord
Definition: GiBUUHelper.h:34
GiBUUHelper(fhicl::ParameterSet const &pset, TGeoManager *rootGeom, std::string const &rootFile, double const &detectorMass)
Definition: GiBUUHelper.cxx:50
Physics generators for neutrinos, cosmic rays, and others.
Definition: CRYHelper.cxx:33