#include <GNuMIFlux.h>
Public Member Functions | |
GNuMIFluxPassThroughInfo () | |
virtual | ~GNuMIFluxPassThroughInfo () |
void | MakeCopy (const g3numi *) |
pull in from g3 ntuple More... | |
void | MakeCopy (const g4numi *) |
pull in from g4 ntuple More... | |
void | MakeCopy (const flugg *) |
pull in from flugg ntuple More... | |
void | ResetCopy () |
void | ResetCurrent () |
void | ConvertPartCodes () |
void | Print (const Option_t *opt="") const |
int | CalcEnuWgt (const TLorentzVector &xyz, double &enu, double &wgt_xy) const |
int | getProcessID (TString sval) |
int | getVolID (TString sval) |
Public Attributes | |
int | pcodes |
int | units |
int | fgPdgC |
generated nu pdg-code More... | |
double | fgXYWgt |
TLorentzVector | fgP4 |
generated nu 4-momentum beam coord More... | |
TLorentzVector | fgX4 |
generated nu 4-position beam coord More... | |
TLorentzVector | fgP4User |
generated nu 4-momentum user coord More... | |
TLorentzVector | fgX4User |
generated nu 4-position user coord More... | |
Int_t | run |
Int_t | evtno |
Double_t | ndxdz |
Double_t | ndydz |
Double_t | npz |
Double_t | nenergy |
Double_t | ndxdznea |
Double_t | ndydznea |
Double_t | nenergyn |
Double_t | nwtnear |
Double_t | ndxdzfar |
Double_t | ndydzfar |
Double_t | nenergyf |
Double_t | nwtfar |
Int_t | norig |
Int_t | ndecay |
Int_t | ntype |
Double_t | vx |
Double_t | vy |
Double_t | vz |
Double_t | pdpx |
Double_t | pdpy |
Double_t | pdpz |
Double_t | ppdxdz |
Double_t | ppdydz |
Double_t | pppz |
Double_t | ppenergy |
Int_t | ppmedium |
Int_t | ptype |
Double_t | ppvx |
Double_t | ppvy |
Double_t | ppvz |
Double_t | muparpx |
Double_t | muparpy |
Double_t | muparpz |
Double_t | mupare |
Double_t | necm |
Double_t | nimpwt |
Double_t | xpoint |
Double_t | ypoint |
Double_t | zpoint |
Double_t | tvx |
Double_t | tvy |
Double_t | tvz |
Double_t | tpx |
Double_t | tpy |
Double_t | tpz |
Int_t | tptype |
Int_t | tgen |
Int_t | tgptype |
Double_t | tgppx |
Double_t | tgppy |
Double_t | tgppz |
Double_t | tprivx |
Double_t | tprivy |
Double_t | tprivz |
Double_t | beamx |
Double_t | beamy |
Double_t | beamz |
Double_t | beampx |
Double_t | beampy |
Double_t | beampz |
Int_t | ntrajectory |
Bool_t | overflow |
int | pdgcode [MAX_N_TRAJ] |
int | trackId [MAX_N_TRAJ] |
int | parentId [MAX_N_TRAJ] |
double | startx [MAX_N_TRAJ] |
double | starty [MAX_N_TRAJ] |
double | startz [MAX_N_TRAJ] |
double | startpx [MAX_N_TRAJ] |
double | startpy [MAX_N_TRAJ] |
double | startpz [MAX_N_TRAJ] |
double | stopx [MAX_N_TRAJ] |
double | stopy [MAX_N_TRAJ] |
double | stopz [MAX_N_TRAJ] |
double | stoppx [MAX_N_TRAJ] |
double | stoppy [MAX_N_TRAJ] |
double | stoppz [MAX_N_TRAJ] |
double | pprodpx [MAX_N_TRAJ] |
double | pprodpy [MAX_N_TRAJ] |
double | pprodpz [MAX_N_TRAJ] |
int | proc [MAX_N_TRAJ] |
int | ivol [MAX_N_TRAJ] |
int | fvol [MAX_N_TRAJ] |
Static Public Attributes | |
static const unsigned int | MAX_N_TRAJ = 10 |
Maximum number of trajectories to store. More... | |
Friends | |
ostream & | operator<< (ostream &stream, const GNuMIFluxPassThroughInfo &info) |
A small persistable C-struct -like class that mirrors (some of) the structure of the gnumi ntuples. This can then be stored as an extra branch of the output event tree -alongside with the generated event branch- for use further upstream in the analysis chain - e.g. beam reweighting etc. To do future x-y reweighting users must retain the info found in:
Definition at line 73 of file GNuMIFlux.h.
GNuMIFluxPassThroughInfo::GNuMIFluxPassThroughInfo | ( | ) |
Definition at line 1248 of file GNuMIFlux.cxx.
|
inlinevirtual |
Definition at line 79 of file GNuMIFlux.h.
int GNuMIFluxPassThroughInfo::CalcEnuWgt | ( | const TLorentzVector & | xyz, |
double & | enu, | ||
double & | wgt_xy | ||
) | const |
Definition at line 1729 of file GNuMIFlux.cxx.
void GNuMIFluxPassThroughInfo::ConvertPartCodes | ( | ) |
Definition at line 1445 of file GNuMIFlux.cxx.
int GNuMIFluxPassThroughInfo::getProcessID | ( | TString | sval | ) |
Definition at line 3093 of file GNuMIFlux.cxx.
int GNuMIFluxPassThroughInfo::getVolID | ( | TString | sval | ) |
Definition at line 2912 of file GNuMIFlux.cxx.
void GNuMIFluxPassThroughInfo::MakeCopy | ( | const g3numi * | g3 | ) |
void GNuMIFluxPassThroughInfo::MakeCopy | ( | const g4numi * | g4 | ) |
pull in from g4 ntuple
Definition at line 1546 of file GNuMIFlux.cxx.
void GNuMIFluxPassThroughInfo::MakeCopy | ( | const flugg * | f | ) |
void GNuMIFluxPassThroughInfo::Print | ( | const Option_t * | opt = "" | ) | const |
Definition at line 1470 of file GNuMIFlux.cxx.
void GNuMIFluxPassThroughInfo::ResetCopy | ( | ) |
Definition at line 1256 of file GNuMIFlux.cxx.
void GNuMIFluxPassThroughInfo::ResetCurrent | ( | void | ) |
Definition at line 1359 of file GNuMIFlux.cxx.
|
friend |
Definition at line 2053 of file GNuMIFlux.cxx.
Double_t genie::flux::GNuMIFluxPassThroughInfo::beampx |
Definition at line 169 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::beampy |
Definition at line 170 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::beampz |
Definition at line 171 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::beamx |
Definition at line 166 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::beamy |
Definition at line 167 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::beamz |
Definition at line 168 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::evtno |
Definition at line 111 of file GNuMIFlux.h.
TLorentzVector genie::flux::GNuMIFluxPassThroughInfo::fgP4 |
generated nu 4-momentum beam coord
Definition at line 102 of file GNuMIFlux.h.
TLorentzVector genie::flux::GNuMIFluxPassThroughInfo::fgP4User |
generated nu 4-momentum user coord
Definition at line 104 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::fgPdgC |
generated nu pdg-code
Definition at line 98 of file GNuMIFlux.h.
TLorentzVector genie::flux::GNuMIFluxPassThroughInfo::fgX4 |
generated nu 4-position beam coord
Definition at line 103 of file GNuMIFlux.h.
TLorentzVector genie::flux::GNuMIFluxPassThroughInfo::fgX4User |
generated nu 4-position user coord
Definition at line 105 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::fgXYWgt |
generated nu x-y weight not the same as GNuMIFlux::Weight() which include importance wgt and deweighting
Definition at line 99 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::fvol[MAX_N_TRAJ] |
Definition at line 206 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::ivol[MAX_N_TRAJ] |
Definition at line 205 of file GNuMIFlux.h.
|
static |
Maximum number of trajectories to store.
Definition at line 180 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::mupare |
Definition at line 145 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::muparpx |
Definition at line 142 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::muparpy |
Definition at line 143 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::muparpz |
Definition at line 144 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::ndecay |
Definition at line 125 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ndxdz |
Definition at line 112 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ndxdzfar |
Definition at line 120 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ndxdznea |
Definition at line 116 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ndydz |
Definition at line 113 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ndydzfar |
Definition at line 121 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ndydznea |
Definition at line 117 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::necm |
Definition at line 146 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::nenergy |
Definition at line 115 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::nenergyf |
Definition at line 122 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::nenergyn |
Definition at line 118 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::nimpwt |
Definition at line 147 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::norig |
Definition at line 124 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::npz |
Definition at line 114 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::ntrajectory |
Definition at line 182 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::ntype |
Definition at line 126 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::nwtfar |
Definition at line 123 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::nwtnear |
Definition at line 119 of file GNuMIFlux.h.
Bool_t genie::flux::GNuMIFluxPassThroughInfo::overflow |
Definition at line 183 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::parentId[MAX_N_TRAJ] |
Definition at line 186 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::pcodes |
Definition at line 94 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::pdgcode[MAX_N_TRAJ] |
Definition at line 184 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::pdpx |
Definition at line 130 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::pdpy |
Definition at line 131 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::pdpz |
Definition at line 132 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ppdxdz |
Definition at line 133 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ppdydz |
Definition at line 134 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ppenergy |
Definition at line 136 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::ppmedium |
Definition at line 137 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::pppz |
Definition at line 135 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::pprodpx[MAX_N_TRAJ] |
Definition at line 200 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::pprodpy[MAX_N_TRAJ] |
Definition at line 201 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::pprodpz[MAX_N_TRAJ] |
Definition at line 202 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ppvx |
Definition at line 139 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ppvy |
Definition at line 140 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ppvz |
Definition at line 141 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::proc[MAX_N_TRAJ] |
Definition at line 204 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::ptype |
Definition at line 138 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::run |
Definition at line 110 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::startpx[MAX_N_TRAJ] |
Definition at line 191 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::startpy[MAX_N_TRAJ] |
Definition at line 192 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::startpz[MAX_N_TRAJ] |
Definition at line 193 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::startx[MAX_N_TRAJ] |
Definition at line 188 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::starty[MAX_N_TRAJ] |
Definition at line 189 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::startz[MAX_N_TRAJ] |
Definition at line 190 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::stoppx[MAX_N_TRAJ] |
Definition at line 197 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::stoppy[MAX_N_TRAJ] |
Definition at line 198 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::stoppz[MAX_N_TRAJ] |
Definition at line 199 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::stopx[MAX_N_TRAJ] |
Definition at line 194 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::stopy[MAX_N_TRAJ] |
Definition at line 195 of file GNuMIFlux.h.
double genie::flux::GNuMIFluxPassThroughInfo::stopz[MAX_N_TRAJ] |
Definition at line 196 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::tgen |
Definition at line 158 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tgppx |
Definition at line 160 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tgppy |
Definition at line 161 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tgppz |
Definition at line 162 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::tgptype |
Definition at line 159 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tprivx |
Definition at line 163 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tprivy |
Definition at line 164 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tprivz |
Definition at line 165 of file GNuMIFlux.h.
Int_t genie::flux::GNuMIFluxPassThroughInfo::tptype |
Definition at line 157 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tpx |
Definition at line 154 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tpy |
Definition at line 155 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tpz |
Definition at line 156 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::trackId[MAX_N_TRAJ] |
Definition at line 185 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tvx |
Definition at line 151 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tvy |
Definition at line 152 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::tvz |
Definition at line 153 of file GNuMIFlux.h.
int genie::flux::GNuMIFluxPassThroughInfo::units |
Definition at line 95 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::vx |
Definition at line 127 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::vy |
Definition at line 128 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::vz |
Definition at line 129 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::xpoint |
Definition at line 148 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::ypoint |
Definition at line 149 of file GNuMIFlux.h.
Double_t genie::flux::GNuMIFluxPassThroughInfo::zpoint |
Definition at line 150 of file GNuMIFlux.h.