CMS 3D CMS Logo

Functions
PPSTimingCalibration.cc File Reference
#include "CondFormats/PPSObjects/interface/PPSTimingCalibration.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const PPSTimingCalibration &data)
 
std::ostream & operator<< (std::ostream &os, const PPSTimingCalibration::Key &key)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const PPSTimingCalibration data 
)

Definition at line 56 of file PPSTimingCalibration.cc.

57  {
58  os << "FORMULA: " << data.formula_ << "\nDB SAMPIC CHANNEL CELL PARAMETERS TIME_OFFSET\n";
59  for (const auto& kv : data.parameters_) {
60  os << kv.first << " [";
61  for (size_t i = 0; i < kv.second.size(); ++i)
62  os << (i > 0 ? ", " : "") << kv.second.at(i);
63  const auto& time = data.timeInfo_.at(kv.first);
64  os << "] " << time.first << " " << time.second << "\n";
65  }
66  return os;

References data, mps_fire::i, and protons_cff::time.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const PPSTimingCalibration::Key key 
)

Definition at line 26 of file PPSTimingCalibration.cc.

27  {
28  return os << key.db << " " << key.sampic << " " << key.channel << " " << key.cell;

References crabWrapper::key.

mps_fire.i
i
Definition: mps_fire.py:428
protons_cff.time
time
Definition: protons_cff.py:35
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
crabWrapper.key
key
Definition: crabWrapper.py:19