Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:28

0001 #ifndef DQM_SiStripCommissioningAnalysis_VpspScanAlgorithm_H
0002 #define DQM_SiStripCommissioningAnalysis_VpspScanAlgorithm_H
0003 
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h"
0006 #include <vector>
0007 
0008 class VpspScanAnalysis;
0009 class TH1;
0010 
0011 /** 
0012    @class VpspScanAlgorithm
0013    @author M. Wingham, R.Bainbridge
0014    @brief Histogram-based analysis for VPSP scan.
0015 */
0016 class VpspScanAlgorithm : public CommissioningAlgorithm {
0017 public:
0018   VpspScanAlgorithm(const edm::ParameterSet& pset, VpspScanAnalysis* const);
0019 
0020   ~VpspScanAlgorithm() override { ; }
0021 
0022   /** Histogram pointer and title. */
0023   const Histo& histo(const uint16_t& apv) const;
0024 
0025 private:
0026   VpspScanAlgorithm() { ; }
0027 
0028   /** Extracts and organises histograms. */
0029   void extract(const std::vector<TH1*>&) override;
0030 
0031   /** Performs histogram anaysis. */
0032   void analyse() override;
0033 
0034 private:
0035   /** Pointers and titles for histograms. */
0036   std::vector<Histo> histos_;
0037 };
0038 
0039 #endif  // DQM_SiStripCommissioningAnalysis_VpspScanAlgorithm_H