8#ifndef PATINTERFACES_SYSTEMATIC_VARIATION_H
9#define PATINTERFACES_SYSTEMATIC_VARIATION_H
70 const std::string& val_subvariation);
95 unsigned toyIndex,
float toyScale);
139 const std::string& val_basename);
156 const std::string&
name ()
const;
static const std::vector< std::string > systematics
SystematicVariation()
effects: standard default constructor guarantee: no-fail
bool isContinuousVariation() const
whether this represents a continuous variation
static SystematicVariation makeContinuousEnsemble(const std::string &basename)
constructor for continuous systematics ensemble
bool isToyVariation() const
whether this represents a toy variation
float parameter() const
description: the numeric parameter contained in the subvariation(), or 0 if the subvariation can't be...
CONTINUOUS_ARG
effects: constructor for indicating continuous systematics guarantee: strong failures: out of memory ...
std::string subvariation() const
description: the part of the name that indicates by how many sigmas we varied guarantee: strong failu...
static SystematicVariation makeToyVariation(const std::string &basename, unsigned toyIndex, float toyScale)
constructor for toy systematics
std::string basename() const
description: the base name, i.e.
bool ensembleContains(const SystematicVariation &sys) const
whether this is an ensemble that contains the given systematic variation
std::string m_name
description: members directly corresponding to accessors
bool isToyEnsemble() const
whether this represents a toy ensemble
bool empty() const
returns: whether this is an empty systematic, i.e.
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
static SystematicVariation makeToyEnsemble(const std::string &basename)
constructor for toy systematics ensemble
const std::string & name() const
description: the full systematics name, for use in strings, etc.
bool isContinuousEnsemble() const
whether this represents a continuous ensemble
static SystematicVariation makeContinuous(const std::string &basename)
Named constructor for continuous systematics.
bool isEnsemble() const
whether this represents any form of ensemble
std::pair< unsigned, float > getToyVariation() const
unpack the toy variation
Select isolated Photons, Electrons and Muons.
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
std::string basename(std::string name)