LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Event generator information. More...
#include "MCNeutrino.h"
Public Member Functions | |
MCNeutrino () | |
MCNeutrino (simb::MCParticle &nu, simb::MCParticle &lep, int CCNC, int mode, int interactionType, int target, int nucleon, int quark, double w, double x, double y, double qsqr) | |
nu is the incoming neutrino and lep is the outgoing lepton More... | |
const simb::MCParticle & | Nu () const |
const simb::MCParticle & | Lepton () const |
int | CCNC () const |
int | Mode () const |
int | InteractionType () const |
int | Target () const |
int | HitNuc () const |
int | HitQuark () const |
double | W () const |
double | X () const |
double | Y () const |
double | QSqr () const |
double | Pt () const |
transverse momentum of interaction, in GeV/c More... | |
double | Theta () const |
angle between incoming and outgoing leptons, in radians More... | |
Private Attributes | |
simb::MCParticle | fNu |
the incoming neutrino More... | |
simb::MCParticle | fLepton |
the outgoing lepton More... | |
int | fMode |
Interaction mode (QE/1-pi/DIS...) see enum list. More... | |
int | fInteractionType |
More detailed interaction type, see enum list below kNuanceOffset. More... | |
int | fCCNC |
CC or NC interaction? see enum list. More... | |
int | fTarget |
Nuclear target, as PDG code. More... | |
int | fHitNuc |
Hit nucleon (2212 (proton) or 2112 (neutron)) More... | |
int | fHitQuark |
For DIS events only, as PDG code. More... | |
double | fW |
Hadronic invariant mass, in GeV. More... | |
double | fX |
Bjorken x=Q^2/(2M*(E_neutrino-E_lepton)), unitless. More... | |
double | fY |
Inelasticity y=1-(E_lepton/E_neutrino), unitless. More... | |
double | fQSqr |
Momentum transfer Q^2, in GeV^2. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &output, const simb::MCNeutrino &mcnu) |
Event generator information.
Definition at line 18 of file MCNeutrino.h.
simb::MCNeutrino::MCNeutrino | ( | ) |
Definition at line 17 of file MCNeutrino.cxx.
simb::MCNeutrino::MCNeutrino | ( | simb::MCParticle & | nu, |
simb::MCParticle & | lep, | ||
int | CCNC, | ||
int | mode, | ||
int | interactionType, | ||
int | target, | ||
int | nucleon, | ||
int | quark, | ||
double | w, | ||
double | x, | ||
double | y, | ||
double | qsqr | ||
) |
nu is the incoming neutrino and lep is the outgoing lepton
Definition at line 35 of file MCNeutrino.cxx.
|
inline |
Definition at line 148 of file MCNeutrino.h.
References fCCNC.
Referenced by shower::TCShowerAnalysis::analyze(), shower::TCShowerElectronLikelihood::analyze(), shower::TCShowerTemplateMaker::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), rwgt::ReweightAna::analyze(), NuShowerEff::analyze(), sim::dump::DumpMCNeutrino(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), lcvn::AssignLabels::GetInteractionType(), lcvn::AssignLabels::GetTopology(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), wc::CellTree::processMC(), and evdb::ScanFrame::Record().
|
inline |
Definition at line 152 of file MCNeutrino.h.
References fHitNuc.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), wc::CellTree::processMC(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 153 of file MCNeutrino.h.
References fHitQuark.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), wc::CellTree::processMC(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 150 of file MCNeutrino.h.
References fInteractionType.
Referenced by pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), NuShowerEff::analyze(), sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), wc::CellTree::processMC(), evgen::GENIEGen::produce(), and evdb::ScanFrame::Record().
|
inline |
Definition at line 147 of file MCNeutrino.h.
References fLepton.
Referenced by shower::TCShowerElectronLikelihood::analyze(), shower::TCShowerTemplateMaker::analyze(), NuShowerEff::analyze(), lcvn::LArNuCVNZlibMaker::analyze(), sim::dump::DumpMCNeutrino(), DUNE::NeutrinoShowerEff::processEff(), evdb::ScanFrame::Record(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 149 of file MCNeutrino.h.
References fMode.
Referenced by shower::TCShowerAnalysis::analyze(), rwgt::ReweightAna::analyze(), sim::dump::DumpMCNeutrino(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), lcvn::AssignLabels::GetInteractionType(), simb::operator<<(), and wc::CellTree::processMC().
|
inline |
Definition at line 146 of file MCNeutrino.h.
References fNu.
Referenced by shower::TCShowerAnalysis::analyze(), shower::TCShowerTemplateMaker::analyze(), shower::TCShowerElectronLikelihood::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), rwgt::ReweightAna::analyze(), NuShowerEff::analyze(), lcvn::LArNuCVNZlibMaker::analyze(), sim::dump::DumpMCNeutrino(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), lar_pandora::LArPandoraSliceIdHelper::GetBeamNeutrinoMCTruth(), lcvn::AssignLabels::GetInteractionType(), lcvn::AssignLabels::GetTopology(), simb::operator<<(), print_weights(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), wc::CellTree::processMC(), evdb::ScanFrame::Record(), and evgb::GENIEHelper::Sample().
double simb::MCNeutrino::Pt | ( | ) | const |
transverse momentum of interaction, in GeV/c
Definition at line 74 of file MCNeutrino.cxx.
References fNu, and simb::MCParticle::Pt().
Referenced by sim::dump::DumpMCNeutrino(), and wc::CellTree::processMC().
|
inline |
Definition at line 157 of file MCNeutrino.h.
References fQSqr.
Referenced by NuShowerEff::analyze(), sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), and wc::CellTree::processMC().
|
inline |
Definition at line 151 of file MCNeutrino.h.
References fTarget.
Referenced by NuShowerEff::analyze(), sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), and wc::CellTree::processMC().
double simb::MCNeutrino::Theta | ( | ) | const |
angle between incoming and outgoing leptons, in radians
make TVector3 objects for the momenta of the incoming neutrino and outgoing lepton
Definition at line 63 of file MCNeutrino.cxx.
References fLepton, fNu, in, simb::MCParticle::Px(), simb::MCParticle::Py(), and simb::MCParticle::Pz().
Referenced by sim::dump::DumpMCNeutrino(), and wc::CellTree::processMC().
|
inline |
Definition at line 154 of file MCNeutrino.h.
References fW.
Referenced by NuShowerEff::analyze(), sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), and wc::CellTree::processMC().
|
inline |
Definition at line 155 of file MCNeutrino.h.
References fX.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), and wc::CellTree::processMC().
|
inline |
Definition at line 156 of file MCNeutrino.h.
References fY.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), and wc::CellTree::processMC().
|
friend |
Definition at line 80 of file MCNeutrino.cxx.
|
private |
CC or NC interaction? see enum list.
Definition at line 29 of file MCNeutrino.h.
Referenced by CCNC().
|
private |
Hit nucleon (2212 (proton) or 2112 (neutron))
Definition at line 31 of file MCNeutrino.h.
Referenced by HitNuc().
|
private |
For DIS events only, as PDG code.
Definition at line 32 of file MCNeutrino.h.
Referenced by HitQuark().
|
private |
More detailed interaction type, see enum list below kNuanceOffset.
Definition at line 28 of file MCNeutrino.h.
Referenced by InteractionType().
|
private |
the outgoing lepton
Definition at line 26 of file MCNeutrino.h.
|
private |
Interaction mode (QE/1-pi/DIS...) see enum list.
Definition at line 27 of file MCNeutrino.h.
Referenced by Mode().
|
private |
the incoming neutrino
Definition at line 25 of file MCNeutrino.h.
|
private |
|
private |
|
private |
|
private |
Bjorken x=Q^2/(2M*(E_neutrino-E_lepton)), unitless.
Definition at line 34 of file MCNeutrino.h.
Referenced by X().
|
private |
Inelasticity y=1-(E_lepton/E_neutrino), unitless.
Definition at line 35 of file MCNeutrino.h.
Referenced by Y().