GENIEGenerator
|
A GENIE flux container specific for HNL containers. Based on the dk2nu flux paradigm and genie::flux::GNuMIFluxPassThroughInfo. More...
#include <HNLFluxContainer.h>
Public Member Functions | |
FluxContainer () | |
virtual | ~FluxContainer () |
void | ResetCopy () const |
void | Print (const Option_t *) const |
Public Attributes | |
int | evtno |
Event number. More... | |
int | pdg |
HNL PDG code. More... | |
int | parPdg |
parent PDG code More... | |
int | lepPdg |
PDG code of lepton produced with HNL on parent decay. More... | |
int | nuPdg |
PDG code of SM neutrino that would have been produced. More... | |
int | prodChan |
Decay mode that produced HNL. More... | |
int | nuProdChan |
Decay mode that would have produced SM neutrino. More... | |
TVector3 | startPoint |
parent decay vertex in NEAR coords [m] More... | |
TVector3 | targetPoint |
point in detector HNL is forced towards in NEAR coords [m] More... | |
TVector3 | startPointUser |
parent decay vertex in USER coords [m] More... | |
TVector3 | targetPointUser |
point in detector HNL is forced towards in USER coords [m] More... | |
double | delay |
delay HNL would have wrt SMv [ns] More... | |
TVector3 | polz |
HNL polarisation vector, in HNL rest frame, in NEAR coords. More... | |
TLorentzVector | p4 |
HNL momentum in NEAR coords [GeV/c]. More... | |
TLorentzVector | parp4 |
parent momentum at HNL production in NEAR coords [GeV/c] More... | |
TLorentzVector | p4User |
HNL momentum in USER coords [GeV/c]. More... | |
TLorentzVector | parp4User |
parent momentum at HNL production in USER coords [GeV/c] More... | |
double | Ecm |
Parent rest-frame energy of HNL [GeV]. More... | |
double | nuEcm |
Parent rest-frame energy of equivalent SM neutrino [GeV]. More... | |
double | XYWgt |
geometric acceptance (angular size of detector in parent rest frame) More... | |
double | boostCorr |
boost correction wrt parent rest-frame (ELAB = ECM * boostCorr) More... | |
double | accCorr |
acceptance correction (collimation effect. SM v == 1) More... | |
double | zetaMinus |
minimum angular deviation from parent momentum to reach detector [deg] More... | |
double | zetaPlus |
maximum angular deviation from parent momentum to reach detector [deg] More... | |
double | acceptance |
full acceptance == XYWgt * boostCorr^2 * accCorr More... | |
double | nimpwt |
Weight of parent. More... | |
Friends | |
ostream & | operator<< (ostream &stream, const FluxContainer &gnmf) |
A GENIE flux container specific for HNL containers. Based on the dk2nu flux paradigm and genie::flux::GNuMIFluxPassThroughInfo.
A C-struct that is based on the flux::GNuMIFluxPassThroughInfo struct, but which is not GNuMI specific. Accepts enough information about the HNL fluxes and the base flux to pass all the necessary
Also see $GENIE/src/contrib/beamhnl/write_dk2nus.C for an example of expected flux-input structure
Definition at line 62 of file HNLFluxContainer.h.
FluxContainer::FluxContainer | ( | ) |
|
inlinevirtual |
Definition at line 66 of file HNLFluxContainer.h.
void FluxContainer::Print | ( | const Option_t * | ) | const |
Definition at line 107 of file HNLFluxContainer.cxx.
void FluxContainer::ResetCopy | ( | ) | const |
Definition at line 68 of file HNLFluxContainer.cxx.
References accCorr, acceptance, boostCorr, delay, Ecm, evtno, lepPdg, nimpwt, nuEcm, nuPdg, nuProdChan, p4, p4User, parp4, parp4User, parPdg, pdg, polz, prodChan, startPoint, startPointUser, targetPoint, targetPointUser, XYWgt, zetaMinus, and zetaPlus.
Referenced by FluxContainer().
|
friend |
Definition at line 115 of file HNLFluxContainer.cxx.
|
mutable |
acceptance correction (collimation effect. SM v == 1)
Definition at line 104 of file HNLFluxContainer.h.
Referenced by ConvertToGRooTracker(), genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
full acceptance == XYWgt * boostCorr^2 * accCorr
Definition at line 108 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
boost correction wrt parent rest-frame (ELAB = ECM * boostCorr)
Definition at line 102 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
delay HNL would have wrt SMv [ns]
Definition at line 89 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
Parent rest-frame energy of HNL [GeV].
Definition at line 98 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
Event number.
Definition at line 75 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
PDG code of lepton produced with HNL on parent decay.
Definition at line 79 of file HNLFluxContainer.h.
Referenced by ConvertToGRooTracker(), genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
Weight of parent.
Definition at line 110 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
Parent rest-frame energy of equivalent SM neutrino [GeV].
Definition at line 99 of file HNLFluxContainer.h.
Referenced by ConvertToGRooTracker(), genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
PDG code of SM neutrino that would have been produced.
Definition at line 80 of file HNLFluxContainer.h.
Referenced by ConvertToGRooTracker(), genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
Decay mode that would have produced SM neutrino.
Definition at line 83 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
HNL momentum in NEAR coords [GeV/c].
Definition at line 93 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
HNL momentum in USER coords [GeV/c].
Definition at line 95 of file HNLFluxContainer.h.
Referenced by ConvertToGRooTracker(), genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
parent momentum at HNL production in NEAR coords [GeV/c]
Definition at line 94 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
parent momentum at HNL production in USER coords [GeV/c]
Definition at line 96 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
parent PDG code
Definition at line 78 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
HNL PDG code.
Definition at line 77 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
HNL polarisation vector, in HNL rest frame, in NEAR coords.
Definition at line 91 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
Decay mode that produced HNL.
Definition at line 82 of file HNLFluxContainer.h.
Referenced by ConvertToGRooTracker(), genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
parent decay vertex in NEAR coords [m]
Definition at line 85 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), genie::hnl::FluxCreator::ProcessEventRecord(), and ResetCopy().
|
mutable |
parent decay vertex in USER coords [m]
Definition at line 87 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
point in detector HNL is forced towards in NEAR coords [m]
Definition at line 86 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
point in detector HNL is forced towards in USER coords [m]
Definition at line 88 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
geometric acceptance (angular size of detector in parent rest frame)
Definition at line 101 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
minimum angular deviation from parent momentum to reach detector [deg]
Definition at line 105 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().
|
mutable |
maximum angular deviation from parent momentum to reach detector [deg]
Definition at line 106 of file HNLFluxContainer.h.
Referenced by genie::hnl::FluxCreator::FillNonsense(), genie::hnl::FluxCreator::MakeTupleFluxEntry(), genie::hnl::operator<<(), and ResetCopy().