CMS 3D CMS Logo

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 }
CommissioningAnalysis *const anal() const
Utility class that holds histogram title.
virtual void reset()=0
virtual void extract(const std::vector< TH1 *> &)=0
uint32_t extractFedKey(const TH1 *const)
virtual void analyse()=0
void analysis(const std::vector< TH1 *> &)
histos
Definition: combine.py:4
CommissioningAnalysis * anal_
Abstract base for derived classes that provide analysis of commissioning histograms.