CMS 3D CMS Logo

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 public:
20  SamplingAlgorithm(const edm::ParameterSet& pset, SamplingAnalysis* const, uint32_t latencyCode = 0);
21 
22  ~SamplingAlgorithm() override { ; }
23 
24  inline const Histo& histo() const;
25 
26 private:
28 
29  void extract(const std::vector<TH1*>&) override;
30 
31  void analyse() override;
32 
33  void pruneProfile(TProfile* profile) const;
34 
35  void correctBinning(TProfile* prof) const;
36 
37  void correctProfile(TProfile* profile, float SoNcut = 3.) const;
38 
39 private:
42 
47 
49  uint32_t latencyCode_;
50 
53 };
54 
55 #endif // DQM_SiStripCommissioningAnalysis_SamplingAlgorithm_H
void correctProfile(TProfile *profile, float SoNcut=3.) const
Analysis for latency run.
Algorithm for latency run.
void extract(const std::vector< TH1 *> &) override
void pruneProfile(TProfile *profile) const
void correctBinning(TProfile *prof) const
SamplingAnalysis * samp_
const Histo & histo() const
std::pair< TH1 *, std::string > Histo
void analyse() override
~SamplingAlgorithm() override