#include <CountsBinsGreaterThan.h>
◆ CountsBinsGreaterThan() [1/2]
dqi::CountsBinsGreaterThan::CountsBinsGreaterThan |
( |
| ) |
|
◆ CountsBinsGreaterThan() [2/2]
◆ ~CountsBinsGreaterThan()
dqi::CountsBinsGreaterThan::~CountsBinsGreaterThan |
( |
| ) |
|
|
virtual |
◆ clone()
dqm_core::Algorithm * dqi::CountsBinsGreaterThan::clone |
( |
| ) |
|
|
virtual |
◆ execute()
Definition at line 63 of file MuonSpectrometer/MuonValidation/MuonDQA/MuonDQAMonitoring/dqmfAlgs/CountsBinsGreaterThan.cxx.
68 if(
object.
IsA()->InheritsFrom(
"TH1" ) ) {
71 throw dqm_core::BadConfig( ERS_HERE,
name,
"dimension > 2 " );
74 throw dqm_core::BadConfig( ERS_HERE,
name,
"does not inherit from TH1" );
89 catch ( dqm_core::Exception & ex ) {
90 throw dqm_core::BadConfig( ERS_HERE,
name, ex.what(), ex );
102 int binSize = binEnd-binStart+1;
106 for(
int i=0;
i<binSize;
i++) {
107 int binx = binStart+
i;
109 for (
int j = 1; j <= nbiny; ++j ) {
117 ERS_DEBUG(1,
"Number of entries for bins is "<<
count );
118 ERS_DEBUG(1,
"Green: "<< gmin <<
" entries; Red: " << rmin <<
" entries ");
124 if (
count >= gmin ) {
126 }
else if (
count > rmin ) {
127 result->status_ = dqm_core::Result::Yellow;
◆ GetFirstFromMap()
double dqi::CountsBinsGreaterThan::GetFirstFromMap |
( |
const std::string & |
pname, |
|
|
const std::map< std::string, std::vector< double > > & |
params |
|
) |
| |
|
protected |
◆ GetFromMap()
double dqi::CountsBinsGreaterThan::GetFromMap |
( |
const std::string & |
pname, |
|
|
const std::map< std::string, double > & |
params |
|
) |
| |
|
protected |
◆ GetVectorFromMap()
std::vector< double > dqi::CountsBinsGreaterThan::GetVectorFromMap |
( |
const std::string & |
pname, |
|
|
const std::map< std::string, std::vector< double > > & |
params |
|
) |
| |
|
protected |
◆ printDescription()
void dqi::CountsBinsGreaterThan::printDescription |
( |
| ) |
|
|
virtual |
◆ name
std::string dqi::CountsBinsGreaterThan::name |
|
protected |
The documentation for this class was generated from the following files:
void contents(std::vector< std::string > &keys, TDirectory *td, const std::string &directory, const std::string &pattern, const std::string &path)