GENIEGenerator
|
Calculates HNL production kinematics & production vertex. Is a concrete implementation of the FluxRecordVisitorI interface. More...
#include <HNLFluxCreator.h>
Public Member Functions | |
FluxCreator () | |
FluxCreator (string name) | |
FluxCreator (string name, string config) | |
~FluxCreator () | |
void | ProcessEventRecord (GHepRecord *event_rec) const |
void | Configure (const Registry &config) |
void | Configure (string config) |
void | SetInputFluxPath (std::string finpath) const |
void | SetGeomFile (string geomfile) const |
int | GetNFluxEntries () const |
void | SetFirstFluxEntry (int iFirst) const |
FluxContainer | RetrieveFluxInfo () const |
std::vector< double > | GetB2UTranslation () const |
std::vector< double > | GetB2URotation () const |
std::vector< double > | GetDetOffset () const |
std::vector< double > | GetDetRotation () const |
Public Member Functions inherited from genie::hnl::FluxRecordVisitorI | |
virtual | ~FluxRecordVisitorI () |
virtual void | SetGeomFile (std::string geomfile) const =0 |
Public Member Functions inherited from genie::hnl::GeomRecordVisitorI | |
virtual | ~GeomRecordVisitorI () |
Public Member Functions inherited from genie::EventRecordVisitorI | |
virtual | ~EventRecordVisitorI () |
Public Member Functions inherited from genie::Algorithm | |
virtual | ~Algorithm () |
virtual void | FindConfig (void) |
virtual const Registry & | GetConfig (void) const |
Registry * | GetOwnedConfig (void) |
virtual const AlgId & | Id (void) const |
Get algorithm ID. More... | |
virtual AlgStatus_t | GetStatus (void) const |
Get algorithm status. More... | |
virtual bool | AllowReconfig (void) const |
virtual AlgCmp_t | Compare (const Algorithm *alg) const |
Compare with input algorithm. More... | |
virtual void | SetId (const AlgId &id) |
Set algorithm ID. More... | |
virtual void | SetId (string name, string config) |
const Algorithm * | SubAlg (const RgKey ®istry_key) const |
void | AdoptConfig (void) |
void | AdoptSubstructure (void) |
virtual void | Print (ostream &stream) const |
Print algorithm info. More... | |
Private Member Functions | |
void | LoadConfig (void) |
void | SetUsingRootGeom (bool IsUsingRootGeom) const |
void | ImportBoundingBox (TGeoBBox *box) const |
void | SetCurrentEntry (int iCurr) const |
FluxContainer | MakeTupleFluxEntry (int iEntry, std::string finpath) const |
void | FillNonsense (int iEntry, genie::hnl::FluxContainer &gnmf) const |
void | OpenFluxInput (std::string finpath) const |
void | InitialiseTree () const |
void | InitialiseMeta () const |
TLorentzVector | HNLEnergy (genie::hnl::HNLProd_t hnldm, TLorentzVector p4par) const |
TVector3 | PointToRandomPointInBBox () const |
void | ReadBRs () const |
std::map < genie::hnl::HNLProd_t, double > | GetProductionProbs (int parPDG) const |
void | MakeBBox () const |
TVector3 | ApplyUserRotation (TVector3 vec, bool doBackwards=false) const |
TVector3 | ApplyUserRotation (TVector3 vec, TVector3 oriVec, std::vector< double > rotVec, bool doBackwards=false) const |
double | CalculateDetectorAcceptanceSAA (TVector3 detO) const |
double | CalculateAcceptanceCorrection (TLorentzVector p4par, TLorentzVector p4HNL, double SMECM, double zm, double zp) const |
double | GetAngDeviation (TLorentzVector p4par, TVector3 detO, bool seekingMax) const |
void | GetAngDeviation (TLorentzVector p4par, TVector3 detO, double &zm, double &zp) const |
double | CalculateAreaNormalisation () |
std::string | CheckGeomPoint (Double_t x, Double_t y, Double_t z) const |
Static Private Member Functions | |
static double | labangle (double *x, double *par) |
Static Private Attributes | |
static const int | maxArray = 30 |
static const int | maxC = 100 |
Additional Inherited Members | |
Static Public Member Functions inherited from genie::Algorithm | |
static string | BuildParamVectKey (const std::string &comm_name, unsigned int i) |
static string | BuildParamVectSizeKey (const std::string &comm_name) |
static string | BuildParamMatKey (const std::string &comm_name, unsigned int i, unsigned int j) |
static string | BuildParamMatRowSizeKey (const std::string &comm_name) |
static string | BuildParamMatColSizeKey (const std::string &comm_name) |
Protected Member Functions inherited from genie::hnl::FluxRecordVisitorI | |
FluxRecordVisitorI () | |
FluxRecordVisitorI (string name) | |
FluxRecordVisitorI (string name, string config) | |
Protected Member Functions inherited from genie::hnl::GeomRecordVisitorI | |
GeomRecordVisitorI () | |
GeomRecordVisitorI (string name) | |
GeomRecordVisitorI (string name, string config) | |
Protected Member Functions inherited from genie::EventRecordVisitorI | |
EventRecordVisitorI () | |
EventRecordVisitorI (string name) | |
EventRecordVisitorI (string name, string config) | |
Protected Member Functions inherited from genie::Algorithm | |
Algorithm () | |
Algorithm (string name) | |
Algorithm (string name, string config) | |
void | Initialize (void) |
void | DeleteConfig (void) |
void | DeleteSubstructure (void) |
Registry * | ExtractLocalConfig (const Registry &in) const |
Registry * | ExtractLowerConfig (const Registry &in, const string &alg_key) const |
Split an incoming configuration Registry into a block valid for the sub-algo identified by alg_key. More... | |
template<class T > | |
bool | GetParam (const RgKey &name, T &p, bool is_top_call=true) const |
template<class T > | |
bool | GetParamDef (const RgKey &name, T &p, const T &def) const |
template<class T > | |
int | GetParamVect (const std::string &comm_name, std::vector< T > &v, bool is_top_call=true) const |
Handle to load vectors of parameters. More... | |
int | GetParamVectKeys (const std::string &comm_name, std::vector< RgKey > &k, bool is_top_call=true) const |
template<class T > | |
int | GetParamMat (const std::string &comm_name, TMatrixT< T > &mat, bool is_top_call=true) const |
Handle to load matrix of parameters. More... | |
template<class T > | |
int | GetParamMatSym (const std::string &comm_name, TMatrixTSym< T > &mat, bool is_top_call=true) const |
int | GetParamMatKeys (const std::string &comm_name, std::vector< RgKey > &k, bool is_top_call=true) const |
int | AddTopRegistry (Registry *rp, bool owns=true) |
add registry with top priority, also update ownership More... | |
int | AddLowRegistry (Registry *rp, bool owns=true) |
add registry with lowest priority, also update ownership More... | |
int | MergeTopRegistry (const Registry &r) |
int | AddTopRegisties (const vector< Registry * > &rs, bool owns=false) |
Add registries with top priority, also udated Ownerships. More... | |
Protected Attributes inherited from genie::Algorithm | |
bool | fAllowReconfig |
bool | fOwnsSubstruc |
true if it owns its substructure (sub-algs,...) More... | |
AlgId | fID |
algorithm name and configuration set More... | |
vector< Registry * > | fConfVect |
vector< bool > | fOwnerships |
ownership for every registry in fConfVect More... | |
AlgStatus_t | fStatus |
algorithm execution status More... | |
AlgMap * | fOwnedSubAlgMp |
local pool for owned sub-algs (taken out of the factory pool) More... | |
Calculates HNL production kinematics & production vertex. Is a concrete implementation of the FluxRecordVisitorI interface.
This is a module for GENIE to read in hadron flux ntuples and construct HNL fluxes on the fly.
Core loop: + Open flux entry
Definition at line 94 of file HNLFluxCreator.h.
FluxCreator::FluxCreator | ( | ) |
Definition at line 18 of file HNLFluxCreator.cxx.
FluxCreator::FluxCreator | ( | string | name | ) |
Definition at line 24 of file HNLFluxCreator.cxx.
FluxCreator::FluxCreator | ( | string | name, |
string | config | ||
) |
Definition at line 30 of file HNLFluxCreator.cxx.
FluxCreator::~FluxCreator | ( | ) |
Definition at line 36 of file HNLFluxCreator.cxx.
|
private |
Definition at line 1959 of file HNLFluxCreator.cxx.
References fAx1, fAx2, and fAz.
Referenced by GetAngDeviation(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
private |
Definition at line 1984 of file HNLFluxCreator.cxx.
|
private |
Definition at line 1803 of file HNLFluxCreator.cxx.
References e, and labangle().
Referenced by MakeTupleFluxEntry().
|
private |
|
private |
Definition at line 2015 of file HNLFluxCreator.cxx.
References kRDET, and genie::units::rad.
Referenced by MakeTupleFluxEntry().
|
private |
Definition at line 2136 of file HNLFluxCreator.cxx.
Referenced by GetAngDeviation(), and PointToRandomPointInBBox().
|
virtual |
Configure the algorithm with an external registry The registry is merged with the top level registry if it is owned, Otherwise a copy of it is added with the highest priority
Reimplemented from genie::Algorithm.
Definition at line 2030 of file HNLFluxCreator.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
virtual |
Configure the algorithm from the AlgoConfigPool based on param_set string given in input An algorithm contains a vector of registries coming from different xml configuration files, which are loaded according a very precise prioriy This methods will load a number registries in order of priority: 1) "Tunable" parameter set from CommonParametes. This is loaded with the highest prioriry and it is designed to be used for tuning procedure Usage not expected from the user. 2) For every string defined in "CommonParame" the corresponding parameter set will be loaded from CommonParameter.xml 3) parameter set specified by the config string and defined in the xml file of the algorithm 4) if config is not "Default" also the Default parameter set from the same xml file will be loaded Effectively this avoids the repetion of a parameter when it is not changed in the requested configuration
Reimplemented from genie::Algorithm.
Definition at line 2036 of file HNLFluxCreator.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
private |
Definition at line 703 of file HNLFluxCreator.cxx.
References genie::hnl::FluxContainer::accCorr, genie::hnl::FluxContainer::acceptance, genie::hnl::FluxContainer::boostCorr, genie::hnl::FluxContainer::Ecm, genie::hnl::FluxContainer::evtno, genie::hnl::FluxContainer::lepPdg, genie::hnl::FluxContainer::nimpwt, genie::hnl::FluxContainer::nuEcm, genie::hnl::FluxContainer::nuPdg, genie::hnl::FluxContainer::nuProdChan, genie::hnl::FluxContainer::p4, genie::hnl::FluxContainer::p4User, genie::hnl::FluxContainer::parp4, genie::hnl::FluxContainer::parp4User, genie::hnl::FluxContainer::parPdg, genie::hnl::FluxContainer::pdg, genie::hnl::FluxContainer::polz, genie::hnl::FluxContainer::prodChan, genie::hnl::FluxContainer::startPoint, genie::hnl::FluxContainer::startPointUser, genie::hnl::FluxContainer::targetPoint, genie::hnl::FluxContainer::targetPointUser, genie::hnl::FluxContainer::XYWgt, genie::hnl::FluxContainer::zetaMinus, and genie::hnl::FluxContainer::zetaPlus.
Referenced by MakeTupleFluxEntry().
|
private |
Definition at line 1348 of file HNLFluxCreator.cxx.
References fLx, fLy, genie::RandomGen::Instance(), genie::controls::kASmallNum, genie::constants::kPi, LOG, pERROR, and genie::RandomGen::RndGen().
Referenced by MakeTupleFluxEntry().
|
private |
Definition at line 1443 of file HNLFluxCreator.cxx.
References ApplyUserRotation(), CheckGeomPoint(), genie::units::cm, fBx1, fBx2, fBz, fCx, fCy, fCz, fDetOffset, fDetRotation, fDx, fDy, fDz, fLx, fLxR, fLy, fLyR, fLz, fLzR, LOG, genie::units::m, pDEBUG, and genie::utils::print::Vec3AsString().
|
inlinevirtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 125 of file HNLFluxCreator.h.
References fB2URotation.
Referenced by ReadInConfig().
|
inlinevirtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 124 of file HNLFluxCreator.h.
References fB2UTranslation.
Referenced by ReadInConfig().
|
inlinevirtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 126 of file HNLFluxCreator.h.
References fDetOffset.
|
inlinevirtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 127 of file HNLFluxCreator.h.
References fDetRotation.
|
virtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 134 of file HNLFluxCreator.cxx.
References fCurrPath, fNEntries, and OpenFluxInput().
Referenced by main().
|
private |
Definition at line 1027 of file HNLFluxCreator.cxx.
References BR_K03e, BR_K03mu, BR_K2e, BR_K2mu, BR_K3e, BR_K3mu, BR_pi2e, BR_pi2mu, dynamicScores_kaon, dynamicScores_muon, dynamicScores_neuk, dynamicScores_pion, fU4l2s, genie::AlgFactory::GetAlgorithm(), genie::AlgFactory::Instance(), genie::hnl::kHNLProdKaon2Electron, genie::hnl::kHNLProdKaon2Muon, genie::hnl::kHNLProdKaon3Electron, genie::hnl::kHNLProdKaon3Muon, genie::hnl::kHNLProdMuon3Nue, genie::hnl::kHNLProdMuon3Numu, genie::hnl::kHNLProdMuon3Nutau, genie::hnl::kHNLProdNeuk3Electron, genie::hnl::kHNLProdNeuk3Muon, genie::hnl::kHNLProdNull, genie::hnl::kHNLProdPion2Electron, genie::hnl::kHNLProdPion2Muon, genie::hnl::BRCalculator::KinematicScaling(), genie::kPdgK0L, genie::kPdgKP, genie::kPdgMuon, genie::kPdgPiP, LOG, pDEBUG, pERROR, pWARN, and ReadBRs().
Referenced by MakeTupleFluxEntry().
|
private |
accept_decay
Definition at line 1148 of file HNLFluxCreator.cxx.
References doPol, fFixedPolarisation, genie::PDGLibrary::Find(), fixPol, fLepPdg, fLPE, fLPx, fLPy, fLPz, genie::RandomGen::Instance(), genie::PDGLibrary::Instance(), genie::controls::kMaxUnweightDecayIterations, genie::kPdgElectron, genie::kPdgHNL, genie::kPdgMuon, genie::kPdgTau, LOG, genie::units::m, genie::utils::print::P4AsString(), pDEBUG, pERROR, pINFO, pNOTICE, genie::utils::hnl::ProdAsString(), genie::utils::hnl::ProductionProductList(), genie::PDGCodeList::push_back(), pWARN, genie::RandomGen::RndHadro(), genie::exceptions::EVGThreadException::SetReason(), and genie::exceptions::EVGThreadException::SwitchOnFastForward().
Referenced by MakeTupleFluxEntry().
|
private |
Definition at line 2121 of file HNLFluxCreator.cxx.
References genie::units::cm, fDoingOldFluxCalc, fLx, fLxR, fLy, fLyR, fLz, fLzR, fRadius, LOG, genie::units::m, and pDEBUG.
Referenced by ProcessEventRecord().
|
private |
Definition at line 938 of file HNLFluxCreator.cxx.
References beam0x, beam0y, beam0z, beamdxdz, beamdydz, beamhwidth, beamsim, beamvwidth, cmeta, dkvolcfg, horncfg, job, location_name, location_x, location_y, location_z, mArSize, maxArray, maxC, physcuts, physics, pots, and tgtcfg.
Referenced by MakeTupleFluxEntry().
|
private |
Definition at line 798 of file HNLFluxCreator.cxx.
References anArSize, ancestor_imat, ancestor_ivol, ancestor_nucleus, ancestor_pdg, ancestor_polx, ancestor_poly, ancestor_polz, ancestor_pprodpx, ancestor_pprodpy, ancestor_pprodpz, ancestor_proc, ancestor_startpx, ancestor_startpy, ancestor_startpz, ancestor_startx, ancestor_starty, ancestor_startz, ancestor_stoppx, ancestor_stoppy, ancestor_stoppz, arSize, ctree, decay_mupare, decay_muparpx, decay_muparpy, decay_muparpz, decay_ndecay, decay_necm, decay_nimpwt, decay_norig, decay_ntype, decay_pdpx, decay_pdpy, decay_pdpz, decay_ppdxdz, decay_ppdydz, decay_ppenergy, decay_ppmedium, decay_pppz, decay_ptype, decay_vx, decay_vy, decay_vz, djob, maxArray, maxC, nuray_E, nuray_px, nuray_py, nuray_pz, nuray_wgt, potnum, ppvx, ppvy, ppvz, tgtexit_tgen, tgtexit_tptype, tgtexit_tpx, tgtexit_tpy, tgtexit_tpz, tgtexit_tvx, tgtexit_tvy, tgtexit_tvz, traj_trkpx, traj_trkpy, traj_trkpz, traj_trkx, traj_trky, traj_trkz, and trArSize.
Referenced by MakeTupleFluxEntry().
|
staticprivate |
Definition at line 1928 of file HNLFluxCreator.cxx.
References genie::constants::kPi.
Referenced by CalculateAcceptanceCorrection().
|
private |
Definition at line 2042 of file HNLFluxCreator.cxx.
References doPol, fAx1, fAx2, fAz, fB2URotation, fB2UTranslation, fBx1, fBx2, fBz, fCx, fCy, fCz, fDetOffset, fDetRotation, fDoingOldFluxCalc, fFixedPolarisation, fIsConfigLoaded, fIsMajorana, fixPol, fMass, fRadius, fRerollPoints, fScales, fSupplyingBEAM, fU4l2s, genie::Algorithm::GetParam(), genie::Algorithm::GetParamVect(), isParentOnAxis, genie::utils::hnl::IsProdKinematicallyAllowed(), genie::hnl::kHNLProdKaon2Electron, genie::hnl::kHNLProdKaon2Muon, genie::hnl::kHNLProdKaon3Electron, genie::hnl::kHNLProdKaon3Muon, genie::hnl::kHNLProdMuon3Nue, genie::hnl::kHNLProdNeuk3Electron, genie::hnl::kHNLProdNeuk3Muon, genie::hnl::kHNLProdPion2Electron, genie::hnl::kHNLProdPion2Muon, LOG, pDEBUG, and POTScaleWeight.
Referenced by Configure().
|
private |
Definition at line 1950 of file HNLFluxCreator.cxx.
References fLx, fLy, fLz, fRadius, LOG, and pFATAL.
Referenced by MakeTupleFluxEntry().
|
private |
Definition at line 157 of file HNLFluxCreator.cxx.
References genie::hnl::FluxContainer::accCorr, genie::hnl::FluxContainer::acceptance, ApplyUserRotation(), genie::hnl::FluxContainer::boostCorr, CalculateAcceptanceCorrection(), CalculateDetectorAcceptanceSAA(), genie::units::cm, ctree, decay_necm, decay_nimpwt, decay_pdpx, decay_pdpy, decay_pdpz, decay_ptype, decay_vx, decay_vy, decay_vz, genie::hnl::FluxContainer::delay, dynamicScores, e, genie::hnl::FluxContainer::Ecm, genie::hnl::FluxContainer::evtno, fCx, fCy, fCz, fDetOffset, fDetRotation, fDoingOldFluxCalc, fDx, fDy, fDz, fECM, fFirstEntry, fFixedPolarisation, FillNonsense(), genie::PDGLibrary::Find(), fIsMajorana, fIsUsingRootGeom, fixPol, fLepPdg, fLPE, fLPx, fLPy, fLPz, fNuPdg, fNuProdChan, fProdChan, fRerollPoints, fSMECM, fSupplyingBEAM, fTargetPoint, fZm, fZp, GetAngDeviation(), GetProductionProbs(), HNLEnergy(), InitialiseMeta(), InitialiseTree(), genie::RandomGen::Instance(), genie::PDGLibrary::Instance(), isParentOnAxis, genie::utils::hnl::IsProdKinematicallyAllowed(), genie::hnl::kHNLProdKaon2Electron, genie::hnl::kHNLProdKaon2Muon, genie::hnl::kHNLProdKaon3Electron, genie::hnl::kHNLProdKaon3Muon, genie::hnl::kHNLProdMuon3Nue, genie::hnl::kHNLProdMuon3Numu, genie::hnl::kHNLProdMuon3Nutau, genie::hnl::kHNLProdNeuk3Electron, genie::hnl::kHNLProdNeuk3Muon, genie::hnl::kHNLProdNull, genie::hnl::kHNLProdPion2Electron, genie::hnl::kHNLProdPion2Muon, genie::kPdgHNL, genie::kPdgK0L, genie::kPdgKP, genie::kPdgMuon, genie::kPdgNuE, genie::kPdgNuMu, genie::kPdgPiP, genie::units::kSpeedOfLight, genie::hnl::FluxContainer::lepPdg, LOG, genie::units::m, MakeBBox(), genie::hnl::FluxContainer::nimpwt, genie::units::ns, genie::hnl::FluxContainer::nuEcm, genie::hnl::FluxContainer::nuPdg, genie::hnl::FluxContainer::nuProdChan, OpenFluxInput(), genie::hnl::FluxContainer::p4, genie::utils::print::P4AsString(), genie::hnl::FluxContainer::p4User, parentEnergy, parentMass, parentMomentum, genie::hnl::FluxContainer::parp4, genie::hnl::FluxContainer::parp4User, genie::hnl::FluxContainer::parPdg, pDEBUG, genie::hnl::FluxContainer::pdg, pERROR, pNOTICE, PointToRandomPointInBBox(), genie::hnl::FluxContainer::polz, genie::utils::hnl::ProdAsString(), genie::hnl::FluxContainer::prodChan, genie::RandomGen::RndGen(), genie::units::s, genie::hnl::FluxContainer::startPoint, genie::hnl::FluxContainer::startPointUser, genie::hnl::FluxContainer::targetPoint, genie::hnl::FluxContainer::targetPointUser, genie::utils::print::Vec3AsString(), genie::hnl::FluxContainer::XYWgt, genie::hnl::FluxContainer::zetaMinus, and genie::hnl::FluxContainer::zetaPlus.
Referenced by ProcessEventRecord().
|
private |
Definition at line 741 of file HNLFluxCreator.cxx.
References cmeta, ctree, dir, fCurrPath, fFirstEntry, fNEntries, fPathLoaded, iCurrEntry, LOG, pDEBUG, and pFATAL.
Referenced by GetNFluxEntries(), and MakeTupleFluxEntry().
|
private |
Definition at line 1290 of file HNLFluxCreator.cxx.
References ApplyUserRotation(), CheckGeomPoint(), genie::units::cm, fCx, fCy, fCz, fDetOffset, fDetRotation, fDoingOldFluxCalc, fLx, fLy, fLz, fTargetPoint, genie::RandomGen::Instance(), LOG, genie::units::m, pDEBUG, genie::RandomGen::RndGen(), and genie::utils::print::Vec3AsString().
Referenced by MakeTupleFluxEntry().
|
virtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 41 of file HNLFluxCreator.cxx.
References genie::hnl::FluxContainer::acceptance, genie::GHepRecord::AddParticle(), genie::units::cm, genie::hnl::FluxContainer::delay, fCurrPath, fFirstEntry, fGeomFile, fGnmf, fIsUsingRootGeom, fLPx, fLPy, fLPz, fUsingDk2nu, genie::GHepParticle::GetX4(), iCurrEntry, ImportBoundingBox(), genie::kIStInitialState, genie::kPdgHNL, genie::hnl::FluxContainer::lepPdg, LOG, genie::units::m, MakeTupleFluxEntry(), genie::hnl::FluxContainer::nimpwt, genie::hnl::FluxContainer::p4User, genie::hnl::FluxContainer::parPdg, genie::GHepRecord::Particle(), pDEBUG, genie::hnl::FluxContainer::pdg, pFATAL, POTScaleWeight, SetCurrentEntry(), genie::GHepParticle::SetPosition(), SetUsingRootGeom(), genie::GHepRecord::SetVertex(), genie::GHepRecord::SetWeight(), genie::GHepRecord::SetXSec(), genie::hnl::FluxContainer::startPoint, genie::GHepRecord::Weight(), and genie::GHepRecord::XSec().
Referenced by main().
|
private |
Definition at line 994 of file HNLFluxCreator.cxx.
References BR_K03e, BR_K03mu, BR_K2e, BR_K2mu, BR_K3e, BR_K3mu, BR_pi2e, BR_pi2mu, genie::PDGLibrary::Find(), genie::PDGLibrary::Instance(), genie::kPdgK0L, genie::kPdgKP, and genie::kPdgPiP.
Referenced by GetProductionProbs().
|
virtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 147 of file HNLFluxCreator.cxx.
References fGnmf.
Referenced by main().
|
private |
Definition at line 142 of file HNLFluxCreator.cxx.
References iCurrEntry.
Referenced by ProcessEventRecord().
|
virtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 2116 of file HNLFluxCreator.cxx.
References fFirstEntry.
Referenced by main().
void FluxCreator::SetGeomFile | ( | string | geomfile | ) | const |
Definition at line 2110 of file HNLFluxCreator.cxx.
References fGeomFile, LOG, and pDEBUG.
Referenced by main().
|
virtual |
Implements genie::hnl::FluxRecordVisitorI.
Definition at line 128 of file HNLFluxCreator.cxx.
References fCurrPath, LOG, and pDEBUG.
Referenced by main().
|
private |
Definition at line 152 of file HNLFluxCreator.cxx.
References fIsUsingRootGeom.
Referenced by ProcessEventRecord().
|
mutableprivate |
Definition at line 248 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
Definition at line 265 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
Definition at line 265 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 264 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 258 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 262 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 262 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 262 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 263 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 263 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 263 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
Definition at line 265 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 260 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 260 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 260 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 259 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 259 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 259 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 259 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 261 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 261 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 261 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 248 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 281 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 281 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 281 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 283 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 283 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 282 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 279 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 282 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 194 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and ReadBRs().
|
mutableprivate |
Definition at line 201 of file HNLFluxCreator.h.
Referenced by InitialiseMeta(), and OpenFluxInput().
|
mutableprivate |
Definition at line 201 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), MakeTupleFluxEntry(), and OpenFluxInput().
|
mutableprivate |
Definition at line 254 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 254 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 254 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 254 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 251 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
SM v CM energy [GeV].
Definition at line 245 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Importance weight from beamsim.
Definition at line 246 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 251 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 251 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 244 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 244 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
final parent momentum [GeV]
Definition at line 244 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 252 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 252 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 252 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 253 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 252 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
PDG code of parent.
Definition at line 242 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 243 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 243 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
coordinates of prod vtx [cm]
Definition at line 243 of file HNLFluxCreator.h.
Referenced by InitialiseTree(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 249 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 280 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 223 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), and LoadConfig().
|
mutableprivate |
Definition at line 188 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 190 of file HNLFluxCreator.h.
Referenced by GetProductionProbs().
|
mutableprivate |
Definition at line 191 of file HNLFluxCreator.h.
Referenced by GetProductionProbs().
|
mutableprivate |
Definition at line 192 of file HNLFluxCreator.h.
Referenced by GetProductionProbs().
|
mutableprivate |
Definition at line 189 of file HNLFluxCreator.h.
Referenced by GetProductionProbs().
|
mutableprivate |
Definition at line 216 of file HNLFluxCreator.h.
Referenced by ApplyUserRotation(), and LoadConfig().
|
mutableprivate |
Definition at line 216 of file HNLFluxCreator.h.
Referenced by ApplyUserRotation(), and LoadConfig().
|
mutableprivate |
Definition at line 216 of file HNLFluxCreator.h.
Referenced by ApplyUserRotation(), and LoadConfig().
|
mutableprivate |
Definition at line 212 of file HNLFluxCreator.h.
Referenced by GetB2URotation(), and LoadConfig().
|
mutableprivate |
Definition at line 212 of file HNLFluxCreator.h.
Referenced by GetB2UTranslation(), and LoadConfig().
|
mutableprivate |
Definition at line 217 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and LoadConfig().
|
mutableprivate |
Definition at line 217 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and LoadConfig().
|
mutableprivate |
Definition at line 217 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and LoadConfig().
|
mutableprivate |
Definition at line 179 of file HNLFluxCreator.h.
Referenced by GetNFluxEntries(), OpenFluxInput(), ProcessEventRecord(), and SetInputFluxPath().
|
mutableprivate |
Definition at line 215 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), LoadConfig(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 215 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), LoadConfig(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 215 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), LoadConfig(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 214 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), GetDetOffset(), LoadConfig(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 213 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), GetDetRotation(), LoadConfig(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 292 of file HNLFluxCreator.h.
Referenced by ImportBoundingBox(), LoadConfig(), MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 219 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 219 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 219 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 231 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 299 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 183 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry(), OpenFluxInput(), ProcessEventRecord(), and SetFirstFluxEntry().
|
mutableprivate |
Definition at line 226 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), LoadConfig(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 198 of file HNLFluxCreator.h.
Referenced by ProcessEventRecord(), and SetGeomFile().
|
mutableprivate |
Definition at line 287 of file HNLFluxCreator.h.
Referenced by ProcessEventRecord(), and RetrieveFluxInfo().
|
mutableprivate |
Definition at line 300 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 296 of file HNLFluxCreator.h.
Referenced by LoadConfig().
|
mutableprivate |
Definition at line 205 of file HNLFluxCreator.h.
Referenced by LoadConfig(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 199 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry(), ProcessEventRecord(), and SetUsingRootGeom().
|
mutableprivate |
Definition at line 223 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), LoadConfig(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 228 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 225 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 224 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), MakeTupleFluxEntry(), and ProcessEventRecord().
|
mutableprivate |
Definition at line 224 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), MakeTupleFluxEntry(), and ProcessEventRecord().
|
mutableprivate |
Definition at line 224 of file HNLFluxCreator.h.
Referenced by HNLEnergy(), MakeTupleFluxEntry(), and ProcessEventRecord().
|
mutableprivate |
Definition at line 209 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), ImportBoundingBox(), MakeBBox(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 210 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and ImportBoundingBox().
|
mutableprivate |
Definition at line 209 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), ImportBoundingBox(), MakeBBox(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 210 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and ImportBoundingBox().
|
mutableprivate |
Definition at line 209 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), ImportBoundingBox(), MakeBBox(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 210 of file HNLFluxCreator.h.
Referenced by GetAngDeviation(), and ImportBoundingBox().
|
mutableprivate |
Definition at line 203 of file HNLFluxCreator.h.
Referenced by LoadConfig().
|
mutableprivate |
Definition at line 185 of file HNLFluxCreator.h.
Referenced by GetNFluxEntries(), and OpenFluxInput().
|
mutableprivate |
Definition at line 229 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 234 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 179 of file HNLFluxCreator.h.
Referenced by OpenFluxInput().
|
mutableprivate |
Definition at line 234 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 299 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 294 of file HNLFluxCreator.h.
Referenced by ImportBoundingBox(), LoadConfig(), and MakeBBox().
|
mutableprivate |
Definition at line 293 of file HNLFluxCreator.h.
Referenced by LoadConfig(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 290 of file HNLFluxCreator.h.
Referenced by LoadConfig().
|
mutableprivate |
Definition at line 231 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 300 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 295 of file HNLFluxCreator.h.
Referenced by LoadConfig(), and MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 236 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry(), and PointToRandomPointInBBox().
|
mutableprivate |
Definition at line 236 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 197 of file HNLFluxCreator.h.
|
mutableprivate |
Definition at line 204 of file HNLFluxCreator.h.
Referenced by GetProductionProbs(), and LoadConfig().
|
mutableprivate |
Definition at line 298 of file HNLFluxCreator.h.
Referenced by ProcessEventRecord().
|
mutableprivate |
Definition at line 232 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 232 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 280 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 181 of file HNLFluxCreator.h.
Referenced by OpenFluxInput(), ProcessEventRecord(), and SetCurrentEntry().
|
mutableprivate |
Definition at line 196 of file HNLFluxCreator.h.
Referenced by LoadConfig(), and MakeTupleFluxEntry().
|
mutableprivate |
beamsim MC job number
Definition at line 275 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
Definition at line 285 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 284 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 284 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 284 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 278 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
staticprivate |
Definition at line 238 of file HNLFluxCreator.h.
Referenced by InitialiseMeta(), and InitialiseTree().
|
staticprivate |
Definition at line 238 of file HNLFluxCreator.h.
Referenced by InitialiseMeta(), and InitialiseTree().
|
mutableprivate |
Definition at line 256 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 256 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 256 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 256 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 256 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 230 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 230 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 230 of file HNLFluxCreator.h.
Referenced by MakeTupleFluxEntry().
|
mutableprivate |
Definition at line 279 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 279 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
N POT for this SM-v.
Definition at line 241 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
how many pot in this job?
Definition at line 276 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 289 of file HNLFluxCreator.h.
Referenced by LoadConfig(), and ProcessEventRecord().
|
mutableprivate |
Definition at line 250 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 250 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 250 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 280 of file HNLFluxCreator.h.
Referenced by InitialiseMeta().
|
mutableprivate |
Definition at line 269 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 269 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 268 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 268 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 268 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 267 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 267 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 267 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 272 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 272 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 272 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 271 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 271 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 271 of file HNLFluxCreator.h.
Referenced by InitialiseTree().
|
mutableprivate |
Definition at line 248 of file HNLFluxCreator.h.
Referenced by InitialiseTree().