MinervaExpt / MAT

Systematic uncertainty utilities for High Energy Physics experiments. Pioneered by the MINERvA experiment.
MIT License
4 stars 3 forks source link

Add in new recobinning methods in VariableBase to allow non-square migration matrices #8

Closed hschellman closed 2 years ago

hschellman commented 2 years ago

Added a recobinning member:

// HMS 8-10-2022 add support for different true and reco binning

int GetNRecoBins() const; bool HasRecoBinning (){ return m_has_reco_binning;} // flag to tell if you need to bother with reco bins void SetRecoBinning (const bool has){m_has_reco_binning = has;} std::vector GetRecoBinVec() const; void PrintRecoBinning() const; bool m_has_reco_binning; std::vector m_reco_binning;

and new constructors which take 2 binnings.

if you don't call this, it doesn't do anything.