CMS 3D CMS Logo

PedsFullNoiseTask.h
Go to the documentation of this file.
1 #ifndef DQM_SISTRIPCOMMISSIONINGSOURCES_PEDSFULLNOISETASK_H
2 #define DQM_SISTRIPCOMMISSIONINGSOURCES_PEDSFULLNOISETASK_H
3 
4 #include <vector>
5 
8 
9 // Forward Declarations
10 namespace edm { class ParameterSet; }
11 class DQMStore;
14 class SiStripRawDigi;
15 class TH2S;
16 
21 
22  public:
23 
25  ~PedsFullNoiseTask() override;
26 
27  private:
28 
29  void book() override;
30  void fill( const SiStripEventSummary &,
31  const edm::DetSet<SiStripRawDigi> &) override;
32  void update() override;
33 
34  // analysis histograms and related variables
35  HistoSet pedhist_, noiseprof_;
36  CompactHistoSet noisehist_;
37  TH2S * hist2d_;
38  std::vector<int16_t> peds_;
39  std::vector<float> pedsfl_;
40  // keeps track of whether desired number of events were skipped
41  bool skipped_;
42  // number of events to skip
43  uint16_t nskip_;
44  // keeps track of whether pedestal step is finished
45  bool pedsdone_;
46  // number of events to be used for pedestals
47  uint16_t nevpeds_;
48  // width of the expected noise peak (1 bin/adc hardcoded)
49  uint16_t nadcnoise_;
50  // number of strips per apv
51  uint16_t nstrips_;
52  // whether to fill the old-style noise profile
54  // for expert debugging only! - whether to use average instead of median CM
55  bool useavgcm_;
56  // for expert debugging only! - whether to use float pedestals instead of rounded int's
58 
59 };
60 
61 #endif // DQM_SISTRIPCOMMISSIONINGSOURCES_PEDSFULLNOISETASK_H
Class containning control, module, detector and connection information, at the level of a FED channel...
CompactHistoSet noisehist_
std::vector< int16_t > peds_
HLT enums.
#define update(a, b)
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
std::vector< float > pedsfl_