ATLAS Offline Software
|
Classes | |
struct | binCluster |
struct | binContainer |
class | DumpConfig |
class | SimpleAlgorithmConfig |
This class provides a simple implementation of the DQMF abstract AlgorithmConfig interface which can be used in dqm_algorithms (see AddReference algorithms). More... | |
Enumerations | |
enum | AxisType { XYAxes, XAxis, YAxis, XYZAxes, XZAxes, YZAxes, ZAxis } |
enum | Topology { Rectangle, CylinderX, CylinderY, Torus } |
Functions | |
std::map< std::string, double > | GetFitParams (const TF1 *func) |
std::map< std::string, double > | GetFitParamErrors (const TF1 *func) |
dqm_core::Result * | MakeComparisons (const std::map< std::string, double > &algparams, const std::map< std::string, double > >hreshold, const std::map< std::string, double > &rthreshold) |
dqm_core::Result * | CompareWithErrors (const std::map< std::string, double > &algparams, const std::map< std::string, double > ¶mErrors, const std::map< std::string, double > >hreshold, const std::map< std::string, double > &rthreshold, double minSig) |
dqm_core::Result * | GetFitResult (const TF1 *func, const dqm_core::AlgorithmConfig &config, double minSig=0) |
double | GetFirstFromMap (const std::string ¶mName, const std::map< std::string, double > ¶ms) |
double | GetFirstFromMap (const std::string ¶mName, const std::map< std::string, double > ¶ms, double defaultValue) |
const std::string & | GetFirstFromMap (const std::string ¶mName, const std::map< std::string, std::string > ¶ms) |
const std::string & | GetFirstFromMap (const std::string ¶mName, const std::map< std::string, std::string > ¶ms, const std::string &defaultValue) |
std::vector< int > | GetBinRange (const TH1 *histogram, const std::map< std::string, double > ¶ms) |
void | PublishBin (const TH1 *histogram, int xbin, int ybin, double content, dqm_core::Result *result) |
TH1 * | DivideByHistogram (const TH1 *hNumerator, const TH1 *hDenominator) |
void | ModifyHistogram (TH1 *histogram, const dqm_core::AlgorithmConfig &config) |
std::string | ExtractAlgorithmName (const dqm_core::AlgorithmConfig &config) |
dqm_core::Result * | ExecuteNamedAlgorithm (const std::string &name, const TObject &object, const dqm_core::AlgorithmConfig &config) |
TH1 * | BookHistogramByExample (const TH1 *histogram, const std::string &name, const std::string &title, AxisType axisType) |
template<class T > | |
const T & | GetFromMap (const std::string &pname, const std::map< std::string, T > ¶ms) |
void | handleReference (const TObject &inputReference, const TObject *&firstReference, TObject *&secondReference) |
Helper function used to handle complex reference histograms This function gets as input a reference object and checks if it is a collection of references, in this case extracts and returns the first element. More... | |
void | findOutliers (std::vector< binContainer > &input, double &mean, double &scale, int &nIn, int nIterations, double exponent, double threshold, double SBCF=1., double nStop=8.) |
void | findOutliersUsingErrors (std::vector< binContainer > &input, double &mean, double &meanError, int &nIn, double mindiff=0, int minNin=4) |
binCluster | buildCluster (binContainer &seed, const std::vector< std::vector< binContainer * > > &binMap, const std::vector< double > &xValues, const std::vector< double > &yValues, double threhold, int topology=CylinderX) |
std::vector< std::vector< binContainer * > > | makeBinMap (std::vector< dqm_algorithms::tools::binContainer > &bins, int ixmax, int iymax, int topology=CylinderX) |
dqm_core::Result::Status | WorstCaseAddStatus (dqm_core::Result::Status baseStatus, dqm_core::Result::Status addedStatus, float weight=1.0) |
dqm_core::Result::Status | BestCaseAddStatus (dqm_core::Result::Status baseStatus, dqm_core::Result::Status addedStatus, float weight=1.0) |
std::pair< double, double > | CalcBinsProbChisq (const std::vector< double > &inputval, const std::vector< double > &inputerr, double x0, double x0_err) |
std::pair< double, double > | CalcBinsProbChisq (const std::vector< double > &inputval, const std::vector< double > &inputerr, const std::vector< double > &x0, const std::vector< double > &x0_err) |
void | MergePastMinStat (std::vector< std::vector< tools::binContainer > > &strips, int minStat) |
void | MakeBinTag (const binContainer &bin, std::string &tag) |
void | FormatToSize (double value, int size, std::string &str, bool showSign=true) |
dqm_core::Result::Status dqm_algorithms::tools::BestCaseAddStatus | ( | dqm_core::Result::Status | baseStatus, |
dqm_core::Result::Status | addedStatus, | ||
float | weight = 1.0 |
||
) |
Definition at line 1347 of file AlgorithmHelper.cxx.
TH1 * dqm_algorithms::tools::BookHistogramByExample | ( | const TH1 * | histogram, |
const std::string & | name, | ||
const std::string & | title, | ||
AxisType | axisType | ||
) |
Definition at line 688 of file AlgorithmHelper.cxx.
dqm_algorithms::tools::binCluster dqm_algorithms::tools::buildCluster | ( | binContainer & | seed, |
const std::vector< std::vector< binContainer * > > & | binMap, | ||
const std::vector< double > & | xValues, | ||
const std::vector< double > & | yValues, | ||
double | threhold, | ||
int | topology = CylinderX |
||
) |
Definition at line 1025 of file AlgorithmHelper.cxx.
std::pair< double, double > dqm_algorithms::tools::CalcBinsProbChisq | ( | const std::vector< double > & | inputval, |
const std::vector< double > & | inputerr, | ||
const std::vector< double > & | x0, | ||
const std::vector< double > & | x0_err | ||
) |
Definition at line 1387 of file AlgorithmHelper.cxx.
std::pair< double, double > dqm_algorithms::tools::CalcBinsProbChisq | ( | const std::vector< double > & | inputval, |
const std::vector< double > & | inputerr, | ||
double | x0, | ||
double | x0_err | ||
) |
Definition at line 1411 of file AlgorithmHelper.cxx.
dqm_core::Result * dqm_algorithms::tools::CompareWithErrors | ( | const std::map< std::string, double > & | algparams, |
const std::map< std::string, double > & | paramErrors, | ||
const std::map< std::string, double > & | gthreshold, | ||
const std::map< std::string, double > & | rthreshold, | ||
double | minSig | ||
) |
Definition at line 168 of file AlgorithmHelper.cxx.
Definition at line 446 of file AlgorithmHelper.cxx.
dqm_core::Result * dqm_algorithms::tools::ExecuteNamedAlgorithm | ( | const std::string & | name, |
const TObject & | object, | ||
const dqm_core::AlgorithmConfig & | config | ||
) |
Definition at line 640 of file AlgorithmHelper.cxx.
std::string dqm_algorithms::tools::ExtractAlgorithmName | ( | const dqm_core::AlgorithmConfig & | config | ) |
Definition at line 615 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::findOutliers | ( | std::vector< binContainer > & | input, |
double & | mean, | ||
double & | scale, | ||
int & | nIn, | ||
int | nIterations, | ||
double | exponent, | ||
double | threshold, | ||
double | SBCF = 1. , |
||
double | nStop = 8. |
||
) |
Definition at line 888 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::findOutliersUsingErrors | ( | std::vector< binContainer > & | input, |
double & | mean, | ||
double & | meanError, | ||
int & | nIn, | ||
double | mindiff = 0 , |
||
int | minNin = 4 |
||
) |
Definition at line 951 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::FormatToSize | ( | double | value, |
int | size, | ||
std::string & | str, | ||
bool | showSign = true |
||
) |
Definition at line 1528 of file AlgorithmHelper.cxx.
std::vector< int > dqm_algorithms::tools::GetBinRange | ( | const TH1 * | histogram, |
const std::map< std::string, double > & | params | ||
) |
The nested ternaries do the following. Suppose xmax (or ymax) happen to be a value that corresponds to the boundary of a bin. TAxis::FindBin then returns the bin for which the xmax is the lower edge of the bin. The nested ternaries prevent this happening by decrementing the bin number returned by TAxis::FindBin by 1.
Definition at line 380 of file AlgorithmHelper.cxx.
double dqm_algorithms::tools::GetFirstFromMap | ( | const std::string & | paramName, |
const std::map< std::string, double > & | params | ||
) |
Definition at line 339 of file AlgorithmHelper.cxx.
double dqm_algorithms::tools::GetFirstFromMap | ( | const std::string & | paramName, |
const std::map< std::string, double > & | params, | ||
double | defaultValue | ||
) |
Definition at line 349 of file AlgorithmHelper.cxx.
const std::string & dqm_algorithms::tools::GetFirstFromMap | ( | const std::string & | paramName, |
const std::map< std::string, std::string > & | params | ||
) |
Definition at line 360 of file AlgorithmHelper.cxx.
const std::string & dqm_algorithms::tools::GetFirstFromMap | ( | const std::string & | paramName, |
const std::map< std::string, std::string > & | params, | ||
const std::string & | defaultValue | ||
) |
Definition at line 370 of file AlgorithmHelper.cxx.
std::map< std::string, double > dqm_algorithms::tools::GetFitParamErrors | ( | const TF1 * | func | ) |
Definition at line 44 of file AlgorithmHelper.cxx.
std::map< std::string, double > dqm_algorithms::tools::GetFitParams | ( | const TF1 * | func | ) |
Definition at line 30 of file AlgorithmHelper.cxx.
dqm_core::Result * dqm_algorithms::tools::GetFitResult | ( | const TF1 * | func, |
const dqm_core::AlgorithmConfig & | config, | ||
double | minSig = 0 |
||
) |
Definition at line 308 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::handleReference | ( | const TObject & | inputReference, |
const TObject *& | firstReference, | ||
TObject *& | secondReference | ||
) |
Helper function used to handle complex reference histograms This function gets as input a reference object and checks if it is a collection of references, in this case extracts and returns the first element.
inputReference | : the original reference object |
firstReference | : the first element of the reference object, If the input reference is a TCollection, otherwise the inputReference itself |
secondReference | : the remaining reference(s), if the input collection has 2 elements the secondReference is a TObject, otherwise it is of the same class as the inputReference |
dqm_core::BadRefHist | : in case of wrong references |
Definition at line 828 of file AlgorithmHelper.cxx.
std::vector< std::vector< dqm_algorithms::tools::binContainer * > > dqm_algorithms::tools::makeBinMap | ( | std::vector< dqm_algorithms::tools::binContainer > & | bins, |
int | ixmax, | ||
int | iymax, | ||
int | topology = CylinderX |
||
) |
Definition at line 1214 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::MakeBinTag | ( | const binContainer & | bin, |
std::string & | tag | ||
) |
Definition at line 1514 of file AlgorithmHelper.cxx.
dqm_core::Result * dqm_algorithms::tools::MakeComparisons | ( | const std::map< std::string, double > & | algparams, |
const std::map< std::string, double > & | gthreshold, | ||
const std::map< std::string, double > & | rthreshold | ||
) |
Definition at line 60 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::MergePastMinStat | ( | std::vector< std::vector< tools::binContainer > > & | strips, |
int | minStat | ||
) |
Definition at line 1431 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::ModifyHistogram | ( | TH1 * | histogram, |
const dqm_core::AlgorithmConfig & | config | ||
) |
Definition at line 661 of file AlgorithmHelper.cxx.
void dqm_algorithms::tools::PublishBin | ( | const TH1 * | histogram, |
int | xbin, | ||
int | ybin, | ||
double | content, | ||
dqm_core::Result * | result | ||
) |
Definition at line 426 of file AlgorithmHelper.cxx.
dqm_core::Result::Status dqm_algorithms::tools::WorstCaseAddStatus | ( | dqm_core::Result::Status | baseStatus, |
dqm_core::Result::Status | addedStatus, | ||
float | weight = 1.0 |
||
) |
Definition at line 1300 of file AlgorithmHelper.cxx.