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

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

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Framework/Interaction/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
 
bool KnownResonance (void) const
 
Resonance_t Resonance (void) const
 
int DecayMode (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 UnsetCharm (void)
 
void UnsetStrange (void)
 
void ResetNPions (void)
 
void ResetNNucleons (void)
 
void SetResonance (Resonance_t res)
 
void SetDecayMode (int decay_mode)
 
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 fIsCharmEvent
 true if we have charm production More...
 
int fCharmedHadronPdg
 charmed hadron pdg-code More...
 
bool fIsStrangeEvent
 true if we have strange production More...
 
int fStrangeHadronPdg
 strange 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...
 
Resonance_t fResonance
 baryon resonance excited by probe More...
 
int fDecayMode
 

Friends

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

Detailed Description

Contains minimal information for tagging exclusive processes.

Author
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

December 08, 2004

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

Definition at line 37 of file XclsTag.h.

Constructor & Destructor Documentation

XclsTag::XclsTag ( )

Definition at line 45 of file XclsTag.cxx.

References Reset().

45  :
46 TObject()
47 {
48  this->Reset();
49 }
void Reset(void)
reset object
Definition: XclsTag.cxx:133
XclsTag::XclsTag ( const XclsTag xcls)

Definition at line 51 of file XclsTag.cxx.

References Copy(), and Reset().

51  :
52 TObject()
53 {
54  this->Reset();
55  this->Copy(xcls);
56 }
void Copy(const XclsTag &xcls)
copy input XclsTag object
Definition: XclsTag.cxx:148
void Reset(void)
reset object
Definition: XclsTag.cxx:133
XclsTag::~XclsTag ( )

Definition at line 58 of file XclsTag.cxx.

59 {
60 
61 }

Member Function Documentation

string XclsTag::AsString ( void  ) const

pack into a string code

Definition at line 179 of file XclsTag.cxx.

References fCharmedHadronPdg, fDecayMode, fIsCharmEvent, fIsStrangeEvent, fNNeutrons, fNPi0, fNPiMinus, fNPiPlus, fNProtons, fResonance, fStrangeHadronPdg, KnownResonance(), and getGoodRuns4SAM::tag.

Referenced by genie::Interaction::AsString(), and SetNNeutrons().

180 {
181 // codifies XclsTag state into a compact string
182 
183  ostringstream tag;
184 
185  bool need_separator = false;
186 
187  if(fIsCharmEvent) {
188  tag << "charm:";
190  else tag << "incl";
191  need_separator = true;
192  }
193 
194  if(fIsStrangeEvent) {
195  tag << "strange:";
197  else tag << "incl";
198  need_separator = true;
199  }
200 
201  bool multset =
202  fNProtons>0 || fNNeutrons>0 || fNPiPlus>0 || fNPiMinus>0 || fNPi0>0;
203  if(multset) {
204  if(need_separator) tag << ";";
205  tag << "hmult:"
206  << "(p=" << fNProtons << ",n=" << fNNeutrons
207  << ",pi+=" << fNPiPlus << ",pi-=" << fNPiMinus << ",pi0=" << fNPi0
208  << ")";
209  }
210 
211  if(this->KnownResonance()) {
212  if(need_separator) tag << ";";
213  tag << "res:" << fResonance;
214  }
215 
216  if(fDecayMode != -1) {
217  tag << "dec:" << fDecayMode;
218  }
219 
220  return tag.str();
221 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:98
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:92
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:96
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:91
bool KnownResonance(void) const
Definition: XclsTag.h:61
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:93
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:94
int fDecayMode
Definition: XclsTag.h:101
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:97
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:95
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:100
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:99
int genie::XclsTag::CharmHadronPdg ( void  ) const
inline
void XclsTag::Copy ( const XclsTag xcls)

copy input XclsTag object

Definition at line 148 of file XclsTag.cxx.

References fCharmedHadronPdg, fDecayMode, fIsCharmEvent, fIsStrangeEvent, fNNeutrons, fNPi0, fNPiMinus, fNPiPlus, fNProtons, fResonance, and fStrangeHadronPdg.

Referenced by operator=(), genie::Interaction::SetExclTag(), SetNNeutrons(), and XclsTag().

149 {
154  fNProtons = xcls.fNProtons;
155  fNNeutrons = xcls.fNNeutrons;
156  fNPi0 = xcls.fNPi0;
157  fNPiPlus = xcls.fNPiPlus;
158  fNPiMinus = xcls.fNPiMinus;
159  fResonance = xcls.fResonance;
160  fDecayMode = xcls.fDecayMode;
161 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:98
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:92
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:96
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:91
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:93
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:94
int fDecayMode
Definition: XclsTag.h:101
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:97
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:95
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:100
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:99
int genie::XclsTag::DecayMode ( void  ) const
inline
bool genie::XclsTag::IsCharmEvent ( void  ) const
inline
bool XclsTag::IsInclusiveCharm ( void  ) const
bool XclsTag::IsInclusiveStrange ( void  ) const

Definition at line 80 of file XclsTag.cxx.

References IsStrangeEvent(), and StrangeHadronPdg().

Referenced by IsStrangeEvent(), SaveGraphsToRootFile(), and genie::PaisQELLambdaPXSec::ValidProcess().

81 {
82  return ( this->IsStrangeEvent() && (this->StrangeHadronPdg() == 0) );
83 }
bool IsStrangeEvent(void) const
Definition: XclsTag.h:51
int StrangeHadronPdg(void) const
Definition: XclsTag.h:53
bool genie::XclsTag::IsStrangeEvent ( void  ) const
inline
bool genie::XclsTag::KnownResonance ( void  ) const
inline
int genie::XclsTag::NNeutrons ( void  ) const
inline

Definition at line 55 of file XclsTag.h.

References fNNeutrons.

Referenced by genie::SppChannel::FromInteraction(), and genie::AlamSimoAtharVacasSKPXSec2014::XSec().

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

Definition at line 59 of file XclsTag.h.

References fNNeutrons, and fNProtons.

Referenced by genie::SppChannel::FromInteraction().

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

Definition at line 56 of file XclsTag.h.

References fNPi0.

Referenced by genie::SppChannel::FromInteraction(), genie::COHHadronicSystemGenerator::getPionPDGCodeFromXclTag(), and genie::DFRHadronicSystemGenerator::ProcessEventRecord().

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

Definition at line 58 of file XclsTag.h.

References fNPiMinus.

Referenced by genie::SppChannel::FromInteraction(), genie::COHHadronicSystemGenerator::getPionPDGCodeFromXclTag(), and genie::DFRHadronicSystemGenerator::ProcessEventRecord().

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

Definition at line 60 of file XclsTag.h.

References fNPi0, fNPiMinus, and fNPiPlus.

Referenced by genie::SppChannel::FromInteraction().

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

Definition at line 57 of file XclsTag.h.

References fNPiPlus.

Referenced by genie::SppChannel::FromInteraction(), genie::COHHadronicSystemGenerator::getPionPDGCodeFromXclTag(), and genie::DFRHadronicSystemGenerator::ProcessEventRecord().

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

Definition at line 54 of file XclsTag.h.

References fNProtons.

Referenced by genie::SKHadronicSystemGenerator::CalculateHadronicSystem_AtharSingleKaon(), genie::SppChannel::FromInteraction(), genie::KPhaseSpace::Threshold(), and genie::AlamSimoAtharVacasSKPXSec2014::XSec().

54 { return fNProtons; }
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:95
XclsTag & XclsTag::operator= ( const XclsTag xcls)

copy

Definition at line 280 of file XclsTag.cxx.

References Copy().

Referenced by SetNNeutrons().

281 {
282  this->Copy(xcls);
283  return (*this);
284 }
void Copy(const XclsTag &xcls)
copy input XclsTag object
Definition: XclsTag.cxx:148
void XclsTag::Print ( ostream &  stream) const

print

Definition at line 223 of file XclsTag.cxx.

References genie::utils::res::AsString(), genie::utils::print::BoolAsString(), allTimeWatchdog::endl, fCharmedHadronPdg, genie::PDGLibrary::Find(), fIsCharmEvent, fIsStrangeEvent, fNNeutrons, fNPi0, fNPiMinus, fNPiPlus, fNProtons, fResonance, fStrangeHadronPdg, genie::PDGLibrary::Instance(), and KnownResonance().

Referenced by ClassImp(), and SetNNeutrons().

224 {
225  stream << "[-] [Exclusive Process Info] " << endl;
226 
227  stream << " |--> charm prod. : "
229  if(fIsCharmEvent) {
230  if(!fCharmedHadronPdg) stream << " [inclusive]";
231  else {
232  stream << " - Charm hadron PDG-code = " << fCharmedHadronPdg;
233 
234  TParticlePDG * chadr = PDGLibrary::Instance()->Find( fCharmedHadronPdg );
235  if(chadr)
236  stream << " (" << chadr->GetName() << ")";
237  }
238  }
239 
240  stream << " |--> strange prod. : "
242  if(fIsStrangeEvent) {
243  if(!fStrangeHadronPdg) stream << " [inclusive]";
244  else {
245  stream << " - Strange hadron PDG-code = " << fStrangeHadronPdg;
246 
247  TParticlePDG * chadr = PDGLibrary::Instance()->Find( fStrangeHadronPdg );
248  if(chadr)
249  stream << " (" << chadr->GetName() << ")";
250  }
251  }
252 
253  stream << endl;
254 
255  stream << " |--> f/s nucleons :"
256  << " N(p) = " << fNProtons
257  << " N(n) = " << fNNeutrons
258  << endl;
259 
260  stream << " |--> f/s pions :"
261  << " N(pi^0) = " << fNPi0
262  << " N(pi^+) = " << fNPiPlus
263  << " N(pi^-) = " << fNPiMinus
264  << endl;
265 
266  stream << " |--> resonance : ";
267  if(this->KnownResonance()) {
269  } else {
270  stream << "[not set]";
271  }
272  stream << endl;
273 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:98
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:92
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:96
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:91
bool KnownResonance(void) const
Definition: XclsTag.h:61
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:93
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:94
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:97
string BoolAsString(bool b)
Definition: PrintUtils.cxx:98
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:95
static PDGLibrary * Instance(void)
Definition: PDGLibrary.cxx:43
TParticlePDG * Find(int pdgc)
Definition: PDGLibrary.cxx:61
const char * AsString(Resonance_t res)
resonance id -> string
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:100
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:99
void XclsTag::Reset ( void  )

reset object

Definition at line 133 of file XclsTag.cxx.

References fCharmedHadronPdg, fDecayMode, fIsCharmEvent, fIsStrangeEvent, fNNeutrons, fNPi0, fNPiMinus, fNPiPlus, fNProtons, fResonance, fStrangeHadronPdg, and genie::kNoResonance.

Referenced by SetNNeutrons(), and XclsTag().

134 {
135  fIsCharmEvent = false;
136  fCharmedHadronPdg = 0;
137  fIsStrangeEvent = false;
138  fStrangeHadronPdg = 0;
139  fNProtons = 0;
140  fNNeutrons = 0;
141  fNPi0 = 0;
142  fNPiPlus = 0;
143  fNPiMinus = 0;
145  fDecayMode = -1;
146 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:98
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:92
int fNNeutrons
of n&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:96
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:91
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:93
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:94
int fDecayMode
Definition: XclsTag.h:101
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:97
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:95
Resonance_t fResonance
baryon resonance excited by probe
Definition: XclsTag.h:100
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:99
void XclsTag::ResetNNucleons ( void  )

Definition at line 117 of file XclsTag.cxx.

References fNNeutrons, and fNProtons.

Referenced by SetNNeutrons().

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

Definition at line 110 of file XclsTag.cxx.

References fNPi0, fNPiMinus, and fNPiPlus.

Referenced by SetNNeutrons().

111 {
112  fNPi0 = 0;
113  fNPiPlus = 0;
114  fNPiMinus = 0;
115 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:98
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:97
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:99
Resonance_t genie::XclsTag::Resonance ( void  ) const
inline
void XclsTag::SetCharm ( int  charm_pdgc = 0)
void XclsTag::SetDecayMode ( int  decay_mode)

Definition at line 128 of file XclsTag.cxx.

References fDecayMode.

Referenced by genie::Interaction::NDecay(), genie::Interaction::NOsc(), and SetNNeutrons().

129 {
130  fDecayMode = decay_mode;
131 }
int fDecayMode
Definition: XclsTag.h:101
void genie::XclsTag::SetNNeutrons ( int  nn)
inline
void XclsTag::SetNNucleons ( int  np,
int  nn 
)

Definition at line 104 of file XclsTag.cxx.

References fNNeutrons, and fNProtons.

Referenced by genie::RSPPInteractionListGenerator::AddFinalStateInfo(), DecayMode(), and cafrwgt::CAFReweight::RetrieveGHEP().

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

Definition at line 97 of file XclsTag.cxx.

References fNPi0, fNPiMinus, and fNPiPlus.

Referenced by genie::RSPPInteractionListGenerator::AddFinalStateInfo(), genie::DFRInteractionListGenerator::CreateInteractionList(), genie::COHInteractionListGenerator::CreateInteractionList(), DecayMode(), and cafrwgt::CAFReweight::RetrieveGHEP().

98 {
99  fNPiPlus = npi_plus;
100  fNPi0 = npi_0;
101  fNPiMinus = npi_minus;
102 }
int fNPiPlus
of pi^+&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:98
int fNPi0
of pi^0&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:97
int fNPiMinus
of pi^-&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:99
void genie::XclsTag::SetNProtons ( int  np)
inline

Definition at line 70 of file XclsTag.h.

References fNProtons.

Referenced by genie::DFRInteractionListGenerator::CreateInteractionList(), and genie::SKInteractionListGenerator::CreateInteractionList().

70 { fNProtons = np; }
int fNProtons
of p&#39;s in the hadronic system after this Xcls reaction (before FSI)
Definition: XclsTag.h:95
void XclsTag::SetResonance ( Resonance_t  res)
void XclsTag::SetStrange ( int  strange_pdgc = 0)

Definition at line 85 of file XclsTag.cxx.

References fIsStrangeEvent, and fStrangeHadronPdg.

Referenced by genie::SKInteractionListGenerator::CreateInteractionList(), genie::QELInteractionListGenerator::CreateInteractionListStrangeCC(), and DecayMode().

86 {
87  fIsStrangeEvent = true;
88  fStrangeHadronPdg = strange_pdgc; // leave as 0 (default) for inclusive strange
89 }
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:93
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:94
int genie::XclsTag::StrangeHadronPdg ( void  ) const
inline
void XclsTag::UnsetCharm ( void  )

Definition at line 74 of file XclsTag.cxx.

References fCharmedHadronPdg, and fIsCharmEvent.

Referenced by cafrwgt::CAFReweight::RetrieveGHEP(), SetNNeutrons(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().

75 {
76  fIsCharmEvent = false;
78 }
int fCharmedHadronPdg
charmed hadron pdg-code
Definition: XclsTag.h:92
bool fIsCharmEvent
true if we have charm production
Definition: XclsTag.h:91
void XclsTag::UnsetStrange ( void  )

Definition at line 91 of file XclsTag.cxx.

References fIsStrangeEvent, and fStrangeHadronPdg.

Referenced by SetNNeutrons().

92 {
93  fIsStrangeEvent = false;
95 }
bool fIsStrangeEvent
true if we have strange production
Definition: XclsTag.h:93
int fStrangeHadronPdg
strange hadron pdg-code
Definition: XclsTag.h:94

Friends And Related Function Documentation

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

print

Referenced by SetNNeutrons().

Member Data Documentation

int genie::XclsTag::fCharmedHadronPdg
private

charmed hadron pdg-code

Definition at line 92 of file XclsTag.h.

Referenced by AsString(), CharmHadronPdg(), Copy(), Print(), Reset(), SetCharm(), and UnsetCharm().

int genie::XclsTag::fDecayMode
private

Definition at line 101 of file XclsTag.h.

Referenced by AsString(), Copy(), DecayMode(), Reset(), and SetDecayMode().

bool genie::XclsTag::fIsCharmEvent
private

true if we have charm production

Definition at line 91 of file XclsTag.h.

Referenced by AsString(), Copy(), IsCharmEvent(), Print(), Reset(), SetCharm(), and UnsetCharm().

bool genie::XclsTag::fIsStrangeEvent
private

true if we have strange production

Definition at line 93 of file XclsTag.h.

Referenced by AsString(), Copy(), IsStrangeEvent(), Print(), Reset(), SetStrange(), and UnsetStrange().

int genie::XclsTag::fNNeutrons
private

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

Definition at line 96 of file XclsTag.h.

Referenced by AsString(), Copy(), NNeutrons(), NNucleons(), Print(), Reset(), ResetNNucleons(), SetNNeutrons(), and SetNNucleons().

int genie::XclsTag::fNPi0
private

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

Definition at line 97 of file XclsTag.h.

Referenced by AsString(), Copy(), NPi0(), NPions(), Print(), Reset(), ResetNPions(), and SetNPions().

int genie::XclsTag::fNPiMinus
private

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

Definition at line 99 of file XclsTag.h.

Referenced by AsString(), Copy(), NPiMinus(), NPions(), Print(), Reset(), ResetNPions(), and SetNPions().

int genie::XclsTag::fNPiPlus
private

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

Definition at line 98 of file XclsTag.h.

Referenced by AsString(), Copy(), NPions(), NPiPlus(), Print(), Reset(), ResetNPions(), and SetNPions().

int genie::XclsTag::fNProtons
private

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

Definition at line 95 of file XclsTag.h.

Referenced by AsString(), Copy(), NNucleons(), NProtons(), Print(), Reset(), ResetNNucleons(), SetNNucleons(), and SetNProtons().

Resonance_t genie::XclsTag::fResonance
private

baryon resonance excited by probe

Definition at line 100 of file XclsTag.h.

Referenced by AsString(), Copy(), KnownResonance(), Print(), Reset(), Resonance(), and SetResonance().

int genie::XclsTag::fStrangeHadronPdg
private

strange hadron pdg-code

Definition at line 94 of file XclsTag.h.

Referenced by AsString(), Copy(), Print(), Reset(), SetStrange(), StrangeHadronPdg(), and UnsetStrange().


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