Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
nutools
old
EventGeneratorBase
GiBUU
GiBUUHelper.cxx
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file GiBUUHelper.h
3
/// \brief Wrapper for generating neutrino interactions with GiBUU
4
///
5
/// \version $Id: GENIEHelper.cxx,v 1.58 2012-11-28 23:04:03 rhatcher Exp $
6
/// \author brebel@fnal.gov rhatcher@fnal.gov
7
/// update 2010-03-04 Sarah Budd added simple_flux
8
/// update 2013-04-24 rhatcher adapt to R-2_8_0 interface; subset flux files
9
////////////////////////////////////////////////////////////////////////
10
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
// NuTools includes
19
#include "
nutools/EventGeneratorBase/evgenbase.h
"
20
#include "nutools/EventGeneratorBase/GiBUU/GiBUUHelper.h"
21
#include "
nusimdata/SimulationBase/MCTruth.h
"
22
#include "
nusimdata/SimulationBase/MCFlux.h
"
23
#include "
nusimdata/SimulationBase/GTruth.h
"
24
#include "
nusimdata/SimulationBase/MCParticle.h
"
25
#include "
nusimdata/SimulationBase/MCNeutrino.h
"
26
27
// Framework includes
28
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
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
"
34
#include "
messagefacility/MessageLogger/MessageLogger.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
//--------------------------------------------------
54
GiBUUHelper::GiBUUHelper
(
fhicl::ParameterSet
const
& pset,
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
//--------------------------------------------------
64
GiBUUHelper::~GiBUUHelper
()
65
{
66
// clean up owned genie object (other genie obj are ref ptrs)
67
delete
fGiBUUEventRecord
;
68
69
}
70
71
72
}
// namespace evgb
73
split_path.h
string
std::string string
Definition:
nybbler.cc:12
MCParticle.h
Particle class.
MCFlux.h
object containing MC flux information
MessageLogger.h
ParameterSet.h
evgenbase.h
ServiceHandle.h
run_cnn_1class.rootFile
rootFile
Definition:
run_cnn_1class.py:50
getenv.h
GTruth.h
evgb::GiBUUHelper::fGiBUUEventRecord
genie::EventRecord * fGiBUUEventRecord
Definition:
GiBUUHelper.h:34
evgb::GiBUUHelper::GiBUUHelper
GiBUUHelper(fhicl::ParameterSet const &pset, TGeoManager *rootGeom, std::string const &rootFile, double const &detectorMass)
Definition:
GiBUUHelper.cxx:54
search_path.h
MCTruth.h
evgb::GENIEHelper
Definition:
GENIEHelper.h:57
evgb
Physics generators for neutrinos, cosmic rays, and others.
Definition:
CRYHelper.cxx:33
MCNeutrino.h
evgb::GiBUUHelper::~GiBUUHelper
~GiBUUHelper()
Definition:
GiBUUHelper.cxx:64
fhicl::ParameterSet
Definition:
ParameterSet.h:34
Generated by
1.8.11