|
|
Go to the documentation of this file.
89 std::map<
unsigned int, std::vector<PointErrors>> &matchingReferencePoints) {
97 std::map<unsigned int, SelectionRange> &alignment_x_meth_o_ranges) {
110 std::map<unsigned int, SelectionRange> &alignment_x_relative_ranges) {
131 os <<
" " << rc.
name_ <<
", id = " << rc.
id_ <<
", position = " << rc.
position_ <<
":\n";
132 os <<
" slope = " << rc.
slope_ <<
", sh_x = " << rc.
sh_x_ <<
"\n";
136 os << std::setprecision(2);
144 os << sc.
name_ <<
":\n";
146 os << std::setprecision(3);
147 os <<
" slope = " << sc.
slope_ <<
"\n";
157 os <<
" bin_size_x = " <<
b.bin_size_x_ <<
", n_bins_x = " <<
b.n_bins_x_ <<
"\n";
158 os <<
" pixel_x_offset = " <<
b.pixel_x_offset_ <<
"\n";
159 os <<
" n_bins_y = " <<
b.n_bins_y_ <<
", y_min = " <<
b.y_min_ <<
", y_max = " <<
b.y_max_;
165 os <<
"* sequence\n";
166 for (
unsigned int i = 0;
i <
c.sequence_.size();
i++) {
167 os <<
" " <<
i + 1 <<
": " <<
c.sequence_[
i] <<
"\n";
171 if (
c.resultsDir_.empty()) {
172 os <<
"* no results file\n\n";
174 os <<
"* results file directory:\n";
175 os <<
" " <<
c.resultsDir_ <<
"\n\n";
178 os <<
"* " <<
c.sectorConfig45_ <<
"\n\n";
179 os <<
"* " <<
c.sectorConfig56_ <<
"\n\n";
181 std::map<unsigned int, std::string> rpTags = {{
c.sectorConfig45_.rp_F_.id_,
c.sectorConfig45_.rp_F_.name_},
182 {
c.sectorConfig45_.rp_N_.id_,
c.sectorConfig45_.rp_N_.name_},
183 {
c.sectorConfig56_.rp_N_.id_,
c.sectorConfig56_.rp_N_.name_},
184 {
c.sectorConfig56_.rp_F_.id_,
c.sectorConfig56_.rp_F_.name_}};
186 os <<
"* x alignment shift step\n";
187 os <<
" x_ali_sh_step = " <<
c.x_ali_sh_step_ <<
"\n\n";
189 os <<
"* mode graph parameters\n";
190 os <<
" y_mode_sys_unc = " <<
c.y_mode_sys_unc_ <<
"\n";
191 os <<
" chiSqThreshold = " <<
c.chiSqThreshold_ <<
"\n";
192 os <<
" y_mode_unc_max_valid = " <<
c.y_mode_unc_max_valid_ <<
"\n";
193 os <<
" y_mode_max_valid = " <<
c.y_mode_max_valid_ <<
"\n\n";
195 os <<
"* selection\n";
196 os <<
" max_RP_tracks_size = " <<
c.maxRPTracksSize_ <<
"\n\n";
199 os <<
" n_si = " <<
c.n_si_ <<
"\n\n";
201 os <<
"* matching\n" << std::setprecision(3);
203 os <<
" shift ranges:\n";
204 for (
const auto &
p :
c.matchingShiftRanges_)
205 os <<
" RP " << rpTags[
p.first] <<
" (" << std::setw(3) <<
p.first <<
"): sh_min = " <<
p.second.x_min_
206 <<
", sh_max = " <<
p.second.x_max_ <<
"\n";
208 os <<
" reference points:\n";
209 for (
const auto &pm :
c.matchingReferencePoints_) {
210 os <<
" " << std::setw(3) << pm.first <<
": ";
211 for (
unsigned int i = 0;
i < pm.second.size();
i++) {
212 const auto &
p = pm.second[
i];
213 if (
i % 5 == 0 &&
i > 0)
215 os <<
"(" << std::setw(6) <<
p.x_ <<
" +- " <<
p.ex_ <<
", " << std::setw(6) <<
p.y_ <<
" +- " <<
p.ey_ <<
"), ";
221 <<
"* alignment_x_meth_o\n";
222 for (
const auto &
p :
c.alignment_x_meth_o_ranges_)
223 os <<
" RP " << rpTags[
p.first] <<
" (" << std::setw(3) <<
p.first <<
"): sh_min = " <<
p.second.x_min_
224 <<
", sh_max = " <<
p.second.x_max_ <<
"\n";
225 os <<
" fit_profile_min_bin_entries = " <<
c.fitProfileMinBinEntries_ <<
"\n";
226 os <<
" fit_profile_min_N_reasonable = " <<
c.fitProfileMinNReasonable_ <<
"\n";
227 os <<
" meth_o_graph_min_N = " <<
c.methOGraphMinN_ <<
"\n";
228 os <<
" meth_o_unc_fit_range = " <<
c.methOUncFitRange_ <<
"\n";
231 <<
"* alignment_x_relative\n";
232 for (
const auto &
p :
c.alignment_x_relative_ranges_)
233 os <<
" RP " << rpTags[
p.first] <<
" (" << std::setw(3) <<
p.first <<
"): sh_min = " <<
p.second.x_min_
234 <<
", sh_max = " <<
p.second.x_max_ <<
"\n";
235 os <<
" near_far_min_entries = " <<
c.nearFarMinEntries_ <<
"\n";
238 <<
"* alignment_y\n";
239 for (
const auto &
p :
c.alignment_y_ranges_)
240 os <<
" RP " << rpTags[
p.first] <<
" (" << std::setw(3) <<
p.first <<
"): sh_min = " <<
p.second.x_min_
241 <<
", sh_max = " <<
p.second.x_max_ <<
"\n";
242 os <<
" mode_graph_min_N = " <<
c.modeGraphMinN_ <<
"\n";
243 os <<
" mult_sel_proj_y_min_entries = " <<
c.multSelProjYMinEntries_ <<
"\n";
247 os <<
c.binning_ <<
"\n";
const SectorConfig & sectorConfig45() const
std::map< unsigned int, SelectionRange > matchingShiftRanges_
unsigned int maxRPTracksSize_
const SectorConfig & sectorConfig56() const
void setBinning(Binning &binning)
const std::map< unsigned int, SelectionRange > & alignment_x_relative_ranges() const
void setMethOUncFitRange(double methOUncFitRange)
double maxRPTracksSize() const
unsigned int nearFarMinEntries_
double chiSqThreshold() const
void setFitProfileMinNReasonable(unsigned int fitProfileMinNReasonable)
void setChiSqThreshold(double chiSqThreshold)
unsigned int fitProfileMinBinEntries() const
const std::map< unsigned int, SelectionRange > & alignment_x_meth_o_ranges() const
void setAlignment_x_relative_ranges(std::map< unsigned int, SelectionRange > &alignment_x_relative_ranges)
void setFitProfileMinBinEntries(unsigned int fitProfileMinBinEntries)
void setN_si(double n_si)
unsigned int modeGraphMinN() const
std::map< unsigned int, SelectionRange > alignment_y_ranges_
SectorConfig sectorConfig45_
const std::map< unsigned int, SelectionRange > & matchingShiftRanges() const
void setMatchingShiftRanges(std::map< unsigned int, SelectionRange > &matchingShiftRanges)
void setY_mode_max_valid(double y_mode_max_valid)
void setX_ali_sh_step(double x_ali_sh_step)
void setMethOGraphMinN(unsigned int methOGraphMinN)
unsigned int nearFarMinEntries() const
void setNearFarMinEntries(unsigned int nearFarMinEntries)
unsigned int fitProfileMinNReasonable_
double y_mode_sys_unc() const
unsigned int multSelProjYMinEntries() const
unsigned int methOGraphMinN() const
double y_mode_max_valid() const
unsigned int fitProfileMinNReasonable() const
const std::vector< std::string > & sequence() const
double methOUncFitRange() const
void setSectorConfig45(SectorConfig §orConfig45)
void setY_mode_unc_max_valid(double y_mode_unc_max_valid)
void setY_mode_sys_unc(double y_mode_sys_unc)
std::map< unsigned int, std::vector< PointErrors > > matchingReferencePoints_
void setMatchingReferencePoints(std::map< unsigned int, std::vector< PointErrors >> &matchingReferencePoints)
SectorConfig sectorConfig56_
unsigned int multSelProjYMinEntries_
void setAlignment_y_ranges(std::map< unsigned int, SelectionRange > &alignment_y_ranges)
std::ostream & operator<<(std::ostream &os, RPConfig &rc)
double x_ali_sh_step() const
void setMultSelProjYMinEntries(unsigned int multSelProjYMinEntries)
void setResultsDir(std::string &resultsDir)
const std::string & resultsDir() const
#define TYPELOOKUP_DATA_REG(_dataclass_)
std::map< unsigned int, SelectionRange > alignment_x_meth_o_ranges_
double y_mode_unc_max_valid_
void setModeGraphMinN(unsigned int modeGraphMinN)
const std::map< unsigned int, std::vector< PointErrors > > & matchingReferencePoints() const
std::vector< std::string > sequence_
std::map< unsigned int, SelectionRange > alignment_x_relative_ranges_
double y_mode_unc_max_valid() const
void setMaxRPTracksSize(unsigned int maxRPTracksSize)
const std::map< unsigned int, SelectionRange > & alignment_y_ranges() const
unsigned int modeGraphMinN_
unsigned int fitProfileMinBinEntries_
void setSectorConfig56(SectorConfig §orConfig56)
void setAlignment_x_meth_o_ranges(std::map< unsigned int, SelectionRange > &alignment_x_meth_o_ranges)
const Binning & binning() const
unsigned int methOGraphMinN_
void setSequence(std::vector< std::string > &sequence)