CP::SystematicCode Class Reference

#include <SystematicCode.h>

List of all members.

Public Types

enum  ESysCode { Unsupported = 0, Ok = 1 }
 

Possible values for the systematic code.

More...

Public Member Functions

 SystematicCode (ESysCode code)
 Constructor with the systematic code.
 SystematicCode (const SystematicCode &parent)
 Copy constructor.
 ~SystematicCode ()
 Destructor.
SystematicCodeoperator= (const SystematicCode &rhs)
 Assignment operator.
ESysCode code () const
 The code stored internally.
 operator ESysCode () const
 Automatic conversion to the enumeration value.
bool operator< (const SystematicCode &rhs) const
void setChecked () const
 Mark the correction code as checked, ignoring its value.
void ignore () const
 Ignore the correction code, marking it as checked.

Static Public Member Functions

static void enableFailure ()
 Enable failure (with a backtrace) on an unchecked systematic code.
static void disableFailure ()
 Disable failure (no backtrace) on an unchecked systematic code.

Detailed Description

Return value from CP tools supporting systematic variations

This class needs to be used in CP tools that support systematic variations, and implement the interface described in: https://cds.cern.ch/record/1667206 In short, all such CP tools should implement the two following functions:

SystematicCode Tool::applySystematicVariation(
const std::set< SystematicVariation >& systConfig );
bool Tool::isAffectedBySystematic( const SystematicVariation& s ) const;
std::set< SystematicVariation > Tool::affectingSystematics(
const std::set< SystematicVariation >& inputSystList ) const;

Author:
Nils Krumnack <krumnack@iastate.edu>
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
717600
Date
2016-01-13 18:48:13 +0100 (Wed, 13 Jan 2016)

Member Enumeration Documentation

Possible values for the systematic code.

Enumerator:
Unsupported 

The requested systematic is not supported.

Ok 

The requested systematic will be applied.


Member Function Documentation

bool CP::SystematicCode::operator< ( const SystematicCode rhs  )  const [inline]

Ordering operator. To make it possible to use this type as an STL container key


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1