CMS 3D CMS Logo

Functions
PPSAssociationCuts.cc File Reference
#include "CondFormats/PPSObjects/interface/PPSAssociationCuts.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "TF1.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<() [1/2]

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 l1tGTMenu_BTagSeeds_cff::os.

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
Definition: value.py:1
const std::vector< std::string > & getMeans() const

◆ operator<<() [2/2]

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

Definition at line 162 of file PPSAssociationCuts.cc.

References PPSAssociationCuts::getAssociationCuts(), and l1tGTMenu_BTagSeeds_cff::os.

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