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

Generated/set kinematical variables for an event. More...

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Framework/Interaction/Kinematics.h"

Inheritance diagram for genie::Kinematics:

Public Member Functions

 Kinematics ()
 
 Kinematics (const Kinematics &kv)
 
 Kinematics (TRootIOCtor *)
 
 ~Kinematics ()
 
double x (bool selected=false) const
 
double y (bool selected=false) const
 
double Q2 (bool selected=false) const
 
double q2 (bool selected=false) const
 
double W (bool selected=false) const
 
double t (bool selected=false) const
 
double Logx (bool selected=false) const
 
double Logy (bool selected=false) const
 
double LogQ2 (bool selected=false) const
 
double LogW (bool selected=false) const
 
double Log10x (bool selected=false) const
 
double Log10y (bool selected=false) const
 
double Log10Q2 (bool selected=false) const
 
double Log10W (bool selected=false) const
 
const TLorentzVector & FSLeptonP4 (void) const
 
const TLorentzVector & HadSystP4 (void) const
 
void Setx (double x, bool selected=false)
 
void Sety (double y, bool selected=false)
 
void SetQ2 (double Q2, bool selected=false)
 
void Setq2 (double q2, bool selected=false)
 
void SetW (double W, bool selected=false)
 
void Sett (double t, bool selected=false)
 
void SetFSLeptonP4 (const TLorentzVector &p4)
 
void SetFSLeptonP4 (double px, double py, double pz, double E)
 
void SetHadSystP4 (const TLorentzVector &p4)
 
void SetHadSystP4 (double px, double py, double pz, double E)
 
bool KVSet (KineVar_t kv) const
 
double GetKV (KineVar_t kv) const
 
void SetKV (KineVar_t kv, double value)
 
void ClearRunningValues (void)
 
void UseSelectedKinematics (void)
 
void Reset (void)
 
void Copy (const Kinematics &kine)
 
void Print (ostream &stream) const
 
Kinematicsoperator= (const Kinematics &kine)
 

Private Member Functions

void Init (void)
 initialize More...
 
void CleanUp (void)
 clean-up More...
 

Private Attributes

map< KineVar_t, double > fKV
 selected kinematics More...
 
TLorentzVector * fP4Fsl
 generated final state primary lepton 4-p (LAB) More...
 
TLorentzVector * fP4HadSyst
 generated final state hadronic system 4-p (LAB) More...
 

Friends

ostream & operator<< (ostream &stream, const Kinematics &kine)
 

Detailed Description

Generated/set kinematical variables for an event.

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

May 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 40 of file Kinematics.h.

Constructor & Destructor Documentation

Kinematics::Kinematics ( )

Definition at line 43 of file Kinematics.cxx.

References Init().

43  :
44 TObject()
45 {
46  this->Init();
47 }
void Init(void)
initialize
Definition: Kinematics.cxx:69
Kinematics::Kinematics ( const Kinematics kv)

Definition at line 49 of file Kinematics.cxx.

References Copy(), and Init().

49  :
50 TObject()
51 {
52  this->Init();
53  this->Copy(kinematics);
54 }
void Copy(const Kinematics &kine)
Definition: Kinematics.cxx:93
void Init(void)
initialize
Definition: Kinematics.cxx:69
void kinematics()
Definition: kinematics.C:10
Kinematics::Kinematics ( TRootIOCtor *  )

Definition at line 56 of file Kinematics.cxx.

56  :
57 TObject(),
58 fP4Fsl(0),
59 fP4HadSyst(0)
60 {
61 
62 }
TLorentzVector * fP4HadSyst
generated final state hadronic system 4-p (LAB)
Definition: Kinematics.h:105
TLorentzVector * fP4Fsl
generated final state primary lepton 4-p (LAB)
Definition: Kinematics.h:104
Kinematics::~Kinematics ( )

Definition at line 64 of file Kinematics.cxx.

References CleanUp().

65 {
66  this->CleanUp();
67 }
void CleanUp(void)
clean-up
Definition: Kinematics.cxx:77

Member Function Documentation

void Kinematics::CleanUp ( void  )
private

clean-up

Definition at line 77 of file Kinematics.cxx.

References fKV, fP4Fsl, and fP4HadSyst.

Referenced by HadSystP4(), and ~Kinematics().

78 {
79  fKV.clear();
80 
81  delete fP4Fsl;
82  delete fP4HadSyst;
83 }
TLorentzVector * fP4HadSyst
generated final state hadronic system 4-p (LAB)
Definition: Kinematics.h:105
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
TLorentzVector * fP4Fsl
generated final state primary lepton 4-p (LAB)
Definition: Kinematics.h:104
void Kinematics::ClearRunningValues ( void  )

Definition at line 357 of file Kinematics.cxx.

References fKV, genie::kKVQ2, genie::kKVq2, genie::kKVt, genie::kKVW, genie::kKVx, and genie::kKVy.

Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), HadSystP4(), main(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::RSPPResonanceSelector::SelectResonance(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), and genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode().

358 {
359 // clear the running values (leave the selected ones)
360 //
361  fKV.erase( kKVx );
362  fKV.erase( kKVy );
363  fKV.erase( kKVQ2 );
364  fKV.erase( kKVq2 );
365  fKV.erase( kKVW );
366  fKV.erase( kKVt );
367 }
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
void Kinematics::Copy ( const Kinematics kine)

Definition at line 93 of file Kinematics.cxx.

References fKV, fP4Fsl, fP4HadSyst, datagram_client::kv, Reset(), SetFSLeptonP4(), SetHadSystP4(), SetKV(), and febshutoff_auto::val.

Referenced by HadSystP4(), Kinematics(), operator=(), and genie::Interaction::SetKine().

94 {
95  this->Reset();
96 
97  map<KineVar_t, double>::const_iterator iter;
98 
99  for(iter = kinematics.fKV.begin(); iter != kinematics.fKV.end(); ++iter) {
100  KineVar_t kv = iter->first;
101  double val = iter->second;
102  this->SetKV(kv,val);
103  }
104 
105  this->SetFSLeptonP4 (*kinematics.fP4Fsl);
106  this->SetHadSystP4 (*kinematics.fP4HadSyst);
107 }
void Reset(void)
Definition: Kinematics.cxx:85
void SetFSLeptonP4(const TLorentzVector &p4)
Definition: Kinematics.cxx:307
enum genie::EKineVar KineVar_t
void SetKV(KineVar_t kv, double value)
Definition: Kinematics.cxx:345
void SetHadSystP4(const TLorentzVector &p4)
Definition: Kinematics.cxx:317
void kinematics()
Definition: kinematics.C:10
const TLorentzVector& genie::Kinematics::FSLeptonP4 ( void  ) const
inline
double Kinematics::GetKV ( KineVar_t  kv) const

Definition at line 333 of file Kinematics.cxx.

References genie::KineVar::AsString(), fKV, KVSet(), LOG, and pWARN.

Referenced by genie::SKHadronicSystemGenerator::CalculateHadronicSystem_AtharSingleKaon(), genie::SmithMonizQELCCPXSec::d2sQES_dQ2dv_SM(), genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), HadSystP4(), Q2(), q2(), t(), genie::utils::mec::TensorContraction(), W(), x(), genie::AlamSimoAtharVacasSKPXSec2014::XSec(), genie::NievesSimoVacasMECPXSec2016::XSec(), and y().

334 {
335  if(this->KVSet(kv)) {
336  map<KineVar_t, double>::const_iterator iter = fKV.find(kv);
337  return iter->second;
338  } else {
339  LOG("Interaction", pWARN)
340  << "Kinematic variable: " << KineVar::AsString(kv) << " was not set";
341  }
342  return -99999;
343 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
#define pWARN
Definition: Messenger.h:61
static string AsString(KineVar_t kv)
Definition: KineVar.h:68
const TLorentzVector& genie::Kinematics::HadSystP4 ( void  ) const
inline
void Kinematics::Init ( void  )
private

initialize

Definition at line 69 of file Kinematics.cxx.

References fKV, fP4Fsl, and fP4HadSyst.

Referenced by HadSystP4(), and Kinematics().

70 {
71  fKV.clear();
72 
73  fP4Fsl = new TLorentzVector;
74  fP4HadSyst = new TLorentzVector;
75 }
TLorentzVector * fP4HadSyst
generated final state hadronic system 4-p (LAB)
Definition: Kinematics.h:105
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
TLorentzVector * fP4Fsl
generated final state primary lepton 4-p (LAB)
Definition: Kinematics.h:104
bool Kinematics::KVSet ( KineVar_t  kv) const
double Kinematics::Log10Q2 ( bool  selected = false) const

Definition at line 229 of file Kinematics.cxx.

References Q2().

230 {
231  double Q2s = this->Q2(selected);
232  return (Q2s>0) ? TMath::Log10(Q2s) : -99999;
233 }
double Q2(bool selected=false) const
Definition: Kinematics.cxx:135
double Kinematics::Log10W ( bool  selected = false) const

Definition at line 235 of file Kinematics.cxx.

References W().

236 {
237  double Ws = this->W(selected);
238  return (Ws>0) ? TMath::Log10(Ws) : -99999;
239 }
double W(bool selected=false) const
Definition: Kinematics.cxx:167
double Kinematics::Log10x ( bool  selected = false) const

Definition at line 217 of file Kinematics.cxx.

References x().

218 {
219  double xs = this->x(selected);
220  return (xs>0) ? TMath::Log10(xs) : -99999;
221 }
double x(bool selected=false) const
Definition: Kinematics.cxx:109
double Kinematics::Log10y ( bool  selected = false) const

Definition at line 223 of file Kinematics.cxx.

References y().

224 {
225  double ys = this->y(selected);
226  return (ys>0) ? TMath::Log10(ys) : -99999;
227 }
double y(bool selected=false) const
Definition: Kinematics.cxx:122
double Kinematics::LogQ2 ( bool  selected = false) const

Definition at line 205 of file Kinematics.cxx.

References Q2().

206 {
207  double Q2s = this->Q2(selected);
208  return (Q2s>0) ? TMath::Log(Q2s) : -99999;
209 }
double Q2(bool selected=false) const
Definition: Kinematics.cxx:135
double Kinematics::LogW ( bool  selected = false) const

Definition at line 211 of file Kinematics.cxx.

References W().

212 {
213  double Ws = this->W(selected);
214  return (Ws>0) ? TMath::Log(Ws) : -99999;
215 }
double W(bool selected=false) const
Definition: Kinematics.cxx:167
double Kinematics::Logx ( bool  selected = false) const

Definition at line 193 of file Kinematics.cxx.

References x().

194 {
195  double xs = this->x(selected);
196  return (xs>0) ? TMath::Log(xs) : -99999;
197 }
double x(bool selected=false) const
Definition: Kinematics.cxx:109
double Kinematics::Logy ( bool  selected = false) const

Definition at line 199 of file Kinematics.cxx.

References y().

200 {
201  double ys = this->y(selected);
202  return (ys>0) ? TMath::Log(ys) : -99999;
203 }
double y(bool selected=false) const
Definition: Kinematics.cxx:122
Kinematics & Kinematics::operator= ( const Kinematics kine)

Definition at line 401 of file Kinematics.cxx.

References Copy().

Referenced by HadSystP4().

402 {
403  this->Copy(kinematics);
404  return (*this);
405 }
void Copy(const Kinematics &kine)
Definition: Kinematics.cxx:93
void kinematics()
Definition: kinematics.C:10
void Kinematics::Print ( ostream &  stream) const

Definition at line 388 of file Kinematics.cxx.

References genie::KineVar::AsString(), allTimeWatchdog::endl, fKV, datagram_client::kv, and febshutoff_auto::val.

Referenced by ClassImp(), and HadSystP4().

389 {
390  stream << "[-] [Kinematics]" << endl;
391 
392  map<KineVar_t, double>::const_iterator iter;
393 
394  for(iter = fKV.begin(); iter != fKV.end(); ++iter) {
395  KineVar_t kv = iter->first;
396  double val = iter->second;
397  stream << " |--> " << KineVar::AsString(kv) << " = " << val << endl;
398  }
399 }
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
enum genie::EKineVar KineVar_t
static string AsString(KineVar_t kv)
Definition: KineVar.h:68
double Kinematics::Q2 ( bool  selected = false) const

Definition at line 135 of file Kinematics.cxx.

References GetKV(), genie::kKVQ2, genie::kKVq2, genie::kKVSelQ2, genie::kKVSelq2, KVSet(), LOG, and pWARN.

Referenced by genie::MECGenerator::AddFinalStateLepton(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), ConvertToGST(), genie::KovalenkoQELCharmPXSec::DR(), genie::BergerSehgalFMCOHPiPXSec2015::ExactKinematicTerm(), genie::BergerSehgalCOHPiPXSec2015::ExactKinematicTerm(), GenerateEvent(), genie::TransverseEnhancementFFModel::GetTransEnhMagFF(), genie::KPhaseSpace::IsAllowed(), genie::utils::kinematics::Jacobian(), Log10Q2(), LogQ2(), genie::utils::nuclear::NuclQELXSecSuppression(), genie::BergerSehgalFMCOHPiPXSec2015::PionCOMAbsMomentum(), genie::BergerSehgalCOHPiPXSec2015::PionCOMAbsMomentum(), genie::PrimaryLeptonGenerator::ProcessEventRecord(), genie::OutgoingDarkGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QPMDISStrucFuncBase::Q2(), genie::utils::kinematics::Q2(), genie::KPhaseSpace::TLim(), genie::utils::kinematics::UpdateXFromQ2Y(), genie::utils::kinematics::UpdateXYFromWQ2(), genie::EmpiricalMECPXSec2015::XSec(), genie::COHElasticPXSec::XSec(), genie::AhrensNCELPXSec::XSec(), genie::RosenbluthPXSec::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::AhrensDMELPXSec::XSec(), genie::BergerSehgalFMCOHPiPXSec2015::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::KovalenkoQELCharmPXSec::XSec(), and genie::KPhaseSpace::YLim().

136 {
137 // returns the running or selected value of momentum transfer Q2 (>0)
138 
139  if(selected) {
140  if (this->KVSet(kKVSelQ2) ) { return this->GetKV(kKVSelQ2); }
141  else if (this->KVSet(kKVSelq2) ) { return -1* this->GetKV(kKVSelq2); }
142  } else {
143  if (this->KVSet(kKVQ2) ) { return this->GetKV(kKVQ2); }
144  else if (this->KVSet(kKVq2) ) { return -1* this->GetKV(kKVq2); }
145  }
146 
147  LOG("Interaction", pWARN) << "Kinematic variable Q2 was not set";
148  return -99999;
149 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
double GetKV(KineVar_t kv) const
Definition: Kinematics.cxx:333
#define pWARN
Definition: Messenger.h:61
double Kinematics::q2 ( bool  selected = false) const

Definition at line 151 of file Kinematics.cxx.

References GetKV(), genie::kKVQ2, genie::kKVq2, genie::kKVSelQ2, genie::kKVSelq2, KVSet(), LOG, and pWARN.

Referenced by CalculateFormFactor(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::DipoleAxialFormFactorModel::FA(), genie::KuzminNaumov2016AxialFormFactorModel::FA(), genie::ZExpAxialFormFactorModel::FA(), genie::LwlynSmithFFNC::Fp(), genie::LwlynSmithFF::Fp(), genie::BBA03ELFormFactorsModel::Gen(), genie::BBA07ELFormFactorsModel::Gen(), genie::DipoleELFormFactorsModel::Gep(), genie::BBA03ELFormFactorsModel::Gep(), genie::BBA07ELFormFactorsModel::Gep(), genie::DipoleELFormFactorsModel::Gmn(), genie::BBA03ELFormFactorsModel::Gmn(), genie::BBA07ELFormFactorsModel::Gmn(), genie::DipoleELFormFactorsModel::Gmp(), genie::BBA03ELFormFactorsModel::Gmp(), genie::BBA07ELFormFactorsModel::Gmp(), genie::utils::nuclear::NuclQELXSecSuppression(), genie::BBA05ELFormFactorsModel::tau(), genie::LwlynSmithFF::tau(), genie::StrumiaVissaniIBDPXSec::XSec(), genie::LwlynSmithQELCCPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), and genie::BSKLNBaseRESPXSec2014::XSec().

152 {
153 // returns the running or selected value of momentum transfer q2 (<0)
154 
155  if(selected) {
156  if (this->KVSet(kKVSelQ2) ) { return -1* this->GetKV(kKVSelQ2); }
157  else if (this->KVSet(kKVSelq2) ) { return this->GetKV(kKVSelq2); }
158  } else {
159  if (this->KVSet(kKVQ2) ) { return -1* this->GetKV(kKVQ2); }
160  else if (this->KVSet(kKVq2) ) { return this->GetKV(kKVq2); }
161  }
162 
163  LOG("Interaction", pWARN) << "Kinematic variable q2 was not set";
164  return -99999;
165 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
double GetKV(KineVar_t kv) const
Definition: Kinematics.cxx:333
#define pWARN
Definition: Messenger.h:61
void Kinematics::Reset ( void  )

Definition at line 85 of file Kinematics.cxx.

References fKV, SetFSLeptonP4(), and SetHadSystP4().

Referenced by Copy(), and HadSystP4().

86 {
87  fKV.clear();
88 
89  this->SetFSLeptonP4 (0,0,0,0);
90  this->SetHadSystP4 (0,0,0,0);
91 }
void SetFSLeptonP4(const TLorentzVector &p4)
Definition: Kinematics.cxx:307
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
void SetHadSystP4(const TLorentzVector &p4)
Definition: Kinematics.cxx:317
void Kinematics::SetFSLeptonP4 ( const TLorentzVector &  p4)
void Kinematics::SetFSLeptonP4 ( double  px,
double  py,
double  pz,
double  E 
)

Definition at line 312 of file Kinematics.cxx.

References fP4Fsl.

313 {
314  fP4Fsl->SetPxPyPzE(px,py,pz,E);
315 }
Float_t E
Definition: plot.C:20
TLorentzVector * fP4Fsl
generated final state primary lepton 4-p (LAB)
Definition: Kinematics.h:104
void Kinematics::SetHadSystP4 ( const TLorentzVector &  p4)
void Kinematics::SetHadSystP4 ( double  px,
double  py,
double  pz,
double  E 
)

Definition at line 322 of file Kinematics.cxx.

References fP4HadSyst.

323 {
324  fP4HadSyst->SetPxPyPzE(px,py,pz,E);
325 }
TLorentzVector * fP4HadSyst
generated final state hadronic system 4-p (LAB)
Definition: Kinematics.h:105
Float_t E
Definition: plot.C:20
void Kinematics::SetKV ( KineVar_t  kv,
double  value 
)

Definition at line 345 of file Kinematics.cxx.

References genie::KineVar::AsString(), fKV, datagram_client::kv, KVSet(), LOG, and pDEBUG.

Referenced by genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::SKKinematicsGenerator::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec2(), Copy(), genie::SmithMonizQELCCPXSec::d2sQES_dQ2dv_SM(), genie::utils::gsl::d2Xsec_dTCosth::DoEval(), genie::utils::gsl::d2Xsec_dQ2dv::DoEval(), HadSystP4(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::MECGenerator::SelectNSVLeptonKinematics(), SetQ2(), Setq2(), Sett(), SetW(), Setx(), and Sety().

346 {
347  LOG("Interaction", pDEBUG)
348  << "Setting " << KineVar::AsString(kv) << " to " << value;
349 
350  if(this->KVSet(kv)) {
351  fKV[kv] = value;
352  } else {
353  fKV.insert( map<KineVar_t, double>::value_type(kv,value) );
354  }
355 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
const XML_Char int const XML_Char * value
Definition: expat.h:331
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
static string AsString(KineVar_t kv)
Definition: KineVar.h:68
#define pDEBUG
Definition: Messenger.h:64
void Kinematics::SetQ2 ( double  Q2,
bool  selected = false 
)

Definition at line 265 of file Kinematics.cxx.

References genie::kKVQ2, genie::kKVSelQ2, LOG, pWARN, and SetKV().

Referenced by BuildStdNtuple(), CalculateFormFactor(), genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::NievesQELCCPXSec::CompareNievesTensors(), genie::utils::ComputeFullQELPXSec(), genie::RESKinematicsGenerator::ComputeMaxXSec(), genie::IBDKinematicsGenerator::ComputeMaxXSec(), genie::QELKinematicsGenerator::ComputeMaxXSec(), genie::DMELKinematicsGenerator::ComputeMaxXSec(), genie::utils::gsl::dXSec_dQ2_E::DoEval(), genie::utils::gsl::d2XSecRESFast_dWQ2_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dy_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dydt_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_EW::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_EQ2::DoEval(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), GetCrossSection(), HadSystP4(), main(), MakePlots(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgal(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgalFM(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), cafrwgt::CAFReweight::RetrieveGHEP(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::utils::kinematics::UpdateWQ2FromXY(), UseSelectedKinematics(), VerticalSlice(), and genie::NievesQELCCPXSec::XSec().

266 {
267 // sets the running or selected value of momentum transfer Q2 (>0)
268 
269  if(Qsqrd<0) {
270  LOG("Interaction", pWARN)
271  << "Setting unphysical value for Q2 (Q2 = " << Qsqrd << ")";
272  }
273  KineVar_t kvar = (selected) ? kKVSelQ2 : kKVQ2;
274  this->SetKV(kvar, Qsqrd);
275 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
void SetKV(KineVar_t kv, double value)
Definition: Kinematics.cxx:345
void Kinematics::Setq2 ( double  q2,
bool  selected = false 
)

Definition at line 277 of file Kinematics.cxx.

References genie::kKVq2, genie::kKVSelq2, LOG, pWARN, and SetKV().

Referenced by HadSystP4(), cafrwgt::CAFReweight::RetrieveGHEP(), and UseSelectedKinematics().

278 {
279 // sets the running or selected value of momentum transfer q2 (<0)
280 
281  if(qsqrd>0) {
282  LOG("Interaction", pWARN)
283  << "Setting unphysical value for q2 (q2 = " << qsqrd << ")";
284  }
285  KineVar_t kvar = (selected) ? kKVSelq2 : kKVq2;
286  this->SetKV(kvar, qsqrd);
287 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
void SetKV(KineVar_t kv, double value)
Definition: Kinematics.cxx:345
void Kinematics::Sett ( double  t,
bool  selected = false 
)
void Kinematics::SetW ( double  W,
bool  selected = false 
)

Definition at line 289 of file Kinematics.cxx.

References genie::kKVSelW, genie::kKVW, LOG, pWARN, and SetKV().

Referenced by genie::DISHadronicSystemGenerator::AddFragmentationProducts(), genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::RESKinematicsGenerator::ComputeMaxXSec(), genie::QPMDISPXSec::DISRESJoinSuppressionFactor(), genie::QPMDMDISPXSec::DMDISRESJoinSuppressionFactor(), genie::utils::gsl::d2XSecRESFast_dWQ2_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_EW::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_EQ2::DoEval(), GetCrossSection(), HadSystP4(), main(), genie::utils::kinematics::PhaseSpaceVolume(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), cafrwgt::CAFReweight::RetrieveGHEP(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::utils::kinematics::UpdateWQ2FromXY(), and UseSelectedKinematics().

290 {
291 // sets the running or selected value of invariant hadronic mass W
292 
293  if(hadr_mass_W<0) {
294  LOG("Interaction", pWARN)
295  << "Setting unphysical value for W (W = " << hadr_mass_W << ")";
296  }
297  KineVar_t kvar = (selected) ? kKVSelW : kKVW;
298  this->SetKV(kvar, hadr_mass_W);
299 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
void SetKV(KineVar_t kv, double value)
Definition: Kinematics.cxx:345
void Kinematics::Setx ( double  x,
bool  selected = false 
)

Definition at line 241 of file Kinematics.cxx.

References genie::kKVSelx, genie::kKVx, LOG, pWARN, and SetKV().

Referenced by BuildStdNtuple(), genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::DISKinematicsGenerator::ComputeMaxXSec(), genie::DMDISKinematicsGenerator::ComputeMaxXSec(), genie::utils::gsl::d2XSec_dxdy_E::DoEval(), genie::utils::gsl::d3XSec_dxdydt_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::utils::gsl::d2XSec_dxdy_Ex::DoEval(), genie::utils::gsl::d2XSec_dxdy_Ey::DoEval(), genie::utils::gsl::d5XSecAR::DoEval(), genie::utils::gsl::d5Xsec_dEldOmegaldOmegapi::DoEval(), genie::utils::gsl::d4Xsec_dEldThetaldOmegapi::DoEval(), genie::utils::gsl::d3Xsec_dOmegaldThetapi::DoEval(), GetCrossSection(), HadSystP4(), main(), MakePlots(), genie::COHKinematicsGenerator::MaxXSec_ReinSehgal(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), cafrwgt::CAFReweight::RetrieveGHEP(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::COHKinematicsGenerator::SetKinematics(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::utils::kinematics::UpdateXFromQ2Y(), genie::utils::kinematics::UpdateXYFromWQ2(), UseSelectedKinematics(), and VerticalSlice().

242 {
243 // sets the running or selected value of Bjorken scaling variable x
244 
245  if(xbj<0 || xbj>1) {
246  LOG("Interaction", pWARN)
247  << "Setting unphysical value for x (x = " << xbj << ")";
248  }
249  KineVar_t kvar = (selected) ? kKVSelx : kKVx;
250  this->SetKV(kvar, xbj);
251 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
void SetKV(KineVar_t kv, double value)
Definition: Kinematics.cxx:345
void Kinematics::Sety ( double  y,
bool  selected = false 
)

Definition at line 253 of file Kinematics.cxx.

References genie::kKVSely, genie::kKVy, LOG, pWARN, and SetKV().

Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::NuEKinematicsGenerator::ComputeMaxXSec(), genie::COHElKinematicsGenerator::ComputeMaxXSec(), genie::DISKinematicsGenerator::ComputeMaxXSec(), genie::DMDISKinematicsGenerator::ComputeMaxXSec(), genie::utils::gsl::dXSec_dy_E::DoEval(), genie::utils::gsl::d2XSec_dxdy_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dy_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dydt_E::DoEval(), genie::utils::gsl::d3XSec_dxdydt_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::utils::gsl::d2XSec_dxdy_Ex::DoEval(), genie::utils::gsl::d2XSec_dxdy_Ey::DoEval(), genie::utils::gsl::d5XSecAR::DoEval(), genie::utils::gsl::d5Xsec_dEldOmegaldOmegapi::DoEval(), genie::utils::gsl::d4Xsec_dEldThetaldOmegapi::DoEval(), genie::utils::gsl::d3Xsec_dOmegaldThetapi::DoEval(), GetCrossSection(), HadSystP4(), main(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgal(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgalFM(), genie::COHKinematicsGenerator::MaxXSec_ReinSehgal(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), cafrwgt::CAFReweight::RetrieveGHEP(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::COHKinematicsGenerator::SetKinematics(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::utils::kinematics::UpdateXYFromWQ2(), and UseSelectedKinematics().

254 {
255 // sets the running or selected value of inelasticity y
256 
257  if(inel_y<0 || inel_y>1) {
258  LOG("Interaction", pWARN)
259  << "Setting unphysical value for y (y = " << inel_y << ")";
260  }
261  KineVar_t kvar = (selected) ? kKVSely : kKVy;
262  this->SetKV(kvar, inel_y);
263 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
void SetKV(KineVar_t kv, double value)
Definition: Kinematics.cxx:345
double Kinematics::t ( bool  selected = false) const

Definition at line 180 of file Kinematics.cxx.

References GetKV(), genie::kKVSelt, genie::kKVt, KVSet(), LOG, and pWARN.

Referenced by genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), ConvertToGST(), genie::KPhaseSpace::IsAllowed(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::ReinDFRPXSec::XSec(), and genie::BergerSehgalFMCOHPiPXSec2015::XSec().

181 {
182 // returns the running or selected value of invariant hadronic mass W
183 
184  KineVar_t kvar = (selected) ? kKVSelt : kKVt;
185 
186  if(this->KVSet(kvar)) { return this->GetKV(kvar); }
187  else {
188  LOG("Interaction", pWARN) << "Kinematic variable t was not set";
189  }
190  return -99999;
191 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
double GetKV(KineVar_t kv) const
Definition: Kinematics.cxx:333
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
void Kinematics::UseSelectedKinematics ( void  )

Definition at line 369 of file Kinematics.cxx.

References fKV, genie::kKVSelQ2, genie::kKVSelq2, genie::kKVSelt, genie::kKVSelW, genie::kKVSelx, genie::kKVSely, SetQ2(), Setq2(), Sett(), SetW(), Setx(), and Sety().

Referenced by HadSystP4(), main(), and genie::RSPPResonanceSelector::SelectResonance().

370 {
371 // copy the selected kinematics into the running ones
372 //
373  map<KineVar_t, double>::const_iterator iter;
374  iter = fKV.find(kKVSelx);
375  if(iter != fKV.end()) this->Setx(iter->second);
376  iter = fKV.find(kKVSely);
377  if(iter != fKV.end()) this->Sety(iter->second);
378  iter = fKV.find(kKVSelQ2);
379  if(iter != fKV.end()) this->SetQ2(iter->second);
380  iter = fKV.find(kKVSelq2);
381  if(iter != fKV.end()) this->Setq2(iter->second);
382  iter = fKV.find(kKVSelW);
383  if(iter != fKV.end()) this->SetW(iter->second);
384  iter = fKV.find(kKVSelt);
385  if(iter != fKV.end()) this->Sett(iter->second);
386 }
void SetQ2(double Q2, bool selected=false)
Definition: Kinematics.cxx:265
void Setq2(double q2, bool selected=false)
Definition: Kinematics.cxx:277
void Sett(double t, bool selected=false)
Definition: Kinematics.cxx:301
map< KineVar_t, double > fKV
selected kinematics
Definition: Kinematics.h:103
void Setx(double x, bool selected=false)
Definition: Kinematics.cxx:241
void SetW(double W, bool selected=false)
Definition: Kinematics.cxx:289
void Sety(double y, bool selected=false)
Definition: Kinematics.cxx:253
double Kinematics::W ( bool  selected = false) const

Definition at line 167 of file Kinematics.cxx.

References GetKV(), genie::kKVSelW, genie::kKVW, KVSet(), LOG, and pWARN.

Referenced by genie::DFRKinematicsGenerator::ComputeMaxXSec(), ConvertToGHad(), ConvertToGST(), GenerateEvent(), genie::KNOPythiaHadronization::Hadronize(), genie::PythiaHadronization::Hadronize(), genie::CharmHadronization::Hadronize(), genie::KPhaseSpace::IsAllowed(), genie::utils::kinematics::Jacobian(), Log10W(), LogW(), genie::HadronizationModelBase::MaxMult(), genie::PythiaHadronization::MultiplicityProb(), genie::utils::ghep::NeutReactionCode(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::KNOPythiaHadronization::SelectHadronizer(), genie::utils::kinematics::UpdateXYFromWQ2(), genie::utils::kinematics::W(), genie::EmpiricalMECPXSec2015::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), and genie::BSKLNBaseRESPXSec2014::XSec().

168 {
169 // returns the running or selected value of invariant hadronic mass W
170 
171  KineVar_t kvar = (selected) ? kKVSelW : kKVW;
172 
173  if(this->KVSet(kvar)) { return this->GetKV(kvar); }
174  else {
175  LOG("Interaction", pWARN) << "Kinematic variable W was not set";
176  }
177  return -99999;
178 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
double GetKV(KineVar_t kv) const
Definition: Kinematics.cxx:333
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
double Kinematics::x ( bool  selected = false) const

Definition at line 109 of file Kinematics.cxx.

References GetKV(), genie::kKVSelx, genie::kKVx, KVSet(), LOG, and pWARN.

Referenced by genie::QPMDISStrucFuncBase::Calculate(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), ConvertToGHad(), ConvertToGST(), genie::QPMDISPXSec::DISRESJoinSuppressionFactor(), genie::QPMDMDISPXSec::DMDISRESJoinSuppressionFactor(), GenerateEvent(), genie::KPhaseSpace::IsAllowed(), genie::utils::kinematics::Jacobian(), Log10x(), Logx(), genie::QPMDISStrucFuncBase::NuclMod(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::QPMDISStrucFuncBase::Q2(), genie::utils::kinematics::Q2(), genie::QPMDISStrucFuncBase::R(), genie::BYStrucFunc::ScalingVar(), genie::QPMDISStrucFuncBase::ScalingVar(), genie::utils::kinematics::UpdateWQ2FromXY(), genie::utils::kinematics::W(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::ReinDFRPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::QPMDISPXSec::XSec(), genie::QPMDMDISPXSec::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), and genie::KPhaseSpace::YLim_X().

110 {
111 // returns the running or selected value of Bjorken scaling variable x
112 
113  KineVar_t kvar = (selected) ? kKVSelx : kKVx;
114 
115  if(this->KVSet(kvar)) { return this->GetKV(kvar); }
116  else {
117  LOG("Interaction", pWARN) << "Kinematic variable x was not set";
118  }
119  return -99999;
120 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
double GetKV(KineVar_t kv) const
Definition: Kinematics.cxx:333
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t
double Kinematics::y ( bool  selected = false) const

Definition at line 122 of file Kinematics.cxx.

References GetKV(), genie::kKVSely, genie::kKVy, KVSet(), LOG, and pWARN.

Referenced by genie::MECGenerator::AddFinalStateLepton(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_ReinSehgal(), ConvertToGHad(), ConvertToGST(), genie::QPMDISPXSec::DISRESJoinSuppressionFactor(), genie::QPMDMDISPXSec::DMDISRESJoinSuppressionFactor(), genie::BergerSehgalFMCOHPiPXSec2015::ExactKinematicTerm(), genie::BergerSehgalCOHPiPXSec2015::ExactKinematicTerm(), GenerateEvent(), genie::KPhaseSpace::IsAllowed(), genie::utils::kinematics::Jacobian(), Log10y(), Logy(), genie::BergerSehgalFMCOHPiPXSec2015::PionCOMAbsMomentum(), genie::BergerSehgalCOHPiPXSec2015::PionCOMAbsMomentum(), genie::NuEPrimaryLeptonGenerator::ProcessEventRecord(), genie::DFRHadronicSystemGenerator::ProcessEventRecord(), genie::PrimaryLeptonGenerator::ProcessEventRecord(), genie::OutgoingDarkGenerator::ProcessEventRecord(), genie::QPMDISStrucFuncBase::Q2(), genie::utils::kinematics::Q2(), genie::KPhaseSpace::TLim(), genie::utils::kinematics::UpdateWQ2FromXY(), genie::utils::kinematics::UpdateXFromQ2Y(), genie::utils::kinematics::W(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::ReinDFRPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::IMDAnnihilationPXSec::XSec(), genie::QPMDISPXSec::XSec(), genie::BergerSehgalFMCOHPiPXSec2015::XSec(), genie::QPMDMDISPXSec::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::NuElectronPXSec::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), and genie::BardinIMDRadCorPXSec::XSec().

123 {
124 // returns the running or selected value of inelasticity y
125 
126  KineVar_t kvar = (selected) ? kKVSely : kKVy;
127 
128  if(this->KVSet(kvar)) { return this->GetKV(kvar); }
129  else {
130  LOG("Interaction", pWARN) << "Kinematic variable y was not set";
131  }
132  return -99999;
133 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
bool KVSet(KineVar_t kv) const
Definition: Kinematics.cxx:327
double GetKV(KineVar_t kv) const
Definition: Kinematics.cxx:333
#define pWARN
Definition: Messenger.h:61
enum genie::EKineVar KineVar_t

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
const Kinematics kine 
)
friend

Referenced by HadSystP4().

Member Data Documentation

map<KineVar_t, double> genie::Kinematics::fKV
private

selected kinematics

Definition at line 103 of file Kinematics.h.

Referenced by CleanUp(), ClearRunningValues(), Copy(), GetKV(), Init(), KVSet(), Print(), Reset(), SetKV(), and UseSelectedKinematics().

TLorentzVector* genie::Kinematics::fP4Fsl
private

generated final state primary lepton 4-p (LAB)

Definition at line 104 of file Kinematics.h.

Referenced by CleanUp(), Copy(), FSLeptonP4(), Init(), and SetFSLeptonP4().

TLorentzVector* genie::Kinematics::fP4HadSyst
private

generated final state hadronic system 4-p (LAB)

Definition at line 105 of file Kinematics.h.

Referenced by CleanUp(), Copy(), HadSystP4(), Init(), and SetHadSystP4().


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