1 #include "FGDMassSystematics.hxx" 2 #include "ND280AnalysisUtils.hxx" 3 #include "BasicUtils.hxx" 4 #include "ToyBoxTracker.hxx" 11 _scintmass =
new BinnedParams(
"FGD1Mass", BinnedParams::k1D_SYMMETRIC, versionUtils::Extension());
12 baseindex += _scintmass->GetNBins();
13 _watermass =
new BinnedParams(
"FGD2MassWater", BinnedParams::k1D_SYMMETRIC);
14 baseindex +=_watermass->GetNBins();
18 _scintmass->GetParametersForBin(0, _scintmass_corr, _scintmass_err);
19 _watermass->GetParametersForBin(0, _watermass_corr, _watermass_err);
42 eventWeight.Correction = 1 + _scintmass_corr;
50 eventWeight.Correction = 1 + _watermass_corr;
54 eventWeight.Correction = 1 + _scintmass_corr;
Int_t _index
The index of this systematic (needed by SystematicsManager);.
AnaTrueVertexB * TrueVertex
Float_t * Variations
the vector of Variations, one for each of the systematic parameters
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
SubDetId_h DetectorFV
Indicate the FV we are interested in.
void SetNParameters(int N)
Set the number of systematic parameters associated to this systematic.
AnaVertexB * Vertex
For storing the reconstructed vertex.
Float_t Position[4]
The position the true interaction happened at.
ToyVariations * GetToyVariations(UInt_t index) const
returns the variations for a given systematic (index)
bool InDetVolume(SubDetId::SubDetEnum det, const Float_t *pos)