#include <CommissioningAlgorithm.h>
Public Types | |
typedef std::pair< TH1 *, std::string > | Histo |
Public Member Functions | |
void | analysis (const std::vector< TH1 * > &) |
CommissioningAlgorithm () | |
CommissioningAlgorithm (CommissioningAnalysis *const ) | |
virtual | ~CommissioningAlgorithm () |
Protected Member Functions | |
CommissioningAnalysis *const | anal () const |
virtual void | analyse ()=0 |
virtual void | extract (const std::vector< TH1 * > &)=0 |
uint32_t | extractFedKey (const TH1 *const ) |
Private Attributes | |
CommissioningAnalysis * | anal_ |
Definition at line 17 of file CommissioningAlgorithm.h.
typedef std::pair<TH1*,std::string> CommissioningAlgorithm::Histo |
Definition at line 27 of file CommissioningAlgorithm.h.
CommissioningAlgorithm::CommissioningAlgorithm | ( | CommissioningAnalysis * const | anal | ) |
Definition at line 11 of file CommissioningAlgorithm.cc.
: anal_( anal ) {;}
CommissioningAlgorithm::CommissioningAlgorithm | ( | ) |
Definition at line 17 of file CommissioningAlgorithm.cc.
: anal_(0) {;}
virtual CommissioningAlgorithm::~CommissioningAlgorithm | ( | ) | [inline, virtual] |
Definition at line 25 of file CommissioningAlgorithm.h.
{;}
CommissioningAnalysis *const CommissioningAlgorithm::anal | ( | ) | const [inline, protected] |
Analysis class.
Definition at line 55 of file CommissioningAlgorithm.h.
References anal_.
Referenced by PedestalsAlgorithm::analyse(), FedCablingAlgorithm::analyse(), PedsOnlyAlgorithm::analyse(), PedsFullNoiseAlgorithm::analyse(), ApvTimingAlgorithm::analyse(), VpspScanAlgorithm::analyse(), FastFedCablingAlgorithm::analyse(), NoiseAlgorithm::analyse(), OptoScanAlgorithm::analyse(), FedTimingAlgorithm::analyse(), ApvLatencyAlgorithm::analyse(), DaqScopeModeAlgorithm::analyse(), analysis(), PedestalsAlgorithm::extract(), FastFedCablingAlgorithm::extract(), CalibrationAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), ApvLatencyAlgorithm::extract(), VpspScanAlgorithm::extract(), PedsOnlyAlgorithm::extract(), OptoScanAlgorithm::extract(), ApvTimingAlgorithm::extract(), SamplingAlgorithm::extract(), FedCablingAlgorithm::extract(), NoiseAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), and FedTimingAlgorithm::extract().
{ return anal_; }
virtual void CommissioningAlgorithm::analyse | ( | ) | [protected, pure virtual] |
Performs histogram anaylsis.
Implemented in ApvLatencyAlgorithm, ApvTimingAlgorithm, CalibrationAlgorithm, DaqScopeModeAlgorithm, FastFedCablingAlgorithm, FedCablingAlgorithm, FedTimingAlgorithm, NoiseAlgorithm, OptoScanAlgorithm, PedestalsAlgorithm, PedsFullNoiseAlgorithm, PedsOnlyAlgorithm, SamplingAlgorithm, and VpspScanAlgorithm.
Referenced by analysis().
void CommissioningAlgorithm::analysis | ( | const std::vector< TH1 * > & | histos | ) |
Performs histogram analysis.
Definition at line 23 of file CommissioningAlgorithm.cc.
References anal(), anal_, analyse(), extract(), and CommissioningAnalysis::reset().
Referenced by FedCablingHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), and FastFedCablingHistograms::histoAnalysis().
virtual void CommissioningAlgorithm::extract | ( | const std::vector< TH1 * > & | ) | [protected, pure virtual] |
Extracts and organises histograms.
Implemented in ApvLatencyAlgorithm, ApvTimingAlgorithm, CalibrationAlgorithm, DaqScopeModeAlgorithm, FastFedCablingAlgorithm, FedCablingAlgorithm, FedTimingAlgorithm, NoiseAlgorithm, OptoScanAlgorithm, PedestalsAlgorithm, PedsFullNoiseAlgorithm, PedsOnlyAlgorithm, SamplingAlgorithm, and VpspScanAlgorithm.
Referenced by analysis().
uint32_t CommissioningAlgorithm::extractFedKey | ( | const TH1 * const | his | ) | [protected] |
Extracts FED key from histogram title.
Definition at line 31 of file CommissioningAlgorithm.cc.
References indexGen::title.
Referenced by PedestalsAlgorithm::extract(), CalibrationAlgorithm::extract(), FastFedCablingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), ApvLatencyAlgorithm::extract(), ApvTimingAlgorithm::extract(), OptoScanAlgorithm::extract(), PedsOnlyAlgorithm::extract(), VpspScanAlgorithm::extract(), SamplingAlgorithm::extract(), FedCablingAlgorithm::extract(), NoiseAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), and FedTimingAlgorithm::extract().
{ SiStripHistoTitle title( his->GetName() ); return title.keyValue(); }
Analysis class.
Definition at line 49 of file CommissioningAlgorithm.h.
Referenced by anal(), and analysis().