LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 152 of file MCNeutrino.h.
References fCCNC.
Referenced by rwgt::ReweightAna::analyze(), pfpf::PFPAna::analyze(), cluster::ClusterAna::analyze(), sim::dump::DumpMCNeutrino(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), wc::CellTree::processMC(), and evdb::ScanFrame::Record().
|
inline |
Definition at line 156 of file MCNeutrino.h.
References fHitNuc.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), wc::CellTree::processMC(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 157 of file MCNeutrino.h.
References fHitQuark.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), wc::CellTree::processMC(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 154 of file MCNeutrino.h.
References fInteractionType.
Referenced by cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), wc::CellTree::processMC(), evgen::GENIEGen::produce(), and evdb::ScanFrame::Record().
|
inline |
Definition at line 151 of file MCNeutrino.h.
References fLepton.
Referenced by sim::dump::DumpMCNeutrino(), DUNE::NeutrinoShowerEff::processEff(), evdb::ScanFrame::Record(), rwgt::NuReweight::RetrieveGHEP(), and evgb::RetrieveGHEP().
|
inline |
Definition at line 153 of file MCNeutrino.h.
References fMode.
Referenced by rwgt::ReweightAna::analyze(), sim::dump::DumpMCNeutrino(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), simb::operator<<(), and wc::CellTree::processMC().
|
inline |
Definition at line 150 of file MCNeutrino.h.
References fNu.
Referenced by rwgt::ReweightAna::analyze(), opdet::FlashPurityCheckAna::analyze(), cluster::ClusterAna::analyze(), pfpf::PFPAna::analyze(), sim::dump::DumpMCNeutrino(), evgen::NUANCEGen::FillHistograms(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), simb::operator<<(), 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 161 of file MCNeutrino.h.
References fQSqr.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), and wc::CellTree::processMC().
|
inline |
Definition at line 155 of file MCNeutrino.h.
References fTarget.
Referenced by 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 158 of file MCNeutrino.h.
References fW.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), DUNE::NeutrinoShowerEff::processEff(), and wc::CellTree::processMC().
|
inline |
Definition at line 159 of file MCNeutrino.h.
References fX.
Referenced by sim::dump::DumpMCNeutrino(), simb::operator<<(), and wc::CellTree::processMC().
|
inline |
Definition at line 160 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().