11 #include <arpa/inet.h> 15 #include <sys/socket.h> 16 #include <sys/unistd.h> 41 LogDebug(
"Commissioning") <<
"[CalibrationTask::CalibrationTask] Constructing object...";
48 int stop = start + 256;
53 if(value>895) value -= 1024;
61 LogDebug(
"Commissioning") <<
"[CalibrationTask::CalibrationTask] Destructing object...";
68 LogDebug(
"Commissioning") <<
"[CalibrationTask::book]";
74 for(
int i = 0;
i < 16; ++
i) {
98 for(
int i = 0;
i < 16; ++
i) {
124 LogDebug(
"Commissioning") <<
"[CalibrationTask::fill]";
148 for (
int k=0;
k<16;++
k) {
159 LogDebug(
"Commissioning") <<
"[CalibrationTask::update]";
162 for(
auto vecelement : element.second)
167 for(
auto vecelement : element.second)
Utility class that holds histogram title.
const std::string & title() const
std::map< std::string, std::vector< HistoSet > > calib1_
const uint32_t & latency() const
uint16_t apvPairNumber() const
def setup(process, global_tag, zero_tesla=False)
std::pair< ContainerIterator, ContainerIterator > Range
CalibrationTask(DQMStore *, const FedChannelConnection &, const sistrip::RunType &, const char *filename, uint32_t run, const edm::EventSetup &setup)
float getPed(const uint16_t &strip, const Range &range) const
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
const uint32_t & detId() const
Class containning control, module, detector and connection information, at the level of a FED channel...
sistrip::RunType runType_
void setCurrentFolder(const std::string &)
bin
set the eta bin as selection string.
const uint32_t & calSel() const
void setCurrentFolder(std::string const &fullpath)
std::vector< uint16_t > ped
DQMStore *const dqm() const
~CalibrationTask() override
const uint32_t & calChan() const
const uint32_t & fedKey() const
std::map< std::string, std::vector< HistoSet > > calib2_
const Range getRange(const uint32_t &detID) const
const FedChannelConnection & connection() const
void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override