1 #include "CT4POTCorrection.hxx" 2 #include "Parameters.hxx" 3 #include "Versioning.hxx" 4 #include "DataClasses.hxx" 9 MRrunLower = ND::params().
GetParameterI(
"highlandCorrections.CT4POTCorrection.MRrunLower");
10 MRrunUpper = ND::params().
GetParameterI(
"highlandCorrections.CT4POTCorrection.MRrunUpper");
17 #if !VERSION_HAS_OFFICIAL_POT 22 if (spill->
GetIsMC() && MRrun >= MRrunLower && MRrun <= MRrunUpper) {
int GetParameterI(std::string)
Get parameter. Value is returned as integer.
All corrections should be registered with the CorrectionManager.
Float_t POTCT4
The POT from CT4 for this spill. This is only needed for P5 files.
AnaBeamB * Beam
The beam quality flags for this spill.
bool GetIsMC() const
Return whether this spill is from Monte Carlo or not.
void Apply(AnaSpillC &spill)
Apply the correction to the spill.
Representation of the beam information, including POT and quality.
Float_t POT
The POT for this spill. For data, this comes from the Beam Summary Data.