test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CommissioningAlgorithm.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningAnalysis_CommissioningAlgorithm_H
2 #define DQM_SiStripCommissioningAnalysis_CommissioningAlgorithm_H
3 
4 #include <vector>
5 #include <string>
6 #include <stdint.h>
7 
10 class TH1;
11 
18 
19  public:
20 
22 
24 
26 
27  typedef std::pair<TH1*,std::string> Histo;
28 
30  void analysis( const std::vector<TH1*>& );
31 
32  protected:
33 
35  uint32_t extractFedKey( const TH1* const );
36 
38  virtual void extract( const std::vector<TH1*>& ) = 0;
39 
41  virtual void analyse() = 0;
42 
44  inline CommissioningAnalysis* const anal() const;
45 
46  private:
47 
50 
51 };
52 
53 // ---------- inline methods ----------
54 
56 
57 #endif // DQM_SiStripCommissioningAnalysis_CommissioningAlgorithm_H
58 
void analysis(const std::vector< TH1 * > &)
std::pair< TH1 *, std::string > Histo
virtual void extract(const std::vector< TH1 * > &)=0
uint32_t extractFedKey(const TH1 *const )
virtual void analyse()=0
CommissioningAnalysis * anal_
Abstract base for derived classes that provide analysis of commissioning histograms.
CommissioningAnalysis *const anal() const