#include <AFP_SiTEfficiency.h>
Definition at line 21 of file AFP_SiTEfficiency.h.
◆ AFP_SiTEfficiency()
dqm_algorithms::AFP_SiTEfficiency::AFP_SiTEfficiency |
( |
| ) |
|
◆ ~AFP_SiTEfficiency()
dqm_algorithms::AFP_SiTEfficiency::~AFP_SiTEfficiency |
( |
| ) |
|
◆ clone()
◆ execute()
dqm_core::Result * dqm_algorithms::AFP_SiTEfficiency::execute |
( |
const std::string & |
name, |
|
|
const TObject & |
object, |
|
|
const dqm_core::AlgorithmConfig & |
config |
|
) |
| |
|
override |
Definition at line 35 of file AFP_SiTEfficiency.cxx.
38 if ( !
object.
IsA()->InheritsFrom(
"TEfficiency" ) ) {
39 throw dqm_core::BadConfig( ERS_HERE,
name,
"does not inherit from TEfficiency" );
48 TH1* h_total =
histogram->GetCopyTotalHisto();
49 TH1* h_passed =
histogram->GetCopyPassedHisto();
51 float n_total =
float ( h_total->GetEntries() );
52 float n_passed =
float ( h_passed->GetEntries() );
65 result->status_ = dqm_core::Result::Yellow;
◆ printDescriptionTo()
void dqm_algorithms::AFP_SiTEfficiency::printDescriptionTo |
( |
std::ostream & |
out | ) |
|
|
override |
Definition at line 72 of file AFP_SiTEfficiency.cxx.
73 out <<
"AFP_SiTEfficiency: Print out if general plane efficiency is less than limit"<< std::endl;
The documentation for this class was generated from the following files:
void efficiency(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")