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
SamplingAlgorithm
Algorithm for latency run.
Definition: SamplingAlgorithm.h:18
SamplingAlgorithm::analyse
void analyse() override
Definition: SamplingAlgorithm.cc:113
SamplingAlgorithm::latencyCode_
uint32_t latencyCode_
Definition: SamplingAlgorithm.h:49
SamplingAnalysis
Analysis for latency run.
Definition: SamplingAnalysis.h:17
SamplingAlgorithm::pruneProfile
void pruneProfile(TProfile *profile) const
Definition: SamplingAlgorithm.cc:187
SamplingAlgorithm::histo_
Histo histo_
Definition: SamplingAlgorithm.h:41
tools.TF1
TF1
Definition: tools.py:23
SamplingAlgorithm::histo
const Histo & histo() const
SamplingAlgorithm::deconv_fitter_
TF1 * deconv_fitter_
Definition: SamplingAlgorithm.h:44
SamplingAlgorithm::correctBinning
void correctBinning(TProfile *prof) const
Definition: SamplingAlgorithm.cc:204
PostProcessor_cff.profile
profile
Definition: PostProcessor_cff.py:38
edm::ParameterSet
Definition: ParameterSet.h:36
SamplingAlgorithm::samp_
SamplingAnalysis * samp_
Definition: SamplingAlgorithm.h:52
SamplingAlgorithm::extract
void extract(const std::vector< TH1 * > &) override
Definition: SamplingAlgorithm.cc:57
SamplingAlgorithm::peak_fitterB_
TF1 * peak_fitterB_
Definition: SamplingAlgorithm.h:46
SamplingAlgorithm::~SamplingAlgorithm
~SamplingAlgorithm() override
Definition: SamplingAlgorithm.h:22
CommissioningAlgorithm
Definition: CommissioningAlgorithm.h:17
SamplingAlgorithm::correctProfile
void correctProfile(TProfile *profile, float SoNcut=3.) const
Definition: SamplingAlgorithm.cc:211
SamplingAlgorithm::peak_fitterA_
TF1 * peak_fitterA_
Definition: SamplingAlgorithm.h:45
ParameterSet.h
SamplingAlgorithm::SamplingAlgorithm
SamplingAlgorithm()
Definition: SamplingAlgorithm.h:27
CommissioningAlgorithm.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
CommissioningAlgorithm::Histo
std::pair< TH1 *, std::string > Histo
Definition: CommissioningAlgorithm.h:25