CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CommissioningAlgorithm.cc
Go to the documentation of this file.
6 #include "TProfile.h"
7 #include <iomanip>
8 
9 // ----------------------------------------------------------------------------
10 //
12 
13 // ----------------------------------------------------------------------------
14 //
16 
17 // ----------------------------------------------------------------------------
18 //
19 void CommissioningAlgorithm::analysis(const std::vector<TH1*>& histos) {
20  if (anal_) {
21  anal()->reset();
22  }
23  extract(histos);
24  analyse();
25 }
26 
27 // ----------------------------------------------------------------------------
28 //
29 uint32_t CommissioningAlgorithm::extractFedKey(const TH1* const his) {
30  SiStripHistoTitle title(his->GetName());
31  return title.keyValue();
32 }
void analysis(const std::vector< TH1 * > &)
Utility class that holds histogram title.
virtual void reset()=0
uint32_t extractFedKey(const TH1 *const)
virtual void extract(const std::vector< TH1 * > &)=0
virtual void analyse()=0
CommissioningAnalysis * anal_
Abstract base for derived classes that provide analysis of commissioning histograms.
CommissioningAnalysis *const anal() const