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 }
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
CommissioningAlgorithm::extractFedKey
uint32_t extractFedKey(const TH1 *const)
Definition: CommissioningAlgorithm.cc:29
CommissioningAnalysis.h
CommissioningAlgorithm::anal_
CommissioningAnalysis * anal_
Definition: CommissioningAlgorithm.h:45
CommissioningAlgorithm::anal
CommissioningAnalysis *const anal() const
Definition: CommissioningAlgorithm.h:50
SiStripConstants.h
CommissioningAlgorithm::CommissioningAlgorithm
CommissioningAlgorithm()
Definition: CommissioningAlgorithm.cc:15
CommissioningAlgorithm::extract
virtual void extract(const std::vector< TH1 * > &)=0
combine.histos
histos
Definition: combine.py:4
CommissioningAnalysis
Abstract base for derived classes that provide analysis of commissioning histograms.
Definition: CommissioningAnalysis.h:18
CommissioningAlgorithm::analysis
void analysis(const std::vector< TH1 * > &)
Definition: CommissioningAlgorithm.cc:19
SiStripEnumsAndStrings.h
SiStripHistoTitle.h
SiStripHistoTitle
Utility class that holds histogram title.
Definition: SiStripHistoTitle.h:20
conversion_template_cfg.anal
anal
Definition: conversion_template_cfg.py:16
CommissioningAnalysis::reset
virtual void reset()=0
CommissioningAlgorithm::analyse
virtual void analyse()=0
CommissioningAlgorithm.h