test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SamplingAlgorithm.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningAnalysis_SamplingAlgorithm_H
2 #define DQM_SiStripCommissioningAnalysis_SamplingAlgorithm_H
3 
6 #include <vector>
7 
8 class SamplingAnalysis;
9 class TProfile;
10 class TF1;
11 
19 
20  public:
21 
22  SamplingAlgorithm( const edm::ParameterSet & pset, SamplingAnalysis* const, uint32_t latencyCode = 0 );
23 
24  virtual ~SamplingAlgorithm() {;}
25 
26  inline const Histo& histo() const;
27 
28  private:
29 
31 
32  virtual void extract( const std::vector<TH1*>& );
33 
34  void analyse();
35 
36  void pruneProfile( TProfile* profile ) const;
37 
38  void correctBinning( TProfile* prof ) const;
39 
40  void correctProfile( TProfile* profile, float SoNcut=3. ) const;
41 
42  private:
43 
46 
51 
53  uint32_t latencyCode_;
54 
57 
58 };
59 
60 #endif // DQM_SiStripCommissioningAnalysis_SamplingAlgorithm_H
61 
void correctBinning(TProfile *prof) const
Analysis for latency run.
Algorithm for latency run.
std::pair< TH1 *, std::string > Histo
SamplingAnalysis * samp_
void correctProfile(TProfile *profile, float SoNcut=3.) const
const Histo & histo() const
virtual void extract(const std::vector< TH1 * > &)
void pruneProfile(TProfile *profile) const
virtual ~SamplingAlgorithm()