CMS 3D CMS Logo

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

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 55 of file PPSTimingCalibration.cc.

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

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

◆ operator<<() [2/2]

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

Definition at line 25 of file PPSTimingCalibration.cc.

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

References crabWrapper::key.

mps_fire.i
i
Definition: mps_fire.py:355
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
ntuplemaker.time
time
Definition: ntuplemaker.py:310
crabWrapper.key
key
Definition: crabWrapper.py:19