CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
PPSAssociationCuts.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <iostream>
#include <memory>
#include <cmath>
#include <vector>

Go to the source code of this file.

Classes

class  PPSAssociationCuts::CutsPerArm
 
class  PPSAssociationCuts
 

Functions

std::ostream & operator<< (std::ostream &os, const PPSAssociationCuts::CutsPerArm &cutsPerArm)
 
std::ostream & operator<< (std::ostream &os, const PPSAssociationCuts &ppsAssociationCuts)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const PPSAssociationCuts::CutsPerArm cutsPerArm 
)

Definition at line 138 of file PPSAssociationCuts.cc.

References PPSAssociationCuts::CutsPerArm::getMeans(), PPSAssociationCuts::CutsPerArm::getThresholds(), PPSAssociationCuts::CutsPerArm::getTiTrMax(), PPSAssociationCuts::CutsPerArm::getTiTrMin(), and relativeConstraints::value.

138  {
139  os << "CutsPerArm {" << std::endl;
140 
141  os << "\tmeans {";
142  for (auto const &value : cutsPerArm.getMeans()) {
143  os << "\"" << value << "\", ";
144  }
145  os << "}" << std::endl << std::endl;
146 
147  os << "\tthresholds {";
148  for (auto const &value : cutsPerArm.getThresholds()) {
149  os << "\"" << value << "\", ";
150  }
151  os << "}" << std::endl << std::endl;
152 
153  os << "\tti_tr_min " << cutsPerArm.getTiTrMin() << std::endl;
154  os << "\tti_tr_max " << cutsPerArm.getTiTrMax() << std::endl;
155  os << "}" << std::endl;
156 
157  return os;
158 }
const std::vector< std::string > & getThresholds() const
const std::vector< std::string > & getMeans() const
std::ostream& operator<< ( std::ostream &  os,
const PPSAssociationCuts ppsAssociationCuts 
)

Definition at line 162 of file PPSAssociationCuts.cc.

References PPSAssociationCuts::getAssociationCuts().

162  {
163  os << "PPSAssociationCuts {" << std::endl;
164  os << "45" << std::endl;
165  os << ppsAssociationCuts.getAssociationCuts(0);
166  os << "56" << std::endl;
167  os << ppsAssociationCuts.getAssociationCuts(1);
168  os << "}" << std::endl;
169 
170  return os;
171 }
const CutsPerArm & getAssociationCuts(const int sector) const