1 #include "SandMuonsSystematics.hxx" 2 #include "ND280AnalysisUtils.hxx" 19 if(!event.GetIsSandMC() )
return eventWeight;
23 Float_t sand_corr,sand_corr_error;
26 if (!GetBinValues(sandMode, sand_corr, sand_corr_error,index))
return eventWeight;
30 eventWeight.Correction = 1 + sand_corr;
Int_t _index
The index of this systematic (needed by SystematicsManager);.
Float_t * Variations
the vector of Variations, one for each of the systematic parameters
void SetNParameters(int N)
Set the number of systematic parameters associated to this systematic.
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
ToyVariations * GetToyVariations(UInt_t index) const
returns the variations for a given systematic (index)
int GetSandMode(int run)
Returns the sans muon modes (sequentially: 0,1,2)