CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~PedsFullNoiseTask();
26 
27  private:
28 
29  virtual void book();
30  virtual void fill( const SiStripEventSummary &,
32  virtual void update();
33 
34  // analysis histograms and related variables
35  HistoSet pedhist_, noiseprof_;
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
virtual ~PedsFullNoiseTask()
virtual void book()
virtual void update()
Class containning control, module, detector and connection information, at the level of a FED channel...
DQMStore *const dqm() const
CompactHistoSet noisehist_
std::vector< int16_t > peds_
PedsFullNoiseTask(DQMStore *dqm, const FedChannelConnection &conn, const edm::ParameterSet &pset)
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
std::vector< float > pedsfl_
virtual void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)