20 using std::ostringstream;
22 using namespace genie;
218 bool need_separator =
false;
224 need_separator =
true;
231 need_separator =
true;
240 if(need_separator) tag <<
";";
250 if(need_separator) tag <<
";";
271 stream <<
"[-] [Exclusive Process Info] " <<
endl;
273 stream <<
" |--> charm prod. : " 282 stream <<
" (" << chadr->GetName() <<
")";
286 stream <<
" |--> strange prod. : " 295 stream <<
" (" << chadr->GetName() <<
")";
301 stream <<
" |--> f/s nucleons :" 306 stream <<
" |--> f/s pions :" 307 <<
" N(pi^0) = " <<
fNPi0 312 stream <<
" |--> f/s Other :" 314 <<
" N(Rho^0) = " <<
fNRho0 319 stream <<
" |--> resonance : ";
323 stream <<
"[not set]";
328 stream <<
" |--> final quark prod. : " 333 if(chadr) stream <<
" (" << chadr->GetName() <<
")";
338 stream <<
" |--> final lepton prod. : " 343 if(chadr) stream <<
" (" << chadr->GetName() <<
")";
void SetNPions(int npi_plus, int npi_0, int npi_minus)
int fNPiPlus
of pi^+'s in the hadronic system after this Xcls reaction (before FSI)
void ResetNNucleons(void)
THE MAIN GENIE PROJECT NAMESPACE
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
int fCharmedHadronPdg
charmed hadron pdg-code
int fFinalQuarkPdg
final quark pdg-code
int fNNeutrons
of n's in the hadronic system after this Xcls reaction (before FSI)
bool fIsCharmEvent
true if we have charm production
bool KnownResonance(void) const
int CharmHadronPdg(void) const
bool IsStrangeEvent(void) const
bool fIsStrangeEvent
true if we have strange production
void Copy(const XclsTag &xcls)
copy input XclsTag object
int fStrangeHadronPdg
strange hadron pdg-code
XclsTag & operator=(const XclsTag &xcls)
copy
enum genie::EResonance Resonance_t
ostream & operator<<(ostream &stream, const T2KEvGenMetaData &md)
void SetResonance(Resonance_t res)
void Print(ostream &stream) const
print
Contains minimal information for tagging exclusive processes.
void SetCharm(int charm_pdgc=0)
bool IsCharmEvent(void) const
bool fIsFinalLeptonEvent
true if we have define final lepton
void Reset(void)
reset object
int StrangeHadronPdg(void) const
int fNRhoPlus
of rho^+'s in the hadronic system after this Xcls reaction (before FSI)
int fNPi0
of pi^0's in the hadronic system after this Xcls reaction (before FSI)
string BoolAsString(bool b)
string AsString(void) const
pack into a string code
void SetStrange(int strange_pdgc=0)
void SetFinalLepton(int finallepton_pdgc=0)
int fNRho0
of rho^0's in the hadronic system after this Xcls reaction (before FSI)
bool fIsFinalQuarkEvent
true if we have define final quark
int fNProtons
of p's in the hadronic system after this Xcls reaction (before FSI)
void SetDecayMode(int decay_mode)
ClassImp(XclsTag) namespace genie
bool IsInclusiveStrange(void) const
int fNRhoMinus
of rho^-'s in the hadronic system after this Xcls reaction (before FSI)
static PDGLibrary * Instance(void)
void SetNNucleons(int np, int nn)
int fFinalLeptonPdg
final lepton pdg-code
void SetNRhos(int nrho_plus, int nrho_0, int nrho_minus)
bool IsInclusiveCharm(void) const
const char * AsString(Resonance_t res)
resonance id -> string
TParticlePDG * Find(int pdgc, bool must_exist=true)
void SetFinalQuark(int finalquark_pdgc=0)
Resonance_t fResonance
baryon resonance excited by probe
int fNPiMinus
of pi^-'s in the hadronic system after this Xcls reaction (before FSI)
Root of GENIE utility namespaces.
QTextStream & endl(QTextStream &s)