Public Member Functions | Private Member Functions | Private Attributes | List of all members
genie::rew::GReWeightDISNuclMod Class Reference

Reweighting the DIS nuclear modification model. More...

#include <GReWeightDISNuclMod.h>

Inheritance diagram for genie::rew::GReWeightDISNuclMod:
genie::rew::GReWeightI

Public Member Functions

 GReWeightDISNuclMod ()
 
 ~GReWeightDISNuclMod ()
 
bool IsHandled (GSyst_t syst)
 does the current weight calculator handle the input nuisance param? More...
 
void SetSystematic (GSyst_t syst, double val)
 update the value for the specified nuisance param More...
 
void Reset (void)
 set all nuisance parameters to default values More...
 
void Reconfigure (void)
 propagate updated nuisance parameter values to actual MC, etc More...
 
double CalcWeight (const EventRecord &event)
 calculate a weight for the input event using the current nuisance param values More...
 
- Public Member Functions inherited from genie::rew::GReWeightI
virtual ~GReWeightI ()
 

Private Member Functions

void Init (void)
 

Private Attributes

double fNuclModTwkDial
 

Additional Inherited Members

- Protected Member Functions inherited from genie::rew::GReWeightI
 GReWeightI ()
 

Detailed Description

Reweighting the DIS nuclear modification model.

Author
Jim Dobson <J.Dobson07 imperial.ac.uk> Imperial College London

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

Apr 26, 2010

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

Definition at line 33 of file GReWeightDISNuclMod.h.

Constructor & Destructor Documentation

GReWeightDISNuclMod::GReWeightDISNuclMod ( )

Definition at line 29 of file GReWeightDISNuclMod.cxx.

29  :
30 GReWeightI()
31 {
32  this->Init();
33 }
GReWeightDISNuclMod::~GReWeightDISNuclMod ( )

Definition at line 35 of file GReWeightDISNuclMod.cxx.

36 {
37 
38 }

Member Function Documentation

double GReWeightDISNuclMod::CalcWeight ( const EventRecord event)
virtual

calculate a weight for the input event using the current nuisance param values

Implements genie::rew::GReWeightI.

Definition at line 76 of file GReWeightDISNuclMod.cxx.

77 {
78  return 1.;
79 }
void GReWeightDISNuclMod::Init ( void  )
private

Definition at line 81 of file GReWeightDISNuclMod.cxx.

82 {
83  fNuclModTwkDial = 0.;
84 
85 }
bool GReWeightDISNuclMod::IsHandled ( GSyst_t  syst)
virtual

does the current weight calculator handle the input nuisance param?

Implements genie::rew::GReWeightI.

Definition at line 40 of file GReWeightDISNuclMod.cxx.

41 {
42  switch(syst) {
44  return true;
45  break;
46  default:
47  return false;
48  break;
49  }
50  return false;
51 }
tweak DIS nuclear modification (shadowing, anti-shadowing, EMC)
Definition: GSyst.h:96
void GReWeightDISNuclMod::Reconfigure ( void  )
virtual

propagate updated nuisance parameter values to actual MC, etc

Implements genie::rew::GReWeightI.

Definition at line 71 of file GReWeightDISNuclMod.cxx.

72 {
73 
74 }
void GReWeightDISNuclMod::Reset ( void  )
virtual

set all nuisance parameters to default values

Implements genie::rew::GReWeightI.

Definition at line 64 of file GReWeightDISNuclMod.cxx.

65 {
66  fNuclModTwkDial = 0.;
67 
68  this->Reconfigure();
69 }
void Reconfigure(void)
propagate updated nuisance parameter values to actual MC, etc
void GReWeightDISNuclMod::SetSystematic ( GSyst_t  syst,
double  val 
)
virtual

update the value for the specified nuisance param

Implements genie::rew::GReWeightI.

Definition at line 53 of file GReWeightDISNuclMod.cxx.

54 {
55  switch(syst) {
57  fNuclModTwkDial = twk_dial;
58  break;
59  default:
60  break;
61  }
62 }
tweak DIS nuclear modification (shadowing, anti-shadowing, EMC)
Definition: GSyst.h:96

Member Data Documentation

double genie::rew::GReWeightDISNuclMod::fNuclModTwkDial
private

Definition at line 49 of file GReWeightDISNuclMod.h.


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