Public Member Functions | Private Attributes | Friends | List of all members
genie::XclsTag Class Reference

Contains minimal information for tagging exclusive processes. More...

#include <XclsTag.h>

Inheritance diagram for genie::XclsTag:

Public Member Functions

 XclsTag ()
 
 XclsTag (const XclsTag &xcls)
 
 ~XclsTag ()
 
bool IsCharmEvent (void) const
 
bool IsInclusiveCharm (void) const
 
int CharmHadronPdg (void) const
 
bool IsStrangeEvent (void) const
 
bool IsInclusiveStrange (void) const
 
int StrangeHadronPdg (void) const
 
int NProtons (void) const
 
int NNeutrons (void) const
 
int NPi0 (void) const
 
int NPiPlus (void) const
 
int NPiMinus (void) const
 
int NNucleons (void) const
 
int NPions (void) const
 
int NRhos (void) const
 
int NSingleGammas (void) const
 
int NRho0 (void) const
 
int NRhoPlus (void) const
 
int NRhoMinus (void) const
 
bool KnownResonance (void) const
 
Resonance_t Resonance (void) const
 
int DecayMode (void) const
 
bool IsFinalQuarkEvent (void) const
 
int FinalQuarkPdg (void) const
 
bool IsFinalLeptonEvent (void) const
 
int FinalLeptonPdg (void) const
 
void SetCharm (int charm_pdgc=0)
 
void SetStrange (int strange_pdgc=0)
 
void SetNPions (int npi_plus, int npi_0, int npi_minus)
 
void SetNNucleons (int np, int nn)
 
void SetNProtons (int np)
 
void SetNNeutrons (int nn)
 
void SetNSingleGammas (int ng)
 
void SetNRhos (int nrho_plus, int nrho_0, int nrho_minus)
 
void UnsetCharm (void)
 
void UnsetStrange (void)
 
void ResetNPions (void)
 
void ResetNNucleons (void)
 
void ResetNSingleGammas (void)
 
void ResetNRhos (void)
 
void SetResonance (Resonance_t res)
 
void SetDecayMode (int decay_mode)
 
void SetFinalQuark (int finalquark_pdgc=0)
 
void SetFinalLepton (int finallepton_pdgc=0)
 
void Reset (void)
 reset object More...
 
void Copy (const XclsTag &xcls)
 copy input XclsTag object More...
 
string AsString (void) const
 pack into a string code More...
 
void Print (ostream &stream) const
 print More...
 
XclsTagoperator= (const XclsTag &xcls)
 copy More...
 

Private Attributes

bool fIsStrangeEvent
 true if we have strange production More...
 
bool fIsCharmEvent
 true if we have charm production More...
 
int fStrangeHadronPdg
 strange hadron pdg-code More...
 
int fCharmedHadronPdg
 charmed hadron pdg-code More...
 
int fNProtons
 

of p's in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNNeutrons
 

of n's in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNPi0
 

of pi^0's in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNPiPlus
 

of pi^+'s in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNPiMinus
 

of pi^-'s in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNSingleGammas
 

of single gammas in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNRho0
 

of rho^0's in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNRhoPlus
 

of rho^+'s in the hadronic system after this Xcls reaction (before FSI)

More...
 
int fNRhoMinus
 

of rho^-'s in the hadronic system after this Xcls reaction (before FSI)

More...
 
Resonance_t fResonance
 baryon resonance excited by probe More...
 
int fDecayMode
 
bool fIsFinalQuarkEvent
 true if we have define final quark More...
 
int fFinalQuarkPdg
 final quark pdg-code More...
 
bool fIsFinalLeptonEvent
 true if we have define final lepton More...
 
int fFinalLeptonPdg
 final lepton pdg-code More...
 

Friends

ostream & operator<< (ostream &stream, const XclsTag &xcls)
 print More...
 

Detailed Description

Contains minimal information for tagging exclusive processes.

Author
Costas Andreopoulos <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

Additions for single- and single- processes were installed by Marco Roda mroda.nosp@m.@liv.nosp@m.erpoo.nosp@m.l.ac.nosp@m..uk, University of Liverpool

December 08, 2004

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 39 of file XclsTag.h.

Constructor & Destructor Documentation

XclsTag::XclsTag ( )

Definition at line 36 of file XclsTag.cxx.

36  :
37 TObject()
38 {
39  this->Reset();
40 }
void Reset(void)
reset object
Definition: XclsTag.cxx:150
XclsTag::XclsTag ( const XclsTag xcls)

Definition at line 42 of file XclsTag.cxx.

42  :
43 TObject()
44 {
45  this->Reset();
46  this->Copy(xcls);
47 }
void Copy(const XclsTag &xcls)
copy input XclsTag object
Definition: XclsTag.cxx:173
void Reset(void)
reset object
Definition: XclsTag.cxx:150
XclsTag::~XclsTag ( )

Definition at line 49 of file XclsTag.cxx.

50 {
51 
52 }

Member Function Documentation

string XclsTag::AsString ( void  ) const

pack into a string code

Definition at line 212 of file XclsTag.cxx.

213 {
214 // codifies XclsTag state into a compact string
215 
216  ostringstream tag;
217 
218  bool need_separator = false;
219 
220  if(fIsCharmEvent) {
221  tag << "charm:";
223  else tag << "incl";
224  need_separator = true;
225  }
226 
227  if(fIsStrangeEvent) {
228  tag << "strange:";
230  else tag << "incl";
231  need_separator = true;
232  }
233 
234  bool multset =
235  fNProtons>0 || fNNeutrons>0 ||
236  fNPiPlus>0 || fNPiMinus>0 || fNPi0>0 ||
237  fNSingleGammas>0 ||
238  fNRho0>0 || fNRhoPlus>0 || fNRhoMinus>0 ;
239  if(multset) {
240  if(need_separator) tag << ";";
241  tag << "hmult:"
242  << "(p=" << fNProtons << ",n=" << fNNeutrons
243  << ",pi+=" << fNPiPlus << ",pi-=" << fNPiMinus << ",pi0=" << fNPi0
244  << ",gamma=" << fNSingleGammas
245  << ",rho+=" << fNRhoPlus << ",rho-=" << fNRhoMinus << ",rho0=" << fNRho0
246  << ")";
247  }
248 
249  if(this->KnownResonance()) {
250  if(need_separator) tag << ";";
251  tag << "res:" << fResonance;
252  }
253 
254  if(fDecayMode != -1) {
255  tag << "dec:" << fDecayMode;
256  }
257 
258  if(fIsFinalQuarkEvent) {
259  tag << "finalquark:" << fFinalQuarkPdg;
260  }
261 
262  if(fIsFinalLeptonEvent) {
263  tag << "finallepton:" << fFinalLeptonPdg;
264  }
265 
266  return tag.str();
267 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
int fFinalQuarkPdg
final quark pdg-code
Definition: XclsTag.h:124
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
bool KnownResonance(void) const
Definition: XclsTag.h:68
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110
bool fIsFinalLeptonEvent
true if we have define final lepton
Definition: XclsTag.h:125
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fDecayMode
Definition: XclsTag.h:122
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
bool fIsFinalQuarkEvent
true if we have define final quark
Definition: XclsTag.h:123
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
int fFinalLeptonPdg
final lepton pdg-code
Definition: XclsTag.h:126
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
int genie::XclsTag::CharmHadronPdg ( void  ) const
inline

Definition at line 52 of file XclsTag.h.

52 { return fCharmedHadronPdg; }
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
void XclsTag::Copy ( const XclsTag xcls)

copy input XclsTag object

Definition at line 173 of file XclsTag.cxx.

174 {
179  fNProtons = xcls.fNProtons;
180  fNNeutrons = xcls.fNNeutrons;
181  fNPi0 = xcls.fNPi0;
182  fNPiPlus = xcls.fNPiPlus;
183  fNPiMinus = xcls.fNPiMinus;
185  fNRho0 = xcls.fNRho0;
186  fNRhoPlus = xcls.fNRhoPlus;
187  fNRhoMinus = xcls.fNRhoMinus;
188  fResonance = xcls.fResonance;
189  fDecayMode = xcls.fDecayMode;
194 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
int fFinalQuarkPdg
final quark pdg-code
Definition: XclsTag.h:124
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110
bool fIsFinalLeptonEvent
true if we have define final lepton
Definition: XclsTag.h:125
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fDecayMode
Definition: XclsTag.h:122
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
bool fIsFinalQuarkEvent
true if we have define final quark
Definition: XclsTag.h:123
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
int fFinalLeptonPdg
final lepton pdg-code
Definition: XclsTag.h:126
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
int genie::XclsTag::DecayMode ( void  ) const
inline

Definition at line 70 of file XclsTag.h.

70 { return fDecayMode; }
int fDecayMode
Definition: XclsTag.h:122
int genie::XclsTag::FinalLeptonPdg ( void  ) const
inline

Definition at line 74 of file XclsTag.h.

74 { return fFinalLeptonPdg; }
int fFinalLeptonPdg
final lepton pdg-code
Definition: XclsTag.h:126
int genie::XclsTag::FinalQuarkPdg ( void  ) const
inline

Definition at line 72 of file XclsTag.h.

72 { return fFinalQuarkPdg; }
int fFinalQuarkPdg
final quark pdg-code
Definition: XclsTag.h:124
bool genie::XclsTag::IsCharmEvent ( void  ) const
inline

Definition at line 50 of file XclsTag.h.

50 { return fIsCharmEvent; }
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
bool genie::XclsTag::IsFinalLeptonEvent ( void  ) const
inline

Definition at line 73 of file XclsTag.h.

73 { return fIsFinalLeptonEvent; }
bool fIsFinalLeptonEvent
true if we have define final lepton
Definition: XclsTag.h:125
bool genie::XclsTag::IsFinalQuarkEvent ( void  ) const
inline

Definition at line 71 of file XclsTag.h.

71 { return fIsFinalQuarkEvent; }
bool fIsFinalQuarkEvent
true if we have define final quark
Definition: XclsTag.h:123
bool XclsTag::IsInclusiveCharm ( void  ) const

Definition at line 54 of file XclsTag.cxx.

55 {
56  return ( this->IsCharmEvent() && (this->CharmHadronPdg() == 0) );
57 }
int CharmHadronPdg(void) const
Definition: XclsTag.h:52
bool IsCharmEvent(void) const
Definition: XclsTag.h:50
bool XclsTag::IsInclusiveStrange ( void  ) const

Definition at line 71 of file XclsTag.cxx.

72 {
73  return ( this->IsStrangeEvent() && (this->StrangeHadronPdg() == 0) );
74 }
bool IsStrangeEvent(void) const
Definition: XclsTag.h:53
int StrangeHadronPdg(void) const
Definition: XclsTag.h:55
bool genie::XclsTag::IsStrangeEvent ( void  ) const
inline

Definition at line 53 of file XclsTag.h.

53 { return fIsStrangeEvent; }
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
bool genie::XclsTag::KnownResonance ( void  ) const
inline

Definition at line 68 of file XclsTag.h.

68 { return (fResonance != kNoResonance); }
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
int genie::XclsTag::NNeutrons ( void  ) const
inline

Definition at line 57 of file XclsTag.h.

57 { return fNNeutrons; }
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
int genie::XclsTag::NNucleons ( void  ) const
inline

Definition at line 61 of file XclsTag.h.

61 { return fNNeutrons + fNProtons; }
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
int genie::XclsTag::NPi0 ( void  ) const
inline

Definition at line 58 of file XclsTag.h.

58 { return fNPi0; }
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int genie::XclsTag::NPiMinus ( void  ) const
inline

Definition at line 60 of file XclsTag.h.

60 { return fNPiMinus; }
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
int genie::XclsTag::NPions ( void  ) const
inline

Definition at line 62 of file XclsTag.h.

62 { return fNPi0 + fNPiPlus + fNPiMinus; }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
int genie::XclsTag::NPiPlus ( void  ) const
inline

Definition at line 59 of file XclsTag.h.

59 { return fNPiPlus; }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int genie::XclsTag::NProtons ( void  ) const
inline

Definition at line 56 of file XclsTag.h.

56 { return fNProtons; }
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
int genie::XclsTag::NRho0 ( void  ) const
inline

Definition at line 65 of file XclsTag.h.

65 { return fNRho0; }
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
int genie::XclsTag::NRhoMinus ( void  ) const
inline

Definition at line 67 of file XclsTag.h.

67 { return fNRhoMinus; }
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
int genie::XclsTag::NRhoPlus ( void  ) const
inline

Definition at line 66 of file XclsTag.h.

66 { return fNRhoPlus; }
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int genie::XclsTag::NRhos ( void  ) const
inline

Definition at line 63 of file XclsTag.h.

63 { return fNRho0 + fNRhoPlus + fNRhoMinus; }
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
int genie::XclsTag::NSingleGammas ( void  ) const
inline

Definition at line 64 of file XclsTag.h.

64 { return fNSingleGammas; }
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
XclsTag & XclsTag::operator= ( const XclsTag xcls)

copy

Definition at line 354 of file XclsTag.cxx.

355 {
356  this->Copy(xcls);
357  return (*this);
358 }
void Copy(const XclsTag &xcls)
copy input XclsTag object
Definition: XclsTag.cxx:173
void XclsTag::Print ( ostream &  stream) const

print

Definition at line 269 of file XclsTag.cxx.

270 {
271  stream << "[-] [Exclusive Process Info] " << endl;
272 
273  stream << " |--> charm prod. : "
275  if(fIsCharmEvent) {
276  if(!fCharmedHadronPdg) stream << " [inclusive]";
277  else {
278  stream << " - Charm hadron PDG-code = " << fCharmedHadronPdg;
279 
280  TParticlePDG * chadr = PDGLibrary::Instance()->Find( fCharmedHadronPdg );
281  if(chadr)
282  stream << " (" << chadr->GetName() << ")";
283  }
284  }
285 
286  stream << " |--> strange prod. : "
288  if(fIsStrangeEvent) {
289  if(!fStrangeHadronPdg) stream << " [inclusive]";
290  else {
291  stream << " - Strange hadron PDG-code = " << fStrangeHadronPdg;
292 
293  TParticlePDG * chadr = PDGLibrary::Instance()->Find( fStrangeHadronPdg );
294  if(chadr)
295  stream << " (" << chadr->GetName() << ")";
296  }
297  }
298 
299  stream << endl;
300 
301  stream << " |--> f/s nucleons :"
302  << " N(p) = " << fNProtons
303  << " N(n) = " << fNNeutrons
304  << endl;
305 
306  stream << " |--> f/s pions :"
307  << " N(pi^0) = " << fNPi0
308  << " N(pi^+) = " << fNPiPlus
309  << " N(pi^-) = " << fNPiMinus
310  << endl;
311 
312  stream << " |--> f/s Other :"
313  << " N(gamma) = " << fNSingleGammas
314  << " N(Rho^0) = " << fNRho0
315  << " N(Rho^+) = " << fNRhoPlus
316  << " N(Rho^-) = " << fNRhoMinus
317  << endl;
318 
319  stream << " |--> resonance : ";
320  if(this->KnownResonance()) {
322  } else {
323  stream << "[not set]";
324  }
325 
326  stream << endl;
327 
328  stream << " |--> final quark prod. : "
330  if(fIsFinalQuarkEvent) {
331  stream << " - Final Quark PDG-code = " << fFinalQuarkPdg;
332  TParticlePDG * chadr = PDGLibrary::Instance()->Find( fFinalQuarkPdg );
333  if(chadr) stream << " (" << chadr->GetName() << ")";
334  }
335 
336  stream << endl;
337 
338  stream << " |--> final lepton prod. : "
340  if(fIsFinalLeptonEvent) {
341  stream << " - Final Lepton PDG-code = " << fFinalLeptonPdg;
342  TParticlePDG * chadr = PDGLibrary::Instance()->Find( fFinalLeptonPdg );
343  if(chadr) stream << " (" << chadr->GetName() << ")";
344  }
345 
346  stream << endl;
347 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
int fFinalQuarkPdg
final quark pdg-code
Definition: XclsTag.h:124
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
bool KnownResonance(void) const
Definition: XclsTag.h:68
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110
bool fIsFinalLeptonEvent
true if we have define final lepton
Definition: XclsTag.h:125
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
string BoolAsString(bool b)
Definition: PrintUtils.cxx:91
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
bool fIsFinalQuarkEvent
true if we have define final quark
Definition: XclsTag.h:123
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
static PDGLibrary * Instance(void)
Definition: PDGLibrary.cxx:57
int fFinalLeptonPdg
final lepton pdg-code
Definition: XclsTag.h:126
const char * AsString(Resonance_t res)
resonance id -> string
TParticlePDG * Find(int pdgc, bool must_exist=true)
Definition: PDGLibrary.cxx:75
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
QTextStream & endl(QTextStream &s)
void XclsTag::Reset ( void  )

reset object

Definition at line 150 of file XclsTag.cxx.

151 {
152  fIsStrangeEvent = false ;
153  fIsCharmEvent = false ;
154  fStrangeHadronPdg = 0 ;
155  fCharmedHadronPdg = 0 ;
156  fNProtons = 0 ;
157  fNNeutrons = 0 ;
158  fNPi0 = 0 ;
159  fNPiPlus = 0 ;
160  fNPiMinus = 0 ;
161  fNSingleGammas = 0 ;
162  fNRho0 = 0 ;
163  fNRhoPlus = 0 ;
164  fNRhoMinus = 0 ;
166  fDecayMode = -1 ;
167  fIsFinalQuarkEvent = false;
168  fFinalQuarkPdg = 0;
169  fIsFinalLeptonEvent = false;
170  fFinalLeptonPdg = 0;
171 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
int fFinalQuarkPdg
final quark pdg-code
Definition: XclsTag.h:124
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110
bool fIsFinalLeptonEvent
true if we have define final lepton
Definition: XclsTag.h:125
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fDecayMode
Definition: XclsTag.h:122
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
bool fIsFinalQuarkEvent
true if we have define final quark
Definition: XclsTag.h:123
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
int fFinalLeptonPdg
final lepton pdg-code
Definition: XclsTag.h:126
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
void XclsTag::ResetNNucleons ( void  )

Definition at line 115 of file XclsTag.cxx.

116 {
117  fNProtons = 0;
118  fNNeutrons = 0;
119 }
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
void XclsTag::ResetNPions ( void  )

Definition at line 108 of file XclsTag.cxx.

109 {
110  fNPi0 = 0;
111  fNPiPlus = 0;
112  fNPiMinus = 0;
113 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
void XclsTag::ResetNRhos ( void  )

Definition at line 121 of file XclsTag.cxx.

122 {
123  fNRho0 = 0;
124  fNRhoPlus = 0;
125  fNRhoMinus = 0;
126 }
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
void genie::XclsTag::ResetNSingleGammas ( void  )
inline

Definition at line 89 of file XclsTag.h.

89 { fNSingleGammas = 0 ;}
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
Resonance_t genie::XclsTag::Resonance ( void  ) const
inline

Definition at line 69 of file XclsTag.h.

69 { return fResonance; }
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
void XclsTag::SetCharm ( int  charm_pdgc = 0)

Definition at line 59 of file XclsTag.cxx.

60 {
61  fIsCharmEvent = true;
62  fCharmedHadronPdg = charm_pdgc; // leave as 0 (default) for inclusive charm
63 }
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
void XclsTag::SetDecayMode ( int  decay_mode)

Definition at line 133 of file XclsTag.cxx.

134 {
135  fDecayMode = decay_mode;
136 }
int fDecayMode
Definition: XclsTag.h:122
void XclsTag::SetFinalLepton ( int  finallepton_pdgc = 0)

Definition at line 144 of file XclsTag.cxx.

145 {
146  fIsFinalLeptonEvent = true;
147  fFinalLeptonPdg = finallepton_pdgc; // leave as 0 (default) for inclusive charm
148 }
bool fIsFinalLeptonEvent
true if we have define final lepton
Definition: XclsTag.h:125
int fFinalLeptonPdg
final lepton pdg-code
Definition: XclsTag.h:126
void XclsTag::SetFinalQuark ( int  finalquark_pdgc = 0)

Definition at line 138 of file XclsTag.cxx.

139 {
140  fIsFinalQuarkEvent = true;
141  fFinalQuarkPdg = finalquark_pdgc; // leave as 0 (default) for inclusive charm
142 }
int fFinalQuarkPdg
final quark pdg-code
Definition: XclsTag.h:124
bool fIsFinalQuarkEvent
true if we have define final quark
Definition: XclsTag.h:123
void genie::XclsTag::SetNNeutrons ( int  nn)
inline

Definition at line 82 of file XclsTag.h.

82 { fNNeutrons = nn; }
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
void XclsTag::SetNNucleons ( int  np,
int  nn 
)

Definition at line 95 of file XclsTag.cxx.

96 {
97  fNProtons = np;
98  fNNeutrons = nn;
99 }
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:113
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
void XclsTag::SetNPions ( int  npi_plus,
int  npi_0,
int  npi_minus 
)

Definition at line 88 of file XclsTag.cxx.

89 {
90  fNPiPlus = npi_plus;
91  fNPi0 = npi_0;
92  fNPiMinus = npi_minus;
93 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:115
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:114
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:116
void genie::XclsTag::SetNProtons ( int  np)
inline

Definition at line 81 of file XclsTag.h.

81 { fNProtons = np; }
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:112
void XclsTag::SetNRhos ( int  nrho_plus,
int  nrho_0,
int  nrho_minus 
)

Definition at line 101 of file XclsTag.cxx.

102 {
103  fNRhoPlus = nrho_plus;
104  fNRho0 = nrho_0;
105  fNRhoMinus = nrho_minus;
106 }
int fNRhoPlus
of rho^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:119
int fNRho0
of rho^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:118
int fNRhoMinus
of rho^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:120
void genie::XclsTag::SetNSingleGammas ( int  ng)
inline

Definition at line 83 of file XclsTag.h.

83 { fNSingleGammas = ng ; }
int fNSingleGammas
of single gammas in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:117
void XclsTag::SetResonance ( Resonance_t  res)

Definition at line 128 of file XclsTag.cxx.

129 {
130  fResonance = res;
131 }
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:121
void XclsTag::SetStrange ( int  strange_pdgc = 0)

Definition at line 76 of file XclsTag.cxx.

77 {
78  fIsStrangeEvent = true;
79  fStrangeHadronPdg = strange_pdgc; // leave as 0 (default) for inclusive strange
80 }
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110
int genie::XclsTag::StrangeHadronPdg ( void  ) const
inline

Definition at line 55 of file XclsTag.h.

55 { return fStrangeHadronPdg; }
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110
void XclsTag::UnsetCharm ( void  )

Definition at line 65 of file XclsTag.cxx.

66 {
67  fIsCharmEvent = false;
69 }
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:111
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:109
void XclsTag::UnsetStrange ( void  )

Definition at line 82 of file XclsTag.cxx.

83 {
84  fIsStrangeEvent = false;
86 }
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:108
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:110

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
const XclsTag xcls 
)
friend

print

Member Data Documentation

int genie::XclsTag::fCharmedHadronPdg
private

charmed hadron pdg-code

Definition at line 111 of file XclsTag.h.

int genie::XclsTag::fDecayMode
private

Definition at line 122 of file XclsTag.h.

int genie::XclsTag::fFinalLeptonPdg
private

final lepton pdg-code

Definition at line 126 of file XclsTag.h.

int genie::XclsTag::fFinalQuarkPdg
private

final quark pdg-code

Definition at line 124 of file XclsTag.h.

bool genie::XclsTag::fIsCharmEvent
private

true if we have charm production

Definition at line 109 of file XclsTag.h.

bool genie::XclsTag::fIsFinalLeptonEvent
private

true if we have define final lepton

Definition at line 125 of file XclsTag.h.

bool genie::XclsTag::fIsFinalQuarkEvent
private

true if we have define final quark

Definition at line 123 of file XclsTag.h.

bool genie::XclsTag::fIsStrangeEvent
private

true if we have strange production

Definition at line 108 of file XclsTag.h.

int genie::XclsTag::fNNeutrons
private

of n's in the hadronic system after this Xcls reaction (before FSI)

Definition at line 113 of file XclsTag.h.

int genie::XclsTag::fNPi0
private

of pi^0's in the hadronic system after this Xcls reaction (before FSI)

Definition at line 114 of file XclsTag.h.

int genie::XclsTag::fNPiMinus
private

of pi^-'s in the hadronic system after this Xcls reaction (before FSI)

Definition at line 116 of file XclsTag.h.

int genie::XclsTag::fNPiPlus
private

of pi^+'s in the hadronic system after this Xcls reaction (before FSI)

Definition at line 115 of file XclsTag.h.

int genie::XclsTag::fNProtons
private

of p's in the hadronic system after this Xcls reaction (before FSI)

Definition at line 112 of file XclsTag.h.

int genie::XclsTag::fNRho0
private

of rho^0's in the hadronic system after this Xcls reaction (before FSI)

Definition at line 118 of file XclsTag.h.

int genie::XclsTag::fNRhoMinus
private

of rho^-'s in the hadronic system after this Xcls reaction (before FSI)

Definition at line 120 of file XclsTag.h.

int genie::XclsTag::fNRhoPlus
private

of rho^+'s in the hadronic system after this Xcls reaction (before FSI)

Definition at line 119 of file XclsTag.h.

int genie::XclsTag::fNSingleGammas
private

of single gammas in the hadronic system after this Xcls reaction (before FSI)

Definition at line 117 of file XclsTag.h.

Resonance_t genie::XclsTag::fResonance
private

baryon resonance excited by probe

Definition at line 121 of file XclsTag.h.

int genie::XclsTag::fStrangeHadronPdg
private

strange hadron pdg-code

Definition at line 110 of file XclsTag.h.


The documentation for this class was generated from the following files: