CMS 3D CMS Logo

Functions
Utilities.h File Reference
#include "DataFormats/CTPPSDetId/interface/CTPPSDetId.h"
#include <TMatrixD.h>

Go to the source code of this file.

Functions

void factorRPFromSensorCorrections (const CTPPSRPAlignmentCorrectionsData &input, CTPPSRPAlignmentCorrectionsData &expanded, CTPPSRPAlignmentCorrectionsData &factored, const AlignmentGeometry &, bool equalWeights=false, unsigned int verbosity=0)
 
void print (TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
 
void printId (unsigned int id)
 

Function Documentation

◆ factorRPFromSensorCorrections()

void factorRPFromSensorCorrections ( const CTPPSRPAlignmentCorrectionsData input,
CTPPSRPAlignmentCorrectionsData expanded,
CTPPSRPAlignmentCorrectionsData factored,
const AlignmentGeometry ,
bool  equalWeights = false,
unsigned int  verbosity = 0 
)

NOTE ON ERROR PROPAGATION

It is not possible to split (and merge again) the experimental errors between the RP and sensor contributions. To do so, one would need to keep the entire covariance matrix. Thus, it has been decided to save: RP errors = the uncertainty of the common shift/rotation sensor error = the full experimental uncertainty In consequence: RP and sensor errors SHOULD NEVER BE SUMMED!

Definition at line 93 of file Utilities.cc.

References funct::abs(), CTPPSRPAlignmentCorrectionsData::addRPCorrection(), CTPPSRPAlignmentCorrectionsData::addSensorCorrection(), CTPPSDetId::arm(), B, CTPPSRPAlignmentCorrectionsData::clear(), hcalRecHitTable_cff::detId, CTPPSRPAlignmentCorrectionsData::getFullSensorCorrection(), CTPPSRPAlignmentCorrectionsData::getSensorMap(), heavyIonCSV_trainingSettings::idx, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, JetComb::kMult, funct::pow(), CTPPSDetId::rp(), CTPPSDetId::rpId(), CTPPSDetId::sdTrackingPixel, CTPPSDetId::sdTrackingStrip, CTPPSRPAlignmentCorrectionsData::setSensorCorrection(), mathSSE::sqrt(), CTPPSDetId::station(), DetId::subdetId(), and verbosity.

Referenced by PPSModifySingularModes::beginRun(), and StraightTrackAlignment::finish().

98  {
99  // clean first
100  expandedAlignments.clear();
101  factoredAlignments.clear();
102 
103  // save full sensor alignments
104  map<unsigned int, CTPPSRPAlignmentCorrectionData> fullAlignments;
105  map<unsigned int, set<unsigned int> > sensorsPerRP;
106  for (auto it : inputAlignments.getSensorMap()) {
107  const auto &sensorId = it.first;
108 
109  // with useRPErrors=false the only the sensor uncertainties (coming from the last analysis step) will be used
110  fullAlignments[sensorId] = inputAlignments.getFullSensorCorrection(sensorId, false);
111 
112  sensorsPerRP[CTPPSDetId(sensorId).rpId()].insert(sensorId);
113  }
114 
115  // convert full alignments to expandedAlignments
116  for (const auto &it : fullAlignments) {
117  expandedAlignments.setSensorCorrection(it.first, it.second);
118  }
119 
120  // do the factorization RP per RP
121  for (const auto &rpit : sensorsPerRP) {
122  CTPPSDetId rpId(rpit.first);
123  const set<unsigned int> &sensors = rpit.second;
124 
125  if (verbosity)
126  printf("* processing RP %u (%u)\n", rpit.first, 100 * rpId.arm() + 10 * rpId.station() + rpId.rp());
127 
128  // determine number of constraints
129  unsigned int n_constraints = 0;
130  for (const auto &senId : sensors) {
131  CTPPSDetId detId(senId);
132 
133  if (rpId.subdetId() == CTPPSDetId::sdTrackingStrip)
134  n_constraints += 1;
135 
136  if (rpId.subdetId() == CTPPSDetId::sdTrackingPixel)
137  n_constraints += 2;
138  }
139 
140  // build matrices
141  TMatrixD B(n_constraints, 2), Vi(n_constraints, n_constraints), VarM(n_constraints, n_constraints);
142  TVectorD M(n_constraints);
143 
144  double sw2_sh_z = 0., svw2_sh_z = 0., su2w4_sh_z = 0.;
145  double sw2_rot_x = 0., svw2_rot_x = 0., su2w4_rot_x = 0.;
146  double sw2_rot_y = 0., svw2_rot_y = 0., su2w4_rot_y = 0.;
147  double sw2_rot_z = 0., svw2_rot_z = 0., su2w4_rot_z = 0.;
148 
149  unsigned int idx = 0;
150  for (const auto &senId : sensors) {
151  CTPPSDetId detId(senId);
152 
153  const double v_sh_z = fullAlignments[senId].getShZ();
154  const double u_sh_z = (fullAlignments[senId].getShZUnc() > 0.) ? fullAlignments[senId].getShZUnc() : 1.;
155  const double w_sh_z = (equalWeights) ? 1. : 1. / u_sh_z;
156  sw2_sh_z += w_sh_z * w_sh_z;
157  svw2_sh_z += v_sh_z * w_sh_z * w_sh_z;
158  su2w4_sh_z += u_sh_z * u_sh_z * w_sh_z * w_sh_z * w_sh_z * w_sh_z;
159 
160  const double v_rot_x = fullAlignments[senId].getRotX();
161  const double u_rot_x = (fullAlignments[senId].getRotXUnc() > 0.) ? fullAlignments[senId].getRotXUnc() : 1.;
162  const double w_rot_x = (equalWeights) ? 1. : 1. / u_rot_x;
163  sw2_rot_x += w_rot_x * w_rot_x;
164  svw2_rot_x += v_rot_x * w_rot_x * w_rot_x;
165  su2w4_rot_x += u_rot_x * u_rot_x * w_rot_x * w_rot_x * w_rot_x * w_rot_x;
166 
167  const double v_rot_y = fullAlignments[senId].getRotY();
168  const double u_rot_y = (fullAlignments[senId].getRotYUnc() > 0.) ? fullAlignments[senId].getRotYUnc() : 1.;
169  const double w_rot_y = (equalWeights) ? 1. : 1. / u_rot_y;
170  sw2_rot_y += w_rot_y * w_rot_y;
171  svw2_rot_y += v_rot_y * w_rot_y * w_rot_y;
172  su2w4_rot_y += u_rot_y * u_rot_y * w_rot_y * w_rot_y * w_rot_y * w_rot_y;
173 
174  const double v_rot_z = fullAlignments[senId].getRotZ();
175  const double u_rot_z = (fullAlignments[senId].getRotZUnc() > 0.) ? fullAlignments[senId].getRotZUnc() : 1.;
176  const double w_rot_z = (equalWeights) ? 1. : 1. / u_rot_z;
177  sw2_rot_z += w_rot_z * w_rot_z;
178  svw2_rot_z += v_rot_z * w_rot_z * w_rot_z;
179  su2w4_rot_z += u_rot_z * u_rot_z * w_rot_z * w_rot_z * w_rot_z * w_rot_z;
180 
181  if (rpId.subdetId() == CTPPSDetId::sdTrackingStrip) {
182  auto d2 = geometry.get(senId).getDirectionData(2);
183 
184  B(idx, 0) = d2.dx;
185  B(idx, 1) = d2.dy;
186 
187  M(idx) = d2.dx * fullAlignments[senId].getShX() + d2.dy * fullAlignments[senId].getShY();
188  double unc =
189  sqrt(pow(d2.dx * fullAlignments[senId].getShXUnc(), 2) + pow(d2.dy * fullAlignments[senId].getShYUnc(), 2));
190  if (unc <= 0.)
191  unc = 1.;
192 
193  Vi(idx, idx) = (equalWeights) ? 1. : 1. / unc / unc;
194  VarM(idx, idx) = unc * unc;
195 
196  idx += 1;
197  }
198 
199  if (rpId.subdetId() == CTPPSDetId::sdTrackingPixel) {
200  B(idx + 0, 0) = 1.;
201  B(idx + 0, 1) = 0.;
202  M(idx + 0) = fullAlignments[senId].getShX();
203  double x_unc = fullAlignments[senId].getShXUnc();
204  if (x_unc <= 0.)
205  x_unc = 1.;
206  Vi(idx + 0, idx + 0) = (equalWeights) ? 1. : 1. / x_unc / x_unc;
207  VarM(idx + 0, idx + 0) = x_unc * x_unc;
208 
209  B(idx + 1, 0) = 0.;
210  B(idx + 1, 1) = 1.;
211  M(idx + 1) = fullAlignments[senId].getShY();
212  double y_unc = fullAlignments[senId].getShYUnc();
213  if (y_unc <= 0.)
214  y_unc = 1.;
215  Vi(idx + 1, idx + 1) = (equalWeights) ? 1. : 1. / y_unc / y_unc;
216  VarM(idx + 1, idx + 1) = y_unc * y_unc;
217 
218  idx += 2;
219  }
220  }
221 
222  // calculate per-RP alignment
223  TMatrixD BT(TMatrixD::kTransposed, B);
224  TMatrixD BTViB(BT, TMatrixD::kMult, Vi * B);
225  TMatrixD BTViBi(TMatrixD::kInverted, BTViB);
226  TMatrixD S(BTViBi * BT * Vi);
227  TMatrixD ST(TMatrixD::kTransposed, S);
228  TVectorD th_B(2);
229  th_B = S * M;
230  TMatrixD VarTh_B(S * VarM * ST);
231 
232  const double m_sh_x = th_B[0], m_sh_x_unc = sqrt(VarTh_B(0, 0));
233  const double m_sh_y = th_B[1], m_sh_y_unc = sqrt(VarTh_B(1, 1));
234  const double m_sh_z = svw2_sh_z / sw2_sh_z, m_sh_z_unc = sqrt(su2w4_sh_z) / sw2_sh_z;
235 
236  const double m_rot_x = svw2_rot_x / sw2_rot_x, m_rot_x_unc = sqrt(su2w4_rot_x) / sw2_rot_x;
237  const double m_rot_y = svw2_rot_y / sw2_rot_y, m_rot_y_unc = sqrt(su2w4_rot_y) / sw2_rot_y;
238  const double m_rot_z = svw2_rot_z / sw2_rot_z, m_rot_z_unc = sqrt(su2w4_rot_z) / sw2_rot_z;
239 
240  if (verbosity) {
241  printf(" m_sh_x = (%.1f +- %.1f) um, m_sh_y = (%.1f +- %.1f) um, m_sh_z = (%.1f +- %.1f) mm\n",
242  m_sh_x * 1E3,
243  m_sh_x_unc * 1E3,
244  m_sh_y * 1E3,
245  m_sh_y_unc * 1E3,
246  m_sh_z,
247  m_sh_z_unc);
248  printf(" m_rot_x = (%.1f +- %.1f) mrad, m_rot_y = (%.1f +- %.1f) mrad, m_rot_z = (%.1f +- %.1f) mrad\n",
249  m_rot_x * 1E3,
250  m_rot_x_unc * 1E3,
251  m_rot_y * 1E3,
252  m_rot_y_unc * 1E3,
253  m_rot_z * 1E3,
254  m_rot_z_unc * 1E3);
255  }
256 
257  factoredAlignments.addRPCorrection(rpId,
259  m_sh_x_unc,
260  m_sh_y,
261  m_sh_y_unc,
262  m_sh_z,
263  m_sh_z_unc,
264  m_rot_x,
265  m_rot_x_unc,
266  m_rot_y,
267  m_rot_y_unc,
268  m_rot_z,
269  m_rot_z_unc));
270 
271  // calculate residuals
272  for (const auto &senId : sensors) {
274 
275  if (rpId.subdetId() == CTPPSDetId::sdTrackingStrip) {
276  auto d2 = geometry.get(senId).getDirectionData(2);
277 
278  const double de_s =
279  d2.dx * (fullAlignments[senId].getShX() - m_sh_x) + d2.dy * (fullAlignments[senId].getShY() - m_sh_y);
280  const double de_s_unc =
281  std::abs(d2.dx * fullAlignments[senId].getShXUnc() +
282  d2.dy * fullAlignments[senId].getShYUnc()); // the x and y components are fully correlated
283 
284  rc = CTPPSRPAlignmentCorrectionData(d2.dx * de_s,
285  d2.dx * de_s_unc,
286  d2.dy * de_s,
287  d2.dy * de_s_unc,
288  fullAlignments[senId].getShZ() - m_sh_z,
289  fullAlignments[senId].getShZUnc(),
290  fullAlignments[senId].getRotX() - m_rot_x,
291  fullAlignments[senId].getRotXUnc(),
292  fullAlignments[senId].getRotY() - m_rot_y,
293  fullAlignments[senId].getRotYUnc(),
294  fullAlignments[senId].getRotZ() - m_rot_z,
295  fullAlignments[senId].getRotZUnc());
296  }
297 
298  if (rpId.subdetId() == CTPPSDetId::sdTrackingPixel) {
299  rc = CTPPSRPAlignmentCorrectionData(fullAlignments[senId].getShX() - m_sh_x,
300  fullAlignments[senId].getShXUnc(),
301  fullAlignments[senId].getShY() - m_sh_y,
302  fullAlignments[senId].getShYUnc(),
303  fullAlignments[senId].getShZ() - m_sh_z,
304  fullAlignments[senId].getShZUnc(),
305  fullAlignments[senId].getRotX() - m_rot_x,
306  fullAlignments[senId].getRotXUnc(),
307  fullAlignments[senId].getRotY() - m_rot_y,
308  fullAlignments[senId].getRotYUnc(),
309  fullAlignments[senId].getRotZ() - m_rot_z,
310  fullAlignments[senId].getRotZUnc());
311  }
312 
313  factoredAlignments.addSensorCorrection(senId, rc);
314  }
315  }
316 }
Definition: APVGainStruct.h:7
CTPPSDetId rpId() const
Definition: CTPPSDetId.h:84
T sqrt(T t)
Definition: SSEVec.h:19
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const int verbosity
Base class for CTPPS detector IDs.
Definition: CTPPSDetId.h:32
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
Alignment correction for an element of the CT-PPS detector. Within the geometry description, every sensor (more generally every element) is given its translation and rotation. These two quantities shall be understood in local-to-global coordinate transform. That is, if r_l is a point in local coordinate system and x_g in global, then it holds.

◆ print()

void print ( TMatrixD &  m,
const char *  label = nullptr,
bool  mathematicaFormat = false 
)

Definition at line 47 of file Utilities.cc.

References mps_fire::i, dqmiolumiharvest::j, label, visualization-live-secondInstance_cfg::m, and findQualityFiles::v.

Referenced by relval_nano.WFN::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), hippyaddtobaddatafiles.OneAtATime::__enter__(), VarParsing.VarParsing::__getattr__(), branchselection.BranchSelection::__init__(), python.ParticleDecayDrawer.ParticleDecayDrawer::__init__(), mhtjuProducerCpp.mhtjuProducerCpp::__init__(), authentication.X509CertAuth::__init__(), edmPickEvents.Event::__init__(), generateEDF.LumiInfoCont::__init__(), python.cmstools.cmserror::__init__(), crabFunctions.CertInfo::__init__(), GenObject.GenObject::__init__(), dqm_interfaces.DQMRootFile::__is_null(), DMRplotter.DMRplotter::__log__(), dirstructure.Comparison::__make_image(), MainPageGenerator.MainPageGenerator::__NewTreePage(), VIDSelectorBase.VIDSelectorBase::__repr__(), GenObject.GenObject::__setattr__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), PhaseITreeProducer.ModuleLvlValuesReader::__TraverseDirTree(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::__TraverseDirTree(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker::_check_coverage(), mps_alisetup.SetupAlignment::_check_iov_definition(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker::_check_sys_side(), customizeForOTInefficiency::_commonCustomizeForInefficiency(), mps_alisetup.SetupAlignment::_construct_paths(), mps_alisetup.SetupAlignment::_create_additional_pede_jobs(), mps_alisetup.SetupAlignment::_create_input_db(), mps_alisetup.SetupAlignment::_create_mass_storage_directory(), mps_alisetup.SetupAlignment::_create_mille_jobs(), mps_alisetup.SetupAlignment::_create_pede_jobs(), mps_alisetup.SetupAlignment::_create_tracker_tree(), GenObject.GenObject::_createCppClass(), validation.Validation::_doFastsimFastVsFullPlots(), validation.Validation::_doPlots(), validation.SimpleValidation::_doPlots(), validation.SeparateValidation::_doPlots(), validation.Validation::_doPlotsFastFull(), validation.Validation::_doPlotsPileup(), mps_alisetup.SetupAlignment::_fetch_dataset_directory(), mps_alisetup.SetupAlignment::_fetch_datasets(), mps_alisetup.SetupAlignment::_fetch_defaults(), mps_alisetup.SetupAlignment::_fetch_essentials(), mps_alisetup.SetupAlignment::_fill_general_options(), plotting::_findBounds(), plotting::_findBoundsY(), GenObject.GenObject::_fixLostGreaterThans(), plotting::_getDirectoryDetailed(), validation::_getGlobalTag(), plotting::_getObject(), validation.Validation::_getRefFileAndSelection(), validation::_getRelValUrl(), mps_alisetup.SetupAlignment::_handle_process_call(), generateEDF.LumiInfoCont::_integrateContainer(), GenObject.GenObject::_loadGoRootLibrary(), directSimPPS_cff::_modify2016(), directSimPPS_cff::_modify2017(), directSimPPS_cff::_modify2018(), directSimPPS_cff::_modify2022(), XML2Python.DataNode::_outputValues(), Page1Parser.Page1Parser::_Parse(), edmTracerCompactLogViewer.EDModuleTransitionParser::_postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser::_postJson(), tauTools::_switchToPFTau(), VarParsing.VarParsing::_withTags(), pfTools::adaptPFElectrons(), pfTools::adaptPFMuons(), pfTools::adaptPVs(), python.rootplot.core::add_from_config_files(), ConfigBuilder.ConfigBuilder::addConditions(), ConfigBuilder.ConfigBuilder::addCustomise(), patMuonsWithTrigger_cff::addDiMuonTriggers(), RemoveAddSevLevel::AddFlag(), jetCollectionTools.GenJetAdder::addGenJetCollection(), helpers::addKeepStatement(), Mixing::addMixingScenario(), custom_jme_cff::AddNewAK8CHSJets(), custom_jme_cff::AddNewAK8GenJetsForJEC(), custom_jme_cff::AddNewAK8PuppiJetsForJEC(), GenObject.GenObject::addObjectVariable(), ConfigBuilder.ConfigBuilder::addOutput(), jetCollectionTools.RecoJetAdder::addRecoJetCollection(), ConfigBuilder.ConfigBuilder::addSource(), ConfigBuilder.ConfigBuilder::addStandardSequences(), storeTreeInfo.TreeAnalyzer::analyzePath(), hgcalPlots::append_hgcalCaloParticlesPlots(), hgcalPlots::append_hgcalDigisPlots(), hgcalPlots::append_hgcalHitsPlots(), hgcalPlots::append_hgcalLayerClustersPlots(), harvestRelVal::append_sample_mcrab(), dtChamberMasker_cff::appendDTChamberMaskerAtHLT(), CommonMethods::appendSqliteFile(), cmsswVersionTools.PickRelValInputFiles::apply(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), BeamSpotWorkflow::aselectFilesToProcess(), utils::ask_ok(), utils_v2::auth_download_file(), fetchall_from_DQM_v2::auth_wget(), utils_v2::auth_wget(), heppy_batch::batchScriptCERN(), heppy_batch::batchScriptPSI(), core.TreeAnalyzerNumpy.TreeAnalyzerNumpy::beginLoop(), plotscripts::bellcurves(), GenObject.GenObject::blurEvent(), diffTrackingNtuple::body(), PixelTrackBuilder::build(), psClasses.BuildThread::build(), cmsHarvester::build_dataset_list(), dataset.CMSDataset::buildListOfFilesDBS(), utilities::cache(), dirstructure.Directory::calcStats(), ValidationMatrix::call_compare_using_files(), heppy_loop::callBack(), edmIntegrityCheck::callback(), castorBaseDir::castorBaseDir(), TauDQMHistPlotter::cfgEntryAxisX::cfgEntryAxisX(), TauDQMHistPlotter::cfgEntryAxisY::cfgEntryAxisY(), TauDQMHistPlotter::cfgEntryDrawJob::cfgEntryDrawJob(), TauDQMHistPlotter::cfgEntryDrawOption::cfgEntryDrawOption(), TauDQMHistPlotter::cfgEntryLabel::cfgEntryLabel(), TauDQMHistPlotter::cfgEntryLegend::cfgEntryLegend(), das_client::check_auth(), CrabHelper.CrabHelper::check_crabtask(), combineBTagCalibrationData::check_csv_data(), harvestRelVal::check_dset(), das_client::check_glidein(), ValidationMatrix::check_root_files(), batchmanager.BatchManager::CheckBatchScript(), alcaDQMUpload::checkFileName(), contentValuesLib::checkFilter(), customizeHLTforCMSSW::checkHLTfor43774(), ValidationOptions_cff::checkOptionsForBadInput(), GlobalTag.GlobalTag::checkPrefix(), batchHippy.MyBatchManager::checkProxy(), alcaDQMUpload::checkSSL(), edmStreamStallGrapher::chooseParser(), visDQMUtils::classifyDQMFile(), TkAlMap.TkAlMap::clean_up(), cmsswFiletrace::cleanupenv(), cmsswConfigtrace::cleanupenv(), VarParsing.VarParsing::clearList(), python.rootplot.core::cli_rootplot(), shell::close_connections(), utils::code_generator(), cmsswConfigtrace::collect_trace(), electronDataDiscovery::common_search(), compareDQMOutput::compare(), EcalCondTools::compare(), ValidationMatrix_v2.ReleaseComparison::compare(), GenObject.GenObject::compareTwoTrees(), bookConverter::compute(), Page1Parser.Page1Parser::ComputeTotalPrescales(), cms::config(), helper::ConfigSectionMap(), submitPVValidationJobs::ConfigSectionMap(), RecoTauValidation_cfi::ConvertDrawJobToLegacyCompare(), HltComparatorCreateWorkflow::ConvertHltOnlineToOffline(), Utilities::convertToUnscheduled(), conddbCopyTest::copy(), popcon2dropbox::copy(), mps_setup_new_align::copy_default_templates(), command_line::copy_tag(), createPayload::copyToWorkflowdir(), JetReCalibrator.JetReCalibrator::correctAll(), plotscripts::corrections2D(), DeadROCCounter_Phase1::countBadROCBarrel(), DeadROCCounter_Phase1::countBadROCForward(), CommonMethods::cp(), crabFunctions::crabCommandProcess(), plotting.AggregateBins::create(), bookConverter::create_declaration(), compareHistograms::create_dif(), harvestRelVal::create_harvest(), hgcalPlots::create_hgcalTrackstersPlotter(), cmsHarvester::create_multicrab_config(), tools::create_single_iov_db(), testtree::create_tree(), edmStreamStallGrapher::createAsciiImage(), alignmentValidation::createCanvasesList(), alignmentValidation::createCanvasToIDList(), SteerMultipleCompare::CreateDirectory(), alignmentValidation::createDirectoryStructure(), convertParamsToOnlineFormat::createMIF(), heppy_loop::createOutputDir(), edmStreamStallGrapher::createPDFImage(), plotscripts::createPeaksProfile(), pickleFileCreater::createPickleFile(), PhaseITreeProducer.ModuleLvlValuesReader::CreateTree(), PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2(), CommonMethods::createWeightedPayloads(), CommonMethods::createWeightedPayloadsNew(), MatrixReader.MatrixReader::createWorkFlows(), convertParamsToOnlineFormat::createXML(), muonCustoms::csc_PathVsModule_SanityCheck(), customHGCdigitizer_cfi::customHGCdigitizer(), Exotica_HSCP_SIM_cfi::customise(), Exotica_MT_SIM_cfi::customise(), customiseCheckEventSetup::customise(), muonCustoms::customise_csc_cond_ungangedME11A_mc(), slice_test_customizations_cff::customise_for_slice_test(), customizeHLTforCMSSW::customiseECALCalibrationsFor2018Input(), customiseMuNtuples_cff::customiseForMuonWorkflow(), customiseMuNtuples_cff::customiseForRunningOnMC(), customisers::customiseGenerator(), L1Trigger_custom::customiseL1Menu(), CustomConfigs::customiseL1TforHIonRepackedRAW(), CustomConfigs::customiseL1TforHIonRepackedRAWPrime(), customisers::customiseMerging(), customiseMTVForBPix123Holes::customiseMTVForBPix123Holes(), postLS1Customs::customisePostLS1(), postLS1Customs::customisePostLS1_50ns(), postLS1Customs::customisePostLS1_HI(), RecoTLR::customiseVALSKIM(), customizeMiniAOD_HcalFixLegacy2016::customizeAll(), customizeHLTIter0ToMkFit::customizeHLTIter0ToMkFit(), customizeForPhase2TrackerSignalShape::customizeSiPhase2ITSignalShape(), customizeForOTInefficiency::customizeSiPhase2OTInefficiencyFivePercent(), customizeForOTInefficiency::customizeSiPhase2OTInefficiencyOnePercent(), customizeForOTInefficiency::customizeSiPhase2OTInefficiencyTenPercent(), trackselectionRefitting::customlog(), tkal_create_file_lists::das_client(), dqmiolumiharvest::dasquery(), dqmiodatasetharvest::dasquery(), plotscripts::DBdiff(), web.dbfile2html::dbfile2html(), AlCaHLTBitMon_QueryRunRegistry::DBSquery(), ZEleEleAnalyzer.ZEleEleAnalyzer::declareHandles(), ZMuMuAnalyzer.ZMuMuAnalyzer::declareHandles(), core.TreeAnalyzerNumpy.TreeAnalyzerNumpy::declareVariables(), runTheMatrix.TheMatrix::default(), ConfigBuilder.ConfigBuilder::define_Configs(), AlCaHLTBitMon_ParallelJobs::defineOptions(), AlCaHLTBitMon_QueryRunRegistry::defineOptions(), TkAlMap.TkAlMap::detect_tracker_version(), cmssw_cycle_finder::dfs_visit(), dqmMemoryStats::displayDirectoryStatistics(), getRunRegistry::displayHelp(), DMR::DMR(), ValidationMatrix::do_comparisons_threaded(), runTheMatrix.TheMatrix::do_dumpWorkflowId(), runTheMatrix.TheMatrix::do_exit(), ValidationMatrix::do_html(), runTheMatrix.TheMatrix::do_jobs(), runTheMatrix.TheMatrix::do_predefined(), ValidationMatrix::do_reports(), runTheMatrix.TheMatrix::do_runWorkflow(), runTheMatrix.TheMatrix::do_search(), runTheMatrix.TheMatrix::do_searchInWorkflow(), runTheMatrix.TheMatrix::do_showWorkflow(), utils.BinToBin::do_test(), utils.BinToBin1percent::do_test(), WorkFlowRunner.WorkFlowRunner::doCmd(), Skims_cff::documentSkims(), SkimsHeavyIons_cff::documentSkims(), SkimsCosmics_cff::documentSkims(), alignmentValidation::doCurvaturePlotsDT(), alignmentValidation::doFitFunctionsPlotsCSC(), alignmentValidation::doFitFunctionsPlotsDT(), MassReplace.MassSearchReplaceAnyInputTagVisitor::doIt(), MassReplace.MassSearchReplaceParamVisitor::doIt(), ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::doIt(), alignmentValidation::doMapPlotsDT(), plotscripts::doTests(), plotscripts::doTestsForMapPlots(), validation.Validation::download(), TkMap_script_phase1::downloadnlineDQMhisto(), TkMap_script_phase1::downloadOfflineDQMhisto(), TkMap_script_phase1::downloadOfflinePCLhisto(), util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), dqm_diff::dqm_diff(), MergeOccDeadROC::dqm_get_dataset(), MergePCLDeadROC::dqm_get_dataset(), MergePCLFedErr::dqm_get_dataset(), PCLOthers::dqm_get_dataset(), python.ParticleDecayDrawer.ParticleDecayDrawer::draw(), plotting.Plot::draw(), TkAlMap.TkAlMap::draw_color_bar(), TkAlMap.TkAlMap::draw_text(), TkAlMap.TkAlMap::draw_TPL(), logger.logger::dump(), TreeCrawler.Package::dump(), getInfo::dumpAvailableKeys(), DEcompare< T >::DumpCandidate(), o2olib.O2OJobMgr::dumpConfig(), PhaseITreeProducer.ModuleLvlValuesReader::DumpData(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::DumpData(), getInfo::dumpDate(), getInfo::dumpSNs(), addOnTests.StandardTester::dumpTest(), EcalCondTools::dumpXML(), eGammaCorrection::eGammaCorrection(), geometryXMLtoCSV.ContentHandler::endElement(), cmsswPreprocessor.CmsswPreprocessor::endLoop(), trklet::MatchEngine::execute(), trklet::TripletEngine::execute(), trklet::MatchProcessor::execute(), trklet::TrackletProcessor::execute(), uploads.uploader::exit_upload(), l1tGTSingleInOutLUT.SingleInOutLUT::export(), Impl.AlCaPPS_Run3.AlCaPPS_Run3::expressProcessing(), Impl.AlCaNano.AlCaNano::expressProcessing(), Impl.AlCa.AlCa::expressProcessing(), ConfigBuilder::filesFromDASQuery(), ConfigBuilder::filesFromList(), cmsLHEtoEOSManager::fileUpload(), TkAlMap.TkAlMap::fill_colors(), ntuple::fillJet(), pileupCalc::fillPileupHistogram(), DBSApi_cff::FillSource(), trklet::TrackDerTable::fillTable(), commentSkipper.cppCommentSkipper::filterFile(), cppFunctionSkipper::filterFile(), tmtt::TrkRZfilter::filterTracks(), harvestRelVal::find_dqmref(), edmTracerCompactLogViewer::findMatchingTransition(), MultipleCompare::FindParents(), dataset.CMSDataset::findPrimaryDatasetEntries(), dataset.PrivateDataset::findPrimaryDatasetEntries(), dataset.CMSDataset::findPrimaryDatasetNumFiles(), dataset.PrivateDataset::findPrimaryDatasetNumFiles(), plotBaryCentre_VS_BeamSpot::findRunIndex(), customisers::fix_input_tags(), relval_machine::fix_run(), cmsswSequenceInfo::formatsequenceinfo(), mps_fire::forward_proxy(), validateAlignments::forward_proxy(), submitPVValidationJobs::forward_proxy(), submitPVResolutionJobs::forward_proxy(), submitDQMOfflineCAF::Func_Exit(), submitDQMOfflineCAF::Func_ExitBool(), submitDQMOfflineCAF::Func_ExitUsage(), getRunInfo::Func_FillInfoDBS(), getRunInfo::Func_FillInfoRunRegistry(), submitDQMOfflineCAF::Func_MagConfig(), submitDQMOfflineCAF::Func_Usage(), utils::functor(), cms::generate(), pkg.AbstractPkg::generate(), models::generate(), generateGeometry.GeometryGenerator::generateGeom(), main::generator(), useReflexToDescribeForGenObject::genObjectDef(), gemGeometryCustoms::geomReplace(), directories2html::get_aggr_pairs_info(), Mpslibclass.jobdatabase::get_class(), ValidationMatrix::get_clean_fileanames(), harvestRelVal::get_cond_from_dsetpath(), das::get_data(), dataLoader::get_data(), das_client::get_data(), ValidationMatrix::get_filenames_from_pool(), run_AlCaRecoTriggerBitsUpdateWorkflow::get_iovs(), tools::get_iovs(), pkg.AbstractPkg::get_kwds(), beamvalidation::get_lastIOVs(), beamvalidation::get_listoftags(), beamvalidation::get_plots(), tools::get_process_object(), web.app_utils::get_release_summary_stats(), ValidationMatrix::get_roofiles_in_dir(), utils_v2::get_size_to_download(), tools::get_tags(), uploadConditions::get_version(), uploadConditions_v2::get_version(), MatrixInjector.MatrixInjector::get_wmsplit(), getRunAppsInfo::getAppPID(), run_AlCaRecoTriggerBitsUpdateWorkflow::getCommandOutput(), ws_sso_content_reader::getContent(), JetReCalibrator.JetReCalibrator::getCorrection(), AlCaHLTBitMon_QueryRunRegistry::getData(), G2GainsValidator::getExpressGT(), edmPickEvents::getFileNames_das_client(), edmPickEvents::getFileNames_dasgoclient(), dataset.Dataset::getfiles(), findQualityFiles::getGoodBRuns(), findQualityFiles::getGoodQRuns(), TkMap_script_phase1::getGT(), getGTfromDQMFile_V2::getGTfromDQMFile(), uploadConditions::getInputChoose(), uploadConditions_v2::getInputChoose(), uploadConditions::getInputRepeat(), uploadConditions_v2::getInputRepeat(), uploadConditions::getInputWorkflow(), uploadConditions_v2::getInputWorkflow(), production_tasks.MonitorJobs::getjobid(), BeamSpotWorkflow::getLastUploadedIOV(), Inspector.Inspector::GetListObjects(), BeamSpotWorkflow::getListOfRunsAndLumiFromDBS(), checkRuns::getListOfRunsAndLumiFromRR(), checkPayloads::getListOfRunsAndLumiFromRR(), BeamSpotWorkflow::getListOfRunsAndLumiFromRR(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getMETUncertainties(), DeadROCCounter::GetNonZeroOccNumber(), EcalCondTools::getObject(), useReflexToDescribeForGenObject::getObjectList(), makeHLTPrescaleTable::getProcessObjectFromConfDB(), util.rrClient::getRunsNewer(), EcalCondTools::getToken(), logger.logger::gitdiff(), querying_tests::global_tag_tests(), grid1d_t(), ValidationMatrix::guess_blacklists(), ValidationMatrix::guess_params(), heppy_hadd::hadd(), heppy_hadd::haddChunks(), heppy_hadd::haddRec(), Page1Parser.Page1Parser::handle_starttag(), dumpRecoGeometry_cfg::help(), dumpSimGeometry_cfg::help(), dataformats::help(), cmsswFiletrace::help(), cmsswConfigtrace::help(), VarParsing.VarParsing::help(), runTheMatrix.TheMatrix::help_dumpWorkflowId(), runTheMatrix.TheMatrix::help_jobs(), runTheMatrix.TheMatrix::help_predefined(), runTheMatrix.TheMatrix::help_runWorkflow(), runTheMatrix.TheMatrix::help_search(), runTheMatrix.TheMatrix::help_searchInWorkflow(), runTheMatrix.TheMatrix::help_showWorkflow(), hgcalDigitizer_cfi::HGCal_setRealisticStartupNoise_fixedSiPMTileAreasAndSN(), overlapValidationPlot::hist(), EcalCondTools::histo(), dataformats::importDF(), dataformats::indent(), dqmd_manager::info(), QGLikelihoodCalculator.QGLikelihoodCalculator::init(), BTagWeightCalculator.BTagWeightCalculator::init(), utils_v2::init_database(), VIDSelectorBase.VIDSelectorBase::initialize(), fileTransfer::injectFile(), crabhelper::inputFiles(), RandomRunSource.RandomRunSource::insertInto(), Eras.Eras::inspect(), Eras.Eras::inspectEra(), Eras.Eras::inspectModifier(), MatrixUtil.WF::interpret(), das_client::keys_attrs(), customiseReEmul::L1TAddBitwiseLayer1(), customiseUtils::L1TAddDebugOutput(), customiseDemo::L1TBasicDemo(), customiseUtils::L1TDumpEventData(), customiseUtils::L1TGlobalDigisSummary(), customiseUtils::L1TGlobalSimDigisSummary(), customiseUtils::L1TGtStage2ComparisonRAWvsEMU(), customiseDemo::L1THLTDemo(), customiseReEmul::L1TReEmulFromRAW(), customiseReEmul::L1TReEmulFromRAW2015(), customiseSettings::L1TSettingsToCaloStage2Params_UserDefine(), customiseUtils::L1TStage1DigisSummary(), customiseUtils::L1TStage1SimDigisSummary(), customiseUtils::L1TStage2ComparisonRAWvsEMU(), customiseUtils::L1TStage2DigisSummary(), customiseUtils::L1TStage2SimDigisSummary(), trackerTFP::LayerEncoding::LayerEncoding(), python.diffProv.difference::list_diff(), command_line::list_object(), iov_list_tag::list_tag(), MatrixToProcess.MatrixToProcess::listAll(), o2olib.O2OJobMgr::listConfig(), helpers::listDependencyChain(), EcalCondTools::listIovs(), EcalCondTools::listTags(), utils::literal2root(), MatrixToProcess.MatrixToProcess::load(), loadlibs::load_libs(), python.rootplot.core::load_matplotlib(), TkAlMap.TkAlMap::load_tree(), TkAlMap.TkAlMap::load_var(), GenObject.GenObject::loadConfigFile(), ConfigBuilder.ConfigBuilder::loadDefaultOrSpecifiedCFF(), environment_cfi::loadDQMRunConfigFromFile(), GenObject.GenObject::loadEventFromTree(), generateEDF::loadEvents(), VarParsing.VarParsing::loadFromFile(), FileUtils::loadListFromFile(), python.rootplot.utilities::loadROOT(), ROOTData::loadStreamerInfo(), plotscripts::loadTestResultsMap(), mkLumiAveragedPlots::log(), conddbCopyTest.CopyTest::log(), conditionUploadTest.UploadTest::log(), dirstructure::logger(), utils::logger(), fileCollector2::logme(), producerFileCleanner::logme(), fileCollector::logme(), Inspector.Inspector::Loop(), looper.Looper::loop(), geometryDiff::loopover(), motionPolicyChamber::loopover(), CommonMethods::ls(), dqm_interfaces.DQMcommunicator::ls_url(), copyAndRename::main(), copyFiles::main(), rename::main(), cudaPreallocate::main(), generateStandaloneCode::main(), allPlotsResiduals::main(), cmsScimarkStop::main(), GCP_TkAlMap::main(), buildHistoTypes::main(), uploadPayloads::main(), uploader::main(), get_ES_gain_from_tag::main(), makeHippyCampaign::main(), PrescaleChecker::main(), combineBTagCalibrationData::main(), splitter::main(), printTrackingNtuple::main(), magneticFieldFilterJSON::main(), makeTrackValidationPlots::main(), makeHGCalValidationPlots::main(), mps_parse_pedechi2hist::main(), mps_setup_new_align::main(), produceOfflineValidationTex::main(), runall::main(), generateFlavCfromFlavB::main(), diffTrackingNtuple::main(), storeTreeInfo::main(), python.rootplot.rootinfo::main(), run_AlCaRecoTriggerBitsUpdateWorkflow::main(), makeListRunsInFiles::main(), checkRuns::main(), conddbCopyTest::main(), SteerMultipleCompare::main(), das::main(), condhdf5tohdf5::main(), heppy_loop::main(), checkPayloads::main(), conditionUploadTest::main(), validateAlignments::main(), MergeOccDeadROC::main(), MergePCLFedErr::main(), PCLOthers::main(), MergePCLDeadROC::main(), showPage::main(), addOnTests::main(), alcaDQMUpload::main(), cmsswFiletrace::main(), python.rootplot.tree2hists::main(), MultipleCompare::main(), timingPdfMaker::main(), cmsswConfigtrace::main(), das_client::main(), BeamSpotWorkflow::main(), conddb2hdf5::main(), submitPVValidationJobs::main(), uploadConditions::main(), python.rootplot.tree2hists::make_all_hists_all_files(), harvestRelVal::make_dbs_list(), utils_v2::make_file_pairs(), utils::make_files_pairs(), generateEDF::makeEDFplot(), groupFilesInBlocks::makeJobBlock(), RecoTauValidation_cfi::MakeLabeler(), gen.GeneratorAnalyzer.GeneratorAnalyzer::makeMCInfo(), batchmanager.BatchManager::ManageOutputDir(), cmsSimplememchecker_parser::manipulate_log(), cmsTiming_parser::manipulate_log(), cmsScimarkParser::manipulate_log(), plotscripts::mapplot(), MatrixUtil::merge(), python.rootplot.core::merge_pdf(), mergeVDriftHistosByStation::mergeHistosWheelSector(), mergeVDriftHistosByStation::mergeHistosWheelStation(), cmsswVersionTools.PickRelValInputFiles::messageEmptyList(), miniAodFiles::miniAodFiles(), batchHippy.MyBatchManager::mkdir(), batchmanager.BatchManager::mkdir(), submitPVResolutionJobs::mkdir_eos(), submitPVValidationJobs::mkdir_eos(), createPayload::mkWorkflowdir(), python.diffProv.difference::module_diff(), production_tasks.MonitorJobs::monitor(), MTS::MTS(), electronCompare::mysystem(), electronStore::mysystem(), jetsAK4_Puppi_cff::nanoAOD_addDeepInfoAK4(), jetsAK4_CHS_cff::nanoAOD_addDeepInfoAK4CHS(), jetsAK8_cff::nanoAOD_addDeepInfoAK8(), python.rootplot.rootmath::newadd(), batchHippy.MyBatchManager::notify(), python.diffProv.difference::onefilemodules(), std::operator<<(), cmsHarvester::option_handler_list_types(), cmsDriverOptions::OptionsFromItems(), diffTrackingNtuple::outOfOrder(), getPayloadData::output(), compare::overlay(), uploadConditions::parse_arguments(), uploadConditions_v2::parse_arguments(), command_line::parse_command_line(), VarParsing.VarParsing::parseArguments(), createTree::parseDir(), Page1Parser.Page1Parser::ParseL1Page(), Page1Parser.Page1Parser::ParseLumiPage(), convertParamsToOnlineFormat::parseOfflineLUTfile(), cond2xml.CondXmlProcessor::payload2xml(), MatrixInjector::performInjectionOptionTest(), plotscripts::phiedges2c(), Photon.Photon::photonIDCSA14(), plotResiduals::plot(), plotResidualsCosmics::plot(), plotVDriftFromHistos::plot(), plotTTrigFromHistos::plot(), plotT0FromHistos::plot(), EcalCondTools::plot(), plotResidualsPerLayer::plot(), TkAlMap.TkAlMap::plot_variable_distribution(), plotResidualsPerLayer::plotFromFile(), plotResidualsPerLayer::plotResLayer(), plotscripts::polynomials(), plotscripts.SawTeethFunction::pp(), postprocessor.PostProcessor::prefetchFile(), cmsswPreprocessor.CmsswPreprocessor::prefetchOneXrootdFile(), MatrixInjector.MatrixInjector::prepare(), MatrixReader.MatrixReader::prepare(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCAHARVEST(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_GEN(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_L1HwVal(), ConfigBuilder.ConfigBuilder::prepare_L1REPACK(), TkAlMap.TkAlMap::prepare_map_colors(), ConfigBuilder.ConfigBuilder::prepare_NANO(), ConfigBuilder.ConfigBuilder::prepare_RAW2RECO(), ConfigBuilder.ConfigBuilder::prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder::prepare_SKIM(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), batchmanager.BatchManager::PrepareJob(), batchmanager.BatchManager::PrepareJobs(), cmsBatch.MyBatchManager::PrepareJobUser(), batchmanager.BatchManager::PrepareJobUser(), heppy_batch.MyBatchManager::PrepareJobUser(), PixelMapPlotter.HistogramManager::prettifyCanvas(), PDRates::PrimaryDatasets(), PFCheckHitPattern::print(), dataLoader.DataLoader::print_data(), harvestRelVal::print_def(), pkg.AbstractPkg::print_etags(), das_client::print_from_cache(), DQMIO2histo.DQMIO::print_index(), Mpslibclass.jobdatabase::print_memdb(), mps_list_evts::print_merging_scheme(), tkal_create_file_lists::print_msg(), mps_list_evts::print_num_evts_per_dataset(), dirstructure.Directory::print_report(), das_client::print_summary(), conddb_version_mgr::print_table(), o2olib::print_table(), pkg.AbstractPkg::print_tags(), config::printComps(), plotscripts::printDeltaTs(), GenObject.GenObject::printEvent(), dataset.BaseDataset::printFiles(), GenObject.GenObject::printGlobal(), ExtractAppInfoFromXML::printGrid(), createFEDtable::printHtmlTable(), dataset.BaseDataset::printInfo(), objects.IsoTrackAnalyzer::printInfo(), objects.PhotonAnalyzer.PhotonAnalyzer::printInfo(), dataset.Dataset::printInfo(), studyJets::printJetProperties(), RemoveAddSevLevel::PrintLevels(), TablePrint::PrintLine(), classes.PedeDumpData::printLog(), AlCaHLTBitMon_QueryRunRegistry::printLumi(), readConfig::printMe(), Mixing::printMe(), cmsCodeRulesChecker::printOut(), edmStreamStallGrapher::printStalledModulesInOrder(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::PrintTrackerMaps(), createFEDtable::printTwikiTable(), weight::printWeights(), ExtractAppInfoFromXML::printXMLtree(), CMSTestAnalyzer.CMSTestAnalyzer::process(), Printer.Printer::process(), core.Analyzer.Analyzer::process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.EventSelector.EventSelector::process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), analyzer.Analyzer::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), python.rootplot.core.Options::process_configs(), das-selected-lumis::process_lumi(), cmsHarvester::process_runs_use_and_ignore_lists(), hgcalPerformanceValidation::processCmd(), VIDSelectorValidator.VIDSelectorValidator::processEvents(), VIDSelectorValidator.VIDSelectorValidator::processInputList(), cmsswSequenceInfo::processseqs(), RPCUnpackingModule::produce(), L1TGlobalProducer::produce(), __class__< T >::produce(), EcalTrigPrimProducer::produce(), Impl.AlCaNano.AlCaNano::promptReco(), Impl.AlCaPPS_Run3.AlCaPPS_Run3::promptReco(), Reco.Reco::promptReco(), dirstructure.Directory::prune(), Config.Process::prune(), edmIntegrityCheck.PublishToFileSystem::publish(), PV::PV(), MetAnalyzer::pv(), das::query(), PDRates::RateInPD(), bookConverter::read_data(), Mpslibclass.jobdatabase::read_db(), harvestRelVal::read_ds_file(), CommonMethods::readBeamSpotFile(), plotting.PlotterItem::readDirs(), MainPageGenerator.MainPageGenerator::ReadFile(), PhaseITreeProducer.ModuleLvlValuesReader::ReadHistograms(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::ReadHistograms(), InefficientDoubleROC.InefficientDeadROCs::ReadHistograms(), crabFunctions.CrabTask::readLogArch(), MatrixReader.MatrixReader::readMatrix(), GenerateHcalLaserBadRunList::ReadNewList(), lumiregperbunch::readroot(), CommonMethods::readSqliteFile(), core.AutoHandle.AutoHandle::ReallyLoad(), MultipleCompare::Rebin(), custom_jme_cff::ReclusterAK4CHSJets(), custom_jme_cff::ReclusterAK4GenJets(), custom_jme_cff::ReclusterAK4PuppiJets(), dumpRecoGeometry_cfg::recoGeoLoad(), pfTools::reconfigurePF2PATTaus(), python.rootplot.rootinfo::recurse_thru_file(), utils_v2::recursive_search_online(), batchHippy.MyBatchManager::redirectProxy(), VarParsing.VarParsing::register(), alcaDQMUpload::registerFileAtLogServer(), MatrixUtil::remove(), tools::remove_existing_object(), RecoTauValidation_cfi::RemoveComparisonPlotCommands(), customizeForNoTrackerDCS::removeDCSChecks(), TreeCrawler::removeRecursiveLoops(), BeamSpotWorkflow::removeUncompleteRuns(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), tools::replaceTemplate(), edmIntegrityCheck.IntegrityCheck::report(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), python.rootplot.core::report_progress(), querying.connection::rollback(), heppy_report::root2map(), python.rootplot.core::rootplot(), cmsDriver::run(), cmsswPreprocessor.CmsswPreprocessor::run(), WorkFlowRunner.WorkFlowRunner::run(), L1GlobalTriggerGTL::run(), postprocessor.PostProcessor::run(), popcon2dropbox::run(), generateGeometry.GeometryGenerator::run(), plotBaryCentre_VS_BeamSpot::Run(), dqm_interfaces.DirWalkerDB::run(), production_tasks.RunCMSBatch::run(), production_tasks.MonitorJobs::run(), checkBTagCalibrationConsistency::run_check_data(), tools::run_checked(), hippyaddtobaddatafiles::runcfg(), l1t::GlobalBoard::runGTL(), heppy_loop::runLoopAsync(), batchmanager.BatchManager::RunningMode(), cmsCodeRulesChecker::runRules(), crabhelper::runsAndLumis(), runTheMatrix::runSelected(), runTauIdMVA.TauIDEmbedder::runTauID(), MatrixRunner.MatrixRunner::runTests(), addOnTests.StandardTester::runTests(), VIDSelectorValidator.VIDSelectorValidator::runValidation(), uploadConditions::runWizard(), uploadConditions_v2::runWizard(), TkAlMap.TkAlMap::save(), interactivePythonTest::save_history(), root2sqlite::save_keyvalue(), compareHistograms::save_paths(), histoStyle::savePlots(), GenObject.GenObject::saveTupleAs(), TreeCrawler.mymf::scan_opcodes_25(), dataformats::search(), electronDataDiscovery::search(), utils_v2::search_on_disk(), duplicateReflexLibrarySearch::searchClassDefXml(), duplicateReflexLibrarySearch::searchDuplicatePlugins(), cmsswFiletrace::searchinpath(), cmsswConfigtrace::searchinpath(), tmtt::TrkRZfilter::seedFilter(), MatrixUtil::selectedLS(), BeamSpotWorkflow::selectFilesToProcess(), uploads.uploader::send_metadata(), CommonMethods::sendEmail(), query::sendMessage(), cmsswSequenceInfo::serve(), cmsswConfigtrace::serve_main(), AlCaHLTBitMon_QueryRunRegistry::serverQuery(), pbsource_cfi::set_BeamSplashRun_settings(), inputsource_cfi::set_BeamSplashRun_settings(), TkAlMap.TkAlMap::set_colorbar_axis(), TkAlMap.TkAlMap::set_colorbar_colors(), TkAlMap.TkAlMap::set_var(), RecoTauValidation_cfi::SetBaseDirectory(), VarParsing.VarParsing::setDefault(), GenObject.GenObject::setEquivExpression(), VarParsing.VarParsing::setNoCommaSplit(), VarParsing.VarParsing::setNoDefaultClear(), trklet::MatchEngineUnit::setprint(), optutl::CommandLineParser::setPrintOptoins(), VarParsing.VarParsing::setType(), GeneralSetup::setup(), mps_alisetup.SetupAlignment::setup(), DTCalibrationWorker.DTCalibrationWorker::setup_crab_env(), jetTools::setupBTagging(), cmsswFiletrace::setupenv(), cmsswConfigtrace::setupenv(), VarParsing.VarParsing::setupTags(), RecoTauValidation_cfi::SetYmodulesToLog(), storeTreeInfo.TreeAnalyzer::show(), MatrixReader.MatrixReader::show(), conddb_version_mgr.conddb_tool::show_tag_boost_version(), Formatter.SimpleAsciiFormatter::showLine(), MatrixReader.MatrixReader::showRaw(), dqmiodumpmetadata::showrow(), MatrixReader.MatrixReader::showWorkFlows(), dumpSimGeometry_cfg::simGeoLoad(), JanAlignmentAlgorithm::solve(), CommonMethods::sortAndCleanBeamList(), ValidationUtils::SpawnPSet(), cmsCodeRulesChecker::splitPaths(), python.rootplot.utilities.HistStack::stackmax(), logger.logger::stageIn(), logger.logger::stageOut(), geometryXMLtoCSV.ContentHandler::startElement(), alcaDQMUpload::startUpload(), crabFunctions.CrabController::status(), tools::stdinWait(), submitPVValidationJobs::submit(), MatrixInjector.MatrixInjector::submit(), batchmanager.BatchManager::SubmitJob(), batchmanager.BatchManager::SubmitJobArray(), batchHippy.MyBatchManager::submitJobs(), batchmanager.BatchManager::SubmitJobs(), PV_cfg::switchClusterizerParameters(), genvalidTools::switchGenSource(), pfTools::switchToPFJets(), pfTools::switchToPFMET(), conddb_migrate::tags_in_gts(), edmIntegrityCheck.IntegrityCheck::test(), tier0::test(), data_formats_tests.data_formats_tests::test_dicts_to_orm_objects(), utils::test_env(), edmIntegrityCheck.IntegrityCheck::testFileTimeOut(), edmTracerCompactLogViewer::textOutput(), ROOTData::tfile_cd(), ThrowAndSetRandomRun::throwAndSetRandomRun(), lumiregperbunch::timeof(), CommonMethods::timeoutManager(), GCPpyPlots::TkAlMap_plots(), TkOnlyDigi_cff::TkOnlyDigi(), coreTools.RunOnData::toolCode(), coreTools.RemoveMCMatching::toolCode(), trigTools.SwitchOnTrigger::toolCode(), trigTools.SwitchOnTriggerStandAlone::toolCode(), tauTools.AddTauCollection::toolCode(), trigTools.SwitchOnTriggerMatching::toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone::toolCode(), trigTools.SwitchOnTriggerMatchEmbedding::toolCode(), cmsswConfigtrace::trace_python(), PixelMapPlotter::TranslatePartString(), PixelMapPlotter::TranslateReasonStringBPix(), PixelMapPlotter::TranslateReasonStringFPix(), utils::tree(), python.rootplot.tree2hists::tree2hists_main(), root2sqlite::treetotable(), plot_hgcal_utils::TwikiPrintout(), RefreshWebPage::unpackRelease(), crabFunctions.CrabTask::updateJobStats(), popcon2dropbox::upload(), compareDQMOutput::upload(), addOnTests.StandardTester::upload(), MatrixInjector.MatrixInjector::upload(), uploadConditions::upload(), compareDQMOutput::upload_to_gui(), MatrixInjector.MatrixInjector::uploadConf(), dqmiolumiharvest::uploadfile(), CommonMethods::uploadSqliteFile(), buildHistoTypes::usage(), PrescaleChecker::usage(), EcalCondDB::usage(), loadConditions::usage(), timingPdfMaker::usage(), dqmd_manager::usage(), genvalidTools::useExternalWeight(), pfTools::usePF2PAT(), dumpSimGeometry_cfg::versionCheck(), dumpRecoGeometry_cfg::versionCheck(), Reco.Reco::visualizationProcessing(), dqm_interfaces.DirWalkerFile::walk(), compare_using_files_v2.RootFileComparison::walk_through(), python::warn(), GenObject::warn(), pfTools::warningIsolation(), utils::wget(), Formatter.SimpleAsciiFormatter::write(), uploads.output::write(), TriggerAnalyzer::write(), python.rootplot.core::write_config(), python.rootplot.tree2hists::write_default_T2H_config(), mps_fire::write_HTCondor_submit_file_pede(), uploads.uploader::write_server_side_log(), DQMIO2histo.DQMIO::write_to_file(), Formatter.SimpleAsciiFormatter::writeB(), Formatter.SimpleAsciiFormatter::writeBr(), plotscripts::writeDQMReport(), MainPageGenerator.MainPageGenerator::WriteFile(), Formatter.SimpleAsciiFormatter::writeH1(), Formatter.SimpleAsciiFormatter::writeH2(), Formatter.SimpleAsciiFormatter::writeH3(), hdf5Writer::writeH5File(), cmsswFiletrace::writeoutput(), cmsswConfigtrace::writeoutput(), Formatter.SimpleAsciiFormatter::writeRow(), CommonMethods::writeSqliteFile(), and haddnano::zeroFill().

47  {
48  if (mathematicaFormat) {
49  printf("{");
50  for (int i = 0; i < m.GetNrows(); i++) {
51  if (i > 0)
52  printf(", ");
53  printf("{");
54  for (int j = 0; j < m.GetNcols(); j++) {
55  if (j > 0)
56  printf(", ");
57  printf("%.3f", m[i][j]);
58  }
59  printf("}");
60  }
61  printf("}\n");
62  return;
63  }
64 
65  if (label)
66  printf("\n%s\n", label);
67 
68  printf(" | ");
69  for (int j = 0; j < m.GetNcols(); j++)
70  printf(" %9i", j);
71  printf("\n------");
72  for (int j = 0; j < m.GetNcols(); j++)
73  printf("----------");
74  printf("\n");
75 
76  for (int i = 0; i < m.GetNrows(); i++) {
77  printf("%3i | ", i);
78  for (int j = 0; j < m.GetNcols(); j++) {
79  double v = m[i][j];
80  if (fabs(v) >= 1E4)
81  printf(" %+9.2E", v);
82  else if (fabs(v) > 1E-6)
83  printf(" %+9.2E", v);
84  else
85  printf(" 0");
86  }
87  printf("\n");
88  }
89 }
char const * label

◆ printId()

void printId ( unsigned int  id)

Definition at line 26 of file Utilities.cc.

References CTPPSDetId::arm(), hcalRecHitTable_cff::detId, CTPPSPixelDetId::plane(), CTPPSDiamondDetId::plane(), TotemRPDetId::plane(), CTPPSDetId::rp(), CTPPSDetId::sdTimingDiamond, CTPPSDetId::sdTrackingPixel, CTPPSDetId::sdTrackingStrip, and CTPPSDetId::station().

Referenced by StraightTrackAlignment::finish(), LocalTrackFitter::fitAndRemoveOutliers(), PPSFastLocalSimulation::GenerateTrack(), and AlignmentGeometry::print().

26  {
27  CTPPSDetId detId(id);
28 
29  if (detId.subdetId() == CTPPSDetId::sdTrackingStrip) {
30  TotemRPDetId stDetId(id);
31  printf("strip %u (%3u.%u)", id, 100 * stDetId.arm() + 10 * stDetId.station() + stDetId.rp(), stDetId.plane());
32  }
33 
34  if (detId.subdetId() == CTPPSDetId::sdTimingDiamond) {
35  CTPPSDiamondDetId diDetId(id);
36  printf("dimnd %u (%3u.%u)", id, 100 * diDetId.arm() + 10 * diDetId.station() + diDetId.rp(), diDetId.plane());
37  }
38 
39  if (detId.subdetId() == CTPPSDetId::sdTrackingPixel) {
40  CTPPSPixelDetId piDetId(id);
41  printf("pixel %u (%3u.%u)", id, 100 * piDetId.arm() + 10 * piDetId.station() + piDetId.rp(), piDetId.plane());
42  }
43 }
Detector ID class for TOTEM Si strip detectors.
Definition: TotemRPDetId.h:30
Base class for CTPPS detector IDs.
Definition: CTPPSDetId.h:32
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...