EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <ctime>
#include <functional>
#include <iomanip>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <thread>
Go to the source code of this file.
Classes | |
class | Acts::Logging::OutputPrintPolicy |
abstract base class for printing debug output More... | |
class | Acts::Logging::OutputFilterPolicy |
abstract base class for filtering debug output More... | |
exception | Acts::Logging::OutStream |
thread-safe output stream More... | |
exception | Acts::Logging::DefaultFilterPolicy |
default filter policy for debug messages More... | |
class | Acts::Logging::OutputDecorator |
base class for decorating the debug output More... | |
exception | Acts::Logging::NamedOutputDecorator |
decorate debug message with a name More... | |
exception | Acts::Logging::TimedOutputDecorator |
decorate debug message with a time stamp More... | |
exception | Acts::Logging::ThreadOutputDecorator |
decorate debug message with a thread ID More... | |
exception | Acts::Logging::LevelOutputDecorator |
decorate debug message with its debug level More... | |
exception | Acts::Logging::DefaultPrintPolicy |
default print policy for debug messages More... | |
class | Acts::Logger |
class for printing debug output More... | |
class | Acts::LoggerWrapper |
Class that contains (but doesn't own) a logger instance. Is callable so can be used with the logging macros. More... | |
Namespaces | |
namespace | Acts |
Set the Geometry Context PLUGIN. | |
namespace | Acts::Logging |
debug output related helper classes and functions | |
Macros | |
#define | ACTS_LOCAL_LOGGER(log_object) |
macro to use a local Acts::Logger object | |
#define | ACTS_VERBOSE(x) |
macro for verbose debug output | |
#define | ACTS_DEBUG(x) |
macro for debug debug output | |
#define | ACTS_INFO(x) |
macro for info debug output | |
#define | ACTS_WARNING(x) |
macro for warning debug output | |
#define | ACTS_ERROR(x) |
macro for error debug output | |
#define | ACTS_FATAL(x) |
macro for fatal debug output | |
Enumerations | |
enum | Acts::Logging::Level { Acts::Logging::VERBOSE = 0, Acts::Logging::DEBUG, Acts::Logging::INFO, Acts::Logging::WARNING, Acts::Logging::ERROR, Acts::Logging::FATAL } |
constants steering the debug output More... | |
Functions | |
std::unique_ptr< const Logger > | Acts::getDefaultLogger (const std::string &name, const Logging::Level &lvl, std::ostream *log_stream=&std::cout) |
get default debug output logger | |
LoggerWrapper | Acts::getDummyLogger () |
#define ACTS_DEBUG | ( | x | ) |
macro for debug debug output
x | debug message |
logger()
must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::DEBUG.
Definition at line 83 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 83 of file Logger.hpp
Referenced by ActsExamples::EffPlotTool::book(), ActsExamples::TrackSummaryPlotTool::book(), ActsExamples::DuplicationPlotTool::book(), ActsExamples::FakeRatePlotTool::book(), ActsExamples::ResPlotTool::book(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::TGeoLayerBuilder::buildLayers(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::canRecoverFromNoCompatibleTracks(), Acts::PassiveLayerBuilder::centralLayers(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::centralProtoLayers(), Acts::VolumeMaterialMapper::checkAndInsert(), Acts::SurfaceMaterialMapper::checkAndInsert(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::checkVertexAndCompatibleTracks(), ActsExamples::ResPlotTool::clear(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::createProtoLayers(), Acts::SurfaceMaterialMapper::createState(), Acts::PassiveLayerBuilder::endcapLayers(), Acts::CylinderVolumeHelper::estimateAndCheckDimension(), ActsExamples::HelloLoggerAlgorithm::execute(), ActsExamples::DigitizationAlgorithm::execute(), ActsExamples::TrackSelector::execute(), ActsExamples::ParticleSelector::execute(), ActsExamples::FatrasAlgorithm< simulator_t >::execute(), ActsExamples::FittingAlgorithm::execute(), ActsExamples::TrackFindingAlgorithm::execute(), ActsExamples::PropagationAlgorithm< propagator_t >::executeTest(), ActsExamples::FatrasAlgorithm< simulator_t >::FatrasAlgorithm(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::filter(), Acts::VolumeMaterialMapper::finalizeMaps(), Acts::SurfaceMaterialMapper::finalizeMaps(), Acts::ZScanVertexFinder< vfitter_t >::find(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::find(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::find(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::getVertexSeed(), main(), Acts::GainMatrixSmoother::operator()(), Acts::CKFSourceLinkSelector::operator()(), ActsExamples::ParticleSelector::ParticleSelector(), Acts::ProtoLayerHelper::protoLayers(), ActsExamples::EventGenerator::read(), ActsExamples::RootMaterialTrackReader::read(), ActsExamples::Options::readFatrasConfig(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::reassignTracksToNewVertex(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::removeTrackIfIncompatible(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeUsedCompatibleTracks(), ActsExamples::RootMaterialTrackReader::RootMaterialTrackReader(), Acts::CylinderVolumeBuilder::trackingVolume(), ActsExamples::EffPlotTool::write(), ActsExamples::ObjTrackingGeometryWriter::write(), ActsExamples::TrackSummaryPlotTool::write(), ActsExamples::DuplicationPlotTool::write(), ActsExamples::FakeRatePlotTool::write(), ActsExamples::ResPlotTool::write(), and ActsExamples::RootTrajectoryWriter::writeT().
#define ACTS_ERROR | ( | x | ) |
macro for error debug output
x | debug message |
logger()
must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::ERROR.
Definition at line 125 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 125 of file Logger.hpp
Referenced by Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::addSourcelinkState(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::backwardFilter(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::DD4hepLayerBuilder::centralLayers(), Acts::DD4hepVolumeBuilder::centralVolumes(), Acts::LayerCreator::checkBinning(), ActsExamples::TrackFinderPerformanceWriter::Impl::close(), Acts::SurfaceArrayCreator::createVariableAxis(), Acts::LayerCreator::cylinderLayer(), ActsExamples::Sequencer::determineEventsRange(), Acts::LayerCreator::discLayer(), Acts::DD4hepLayerBuilder::endcapLayers(), ActsExamples::IterativeVertexFinderAlgorithm::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::execute(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::HitSmearing::execute(), ActsExamples::FatrasAlgorithm< simulator_t >::execute(), ActsExamples::ResPlotTool::fill(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::filter(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::filter(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::finalize(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::findTracks(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::fit(), Acts::LayerArrayCreator::layerArray(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::operator()(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::operator()(), Acts::LayerCreator::planeLayer(), Acts::Propagator< stepper_t, navigator_t >::propagate_impl(), Acts::CylinderVolumeBuilder::trackingVolume(), ActsExamples::TrackFitterPerformanceWriter::writeT(), ActsExamples::RootSimHitWriter::writeT(), ActsExamples::RootParticleWriter::writeT(), and ActsExamples::RootTrajectoryWriter::writeT().
#define ACTS_FATAL | ( | x | ) |
macro for fatal debug output
x | debug message |
logger()
must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::FATAL.
Definition at line 139 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 139 of file Logger.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Sycl::createSeedsForGroupSycl(), ActsExamples::HitSmearing::execute(), ActsExamples::FittingAlgorithm::execute(), ActsExamples::FatrasAlgorithm< simulator_t >::execute(), Acts::Sycl::QueueWrapper::initialize(), ActsExamples::CsvPlanarClusterReader::read(), Acts::detail::transformFreeToBoundParameters(), ActsExamples::CsvPlanarClusterWriter::writeT(), ActsExamples::RootPlanarClusterWriter::writeT(), and ActsExamples::RootTrajectoryWriter::writeT().
#define ACTS_INFO | ( | x | ) |
macro for info debug output
x | debug message |
logger()
must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::INFO.
Definition at line 97 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 97 of file Logger.hpp
Referenced by ActsExamples::Sequencer::addAlgorithm(), ActsExamples::Sequencer::addContextDecorator(), ActsExamples::Sequencer::addReader(), ActsExamples::Sequencer::addService(), ActsExamples::Sequencer::addWriter(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::convertDD4hepDetector(), Acts::JsonGeometryConverter::DefaultBin(), ActsExamples::Sequencer::determineEventsRange(), ActsExamples::RootTrackParameterWriter::endRun(), ActsExamples::RootParticleWriter::endRun(), ActsExamples::TrackFitterPerformanceWriter::endRun(), ActsExamples::RootPlanarClusterWriter::endRun(), ActsExamples::RootTrajectoryWriter::endRun(), ActsExamples::CKFPerformanceWriter::endRun(), ActsExamples::RootMaterialTrackWriter::endRun(), ActsExamples::HelloLoggerAlgorithm::execute(), ActsExamples::PrintParticles::execute(), ActsExamples::HelloWhiteBoardAlgorithm::execute(), ActsExamples::IterativeVertexFinderAlgorithm::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::execute(), ActsExamples::PrintHits::execute(), ActsExamples::HelloRandomAlgorithm::execute(), ActsExamples::VertexFitterAlgorithm::execute(), Acts::Sycl::QueueWrapper::initialize(), main(), ActsExamples::MaterialMapping::MaterialMapping(), ActsExamples::RootBFieldWriter< bfield_t >::run(), ActsExamples::Sequencer::run(), and Acts::volumeBuilder_dd4hep().
#define ACTS_LOCAL_LOGGER | ( | log_object | ) |
macro to use a local Acts::Logger object
log_object | logger instance of type |
logger
is not yet defined. log_object
is transferred and log_object
should not be used directly any more.This macro allows to use a locally defined logging object with the ACTS_* logging macros. The envisaged usage is the following:
Definition at line 43 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 43 of file Logger.hpp
Referenced by Acts::addCylinderLayerProtoMaterial(), Acts::addDiscLayerProtoMaterial(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::convertDD4hepDetector(), Acts::Sycl::createSeedsForGroupSycl(), ActsExamples::determineEventFilesRange(), Acts::Sycl::QueueWrapper::initialize(), main(), ActsExamples::Options::readFatrasConfig(), ActsExamples::RootBFieldWriter< bfield_t >::run(), Acts::detail::transformFreeToBoundParameters(), and Acts::volumeBuilder_dd4hep().
#define ACTS_VERBOSE | ( | x | ) |
macro for verbose debug output
x | debug message |
logger()
must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::VERBOSE.
Definition at line 69 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 69 of file Logger.hpp
Referenced by ActsExamples::WhiteBoard::add(), Acts::addCylinderLayerProtoMaterial(), Acts::addDiscLayerProtoMaterial(), Acts::CylinderVolumeHelper::addFaceVolumes(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::addHoleState(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::addPassiveState(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::addSourcelinkState(), Acts::CylinderVolumeBuilder::analyzeContent(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::backwardFilter(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::TGeoLayerBuilder::buildLayers(), Acts::PlanarModuleStepper::cellSteps(), Acts::PassiveLayerBuilder::centralLayers(), ActsExamples::Generic::LayerBuilderT< detector_element_t >::centralLayers(), Acts::DD4hepLayerBuilder::centralLayers(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::centralProtoLayers(), Acts::DD4hepVolumeBuilder::centralVolumes(), Acts::LayerCreator::checkBinning(), Acts::VolumeMaterialMapper::collectMaterialSurfaces(), Acts::SurfaceMaterialMapper::collectMaterialVolumes(), Acts::TrackingVolume::compatibleBoundaries(), Acts::SurfaceArrayCreator::completeBinning(), ActsExamples::Generic::LayerBuilderT< detector_element_t >::constructEndcapLayers(), Acts::CylinderVolumeHelper::createContainerTrackingVolume(), Acts::CylinderVolumeHelper::createCylinderLayer(), Acts::CylinderVolumeHelper::createDiscLayer(), Acts::SurfaceArrayCreator::createEquidistantAxis(), Acts::CylinderVolumeHelper::createGapTrackingVolume(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::createProtoLayers(), Acts::SurfaceMaterialMapper::createState(), Acts::CylinderVolumeHelper::createTrackingVolume(), Acts::SurfaceArrayCreator::createVariableAxis(), Acts::LayerCreator::cylinderLayer(), ActsExamples::Contextual::PayloadDecorator::decorate(), ActsExamples::Contextual::AlignmentDecorator::decorate(), Acts::JsonGeometryConverter::detectorRepToJson(), ActsExamples::determineEventFilesRange(), Acts::LayerCreator::discLayer(), Acts::PassiveLayerBuilder::endcapLayers(), Acts::DD4hepLayerBuilder::endcapLayers(), ActsExamples::RootSimHitWriter::endRun(), ActsExamples::RootPropagationStepsWriter::endRun(), Acts::CylinderVolumeHelper::estimateAndCheckDimension(), ActsExamples::HelloLoggerAlgorithm::execute(), ActsExamples::HelloWhiteBoardAlgorithm::execute(), ActsExamples::HelloRandomAlgorithm::execute(), ActsExamples::DigitizationAlgorithm::execute(), ActsExamples::FittingAlgorithm::execute(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::filter(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::filter(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::finalize(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::findTracks(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::fit(), ActsExamples::WhiteBoard::get(), Acts::CylinderVolumeHelper::glueTrackingVolumes(), Acts::Navigator::inactive(), Acts::Navigator::initialize(), Acts::Navigator::initializeTarget(), Acts::CylinderVolumeHelper::interGlueTrackingVolume(), Acts::JsonGeometryConverter::jsonToMaterialMaps(), Acts::LayerArrayCreator::layerArray(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::materialInteractor(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::materialInteractor(), Acts::detail::LoopProtection< path_arborter_t >::operator()(), Acts::GainMatrixUpdater::operator()(), Acts::GainMatrixSmoother::operator()(), ActsExamples::Pythia8Generator::operator()(), Acts::PathLimitReached::operator()(), Acts::MaterialCollector::operator()(), Acts::CKFSourceLinkSelector::operator()(), Acts::VolumeCollector< Selector >::operator()(), Acts::SurfaceCollector< Selector >::operator()(), Acts::MaterialInteractor::operator()(), Acts::SurfaceReached::operator()(), Acts::KalmanFitter< propagator_t, updater_t, smoother_t, outlier_finder_t, calibrator_t >::Actor< source_link_t, parameters_t >::operator()(), Acts::CombinatorialKalmanFilter< propagator_t, updater_t, smoother_t, source_link_selector_t, branch_stopper_t, calibrator_t >::Actor< source_link_t, parameters_t >::operator()(), Acts::LayerCreator::planeLayer(), Acts::Propagator< stepper_t, navigator_t >::propagate_impl(), Acts::ProtoLayerHelper::protoLayers(), ActsExamples::Pythia8Generator::Pythia8Generator(), ActsExamples::EventGenerator::read(), ActsExamples::RootMaterialTrackReader::read(), Acts::Navigator::resolveLayers(), Acts::SurfaceMaterialMapper::resolveMaterialSurfaces(), Acts::VolumeMaterialMapper::resolveMaterialVolume(), Acts::Navigator::resolveSurfaces(), ActsExamples::RootMaterialDecorator::RootMaterialDecorator(), Acts::AdaptiveMultiVertexFitter< input_track_t, linearizer_t >::setWeightsAndUpdate(), Acts::DirectNavigator::status(), Acts::Navigator::status(), Acts::SurfaceArrayCreator::surfaceArrayOnCylinder(), Acts::SurfaceArrayCreator::surfaceArrayOnDisc(), Acts::SurfaceArrayCreator::surfaceArrayOnPlane(), Acts::DirectNavigator::target(), Acts::Navigator::target(), Acts::Navigator::targetBoundaries(), Acts::Navigator::targetLayers(), Acts::Navigator::targetSurfaces(), Acts::CylinderVolumeBuilder::trackingVolume(), Acts::volumeBuilder_dd4hep(), and ActsExamples::RootMaterialWriter::write().
#define ACTS_WARNING | ( | x | ) |
macro for warning debug output
x | debug message |
logger()
must be a valid expression in the scope where this macro is used and it must return a Acts::Logger object.The debug message is printed if the current Acts::Logging::Level <= Acts::Logging::WARNING.
Definition at line 111 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 111 of file Logger.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::TGeoLayerBuilder::buildLayers(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::centralProtoLayers(), Acts::CylinderVolumeHelper::createContainerTrackingVolume(), Acts::LayerArrayCreator::createNavigationSurface(), Acts::DD4hepLayerBuilder::createSensitiveSurface(), Acts::CylinderVolumeHelper::createTrackingVolume(), Acts::CylinderVolumeHelper::estimateAndCheckDimension(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::FittingAlgorithm::execute(), ActsExamples::TrackFindingAlgorithm::execute(), ActsExamples::ResPlotTool::fill(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::fillPerigeesToFit(), ActsExamples::Options::readFatrasConfig(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeAllTracks(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeUsedCompatibleTracks(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::setConstraintAfterSeeding(), ActsExamples::TrackFitterPerformanceWriter::writeT(), ActsExamples::RootTrajectoryWriter::writeT(), and ActsExamples::CKFPerformanceWriter::writeT().