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