CMS 3D CMS Logo

Functions | Variables
DDValue.cc File Reference
#include "DetectorDescription/Core/interface/DDValue.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include "DetectorDescription/Core/interface/DDFilteredView.h"
#include "DetectorDescription/Core/interface/DDComparator.h"
#include <cassert>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const DDValue &v)
 
std::ostream & operator<< (std::ostream &o, const DDValuePair &v)
 

Variables

static std::atomic< unsigned int > lastIndex {0}
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  o,
const DDValue v 
)

Definition at line 121 of file DDValue.cc.

121  {
122  o << v.name() << " = ";
123  unsigned int i = 0;
124  if (v.isEvaluated()) {
125  for (; i < v.size(); ++i) {
126  o << '(' << v[i].first << ',' << v[i].second << ") ";
127  }
128  } else {
129  const std::vector<std::string>& s = v.strings();
130  for (; i < v.size(); ++i) {
131  o << s[i] << ' ';
132  }
133  }
134  return o;
135 }

References mps_fire::i, EcalTangentSkim_cfg::o, alignCSCRings::s, and findQualityFiles::v.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  o,
const DDValuePair v 
)

Definition at line 138 of file DDValue.cc.

138 { return o << v.second; }

References EcalTangentSkim_cfg::o, and findQualityFiles::v.

Variable Documentation

◆ lastIndex

std::atomic<unsigned int> lastIndex {0}
static
mps_fire.i
i
Definition: mps_fire.py:428
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
alignCSCRings.s
s
Definition: alignCSCRings.py:92