Main Page
Namespaces
Classes
Package Documentation
DQM
SiStripCommissioningSources
interface
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
6
#include "
DataFormats/Common/interface/DetSet.h
"
7
#include "
DQM/SiStripCommissioningSources/interface/CommissioningTask.h
"
8
9
// Forward Declarations
10
namespace
edm
{
class
ParameterSet
; }
11
class
DQMStore
;
12
class
FedChannelConnection
;
13
class
SiStripEventSummary
;
14
class
SiStripRawDigi
;
15
class
TH2S;
16
20
class
PedsFullNoiseTask
:
public
CommissioningTask
{
21
22
public
:
23
24
PedsFullNoiseTask
(
DQMStore
*
dqm
,
const
FedChannelConnection
& conn,
const
edm::ParameterSet
&
pset
);
25
virtual
~
PedsFullNoiseTask
();
26
27
private
:
28
29
virtual
void
book();
30
virtual
void
fill
(
const
SiStripEventSummary
&,
31
const
edm::DetSet<SiStripRawDigi>
&);
32
virtual
void
update
();
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
53
bool
fillnoiseprofile_
;
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
57
bool
usefloatpeds_
;
58
59
};
60
61
#endif // DQM_SISTRIPCOMMISSIONINGSOURCES_PEDSFULLNOISETASK_H
PedsFullNoiseTask::hist2d_
TH2S * hist2d_
Definition:
PedsFullNoiseTask.h:37
PedsFullNoiseTask::nstrips_
uint16_t nstrips_
Definition:
PedsFullNoiseTask.h:51
PedsFullNoiseTask::fillnoiseprofile_
bool fillnoiseprofile_
Definition:
PedsFullNoiseTask.h:53
ParameterSet
Definition:
Functions.h:16
PedsFullNoiseTask::skipped_
bool skipped_
Definition:
PedsFullNoiseTask.h:41
PedsFullNoiseTask::nadcnoise_
uint16_t nadcnoise_
Definition:
PedsFullNoiseTask.h:49
edm::DetSet
Definition:
DetSet.h:24
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
lumiContext.fill
fill
Definition:
lumiContext.py:319
PedsFullNoiseTask::pedsdone_
bool pedsdone_
Definition:
PedsFullNoiseTask.h:45
PedsFullNoiseTask::usefloatpeds_
bool usefloatpeds_
Definition:
PedsFullNoiseTask.h:57
CommissioningTask
Definition:
CommissioningTask.h:21
SiStripEventSummary
Definition:
SiStripEventSummary.h:22
DQMStore
Definition:
DQMStore.h:75
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition:
FedChannelConnection.h:26
CommissioningTask.h
PedsFullNoiseTask::nevpeds_
uint16_t nevpeds_
Definition:
PedsFullNoiseTask.h:47
CommissioningTask::HistoSet
Definition:
CommissioningTask.h:37
PedsFullNoiseTask::noisehist_
CompactHistoSet noisehist_
Definition:
PedsFullNoiseTask.h:36
PedsFullNoiseTask::pedhist_
HistoSet pedhist_
Definition:
PedsFullNoiseTask.h:35
PedsFullNoiseTask::peds_
std::vector< int16_t > peds_
Definition:
PedsFullNoiseTask.h:38
PedsFullNoiseTask::nskip_
uint16_t nskip_
Definition:
PedsFullNoiseTask.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
update
#define update(a, b)
Definition:
TrackClassifier.cc:10
PedsFullNoiseTask
Definition:
PedsFullNoiseTask.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
PedsFullNoiseTask::useavgcm_
bool useavgcm_
Definition:
PedsFullNoiseTask.h:55
SiStripRawDigi
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
Definition:
SiStripRawDigi.h:15
dqm
Definition:
DQMDefinitions.h:6
PedsFullNoiseTask::pedsfl_
std::vector< float > pedsfl_
Definition:
PedsFullNoiseTask.h:39
DetSet.h
Generated for CMSSW Reference Manual by
1.8.11