1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef DQM_SiStripCommissioningAnalysis_VpspScanAlgorithm_H
#define DQM_SiStripCommissioningAnalysis_VpspScanAlgorithm_H
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h"
#include <vector>
class VpspScanAnalysis;
class TH1;
/**
@class VpspScanAlgorithm
@author M. Wingham, R.Bainbridge
@brief Histogram-based analysis for VPSP scan.
*/
class VpspScanAlgorithm : public CommissioningAlgorithm {
public:
VpspScanAlgorithm(const edm::ParameterSet& pset, VpspScanAnalysis* const);
~VpspScanAlgorithm() override { ; }
/** Histogram pointer and title. */
const Histo& histo(const uint16_t& apv) const;
private:
VpspScanAlgorithm() { ; }
/** Extracts and organises histograms. */
void extract(const std::vector<TH1*>&) override;
/** Performs histogram anaysis. */
void analyse() override;
private:
/** Pointers and titles for histograms. */
std::vector<Histo> histos_;
};
#endif // DQM_SiStripCommissioningAnalysis_VpspScanAlgorithm_H
|