Initial State information. More...
#include <InitialState.h>
Public Member Functions | |
InitialState () | |
InitialState (int tgt_pdgc, int probe_pdgc) | |
InitialState (int Z, int A, int probe_pdgc) | |
InitialState (const Target &tgt, int probe_pdgc) | |
InitialState (const InitialState &initial_state) | |
InitialState (TRootIOCtor *) | |
~InitialState () | |
TParticlePDG * | Probe (void) const |
int | ProbePdg (void) const |
int | TgtPdg (void) const |
const Target & | Tgt (void) const |
Target * | TgtPtr (void) const |
TLorentzVector * | GetTgtP4 (RefFrame_t rf=kRfLab) const |
TLorentzVector * | GetProbeP4 (RefFrame_t rf=kRfHitNucRest) const |
double | ProbeE (RefFrame_t rf) const |
double | CMEnergy () const |
centre-of-mass energy (sqrt s) More... | |
void | SetPdgs (int tgt_pdgc, int probe_pdgc) |
void | SetProbePdg (int pdg_code) |
void | SetTgtPdg (int pdg_code) |
void | SetTgtP4 (const TLorentzVector &P4) |
void | SetProbeP4 (const TLorentzVector &P4) |
void | SetProbeE (double E) |
bool | IsNuP (void) const |
is neutrino + proton? More... | |
bool | IsNuN (void) const |
is neutrino + neutron? More... | |
bool | IsNuBarP (void) const |
is anti-neutrino + proton? More... | |
bool | IsNuBarN (void) const |
is anti-neutrino + neutron? More... | |
bool | IsDMP (void) const |
is dark matter + proton? More... | |
bool | IsDMN (void) const |
is dark matter + neutron? More... | |
bool | IsDMBP (void) const |
is anti-dark matter + proton? More... | |
bool | IsDMBN (void) const |
is anti-dark matter + neutron? More... | |
void | Reset (void) |
void | Copy (const InitialState &init_state) |
bool | Compare (const InitialState &init_state) const |
string | AsString (void) const |
void | Print (ostream &stream) const |
bool | operator== (const InitialState &i) const |
equal? More... | |
InitialState & | operator= (const InitialState &i) |
copy More... | |
Private Member Functions | |
void | Init (void) |
void | Init (int target_pdgc, int probe_pdgc) |
void | CleanUp (void) |
Private Attributes | |
int | fProbePdg |
probe PDG code More... | |
Target * | fTgt |
nuclear target More... | |
TLorentzVector * | fProbeP4 |
probe 4-momentum in LAB-frame More... | |
TLorentzVector * | fTgtP4 |
nuclear target 4-momentum in LAB-frame More... | |
Friends | |
ostream & | operator<< (ostream &stream, const InitialState &i) |
print More... | |
Initial State information.
Changes required to implement the GENIE Boosted Dark Matter module were installed by Josh Berger (Univ. of Wisconsin)
Other minor changes / additions and fixes were installed by: Andy Furmanski (Univ. of Manchester) Joe Johnston (Univ of Pittsburgh)
May 02, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 48 of file InitialState.h.
InitialState::InitialState | ( | ) |
Definition at line 46 of file InitialState.cxx.
InitialState::InitialState | ( | int | tgt_pdgc, |
int | probe_pdgc | ||
) |
Definition at line 52 of file InitialState.cxx.
InitialState::InitialState | ( | int | Z, |
int | A, | ||
int | probe_pdgc | ||
) |
Definition at line 58 of file InitialState.cxx.
InitialState::InitialState | ( | const Target & | tgt, |
int | probe_pdgc | ||
) |
Definition at line 65 of file InitialState.cxx.
InitialState::InitialState | ( | const InitialState & | initial_state | ) |
Definition at line 72 of file InitialState.cxx.
InitialState::InitialState | ( | TRootIOCtor * | ) |
Definition at line 79 of file InitialState.cxx.
InitialState::~InitialState | ( | ) |
Definition at line 89 of file InitialState.cxx.
string InitialState::AsString | ( | void | ) | const |
Definition at line 408 of file InitialState.cxx.
|
private |
Definition at line 118 of file InitialState.cxx.
double InitialState::CMEnergy | ( | ) | const |
centre-of-mass energy (sqrt s)
Definition at line 394 of file InitialState.cxx.
bool InitialState::Compare | ( | const InitialState & | init_state | ) | const |
Definition at line 497 of file InitialState.cxx.
void InitialState::Copy | ( | const InitialState & | init_state | ) |
Definition at line 131 of file InitialState.cxx.
TLorentzVector * InitialState::GetProbeP4 | ( | RefFrame_t | rf = kRfHitNucRest | ) | const |
Definition at line 325 of file InitialState.cxx.
TLorentzVector * InitialState::GetTgtP4 | ( | RefFrame_t | rf = kRfLab | ) | const |
Definition at line 275 of file InitialState.cxx.
|
private |
Definition at line 94 of file InitialState.cxx.
|
private |
Definition at line 102 of file InitialState.cxx.
bool InitialState::IsDMBN | ( | void | ) | const |
is anti-dark matter + neutron?
Definition at line 265 of file InitialState.cxx.
bool InitialState::IsDMBP | ( | void | ) | const |
is anti-dark matter + proton?
Definition at line 255 of file InitialState.cxx.
bool InitialState::IsDMN | ( | void | ) | const |
is dark matter + neutron?
Definition at line 245 of file InitialState.cxx.
bool InitialState::IsDMP | ( | void | ) | const |
is dark matter + proton?
Definition at line 235 of file InitialState.cxx.
bool InitialState::IsNuBarN | ( | void | ) | const |
is anti-neutrino + neutron?
Definition at line 226 of file InitialState.cxx.
bool InitialState::IsNuBarP | ( | void | ) | const |
is anti-neutrino + proton?
Definition at line 217 of file InitialState.cxx.
bool InitialState::IsNuN | ( | void | ) | const |
is neutrino + neutron?
Definition at line 208 of file InitialState.cxx.
bool InitialState::IsNuP | ( | void | ) | const |
is neutrino + proton?
Definition at line 199 of file InitialState.cxx.
InitialState & InitialState::operator= | ( | const InitialState & | i | ) |
bool InitialState::operator== | ( | const InitialState & | i | ) | const |
equal?
Definition at line 507 of file InitialState.cxx.
void InitialState::Print | ( | ostream & | stream | ) | const |
Definition at line 427 of file InitialState.cxx.
TParticlePDG * InitialState::Probe | ( | void | ) | const |
Definition at line 147 of file InitialState.cxx.
double InitialState::ProbeE | ( | RefFrame_t | rf | ) | const |
Definition at line 384 of file InitialState.cxx.
|
inline |
Definition at line 64 of file InitialState.h.
void InitialState::Reset | ( | void | ) |
Definition at line 125 of file InitialState.cxx.
void InitialState::SetPdgs | ( | int | tgt_pdgc, |
int | probe_pdgc | ||
) |
Definition at line 153 of file InitialState.cxx.
void InitialState::SetProbeE | ( | double | E | ) |
Definition at line 175 of file InitialState.cxx.
void InitialState::SetProbeP4 | ( | const TLorentzVector & | P4 | ) |
Definition at line 183 of file InitialState.cxx.
void InitialState::SetProbePdg | ( | int | pdg_code | ) |
Definition at line 167 of file InitialState.cxx.
void InitialState::SetTgtP4 | ( | const TLorentzVector & | P4 | ) |
Definition at line 191 of file InitialState.cxx.
void InitialState::SetTgtPdg | ( | int | pdg_code | ) |
Definition at line 159 of file InitialState.cxx.
|
inline |
Definition at line 66 of file InitialState.h.
int InitialState::TgtPdg | ( | void | ) | const |
Definition at line 141 of file InitialState.cxx.
|
inline |
Definition at line 67 of file InitialState.h.
|
friend |
|
private |
probe 4-momentum in LAB-frame
Definition at line 111 of file InitialState.h.
|
private |
probe PDG code
Definition at line 109 of file InitialState.h.
|
private |
nuclear target
Definition at line 110 of file InitialState.h.
|
private |
nuclear target 4-momentum in LAB-frame
Definition at line 112 of file InitialState.h.