SRGeant4Weights.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \brief Reweight information for geant4 systematic
3 // \author Cathal Sweeney - csweeney@fnal.gov
4 ////////////////////////////////////////////////////////////////////////
5 
7 
8 #include <limits>
9 
10 namespace caf
11 {
13  piplus_cv(std::numeric_limits<float>::signaling_NaN()),
14  piminus_cv(std::numeric_limits<float>::signaling_NaN()),
15  proton_cv(std::numeric_limits<float>::signaling_NaN()),
16  piplus_univ(),
17  piminus_univ(),
18  proton_univ(),
19  npiplus_univ(0),
20  npiminus_univ(0),
21  nproton_univ(0)
22  {
23  }
26  {
27  piplus_cv = 1.;
28  piminus_cv = 1.;
29  proton_cv = 1.;
30  piplus_univ.clear();
31  piminus_univ.clear();
32  proton_univ.clear();
33  npiplus_univ = 0;
34  npiminus_univ = 0;
35  nproton_univ = 0;
36  }
37 } // end namespace caf
38 
39 ////////////////////////////////////////////////////////////////////////
float piplus_cv
Reweight for the piplus central value (cv)
std::vector< float > piplus_univ
Reweight values for the piplus multi-universe.
std::vector< float > proton_univ
Reweight values for the proton multi-universe.
float piminus_cv
Reweight for the piminus central value (cv)
std::vector< float > piminus_univ
Reweight values for the piminus multi-universe.
unsigned int npiplus_univ
Number of piplus universes.
float proton_cv
Reweight for the proton central value (cv)
unsigned int npiminus_univ
Number of piminus universes.
This module creates Common Analysis Files.
Definition: FileReducer.h:10
unsigned int nproton_univ
Number of proton universes.