LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
GiBUUHelper.cxx
Go to the documentation of this file.
1 
11 // GENIE includes
12 #ifdef GENIE_PRE_R3
13  #include "EVGCore/EventRecord.h"
14 #else
15  #include "GENIE/Framework/EventGen/EventRecord.h"
16 #endif
17 
18 // NuGen includes
26 
27 // Framework includes
29 #include "cetlib/search_path.h"
30 #include "cetlib/getenv.h"
31 #include "cetlib/split_path.h"
32 #include "cetlib_except/exception.h"
33 #include "fhiclcpp/ParameterSet.h"
35 
36 #ifndef NO_IFDH_LIB
37  // IFDHC
38  #include "ifdh.h"
39 #else
40  // nothing doing ... use ifdef to hide any referece that might need header
41  #include <cassert>
42 #endif
43 
44 namespace evgb {
45 
46  //static const int kNue = 0; // unused
47  //static const int kNueBar = 1; // unused
48  //static const int kNuMu = 2; // unused
49  //static const int kNuMuBar = 3; // unused
50  //static const int kNuTau = 4; // unused
51  //static const int kNuTauBar = 5; // unused
52 
53  //--------------------------------------------------
55  TGeoManager* geoManager,
56  std::string const& rootFile,
57  double const& detectorMass)
58  : GENIEHelper(pset, geoManager, rootFile, detectorMass),
59  fGiBUUEventRecord(0)
60  {
61  }
62 
63  //--------------------------------------------------
65  {
66  // clean up owned genie object (other genie obj are ref ptrs)
67  delete fGiBUUEventRecord;
68 
69  }
70 
71 
72 } // namespace evgb
73 
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:54
Physics generators for neutrinos, cosmic rays, and others.
Definition: CRYHelper.cxx:33