Skip to content

Commit

Permalink
Changes to multiverse on Interaction rather than SR
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasales committed Feb 26, 2024
1 parent 6090a84 commit b9622ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CAFAna/Core/FitMultiverse.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -74,7 +75,7 @@ namespace ana
std::string Checksum() const;

std::vector<FitUniverse> fUnivs;

EMultiverseType fMultiverseType;
};

Expand Down
1 change: 1 addition & 0 deletions CAFAna/Core/Multiverse.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ namespace ana
{
// TODO I think this cast is safe because the layout is identical?
return *((const _Universe<SystT>*)&fUnivs[i]);
//return fUnivs[i];
}

protected:
Expand Down

0 comments on commit b9622ba

Please sign in to comment.