13 using namespace sistrip;
23 <<
" Constructing object...";
30 <<
" Destructing object...";
44 const uint16_t nBINS = 256;
64 oHSet.
histo(
dqm()->bookProfile(title, title, nBINS, -0.5, nBINS * 1. - 0.5, 1025, 0., 1025.));
66 peds_.push_back(oHSet);
87 oHSet.
histo(
dqm()->bookProfile(title, title, nBINS, -0.5, nBINS * 1. - 0.5, 1025, 0., 1025.));
89 peds_.push_back(oHSet);
109 for (uint16_t nLclApv = 2 *
connection().
apvPairNumber(), nMaxLclApv = nLclApv + 2; nMaxLclApv > nLclApv; ++nLclApv) {
116 const uint16_t nSTART_BIN = 128 * (nLclApv % 2);
118 for (uint16_t nBin = 0, nAbsBin = nSTART_BIN + nBin + 1; 128 > nBin; ++nBin, ++nAbsBin) {
119 updateTProfile.
setBinContent(pedsProf, nAbsBin, 5, lclPedestals[nBin], lclNoises[nBin]);
120 updateTProfile.
setBinContent(noiseProf, nAbsBin, 5, lclNoises[nBin], 0);
std::vector< float > vNumOfEntries_
std::vector< float > PedestalType
Utility class that holds histogram title.
const std::string & title() const
void getPedestal(uint32_t det_id, int apvNumber, ApvAnalysis::PedestalType &peds)
static const char mlDqmSource_[]
uint16_t apvPairNumber() const
std::vector< float > vSumOfContents_
void getRawNoise(uint32_t det_id, int apvNumber, ApvAnalysis::PedestalType &noise)
void updatePair(uint32_t det_id, size_t apvPair, const edm::DetSet< SiStripRawDigi > &in)
DQMStore *const dqm() const
Class containning control, module, detector and connection information, at the level of a FED channel...
bool instantiateApvs(uint32_t det_id, int numberOfApvs)
std::vector< HistoSet > peds_
static void setBinContent(TProfile *const profile, const uint32_t &bin, const double &entries, const double &mean, const double &spread)
int extract(std::vector< int > *output, const std::string &dati)
ApvAnalysisFactory * pApvFactory_
void histo(MonitorElement *)
PedsOnlyTask(DQMStore *, const FedChannelConnection &)
const uint32_t & fedKey() const
std::vector< double > vSumOfSquares_
const FedChannelConnection & connection() const
void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override