11 #include <sys/socket.h>
12 #include <sys/unistd.h>
39 LogDebug(
"Commissioning") <<
"[CalibrationScanTask::CalibrationScanTask] Constructing object...";
43 int stop = start + 256;
46 LogDebug(
"Commissioning") <<
"[CalibrationScanTask::CalibrationScanTask] Loading pedestal for " << conn.
detId();
47 if (conn.
detId() == 0)
60 LogDebug(
"Commissioning") <<
"[CalibrationScanTask::CalibrationScanTask] Destructing object...";
132 bin = (100 - summary.
latency()) * 8 + (7 - summary.
calSel());
134 bin = (102 - summary.
latency()) * 8 + (7 - summary.
calSel());
139 for (
int k = 0;
k < 16; ++
k) {
144 (digis.
data[isub +
k * 8].adc() -
ped[isub +
k * 8]));
148 (digis.
data[128 + isub +
k * 8].adc() -
ped[128 + isub +
k * 8]));
156 LogDebug(
"Commissioning") <<
"[CalibrationScanTask::update]";
CalibrationScanTask(DQMStore *, const FedChannelConnection &, const sistrip::RunType &, const char *filename, uint32_t run, const SiStripPedestals &pedestals)
const uint32_t & vfs() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Utility class that holds histogram title.
void setCurrentFolder(const std::string &)
const std::string & title() const
const uint32_t & latency() const
sistrip::RunType runType_
void setCurrentFolder(std::string const &fullpath) override
uint16_t apvPairNumber() const
std::pair< ContainerIterator, ContainerIterator > Range
std::vector< uint16_t > ped
void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override
float getPed(const uint16_t &strip, const Range &range) const
const uint32_t & isha() const
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
const uint32_t & detId() const
DQMStore *const dqm() const
Class containning control, module, detector and connection information, at the level of a FED channel...
std::map< std::string, HistoSet > calib2_
const uint32_t & calSel() const
~CalibrationScanTask() override
std::map< std::string, HistoSet > calib1_
const uint32_t & calChan() const
const uint32_t & fedKey() const
const Range getRange(const uint32_t &detID) const
const FedChannelConnection & connection() const