A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems such as a nuclear target, a 'spectator' nuclear target with a Hit nucleon, a free nucleon or a free particle (eg a e- target in the inverse muon decay reaction) More...
#include <Target.h>
Public Member Functions | |
Target () | |
Target (int pdgc) | |
Target (int Z, int A) | |
Target (int Z, int A, int hit_nucleon_pdgc) | |
Target (const Target &tgt) | |
Target (TRootIOCtor *) | |
~Target () | |
void | SetId (int pdgc) |
void | SetId (int Z, int A) |
void | SetHitNucPdg (int pdgc) |
void | SetHitNucP4 (const TLorentzVector &p4) |
void | SetHitNucPosition (double r) |
void | SetHitQrkPdg (int pdgc) |
void | SetHitSeaQrk (bool tf) |
void | ForceHitNucOnMassShell (void) |
int | Z (void) const |
int | N (void) const |
int | A (void) const |
int | Pdg (void) const |
double | Mass (void) const |
double | Charge (void) const |
bool | IsFreeNucleon (void) const |
bool | IsProton (void) const |
bool | IsNeutron (void) const |
bool | IsNucleus (void) const |
bool | IsParticle (void) const |
bool | IsValidNucleus (void) const |
bool | HitNucIsSet (void) const |
bool | HitQrkIsSet (void) const |
bool | HitSeaQrk (void) const |
bool | IsEvenEven (void) const |
bool | IsEvenOdd (void) const |
bool | IsOddOdd (void) const |
int | HitNucPdg (void) const |
int | HitQrkPdg (void) const |
double | HitNucMass (void) const |
double | HitNucPosition (void) const |
const TLorentzVector & | HitNucP4 (void) const |
TLorentzVector * | HitNucP4Ptr (void) const |
void | Reset (void) |
void | Copy (const Target &t) |
bool | Compare (const Target &t) const |
string | AsString (void) const |
void | Print (ostream &stream) const |
bool | operator== (const Target &t) const |
equal? More... | |
Target & | operator= (const Target &t) |
copy More... | |
Private Member Functions | |
void | Init (void) |
void | CleanUp (void) |
void | ForceNucleusValidity (void) |
bool | ForceHitNucValidity (void) |
void | AutoSetHitNuc (void) |
Private Attributes | |
int | fZ |
nuclear target Z More... | |
int | fA |
nuclear target A More... | |
int | fTgtPDG |
nuclear target PDG code More... | |
int | fHitNucPDG |
hit nucleon PDG code More... | |
int | fHitQrkPDG |
hit quark PDG code More... | |
bool | fHitSeaQrk |
hit quark from sea? More... | |
TLorentzVector * | fHitNucP4 |
hit nucleon 4p More... | |
double | fHitNucRad |
hit nucleon position More... | |
Friends | |
ostream & | operator<< (ostream &stream, const Target &t) |
print More... | |
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems such as a nuclear target, a 'spectator' nuclear target with a Hit nucleon, a free nucleon or a free particle (eg a e- target in the inverse muon decay reaction)
May 03, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Target::Target | ( | ) |
Definition at line 41 of file Target.cxx.
Target::Target | ( | int | pdgc | ) |
Definition at line 47 of file Target.cxx.
Target::Target | ( | int | Z, |
int | A | ||
) |
Definition at line 54 of file Target.cxx.
Target::Target | ( | int | Z, |
int | A, | ||
int | hit_nucleon_pdgc | ||
) |
Definition at line 61 of file Target.cxx.
Target::Target | ( | const Target & | tgt | ) |
Definition at line 69 of file Target.cxx.
Target::Target | ( | TRootIOCtor * | ) |
Definition at line 76 of file Target.cxx.
Target::~Target | ( | ) |
Definition at line 88 of file Target.cxx.
string Target::AsString | ( | void | ) | const |
Definition at line 383 of file Target.cxx.
|
private |
Definition at line 373 of file Target.cxx.
double Target::Charge | ( | void | ) | const |
Definition at line 215 of file Target.cxx.
|
private |
Definition at line 111 of file Target.cxx.
Definition at line 422 of file Target.cxx.
void Target::Copy | ( | const Target & | t | ) |
Definition at line 116 of file Target.cxx.
void Target::ForceHitNucOnMassShell | ( | void | ) |
Definition at line 200 of file Target.cxx.
|
private |
Definition at line 350 of file Target.cxx.
|
private |
Definition at line 362 of file Target.cxx.
bool Target::HitNucIsSet | ( | void | ) | const |
Definition at line 283 of file Target.cxx.
double Target::HitNucMass | ( | void | ) | const |
Definition at line 233 of file Target.cxx.
|
inline |
TLorentzVector * Target::HitNucP4Ptr | ( | void | ) | const |
Definition at line 247 of file Target.cxx.
int Target::HitNucPdg | ( | void | ) | const |
Definition at line 304 of file Target.cxx.
bool Target::HitQrkIsSet | ( | void | ) | const |
Definition at line 292 of file Target.cxx.
int Target::HitQrkPdg | ( | void | ) | const |
Definition at line 242 of file Target.cxx.
bool Target::HitSeaQrk | ( | void | ) | const |
Definition at line 299 of file Target.cxx.
|
private |
Definition at line 99 of file Target.cxx.
bool Target::IsEvenEven | ( | void | ) | const |
Definition at line 322 of file Target.cxx.
bool Target::IsEvenOdd | ( | void | ) | const |
Definition at line 332 of file Target.cxx.
bool Target::IsFreeNucleon | ( | void | ) | const |
Definition at line 257 of file Target.cxx.
bool Target::IsNeutron | ( | void | ) | const |
Definition at line 267 of file Target.cxx.
bool Target::IsNucleus | ( | void | ) | const |
Definition at line 272 of file Target.cxx.
bool Target::IsOddOdd | ( | void | ) | const |
Definition at line 340 of file Target.cxx.
bool Target::IsParticle | ( | void | ) | const |
Definition at line 277 of file Target.cxx.
bool Target::IsProton | ( | void | ) | const |
Definition at line 262 of file Target.cxx.
bool Target::IsValidNucleus | ( | void | ) | const |
Definition at line 309 of file Target.cxx.
double Target::Mass | ( | void | ) | const |
Definition at line 224 of file Target.cxx.
void Target::Print | ( | ostream & | stream | ) | const |
Definition at line 399 of file Target.cxx.
void Target::Reset | ( | void | ) |
Definition at line 93 of file Target.cxx.
void Target::SetHitNucP4 | ( | const TLorentzVector & | p4 | ) |
Definition at line 189 of file Target.cxx.
void Target::SetHitNucPdg | ( | int | pdgc | ) |
Definition at line 171 of file Target.cxx.
void Target::SetHitNucPosition | ( | double | r | ) |
Definition at line 210 of file Target.cxx.
void Target::SetHitQrkPdg | ( | int | pdgc | ) |
Definition at line 184 of file Target.cxx.
void Target::SetHitSeaQrk | ( | bool | tf | ) |
Definition at line 195 of file Target.cxx.
void Target::SetId | ( | int | pdgc | ) |
Definition at line 149 of file Target.cxx.
void Target::SetId | ( | int | Z, |
int | A | ||
) |
Definition at line 161 of file Target.cxx.
|
friend |
|
private |
|
private |