Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::JEvtWeightFactorMeffRatio Struct Referencefinal

Implementation of reweighting factor for effective mass ratios. More...

#include <JEvtWeightFactorMeffRatio.hh>

Inheritance diagram for JAANET::JEvtWeightFactorMeffRatio:
JLANG::JClonable< JClonable_t, JDerived_t >

Classes

struct  JEvtWeightFactorMeffRatioHelper
 Auxiliary class for I/O of effective mass ratio factor. More...
 

Public Types

enum  JMeffRatioOption {
  ENERGY_INITIAL_STATE , ENERGY_NEUTRINO , EVIS , EVIS_LEADING_LEPTON_CONTR ,
  EVIS_HADRONIC_CONTR , NUMBER_OF_OPTIONS
}
 Indices of options for calculating effective mass ratios. More...
 
typedef JRange< double > JRange_t
 
typedef JClonable< JClonable_t >::clone_type clone_type
 

Public Member Functions

 JEvtWeightFactorMeffRatio ()
 Default constructor.
 
 JEvtWeightFactorMeffRatio (const JRootObjectID &objectID, const JMeffRatioOption option, const double ratio, const JRange_t &range, const bool logE, const JCylinder3D &fiducialVolume)
 Constructor.
 
 JEvtWeightFactorMeffRatio (const JEvtWeightFactorMeffRatio &factor)
 Copy constructor.
 
void configure ()
 Configure effective mass ratio factor.
 
const TH1 & getHistogram () const
 Retrieve effective mass histogram.
 
JCylinder3D getFiducialVolume () const
 Retrieve fiducial volume.
 
void setFiducialVolume (const JCylinder3D &fiducialVolume)
 Set fiducial volume.
 
bool is_valid () const override final
 Check if this effective mass ratio weight factor is valid.
 
double getMeffRatio (const double x1, const double x2) const
 Get effective mass ratio based on a scaling of the initial state energy.
 
double getMeffRatio1 (const double E0) const
 Get effective mass ratio based on a scaling of the initial state energy.
 
double getMeffRatio1 (const Evt &event) const
 Get effective mass ratio based on a scaling of the initial state energy.
 
double getMeffRatio2 (const double Enu) const
 Get effective mass ratio based on a scaling of the primary neutrino energy.
 
double getMeffRatio2 (const Evt &event) const
 Get effective mass ratio based on a scaling of the primary neutrino energy.
 
double getMeffRatio3 (const double Evis) const
 Get effective mass ratio based on a scaling of the total visible energy.
 
double getMeffRatio3 (const Evt &event) const
 Get effective mass ratio based on a scaling of the total visible energy.
 
double getMeffRatio4 (const double Evis, const double EvisLL) const
 Get effective mass ratio based on a scaling of the leading leptonic contribution to the total visible energy.
 
double getMeffRatio4 (const Evt &event) const
 Get effective mass ratio based on a scaling of the leading leptonic contribution to the total visible energy.
 
double getMeffRatio5 (const double Evis, const double EvisLL) const
 Get effective mass ratio based on a scaling of the hadronic contribution to the total visible energy.
 
double getMeffRatio5 (const Evt &event) const
 Get effective mass ratio based on a scaling of the hadronic contribution to the total visible energy.
 
double getFactor (const Evt &evt) const override final
 Get weighting factor for given event.
 
JProperties getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final
 Get properties of this class.
 
JProperties getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final
 Get properties of this class.
 
std::istream & read (std::istream &in) override final
 Read event-weight factor from input.
 
virtual clone_type clone () const override
 Get clone of this object.
 

Private Types

typedef double(JEvtWeightFactorMeffRatio::*) pFunction(const Evt &) const
 Type definition of pointer to member function for calculating effective mass ratios.
 

Private Attributes

pFunction mfp
 Pointer to member method for calculating effective mass ratios.
 
std::unique_ptr< TH1 > pMeff
 Unique pointer to effective mass ratio histogram.
 
JRootObjectID hMeff
 Effective mass histogram OID.
 
int option
 Effective mass ratio option.
 
double ratio
 Abscissa ratio.
 
JRange_t range
 Applicable range.
 
JCylinder3D fiducialVolume
 Fiducial volume (for visible energy computation)
 
bool logE
 Toggle logarithmic abscissa.
 
const double MeffMin
 Minimum effective mass.
 

Detailed Description

Implementation of reweighting factor for effective mass ratios.

Definition at line 66 of file JEvtWeightFactorMeffRatio.hh.

Member Typedef Documentation

◆ JRange_t

◆ pFunction

double(JEvtWeightFactorMeffRatio::*) JAANET::JEvtWeightFactorMeffRatio::pFunction(const Evt &) const
private

Type definition of pointer to member function for calculating effective mass ratios.

Definition at line 532 of file JEvtWeightFactorMeffRatio.hh.

◆ clone_type

template<class JClonable_t , class JDerived_t >
JClonable<JClonable_t>::clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone_type
inherited

Definition at line 61 of file JClonable.hh.

Member Enumeration Documentation

◆ JMeffRatioOption

Indices of options for calculating effective mass ratios.


The option names correspond to the variable which is used to compute the effective mass ratio.

Enumerator
ENERGY_INITIAL_STATE 

Compute effective mass ratio based on scaling of the initial state energy.

ENERGY_NEUTRINO 

Compute effective mass ratio based on scaling of theprimary neutrino energy.

EVIS 

Compute effective mass ratio based on scaling of the total visible energy.

EVIS_LEADING_LEPTON_CONTR 

Compute effective mass ratio based on scaling of the visible energy contribution of the leading lepton.

EVIS_HADRONIC_CONTR 

Compute effective mass ratio based on scaling of the visible energy contribution of the hadronic shower.

NUMBER_OF_OPTIONS 

N.B.: This enum value needs to be specified last!

Definition at line 75 of file JEvtWeightFactorMeffRatio.hh.

75 {
76 ENERGY_INITIAL_STATE, //!< Compute effective mass ratio based on scaling of the initial state energy
77 ENERGY_NEUTRINO, //!< Compute effective mass ratio based on scaling of theprimary neutrino energy
78 EVIS, //!< Compute effective mass ratio based on scaling of the total visible energy
79 EVIS_LEADING_LEPTON_CONTR, //!< Compute effective mass ratio based on scaling of the visible energy contribution of the leading lepton
80 EVIS_HADRONIC_CONTR, //!< Compute effective mass ratio based on scaling of the visible energy contribution of the hadronic shower
81 NUMBER_OF_OPTIONS //!< N.B.: This enum value needs to be specified last!
82 };
@ ENERGY_INITIAL_STATE
Compute effective mass ratio based on scaling of the initial state energy.
@ EVIS
Compute effective mass ratio based on scaling of the total visible energy.
@ NUMBER_OF_OPTIONS
N.B.: This enum value needs to be specified last!
@ EVIS_HADRONIC_CONTR
Compute effective mass ratio based on scaling of the visible energy contribution of the hadronic show...
@ ENERGY_NEUTRINO
Compute effective mass ratio based on scaling of theprimary neutrino energy.
@ EVIS_LEADING_LEPTON_CONTR
Compute effective mass ratio based on scaling of the visible energy contribution of the leading lepto...

Constructor & Destructor Documentation

◆ JEvtWeightFactorMeffRatio() [1/3]

JAANET::JEvtWeightFactorMeffRatio::JEvtWeightFactorMeffRatio ( )
inline

Default constructor.

Definition at line 88 of file JEvtWeightFactorMeffRatio.hh.

88 :
89 pMeff (),
90 hMeff ("", "default"),
92 ratio (0.0),
93 range (0.0, 4.0),
94 fiducialVolume(getMaximumContainmentVolume()),
95 logE (true),
96 MeffMin (1.0e-9)
97 {
98 pMeff = std::make_unique<TH1D>(hMeff.getObjectName(), "", 10, range.getLowerLimit(), range.getUpperLimit());
99
100 for (Int_t i = 1; i <= pMeff->GetNbinsX(); ++i) {
101 pMeff->SetBinContent(i, 1.0);
102 }
103
104 pMeff->SetDirectory(0);
105
106 check_validity();
107 configure();
108 }
TString getObjectName() const
Get object name.
T getLowerLimit() const
Get lower limit.
Definition JRange.hh:202
T getUpperLimit() const
Get upper limit.
Definition JRange.hh:213
void configure()
Configure effective mass ratio factor.
JRootObjectID hMeff
Effective mass histogram OID.
JCylinder3D fiducialVolume
Fiducial volume (for visible energy computation)
bool logE
Toggle logarithmic abscissa.
int option
Effective mass ratio option.
const double MeffMin
Minimum effective mass.
std::unique_ptr< TH1 > pMeff
Unique pointer to effective mass ratio histogram.

◆ JEvtWeightFactorMeffRatio() [2/3]

JAANET::JEvtWeightFactorMeffRatio::JEvtWeightFactorMeffRatio ( const JRootObjectID & objectID,
const JMeffRatioOption option,
const double ratio,
const JRange_t & range,
const bool logE,
const JCylinder3D & fiducialVolume )
inline

Constructor.

Parameters
objectIDeffective mass histogram OID
optionoption
ratioabscissa ratio
rangeapplicable (logarithmic) energy range [GeV]
logEtoggle logarithmic energies
fiducialVolumefiducial volume

Definition at line 121 of file JEvtWeightFactorMeffRatio.hh.

126 :
127 pMeff (),
128 hMeff (objectID),
129 option (option),
130 ratio (ratio),
131 range (range),
133 logE (logE),
134 MeffMin (1.0e-9)
135 {
136 check_validity();
137 configure();
138 }

◆ JEvtWeightFactorMeffRatio() [3/3]

JAANET::JEvtWeightFactorMeffRatio::JEvtWeightFactorMeffRatio ( const JEvtWeightFactorMeffRatio & factor)
inline

Copy constructor.

Parameters
factoreffective mass ratio factor

Definition at line 146 of file JEvtWeightFactorMeffRatio.hh.

146 :
147 pMeff (),
148 hMeff (factor.hMeff),
149 option (factor.option),
150 ratio (factor.ratio),
151 range (factor.range),
152 fiducialVolume(factor.fiducialVolume),
153 logE (factor.logE),
154 MeffMin (1.0e-9)
155 {
156 pMeff.reset((TH1*) factor.pMeff->Clone());
157
158 pMeff->SetDirectory(0);
159
160 check_validity();
161 configure();
162 }

Member Function Documentation

◆ configure()

void JAANET::JEvtWeightFactorMeffRatio::configure ( )
inline

Configure effective mass ratio factor.

Definition at line 168 of file JEvtWeightFactorMeffRatio.hh.

169 {
170 using namespace std;
171 using namespace JPP;
172
173 if (hMeff.is_valid() && (!pMeff || hMeff.getObjectName() != string(pMeff->GetName()))) {
174
175 if (!getFileStatus(hMeff.getFilename().c_str())) {
176 THROW(JFileOpenException, "JEvtWeightFactorMeffRatio::configure(): Could not open file " << hMeff.getFilename());
177 }
178
179 TFile f(hMeff.getFilename().c_str(), "read");
180
181 TH1* h = (TH1*) f.Get(hMeff.getObjectName());
182
183 if (h != NULL) {
184 pMeff.reset(h);
185 pMeff->SetDirectory(0);
186 } else {
187 THROW(JNullPointerException, "JEvtWeightFactorMeffRatio::configure(): Could not extract histogram " << hMeff);
188 }
189
190 f.Close();
191 }
192
193 switch (option) {
194 case (int) ENERGY_INITIAL_STATE :
196 break;
197 case (int) ENERGY_NEUTRINO:
199 break;
200 case (int) EVIS:
202 break;
203 case (int) EVIS_LEADING_LEPTON_CONTR:
205 break;
206 case (int) EVIS_HADRONIC_CONTR:
208 break;
209 default:
210 THROW(JValueOutOfRange, "JEvtWeightFactorRatio::configure(): Invalid option " << option);
211 }
212 }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
const std::string & getFilename() const
Get file name.
bool is_valid() const
Check validity.
Exception for opening of file.
Exception for null pointer operation.
Exception for accessing a value in a collection that is outside of its range.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getMeffRatio2(const double Enu) const
Get effective mass ratio based on a scaling of the primary neutrino energy.
double getMeffRatio1(const double E0) const
Get effective mass ratio based on a scaling of the initial state energy.
double getMeffRatio5(const double Evis, const double EvisLL) const
Get effective mass ratio based on a scaling of the hadronic contribution to the total visible energy.
double getMeffRatio4(const double Evis, const double EvisLL) const
Get effective mass ratio based on a scaling of the leading leptonic contribution to the total visible...
double getMeffRatio3(const double Evis) const
Get effective mass ratio based on a scaling of the total visible energy.
pFunction mfp
Pointer to member method for calculating effective mass ratios.

◆ getHistogram()

const TH1 & JAANET::JEvtWeightFactorMeffRatio::getHistogram ( ) const
inline

Retrieve effective mass histogram.

Returns
effective mass histogram

Definition at line 220 of file JEvtWeightFactorMeffRatio.hh.

221 {
222 if (pMeff) {
223 return *pMeff;
224 } else {
225 THROW(JLANG::JNullPointerException, "JEvtWeightFactorMeffRatio::getHistogram(): Effective mass histogram is not set.");
226 }
227 }

◆ getFiducialVolume()

JCylinder3D JAANET::JEvtWeightFactorMeffRatio::getFiducialVolume ( ) const
inline

Retrieve fiducial volume.

Returns
fiducial volume

Definition at line 235 of file JEvtWeightFactorMeffRatio.hh.

236 {
237 return fiducialVolume;
238 }

◆ setFiducialVolume()

void JAANET::JEvtWeightFactorMeffRatio::setFiducialVolume ( const JCylinder3D & fiducialVolume)
inline

Set fiducial volume.

Parameters
fiducialVolumefiducial volume

Definition at line 246 of file JEvtWeightFactorMeffRatio.hh.

247 {
249
250 check_validity();
251 }

◆ is_valid()

bool JAANET::JEvtWeightFactorMeffRatio::is_valid ( ) const
inlinefinaloverride

Check if this effective mass ratio weight factor is valid.

Returns
true if valid; else false

Definition at line 259 of file JEvtWeightFactorMeffRatio.hh.

260 {
261 return (pMeff &&
264 ratio >= 0.0 &&
265 range.is_valid() &&
266 fiducialVolume.getVolume() >= 0.0);
267 }
double getVolume() const
Get volume.
bool is_valid() const
Check validity of range.
Definition JRange.hh:311

◆ getMeffRatio()

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio ( const double x1,
const double x2 ) const
inline

Get effective mass ratio based on a scaling of the initial state energy.

Parameters
x1first abscissa value
x2second abscissa value
Returns
effective mass ratio

Definition at line 277 of file JEvtWeightFactorMeffRatio.hh.

279 {
280 const double M1 = pMeff->Interpolate(x1);
281 const double M2 = pMeff->Interpolate(x2);
282
283 const double ratio = M1 / (M2 > 0.0 ? M2 : MeffMin);
284
285 return (range(x2) ? ratio : 1.0);
286 }

◆ getMeffRatio1() [1/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio1 ( const double E0) const
inline

Get effective mass ratio based on a scaling of the initial state energy.

Parameters
E0initial state energy [GeV]
Returns
effective mass ratio

Definition at line 295 of file JEvtWeightFactorMeffRatio.hh.

296 {
297 if (logE) {
298 const double X = log10(E0);
299 return getMeffRatio(log10(ratio) + X, X);
300 } else {
301 return getMeffRatio(ratio * E0, E0);
302 }
303 }
double getMeffRatio(const double x1, const double x2) const
Get effective mass ratio based on a scaling of the initial state energy.

◆ getMeffRatio1() [2/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio1 ( const Evt & event) const
inline

Get effective mass ratio based on a scaling of the initial state energy.

Parameters
eventevent
Returns
effective mass ratio

Definition at line 312 of file JEvtWeightFactorMeffRatio.hh.

313 {
314 const double E0 = getE0(event);
315
316 return getMeffRatio1(E0);
317 }
double getE0(const Evt &evt)
Get initial state energy of a neutrino interaction.

◆ getMeffRatio2() [1/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio2 ( const double Enu) const
inline

Get effective mass ratio based on a scaling of the primary neutrino energy.

Parameters
Enuprimary neutrino energy [GeV]
Returns
effective mass ratio

Definition at line 326 of file JEvtWeightFactorMeffRatio.hh.

327 {
328 if (logE) {
329 const double X = log10(Enu);
330 return getMeffRatio(log10(ratio) + X, X);
331 } else {
332 return getMeffRatio(ratio * Enu, Enu);
333 }
334 }

◆ getMeffRatio2() [2/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio2 ( const Evt & event) const
inline

Get effective mass ratio based on a scaling of the primary neutrino energy.

Parameters
eventevent
Returns
effective mass ratio

Definition at line 343 of file JEvtWeightFactorMeffRatio.hh.

344 {
345 const Trk& primary = get_neutrino(event);
346
347 const double Enu = primary.E;
348
349 return getMeffRatio2(Enu);
350 }
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino.
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.
Definition Trk.hh:15
double E
Energy [GeV] (either MC truth or reconstructed)
Definition Trk.hh:20

◆ getMeffRatio3() [1/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio3 ( const double Evis) const
inline

Get effective mass ratio based on a scaling of the total visible energy.

Parameters
Evistotal visible energy [GeV]
Returns
effective mass ratio

Definition at line 359 of file JEvtWeightFactorMeffRatio.hh.

360 {
361 if (logE) {
362 const double X = log10(Evis);
363 return getMeffRatio(log10(ratio) + X, X);
364 } else {
365 return getMeffRatio(ratio * Evis, Evis);
366 }
367 }

◆ getMeffRatio3() [2/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio3 ( const Evt & event) const
inline

Get effective mass ratio based on a scaling of the total visible energy.

Parameters
eventevent
Returns
effective mass ratio

Definition at line 376 of file JEvtWeightFactorMeffRatio.hh.

377 {
378 const double Evis = JSIRENE::getVisibleEnergy(event, fiducialVolume);
379
380 return getMeffRatio3(Evis);
381 }
double getVisibleEnergy(const Trk &, const JCylinder3D &)
Get the visible energy of a track.

◆ getMeffRatio4() [1/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio4 ( const double Evis,
const double EvisLL ) const
inline

Get effective mass ratio based on a scaling of the leading leptonic contribution to the total visible energy.

This function assumes that the hadronic component in the visible energy corresponds to the total visible energy
minus the leading leptonic contribution.

Parameters
Evistotal visible energy [GeV]
EvisLLleading lepton visible energy [GeV]
Returns
effective mass ratio

Definition at line 394 of file JEvtWeightFactorMeffRatio.hh.

396 {
397 if (logE) {
398 return getMeffRatio(log10(Evis - (1-ratio) * EvisLL), log10(Evis));
399 } else {
400 return getMeffRatio( Evis - (1-ratio) * EvisLL, Evis);
401 }
402 }

◆ getMeffRatio4() [2/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio4 ( const Evt & event) const
inline

Get effective mass ratio based on a scaling of the leading leptonic contribution to the total visible energy.

This function assumes that the hadronic component in the visible energy corresponds to the total visible energy
minus the leading leptonic contribution.

Parameters
eventevent
Returns
effective mass ratio

Definition at line 414 of file JEvtWeightFactorMeffRatio.hh.

415 {
416 const Trk& LL = get_leading_lepton(event);
417
418 const double Evis = JSIRENE::getVisibleEnergy(event, fiducialVolume);
419 const double EvisLL = JSIRENE::getVisibleEnergy(LL, fiducialVolume);
420
421 return getMeffRatio4(Evis, EvisLL);
422 }
const Trk & get_leading_lepton(const Evt &event)
Auxiliary function to retrieve the leading lepton of a neutrino interaction.

◆ getMeffRatio5() [1/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio5 ( const double Evis,
const double EvisLL ) const
inline

Get effective mass ratio based on a scaling of the hadronic contribution to the total visible energy.

This function assumes that the hadronic component in the visible energy corresponds to the total visible energy
minus the leading leptonic contribution.

Parameters
Evistotal visible energy [GeV]
EvisLLleading lepton visible energy [GeV]
Returns
effective mass ratio

Definition at line 435 of file JEvtWeightFactorMeffRatio.hh.

437 {
438 if (logE) {
439 return getMeffRatio(log10(ratio * Evis + (1-ratio) * EvisLL), log10(Evis));
440 } else {
441 return getMeffRatio( ratio * Evis + (1-ratio) * EvisLL, Evis);
442 }
443 }

◆ getMeffRatio5() [2/2]

double JAANET::JEvtWeightFactorMeffRatio::getMeffRatio5 ( const Evt & event) const
inline

Get effective mass ratio based on a scaling of the hadronic contribution to the total visible energy.

This function assumes that the hadronic component in the visible energy corresponds to the total visible energy
minus the leading leptonic contribution.

Parameters
eventevent
Returns
effective mass ratio

Definition at line 455 of file JEvtWeightFactorMeffRatio.hh.

456 {
457 const Trk& LL = get_leading_lepton(event);
458
459 const double Evis = JSIRENE::getVisibleEnergy(event, fiducialVolume);
460 const double EvisLL = JSIRENE::getVisibleEnergy(LL, fiducialVolume);
461
462 return getMeffRatio5(Evis, EvisLL);
463 }

◆ getFactor()

double JAANET::JEvtWeightFactorMeffRatio::getFactor ( const Evt & evt) const
inlinefinaloverride

Get weighting factor for given event.

Parameters
evtevent
Returns
weighting factor

Definition at line 472 of file JEvtWeightFactorMeffRatio.hh.

473 {
474 return (this->*mfp)(evt);
475 }

◆ getProperties() [1/2]

JProperties JAANET::JEvtWeightFactorMeffRatio::getProperties ( const JEquationParameters & eqpars = JEvtWeightFactor::getEquationParameters())
inlinefinaloverride

Get properties of this class.

Parameters
eqparsequation parameters

Definition at line 483 of file JEvtWeightFactorMeffRatio.hh.

484 {
485 return JEvtWeightFactorMeffRatioHelper(*this, eqpars);
486 }

◆ getProperties() [2/2]

JProperties JAANET::JEvtWeightFactorMeffRatio::getProperties ( const JEquationParameters & eqpars = JEvtWeightFactor::getEquationParameters()) const
inlinefinaloverride

Get properties of this class.

Parameters
eqparsequation parameters

Definition at line 494 of file JEvtWeightFactorMeffRatio.hh.

495 {
496 return JEvtWeightFactorMeffRatioHelper(*this, eqpars);
497 }

◆ read()

std::istream & JAANET::JEvtWeightFactorMeffRatio::read ( std::istream & in)
inlinefinaloverride

Read event-weight factor from input.

Parameters
ininput stream
Returns
input stream

Definition at line 506 of file JEvtWeightFactorMeffRatio.hh.

507 {
508 using namespace std;
509 using namespace JPP;
510
511 JStringStream is(in);
512
513 if (getFileStatus(is.str().c_str())) {
514 is.load();
515 }
516
517 JProperties properties = getProperties();
518 is >> properties;
519
520 check_validity();
521
522 configure();
523
524 return in;
525 }
Utility class to parse parameter values.
Wrapper class around STL stringstream class to facilitate optional loading of data from file.
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final
Get properties of this class.

◆ clone()

template<class JClonable_t , class JDerived_t >
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited

Member Data Documentation

◆ mfp

pFunction JAANET::JEvtWeightFactorMeffRatio::mfp
private

Pointer to member method for calculating effective mass ratios.

Definition at line 564 of file JEvtWeightFactorMeffRatio.hh.

◆ pMeff

std::unique_ptr<TH1> JAANET::JEvtWeightFactorMeffRatio::pMeff
private

Unique pointer to effective mass ratio histogram.

Definition at line 566 of file JEvtWeightFactorMeffRatio.hh.

◆ hMeff

JRootObjectID JAANET::JEvtWeightFactorMeffRatio::hMeff
private

Effective mass histogram OID.

Definition at line 568 of file JEvtWeightFactorMeffRatio.hh.

◆ option

int JAANET::JEvtWeightFactorMeffRatio::option
private

Effective mass ratio option.

Definition at line 569 of file JEvtWeightFactorMeffRatio.hh.

◆ ratio

double JAANET::JEvtWeightFactorMeffRatio::ratio
private

Abscissa ratio.

Definition at line 570 of file JEvtWeightFactorMeffRatio.hh.

◆ range

JRange_t JAANET::JEvtWeightFactorMeffRatio::range
private

Applicable range.

Definition at line 571 of file JEvtWeightFactorMeffRatio.hh.

◆ fiducialVolume

JCylinder3D JAANET::JEvtWeightFactorMeffRatio::fiducialVolume
private

Fiducial volume (for visible energy computation)

Definition at line 572 of file JEvtWeightFactorMeffRatio.hh.

◆ logE

bool JAANET::JEvtWeightFactorMeffRatio::logE
private

Toggle logarithmic abscissa.

Definition at line 573 of file JEvtWeightFactorMeffRatio.hh.

◆ MeffMin

const double JAANET::JEvtWeightFactorMeffRatio::MeffMin
private

Minimum effective mass.

Definition at line 575 of file JEvtWeightFactorMeffRatio.hh.


The documentation for this struct was generated from the following file: