#include <AdcChannelMetric.h>
Classes | |
class | Metric |
class | MetricSummary |
class | State |
Public Types | |
using | Name = std::string |
using | NameVector = std::vector< Name > |
using | Index = unsigned int |
using | IndexVector = std::vector< Index > |
using | IndexRangeVector = std::vector< IndexRange > |
Public Member Functions | |
AdcChannelMetric (fhicl::ParameterSet const &ps) | |
~AdcChannelMetric () override | |
void | initialize (bool force=false) |
DataMap | view (const AdcChannelData &acd) const override |
DataMap | viewMap (const AdcChannelDataMap &acds) const override |
DataMap | update (AdcChannelData &acd) const override |
DataMap | updateMap (AdcChannelDataMap &acds) const override |
virtual int | getMetric (const AdcChannelData &acd, Name met, double &metricValue, Name &metricUnits, double &metricWeight) const |
Private Types | |
using | MetricMap = std::map< Index, Metric > |
using | MetricSummaryVector = std::vector< MetricSummary > |
using | MetricSummaryMap = std::map< IndexRange, MetricSummaryVector > |
using | StatePtr = std::shared_ptr< State > |
Private Types inherited from AdcChannelTool | |
using | Index = unsigned int |
Private Member Functions | |
Name | nameReplace (Name name, const AdcChannelData &acd, const IndexRange &ran) const |
State & | getState () const |
DataMap | viewMapLocal (const AdcChannelDataMap &acds, MetricMap &mets) const |
DataMap | viewMapForOneRange (const AdcChannelDataMap &acds, const IndexRange &ran, MetricMap &mets) const |
void | processMetricsForOneRange (const IndexRange &ran, const MetricMap &mets, TH1 *ph, Name ofname, Name ofrname, bool useErrors) const |
TH1 * | createHisto (const AdcChannelData &acd, const IndexRange &ran) const |
Index | channelStatus (Index icha) const |
void | evaluateFormulas () const |
Private Member Functions inherited from TpcDataTool | |
virtual DataMap | updateTpcData (TpcData &) const |
virtual DataMap | viewTpcData (const TpcData &) const |
virtual int | forwardTpcData () const |
Private Member Functions inherited from AdcChannelTool | |
virtual | ~AdcChannelTool ()=default |
virtual bool | updateWithView () const |
virtual bool | viewWithUpdate () const |
virtual DataMap | beginEvent (const DuneEventInfo &) const |
virtual DataMap | endEvent (const DuneEventInfo &) const |
virtual DataMap | close (const DataMap *dmin=nullptr) |
Additional Inherited Members | |
Static Private Member Functions inherited from AdcChannelTool | |
static int | interfaceNotImplemented () |
Definition at line 121 of file AdcChannelMetric.h.
using AdcChannelMetric::Index = unsigned int |
Definition at line 127 of file AdcChannelMetric.h.
Definition at line 129 of file AdcChannelMetric.h.
Definition at line 128 of file AdcChannelMetric.h.
|
private |
Definition at line 300 of file AdcChannelMetric.h.
|
private |
Definition at line 302 of file AdcChannelMetric.h.
|
private |
Definition at line 301 of file AdcChannelMetric.h.
using AdcChannelMetric::Name = std::string |
Definition at line 125 of file AdcChannelMetric.h.
using AdcChannelMetric::NameVector = std::vector<Name> |
Definition at line 126 of file AdcChannelMetric.h.
|
private |
Definition at line 325 of file AdcChannelMetric.h.
AdcChannelMetric::AdcChannelMetric | ( | fhicl::ParameterSet const & | ps | ) |
Definition at line 73 of file AdcChannelMetric_tool.cc.
|
override |
Definition at line 283 of file AdcChannelMetric_tool.cc.
Definition at line 1014 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 991 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 1028 of file AdcChannelMetric_tool.cc.
|
virtual |
Definition at line 563 of file AdcChannelMetric_tool.cc.
|
inlineprivate |
Definition at line 329 of file AdcChannelMetric.h.
void AdcChannelMetric::initialize | ( | bool | force = false | ) |
Definition at line 388 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 832 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 849 of file AdcChannelMetric_tool.cc.
|
overridevirtual |
Reimplemented from AdcChannelTool.
Definition at line 432 of file AdcChannelMetric_tool.cc.
|
overridevirtual |
Reimplemented from AdcChannelTool.
Definition at line 449 of file AdcChannelMetric_tool.cc.
|
overridevirtual |
Reimplemented from AdcChannelTool.
Definition at line 407 of file AdcChannelMetric_tool.cc.
|
overridevirtual |
Reimplemented from AdcChannelTool.
Definition at line 424 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 502 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 476 of file AdcChannelMetric_tool.cc.
|
private |
Definition at line 201 of file AdcChannelMetric.h.
|
private |
Definition at line 164 of file AdcChannelMetric.h.
|
private |
Definition at line 168 of file AdcChannelMetric.h.
|
private |
Definition at line 169 of file AdcChannelMetric.h.
|
private |
Definition at line 170 of file AdcChannelMetric.h.
|
private |
Definition at line 163 of file AdcChannelMetric.h.
|
private |
Definition at line 189 of file AdcChannelMetric.h.
|
private |
Definition at line 160 of file AdcChannelMetric.h.
|
private |
Definition at line 192 of file AdcChannelMetric.h.
|
private |
Definition at line 193 of file AdcChannelMetric.h.
|
private |
Definition at line 171 of file AdcChannelMetric.h.
|
private |
Definition at line 172 of file AdcChannelMetric.h.
|
private |
Definition at line 158 of file AdcChannelMetric.h.
|
private |
Definition at line 182 of file AdcChannelMetric.h.
|
private |
Definition at line 184 of file AdcChannelMetric.h.
|
private |
Definition at line 185 of file AdcChannelMetric.h.
|
private |
Definition at line 183 of file AdcChannelMetric.h.
|
private |
Definition at line 179 of file AdcChannelMetric.h.
|
private |
Definition at line 159 of file AdcChannelMetric.h.
|
private |
Definition at line 167 of file AdcChannelMetric.h.
|
private |
Definition at line 173 of file AdcChannelMetric.h.
|
private |
Definition at line 166 of file AdcChannelMetric.h.
|
private |
Definition at line 165 of file AdcChannelMetric.h.
|
private |
Definition at line 162 of file AdcChannelMetric.h.
|
private |
Definition at line 204 of file AdcChannelMetric.h.
|
private |
Definition at line 161 of file AdcChannelMetric.h.
|
private |
Definition at line 176 of file AdcChannelMetric.h.
|
private |
Definition at line 174 of file AdcChannelMetric.h.
|
private |
Definition at line 175 of file AdcChannelMetric.h.
|
private |
Definition at line 177 of file AdcChannelMetric.h.
|
private |
Definition at line 198 of file AdcChannelMetric.h.
|
private |
Definition at line 186 of file AdcChannelMetric.h.
|
private |
Definition at line 178 of file AdcChannelMetric.h.
|
private |
Definition at line 326 of file AdcChannelMetric.h.
|
private |
Definition at line 195 of file AdcChannelMetric.h.
|
private |
Definition at line 194 of file AdcChannelMetric.h.