#include "RecoTracker/MkFitCore/src/Matriplex/MatriplexCommon.h"
#include "RecoTracker/MkFitCMS/standalone/buildtestMPlex.h"
#include "RecoTracker/MkFitCore/interface/HitStructures.h"
#include "RecoTracker/MkFitCore/interface/MkBuilder.h"
#include "RecoTracker/MkFitCore/src/MkFitter.h"
#include "RecoTracker/MkFitCMS/interface/MkStdSeqs.h"
#include "RecoTracker/MkFitCMS/standalone/MkStandaloneSeqs.h"
#include "RecoTracker/MkFitCore/interface/Config.h"
#include "RecoTracker/MkFitCore/standalone/ConfigStandalone.h"
#include "RecoTracker/MkFitCore/standalone/Event.h"
#include "RecoTracker/MkFitCore/src/MaterialEffects.h"
#include "RecoTracker/MkFitCore/standalone/Validation.h"
#include "RecoTracker/MkFitCore/src/Debug.h"
#include "RecoTracker/MkFitCMS/standalone/Shell.h"
#include "oneapi/tbb/task_arena.h"
#include "oneapi/tbb/parallel_for.h"
#include <oneapi/tbb/global_control.h>
#include <cstdlib>
#include <limits>
#include <list>
#include <sstream>
#include <memory>
#include "RecoTracker/MkFitCMS/standalone/deadmodules.h"
#include <fenv.h>
Go to the source code of this file.
Typedefs | |
typedef lStr_t::iterator | lStr_i |
typedef std::list< std::string > | lStr_t |
Functions | |
template<typename T , typename U > | |
std::string | getOpt (const T &c_opt, const U &g_opt_map) |
bool | has_suffix (const std::string &str, const std::string &suffix) |
void | init_deadvectors () |
void | initGeom () |
template<typename U > | |
void | listOpts (const U &g_opt_map) |
int | main (int argc, const char *argv[]) |
void | next_arg_or_die (lStr_t &args, lStr_i &i, bool allow_single_minus=false) |
template<typename T , typename U > | |
void | setOpt (const std::string &cmd_ln_str, T &c_opt, const U &g_opt_map, const std::string &ex_txt) |
void | test_standard () |
Variables | |
std::vector< DeadVec > | deadvectors |
std::string getOpt | ( | const T & | c_opt, |
const U & | g_opt_map | ||
) |
Definition at line 178 of file mkFit.cc.
References DMR_cfg::cerr, relativeConstraints::empty, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by main().
bool has_suffix | ( | const std::string & | str, |
const std::string & | suffix | ||
) |
void init_deadvectors | ( | ) |
Definition at line 47 of file mkFit.cc.
References deadvectors, and mkfit::Config::TrkInfo.
Referenced by initGeom().
void initGeom | ( | ) |
Definition at line 52 of file mkFit.cc.
References gather_cfg::cout, mkfit::ConfigJson::dump(), relativeConstraints::empty, mkfit::execTrackerInfoCreatorPlugin(), personalPlayback::fn, mkfit::Config::geomPlugin, init_deadvectors(), mkfit::Config::ItrInfo, mkfit::Config::json_dump_after, mkfit::Config::json_dump_before, mkfit::Config::json_load_filenames, mkfit::Config::json_patch_filenames, mkfit::Config::json_save_iters_fname_fmt, mkfit::Config::json_save_iters_include_iter_info_preamble, mkfit::Config::json_verbose, mkfit::ConfigJson::patch_Files(), mkfit::ConfigJson::patchLoad_File(), edmIntegrityCheck::report, mkfit::ConfigJson::save_Iterations(), mkfit::IterationsInfo::setupStandardFunctionsFromNames(), and mkfit::Config::TrkInfo.
Referenced by main(), and test_standard().
void listOpts | ( | const U & | g_opt_map | ) |
Definition at line 200 of file mkFit.cc.
References gather_cfg::cout.
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 477 of file mkFit.cc.
References dir2webdir::argc, GCPpyPlots::argv, cms::cuda::assert(), mkfit::Config::backwardFit, mkfit::Config::backwardSearch, DMR_cfg::cerr, mkfit::Config::cf_fitting, mkfit::Config::cf_seeding, mkfit::cleanSeedsBadLabel, mkfit::cleanSeedsN2, mkfit::cleanSeedsPure, mkfit::Config::cmsSelMinLayers, mkfit::Config::cmssw_val, mkfit::Config::cmsswMatchingBK, mkfit::Config::cmsswMatchingFW, mkfit::cmsswSeeds, deadvectors, mkfit::Config::dumpForPlots, beamvalidation::exit(), mkfit::Config::finderReportBestOutOfN, mkfit::Config::fit_val, mkfit::Config::geomPlugin, getOpt(), mkfit::hitBased, mps_fire::i, mkfit::Config::includePCA, mkfit::Config::inclusiveShorts, initGeom(), mkfit::Config::json_dump_after, mkfit::Config::json_dump_before, mkfit::Config::json_load_filenames, mkfit::Config::json_patch_filenames, mkfit::Config::json_save_iters_fname_fmt, mkfit::Config::json_save_iters_include_iter_info_preamble, mkfit::Config::json_verbose, mkfit::Config::keepHitInfo, mkfit::Config::kludgeCmsHitErrors, mkfit::labelBased, listOpts(), mkfit::Config::loopOverFile, MPT_SIZE, mkfit::Config::mtvLikeValidation, mkfit::Config::mtvRequireSeeds, mkfit::Const::nan_etc_sigs_enable, mkfit::Config::nEvents, next_arg_or_die(), mkfit::Config::nItersCMSSW, mkfit::Config::nMinFoundHits, mkfit::noCleaning, mkfit::Config::nTracks, mkfit::Config::numHitsPerTask, mkfit::Config::numSeedsPerTask, mkfit::Config::numThreadsEvents, mkfit::Config::numThreadsFinder, mkfit::Config::numThreadsSimulation, mkfit::Config::quality_val, mkfit::Config::readCmsswTracks, mkfit::Config::readSimTrackStates, mkfit::Config::recalculateDependentConstants(), alignCSCRings::s, mkfit::Config::seedCleaning, mkfit::Config::seedInput, setOpt(), mkfit::Config::silent, mkfit::Config::sim_val, mkfit::Config::sim_val_for_cmssw, mkfit::simSeeds, submitPVResolutionJobs::stderr, test_standard(), mkfit::trkParamBased, mkfit::Config::tryToSaveSimInfo, mkfit::Config::useDeadModules, mkfit::Config::useHitsForDuplicates, and mkfit::Config::usePhiQArrays.
Definition at line 462 of file mkFit.cc.
References writedatasetfile::args, DMR_cfg::cerr, beamvalidation::exit(), has_suffix(), mps_fire::i, and dqmiolumiharvest::j.
Referenced by main().
void setOpt | ( | const std::string & | cmd_ln_str, |
T & | c_opt, | ||
const U & | g_opt_map, | ||
const std::string & | ex_txt | ||
) |
Definition at line 190 of file mkFit.cc.
References DMR_cfg::cerr, and beamvalidation::exit().
Referenced by main().
void test_standard | ( | ) |
Definition at line 208 of file mkFit.cc.
References cms::cuda::assert(), b, mkfit::DataFile::close(), mkfit::cmsswSeeds, gather_cfg::cout, deadvectors, dprint, mkfit::dtime(), makeMEIFBenchmarkPlots::ev, mkfit::Config::finderReportBestOutOfN, personalPlayback::fp, mps_fire::i, initGeom(), mkfit::StdSeq::loadDeads(), mkfit::StdSeq::loadHitsAndBeamSpot(), mkfit::Config::loopOverFile, mkfit::MkBuilder::make_builder(), mkfit::Validation::make_validation(), SiStripPI::min, mutex, mkfit::Config::nEvents, nevt, mkfit::Config::nItersCMSSW, mkfit::Config::numThreadsEvents, mkfit::Config::numThreadsFinder, mkfit::DataFile::openRead(), mkfit::MkBuilder::populate(), mkfit::Event::printmutex, mkfit::runBtpCe_MultiIter(), mkfit::runBuildingTestPlexBestHit(), mkfit::runBuildingTestPlexCloneEngine(), mkfit::runBuildingTestPlexDumbCMSSW(), mkfit::runBuildingTestPlexStandard(), mkfit::Config::seedInput, mkfit::Config::silent, mkfit::DataFile::skipNEvents(), AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::time, mkfit::Config::TrkInfo, mkfit::Config::useDeadModules, and heppy_batch::val.
Referenced by main().
std::vector<DeadVec> deadvectors |
Definition at line 45 of file mkFit.cc.
Referenced by init_deadvectors(), mkfit::StdSeq::loadDeads(), main(), MkFitEventOfHitsProducer::produce(), and test_standard().