diff --git a/CAFAna/Core/FitMultiverse.h b/CAFAna/Core/FitMultiverse.h index 176c4e23..3567254a 100644 --- a/CAFAna/Core/FitMultiverse.h +++ b/CAFAna/Core/FitMultiverse.h @@ -58,7 +58,8 @@ namespace ana static const FitMultiverse* LoadFrom(TDirectory* dir, const std::string& name); /// Enum that specifies the type of multiverse - const EMultiverseType MultiverseType() const {return fMultiverseType;}; + // remove const? + EMultiverseType MultiverseType() const {return fMultiverseType;}; protected: FitMultiverse(const std::string& shortName, @@ -74,7 +75,7 @@ namespace ana std::string Checksum() const; std::vector fUnivs; - + EMultiverseType fMultiverseType; }; diff --git a/CAFAna/Core/Multiverse.h b/CAFAna/Core/Multiverse.h index ec93db1f..142e840b 100644 --- a/CAFAna/Core/Multiverse.h +++ b/CAFAna/Core/Multiverse.h @@ -40,6 +40,7 @@ namespace ana { // TODO I think this cast is safe because the layout is identical? return *((const _Universe*)&fUnivs[i]); + //return fUnivs[i]; } protected: