25#ifndef _INITIAL_STATE_H_
26#define _INITIAL_STATE_H_
31#include <TParticlePDG.h>
32#include <TLorentzVector.h>
53 using TObject::Compare;
63 TParticlePDG *
Probe (
void)
const;
73 void SetPdgs (
int tgt_pdgc,
int probe_pdgc);
76 void SetTgtP4 (
const TLorentzVector & P4);
80 bool IsNuP (
void)
const;
81 bool IsNuN (
void)
const;
84 bool IsDMP (
void)
const;
85 bool IsDMN (
void)
const;
94 void Print (ostream & stream)
const;
105 void Init (
int target_pdgc,
int probe_pdgc);
Initial State information.
bool IsDMBN(void) const
is anti-dark matter + neutron?
void SetProbePdg(int pdg_code)
int fProbePdg
probe PDG code
void SetPdgs(int tgt_pdgc, int probe_pdgc)
TLorentzVector * GetProbeP4(RefFrame_t rf=kRfHitNucRest) const
friend ostream & operator<<(ostream &stream, const InitialState &i)
print
Target * fTgt
nuclear target
bool IsNuBarN(void) const
is anti-neutrino + neutron?
const Target & Tgt(void) const
bool operator==(const InitialState &i) const
equal?
bool IsNuP(void) const
is neutrino + proton?
string AsString(void) const
InitialState & operator=(const InitialState &i)
copy
bool IsNuN(void) const
is neutrino + neutron?
void Print(ostream &stream) const
void Copy(const InitialState &init_state)
void SetProbeP4(const TLorentzVector &P4)
TParticlePDG * Probe(void) const
bool IsDMN(void) const
is dark matter + neutron?
void SetTgtP4(const TLorentzVector &P4)
double CMEnergy() const
centre-of-mass energy (sqrt s)
TLorentzVector * fTgtP4
nuclear target 4-momentum in LAB-frame
double ProbeE(RefFrame_t rf) const
TLorentzVector * GetTgtP4(RefFrame_t rf=kRfLab) const
bool Compare(const InitialState &init_state) const
bool IsNuBarP(void) const
is anti-neutrino + proton?
bool IsDMBP(void) const
is anti-dark matter + proton?
TLorentzVector * fProbeP4
probe 4-momentum in LAB-frame
void SetTgtPdg(int pdg_code)
Target * TgtPtr(void) const
bool IsDMP(void) const
is dark matter + proton?
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
THE MAIN GENIE PROJECT NAMESPACE
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
enum genie::ERefFrame RefFrame_t