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
PedsFullNoiseTask::pedsfl_
std::vector< float > pedsfl_
Definition: PedsFullNoiseTask.h:37
PedsFullNoiseTask::nstrips_
uint16_t nstrips_
Definition: PedsFullNoiseTask.h:49
PedsFullNoiseTask::hist2d_
TH2S * hist2d_
Definition: PedsFullNoiseTask.h:35
edm::DetSet
Definition: DetSet.h:23
PedsFullNoiseTask::nadcnoise_
uint16_t nadcnoise_
Definition: PedsFullNoiseTask.h:47
edm
HLT enums.
Definition: AlignableModifier.h:19
PedsFullNoiseTask::fillnoiseprofile_
bool fillnoiseprofile_
Definition: PedsFullNoiseTask.h:51
SiStripCommissioningClient_cfg.conn
conn
Definition: SiStripCommissioningClient_cfg.py:5
DQMStore.h
PedsFullNoiseTask::skipped_
bool skipped_
Definition: PedsFullNoiseTask.h:39
CommissioningTask
Definition: CommissioningTask.h:24
PedsFullNoiseTask::usefloatpeds_
bool usefloatpeds_
Definition: PedsFullNoiseTask.h:55
PedsFullNoiseTask::pedsdone_
bool pedsdone_
Definition: PedsFullNoiseTask.h:43
PedsFullNoiseTask::noiseprof_
HistoSet noiseprof_
Definition: PedsFullNoiseTask.h:33
SiStripRawDigi
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
Definition: SiStripRawDigi.h:15
dqm::legacy::DQMStore
Definition: DQMStore.h:727
CommissioningTask::CompactHistoSet
Definition: CommissioningTask.h:55
PedsFullNoiseTask::nevpeds_
uint16_t nevpeds_
Definition: PedsFullNoiseTask.h:45
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition: FedChannelConnection.h:26
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
PedsFullNoiseTask::update
void update() override
Definition: PedsFullNoiseTask.cc:245
PedsFullNoiseTask::peds_
std::vector< int16_t > peds_
Definition: PedsFullNoiseTask.h:36
PedsFullNoiseTask::nskip_
uint16_t nskip_
Definition: PedsFullNoiseTask.h:41
PedsFullNoiseTask::noisehist_
CompactHistoSet noisehist_
Definition: PedsFullNoiseTask.h:34
PedsFullNoiseTask::pedhist_
HistoSet pedhist_
Definition: PedsFullNoiseTask.h:33
PedsFullNoiseTask::~PedsFullNoiseTask
~PedsFullNoiseTask() override
Definition: PedsFullNoiseTask.cc:33
PedsFullNoiseTask::useavgcm_
bool useavgcm_
Definition: PedsFullNoiseTask.h:53
PedsFullNoiseTask::PedsFullNoiseTask
PedsFullNoiseTask(DQMStore *dqm, const FedChannelConnection &conn, const edm::ParameterSet &pset)
Definition: PedsFullNoiseTask.cc:16
PedsFullNoiseTask::fill
void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override
Definition: PedsFullNoiseTask.cc:99
DetSet.h
CommissioningTask.h
dqm
Definition: DQMStore.h:18
SiStripEventSummary
Definition: SiStripEventSummary.h:22
PedsFullNoiseTask
Definition: PedsFullNoiseTask.h:22
PedsFullNoiseTask::book
void book() override
Definition: PedsFullNoiseTask.cc:40
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27