ATLAS Offline Software
Loading...
Searching...
No Matches
GrubbsOutlierTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
9
10#ifndef DQM_ALGORITHMS_GRUBBSOUTLIERTEST_H
11#define DQM_ALGORITHMS_GRUBBSOUTLIERTEST_H
12
13#include <dqm_core/Algorithm.h>
14#include <string>
15#include <vector>
16#include <iosfwd>
17
18namespace dqm_algorithms
19{
20
21 struct GrubbsOutlierTest : public dqm_core::Algorithm
22 {
23 GrubbsOutlierTest(const std::string &name);
24
26 dqm_core::Result * execute( const std::string & , const TObject & , const dqm_core::AlgorithmConfig & );
27 int GrubbsTest(std::vector<float>& vec, std::vector<size_t>&binIndices, float signLevel);
28 using dqm_core::Algorithm::printDescription;
29 void printDescription(std::ostream& out);
30
31 private:
32 std::string m_name;
33 };
34}
35
36#endif // DQM_ALGORITHMS_GRUBBSOUTLIERTEST_H
std::vector< size_t > vec
dqm_algorithms::GrubbsOutlierTest GrubbsTest("Grubbs")
void printDescription(std::ostream &out)
dqm_core::Result * execute(const std::string &, const TObject &, const dqm_core::AlgorithmConfig &)
GrubbsOutlierTest(const std::string &name)