39 const TObject &
object,
40 const dqm_core::AlgorithmConfig &
config)
44 if(
object.
IsA()->InheritsFrom(
"TH2" ) ) {
47 throw dqm_core::BadConfig( ERS_HERE, name,
"dimension > 3 " );
50 throw dqm_core::BadConfig( ERS_HERE, name,
"does not inherit from TH2" );
63 catch ( dqm_core::Exception & ex ) {
65 throw dqm_core::BadConfig( ERS_HERE, name, ex.what(), ex );
69 double binContents=
histogram -> GetBinContent(xbin,ybin);
71 dqm_core::Result*
result =
new dqm_core::Result();
72 result->tags_[
"BinContent"] = binContents;
74 result->status_ = dqm_core::Result::Disabled;
77 result->status_ = dqm_core::Result::Green;
static dqm_algorithms::BinContentComp myInstance