11 #include <arpa/inet.h> 12 #include <sys/unistd.h> 13 #include <sys/socket.h> 39 LogDebug(
"Commissioning") <<
"[CalibrationTask::CalibrationTask] Constructing object...";
45 int stop = start + 256;
50 if(value>895) value -= 1024;
58 LogDebug(
"Commissioning") <<
"[CalibrationTask::CalibrationTask] Destructing object...";
64 LogDebug(
"Commissioning") <<
"[CalibrationTask::book]";
70 for(
int i = 0;
i < 16; ++
i) {
94 for(
int i = 0;
i < 16; ++
i) {
120 LogDebug(
"Commissioning") <<
"[CalibrationTask::fill]";
145 for (
int k=0;
k<16;++
k) {
156 LogDebug(
"Commissioning") <<
"[CalibrationTask::update]";
159 for(
auto vecelement : element.second)
164 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