Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
nutools
old
NuReweight
art
NuReweight.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file NuReweight.h
3
/// \brief Wrapper for reweightings neutrino interactions within the ART framework
4
///
5
/// \author nathan.mayer@tufts.edu
6
////////////////////////////////////////////////////////////////////////
7
8
#include "nutools/NuReweight/GENIEReweight.h"
9
10
namespace
simb
{
class
MCTruth; }
11
namespace
simb
{
class
GTruth; }
12
13
namespace
rwgt
{
14
15
class
NuReweight
:
public
GENIEReweight
{
16
17
public
:
18
NuReweight
();
19
~
NuReweight
();
20
21
double
CalcWeight(
const
simb::MCTruth
& truth,
const
simb::GTruth
& gtruth)
const
;
22
23
private
:
24
genie::EventRecord
RetrieveGHEP
(
const
simb::MCTruth
& truth,
const
simb::GTruth
& gtruth)
const
;
25
26
};
27
28
29
}
evgb::RetrieveGHEP
genie::EventRecord * RetrieveGHEP(const simb::MCTruth &truth, const simb::GTruth >ruth, bool useFirstTrajPosition=true)
return genie::EventRecord pointer; callee takes possession
Definition:
GENIE2ART.cxx:455
rwgt::GENIEReweight
Definition:
GENIEReweight.h:26
rwgt::NuReweight
Definition:
NuReweight.h:15
rwgt
Definition:
NuReweight.cxx:115
simb::GTruth
Definition:
GTruth.h:19
simb
Base utilities and modules for event generation and detector simulation.
Definition:
SimulationDrawer.h:20
genie::EventRecord
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition:
EventRecord.h:38
simb::MCTruth
Event generator information.
Definition:
MCTruth.h:32
Generated by
1.8.11