CMS 3D CMS Logo

Classes | Functions
PPSAlignmentConfiguration.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>
#include <string>
#include <map>

Go to the source code of this file.

Classes

struct  PPSAlignmentConfiguration::Binning
 
struct  PPSAlignmentConfiguration::PointErrors
 
class  PPSAlignmentConfiguration
 
struct  PPSAlignmentConfiguration::RPConfig
 
struct  PPSAlignmentConfiguration::SectorConfig
 
struct  PPSAlignmentConfiguration::SelectionRange
 

Functions

std::ostream & operator<< (std::ostream &os, const PPSAlignmentConfiguration::RPConfig &rc)
 
std::ostream & operator<< (std::ostream &os, const PPSAlignmentConfiguration::SectorConfig &sc)
 
std::ostream & operator<< (std::ostream &os, const PPSAlignmentConfiguration::Binning &b)
 

Function Documentation

◆ operator<<() [1/3]

std::ostream& operator<< ( std::ostream &  os,
const PPSAlignmentConfiguration::RPConfig rc 
)

Definition at line 135 of file PPSAlignmentConfiguration.cc.

References alignBH_cfg::fixed, PPSAlignmentConfiguration::RPConfig::id_, PPSAlignmentConfiguration::RPConfig::name_, l1tGTMenu_BTagSeeds_cff::os, PPSAlignmentConfiguration::RPConfig::position_, PPSAlignmentConfiguration::RPConfig::sh_x_, PPSAlignmentConfiguration::RPConfig::slope_, PPSAlignmentConfiguration::RPConfig::x_max_fit_mode_, PPSAlignmentConfiguration::RPConfig::x_min_fit_mode_, PPSAlignmentConfiguration::RPConfig::x_slice_min_, PPSAlignmentConfiguration::RPConfig::x_slice_n_, PPSAlignmentConfiguration::RPConfig::x_slice_w_, PPSAlignmentConfiguration::RPConfig::y_cen_add_, PPSAlignmentConfiguration::RPConfig::y_max_fit_mode_, and PPSAlignmentConfiguration::RPConfig::y_width_mult_.

135  {
136  os << std::fixed << std::setprecision(3);
137  os << " " << rc.name_ << ", id = " << rc.id_ << ", position = " << rc.position_ << ":\n";
138  os << " slope = " << rc.slope_ << ", sh_x = " << rc.sh_x_ << "\n";
139  os << " x_min_fit_mode = " << rc.x_min_fit_mode_ << ", x_max_fit_mode = " << rc.x_max_fit_mode_ << "\n";
140  os << " y_max_fit_mode = " << rc.y_max_fit_mode_ << "\n";
141  os << " y_cen_add = " << rc.y_cen_add_ << ", y_width_mult = " << rc.y_width_mult_ << "\n";
142  os << std::setprecision(2);
143  os << " x slices: min = " << rc.x_slice_min_ << ", w = " << rc.x_slice_w_ << ", n = " << rc.x_slice_n_;
144 
145  return os;
146 }

◆ operator<<() [2/3]

std::ostream& operator<< ( std::ostream &  os,
const PPSAlignmentConfiguration::SectorConfig sc 
)

Definition at line 148 of file PPSAlignmentConfiguration.cc.

References PPSAlignmentConfiguration::SectorConfig::cut_h_a_, PPSAlignmentConfiguration::SectorConfig::cut_h_apply_, PPSAlignmentConfiguration::SectorConfig::cut_h_c_, PPSAlignmentConfiguration::SectorConfig::cut_h_si_, PPSAlignmentConfiguration::SectorConfig::cut_v_a_, PPSAlignmentConfiguration::SectorConfig::cut_v_apply_, PPSAlignmentConfiguration::SectorConfig::cut_v_c_, PPSAlignmentConfiguration::SectorConfig::cut_v_si_, alignBH_cfg::fixed, PPSAlignmentConfiguration::SectorConfig::name_, l1tGTMenu_BTagSeeds_cff::os, PPSAlignmentConfiguration::SectorConfig::rp_F_, PPSAlignmentConfiguration::SectorConfig::rp_N_, and PPSAlignmentConfiguration::SectorConfig::slope_.

148  {
149  os << std::fixed << std::setprecision(3);
150  os << sc.name_ << ":\n";
151  os << sc.rp_N_ << "\n" << sc.rp_F_ << "\n";
152  os << std::setprecision(3);
153  os << " slope = " << sc.slope_ << "\n";
154  os << " cut_h: apply = " << std::boolalpha << sc.cut_h_apply_ << ", a = " << sc.cut_h_a_ << ", c = " << sc.cut_h_c_
155  << ", si = " << sc.cut_h_si_ << "\n";
156  os << " cut_v: apply = " << std::boolalpha << sc.cut_v_apply_ << ", a = " << sc.cut_v_a_ << ", c = " << sc.cut_v_c_
157  << ", si = " << sc.cut_v_si_ << "\n";
158 
159  return os;
160 }

◆ operator<<() [3/3]

std::ostream& operator<< ( std::ostream &  os,
const PPSAlignmentConfiguration::Binning b 
)

Definition at line 162 of file PPSAlignmentConfiguration.cc.

References b, and l1tGTMenu_BTagSeeds_cff::os.

162  {
163  os << " bin_size_x = " << b.bin_size_x_ << ", n_bins_x = " << b.n_bins_x_ << "\n";
164  os << " pixel_x_offset = " << b.pixel_x_offset_ << "\n";
165  os << " n_bins_y = " << b.n_bins_y_ << ", y_min = " << b.y_min_ << ", y_max = " << b.y_max_ << "\n";
166  os << " diff far-near:"
167  << "\n";
168  os << " n_bins_x = " << b.diffFN_n_bins_x_ << ", x_min = " << b.diffFN_x_min_
169  << ", x_max = " << b.diffFN_x_max_ << "\n";
170  os << " slice plots:"
171  << "\n";
172  os << " n_bins_x = " << b.slice_n_bins_x_ << ", x_min = " << b.slice_x_min_ << ", x_max = " << b.slice_x_max_
173  << "\n";
174  os << " n_bins_y = " << b.slice_n_bins_y_ << ", y_min = " << b.slice_y_min_ << ", y_max = " << b.slice_y_max_;
175 
176  return os;
177 }
double b
Definition: hdecay.h:120