CMS 3D CMS Logo

CommissioningAlgorithm Class Reference

Author:
R.Bainbridge
More...

#include <DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h>

Inheritance diagram for CommissioningAlgorithm:

ApvLatencyAlgorithm ApvTimingAlgorithm CalibrationAlgorithm DaqScopeModeAlgorithm FastFedCablingAlgorithm FedCablingAlgorithm FedTimingAlgorithm NoiseAlgorithm OptoScanAlgorithm PedestalsAlgorithm PedsOnlyAlgorithm SamplingAlgorithm VpspScanAlgorithm

List of all members.

Public Types

typedef std::pair< TH1 *,
std::string > 
Histo

Public Member Functions

void analysis (const std::vector< TH1 * > &)
 Performs histogram analysis.
 CommissioningAlgorithm ()
 CommissioningAlgorithm (CommissioningAnalysis *const )
virtual ~CommissioningAlgorithm ()

Protected Member Functions

CommissioningAnalysis *const anal () const
 Analysis class.
virtual void analyse ()=0
 Performs histogram anaylsis.
virtual void extract (const std::vector< TH1 * > &)=0
 Extracts and organises histograms.
uint32_t extractFedKey (const TH1 *const )
 Extracts FED key from histogram title.

Private Attributes

CommissioningAnalysisanal_
 Analysis class.


Detailed Description

Author:
R.Bainbridge

Definition at line 16 of file CommissioningAlgorithm.h.


Member Typedef Documentation

typedef std::pair<TH1*,std::string> CommissioningAlgorithm::Histo

Definition at line 26 of file CommissioningAlgorithm.h.


Constructor & Destructor Documentation

CommissioningAlgorithm::CommissioningAlgorithm ( CommissioningAnalysis * const  anal  ) 

Definition at line 11 of file CommissioningAlgorithm.cc.

00012   : anal_( anal )
00013 {;}

CommissioningAlgorithm::CommissioningAlgorithm (  ) 

Definition at line 17 of file CommissioningAlgorithm.cc.

00018   : anal_(0)
00019 {;}

virtual CommissioningAlgorithm::~CommissioningAlgorithm (  )  [inline, virtual]

Definition at line 24 of file CommissioningAlgorithm.h.

00024 {;}


Member Function Documentation

CommissioningAnalysis *const CommissioningAlgorithm::anal (  )  const [inline, protected]

Analysis class.

Definition at line 54 of file CommissioningAlgorithm.h.

References anal_.

Referenced by PedestalsAlgorithm::analyse(), FedCablingAlgorithm::analyse(), PedsOnlyAlgorithm::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(), and FedTimingAlgorithm::extract().

00054 { return anal_; }

virtual void CommissioningAlgorithm::analyse (  )  [protected, pure virtual]

Performs histogram anaylsis.

Implemented in ApvLatencyAlgorithm, ApvTimingAlgorithm, CalibrationAlgorithm, DaqScopeModeAlgorithm, FastFedCablingAlgorithm, FedCablingAlgorithm, FedTimingAlgorithm, NoiseAlgorithm, OptoScanAlgorithm, PedestalsAlgorithm, 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 SamplingHistograms::histoAnalysis(), FedCablingHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), and FastFedCablingHistograms::histoAnalysis().

00023                                                                      { 
00024   if ( anal_ ) { anal()->reset(); }
00025   extract( histos );
00026   analyse();
00027 }

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, 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(), FastFedCablingAlgorithm::extract(), CalibrationAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), ApvLatencyAlgorithm::extract(), VpspScanAlgorithm::extract(), PedsOnlyAlgorithm::extract(), OptoScanAlgorithm::extract(), ApvTimingAlgorithm::extract(), SamplingAlgorithm::extract(), FedCablingAlgorithm::extract(), NoiseAlgorithm::extract(), and FedTimingAlgorithm::extract().

00031                                                                      {
00032   SiStripHistoTitle title( his->GetName() );
00033   return title.keyValue();
00034 }


Member Data Documentation

CommissioningAnalysis* CommissioningAlgorithm::anal_ [private]

Analysis class.

Definition at line 48 of file CommissioningAlgorithm.h.

Referenced by anal(), and analysis().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:16:31 2009 for CMSSW by  doxygen 1.5.4