MCLoopInfo.cpp
Go to the documentation of this file.
45 str msg = "Current collider \"" + _current_collider + "\" not found in MCLoopInfo::maxFailedEvents map."; 54 str msg = "Current collider \"" + _current_collider + "\" not found in MCLoopInfo::event_count map."; 63 str msg = "Current collider \"" + _current_collider + "\" not found in MCLoopInfo::convergence_options map."; 72 str msg = "Current collider \"" + _current_collider + "\" not found in MCLoopInfo::analyses map."; 81 str msg = "Current collider \"" + _current_collider + "\" not found in MCLoopInfo::detector_analyses map."; 97 const int& MCLoopInfo::current_maxFailedEvents() const { return _current_maxFailedEvents_it->second; } 103 const convergence_settings& MCLoopInfo::current_convergence_options() const { return _current_convergence_options_it->second; } 104 convergence_settings& MCLoopInfo::current_convergence_options() { return _current_convergence_options_it->second; } 106 const std::vector<str>& MCLoopInfo::current_analyses() const { return _current_analyses_it->second; } 111 if (not current_analyses_exist_for(detname)) utils_error().raise(LOCAL_INFO, "Detector "+detname); 116 if (not current_analyses_exist_for(detname)) utils_error().raise(LOCAL_INFO, "Detector "+detname); std::map< str, int > event_count Number of events generated for each collider. Definition: MCLoopInfo.hpp:46 std::map< str, int >::iterator _current_event_count_it Iterator to the current event count. Definition: MCLoopInfo.hpp:103 std::map< str, std::map< str, std::vector< str > > >::iterator _current_detector_analyses_it Iterator to the current set of analyses sorted by detector. Definition: MCLoopInfo.hpp:112 std::map< str, std::vector< str > >::iterator _current_analyses_it Iterator to the current set of analyses. Definition: MCLoopInfo.hpp:109 const int & current_maxFailedEvents() const Get maximum allowable number of failed events before MC loop is terminated for the current collider... Definition: MCLoopInfo.cpp:97 const int & current_event_count() const Get the number of events generated for the current collider. Definition: MCLoopInfo.cpp:100 bool exceeded_maxFailedEvents Maximum allowed number of failed events has been reached and MC loop terminated. Definition: MCLoopInfo.hpp:37 const std::vector< str > & current_analyses_for(const str &) const Get the set of analyses for the current collider and a given detector. Definition: MCLoopInfo.cpp:109 std::map< str, convergence_settings > convergence_options Convergence options for each collider. Definition: MCLoopInfo.hpp:49 bool current_analyses_exist_for(const str &) const Query whether any analyses exist for a given detector for the current collider. Definition: MCLoopInfo.cpp:88 Type for holding event loop information. std::map< str, int > maxFailedEvents Maximum allowable number of failed events before MC loop is terminated for each collider. Definition: MCLoopInfo.hpp:43 std::map< str, std::map< str, std::vector< str > > > detector_analyses Analysis list for each detector of each collider. Definition: MCLoopInfo.hpp:55 std::map< str, convergence_settings >::iterator _current_convergence_options_it Iterator to the current set of convergence options. Definition: MCLoopInfo.hpp:106 std::map< str, int >::iterator _current_maxFailedEvents_it Iterator to the current maxFailedEvents. Definition: MCLoopInfo.hpp:100 Type for holding Monte Carlo convergence settings. Definition: MC_convergence.hpp:36 Exception objects required for standalone compilation. const std::vector< str > & current_analyses() const Get the set of analyses for the current collider. Definition: MCLoopInfo.cpp:106 const convergence_settings & current_convergence_options() const Get the set of convergence options for the current collider. Definition: MCLoopInfo.cpp:103 std::map< str, std::vector< str > > analyses Analysis list for each collider. Definition: MCLoopInfo.hpp:52 |