Analysis::CalibrationDataEigenVariations Class Reference

List of all members.

Public Types

typedef std::set< size_t > IndexSet
typedef std::set< IndexSet > IndexSuperSet

Public Member Functions

 CalibrationDataEigenVariations (const CalibrationDataHistogramContainer *cnt)
void excludeNamedUncertainty (const std::string &name)
void initialize (double min_variance=1.0E-20)
void removeVariations (const IndexSet &set)
void removeVariations (const IndexSuperSet &set)
void mergeVariationsFrom (const size_t &index)
void mergeVariations (const IndexSet &set)
void mergeVariations (const IndexSuperSet &set)
unsigned int getNumberOfNamedVariations () const
std::vector< std::string > listNamedVariations () const
unsigned int getNamedVariationIndex (const std::string &name) const
unsigned int getNumberOfEigenVariations () const
bool getEigenvectorVariation (unsigned int variation, TH1 *&up, TH1 *&down) const
bool getNamedVariation (const std::string &name, TH1 *&up, TH1 *&down) const
bool getNamedVariation (unsigned int nameIndex, TH1 *&up, TH1 *&down) const
bool isExtrapolationVariation (unsigned int nameIndex) const
TMatrixDSym getEigenCovarianceMatrix () const
TMatrixDSym getEigenCovarianceMatrixFromVariations () const
TMatrixD getJacobianReductionMatrix () const

Member Function Documentation

void CalibrationDataEigenVariations::excludeNamedUncertainty ( const std::string &  name  ) 

exclude the source of uncertainty indicated by name from eigenvector calculations

TMatrixDSym CalibrationDataEigenVariations::getEigenCovarianceMatrix (  )  const

also provide (some) access to the underlying information: covariance matrix corresponding to eigenvector variations

TMatrixDSym CalibrationDataEigenVariations::getEigenCovarianceMatrixFromVariations (  )  const

covariance matrix corresponding to eigenvector variations constructed from the eigen-variation

bool CalibrationDataEigenVariations::getEigenvectorVariation ( unsigned int  variation,
TH1 *&  up,
TH1 *&  down 
) const

obtain the "up" and "down" variations for the given eigenvector number. The return value will be false if the eigenvector number is invalid.

TMatrixD CalibrationDataEigenVariations::getJacobianReductionMatrix (  )  const

matrix to remove unecessary rows and columns from covariance

bool CalibrationDataEigenVariations::getNamedVariation ( unsigned int  nameIndex,
TH1 *&  up,
TH1 *&  down 
) const

obtain the "up" and "down" variations for the source uncertainty pointed to by the given index (which is assumed to correspond to the value retrieved using getNamedVariationIndex()). The return value will be false if the index is out of bounds.

bool Analysis::CalibrationDataEigenVariations::getNamedVariation ( const std::string &  name,
TH1 *&  up,
TH1 *&  down 
) const

obtain the "up" and "down" variations for the named uncertainty. The return value will be false if the given name is not listed as being excluded from the eigenvector calculations.

unsigned int CalibrationDataEigenVariations::getNamedVariationIndex ( const std::string &  name  )  const

retrieve the integer index corresponding to the named variation. This can be used to speed up computations by avoiding string comparisons. Note that this function is not protected against passing an invalid name.

unsigned int CalibrationDataEigenVariations::getNumberOfEigenVariations (  )  const

retrieve the number of eigenvector variations

unsigned int CalibrationDataEigenVariations::getNumberOfNamedVariations (  )  const

retrieve the number of named variations

void CalibrationDataEigenVariations::initialize ( double  min_variance = 1.0E-20  ) 

carry out the eigenvector computations. Exclusion of any source of uncertainty has to be done before calling this method

bool CalibrationDataEigenVariations::isExtrapolationVariation ( unsigned int  nameIndex  )  const

flag whether the given index corresponds to an extrapolation variation

vector< string > CalibrationDataEigenVariations::listNamedVariations (  )  const

list the named variations

void CalibrationDataEigenVariations::mergeVariations ( const IndexSuperSet &  set  ) 

merge all variations in any of the given sets

void CalibrationDataEigenVariations::mergeVariations ( const IndexSet &  set  ) 

merge all variations in the given set

void CalibrationDataEigenVariations::mergeVariationsFrom ( const size_t &  index  ) 

merge all variations starting from the given index

void CalibrationDataEigenVariations::removeVariations ( const IndexSuperSet &  set  ) 

remove all variations in any of the given sets

void CalibrationDataEigenVariations::removeVariations ( const IndexSet &  set  ) 

remove all variations in the given set


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