MinervaExpt / MAT-MINERvA

MINERvA-specific plugins to the MAT like FluxReweighter, MuonFunctions, and our CCInclusiveCuts.
MIT License
1 stars 1 forks source link

hard coded Tree name in LowRecoilFunctions.h #5

Open hschellman opened 1 year ago

hschellman commented 1 year ago

calculators/LowRecoilFunctions.h: return GetDouble("MasterAnaDev_recoil_E");

Generally you should not hardcode the tree name but instead use

std::string(MinervaUniverse::GetTreeName()+"_recoil_E")

Can the owner look at this?

ryounsumiko commented 1 year ago

Fixed by commit 39fd6f9b37ddd2fa1f980213a7e37ac269f8aff2