Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Logger.hpp File Reference
#include <cassert>
#include <ctime>
#include <exception>
#include <functional>
#include <iomanip>
#include <iostream>
#include <memory>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <thread>
#include <utility>
+ Include dependency graph for Logger.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Acts::Logging::ThresholdFailure
 Custom exception class so threshold failures can be caught. More...
 
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::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...
 

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
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_LOG(level, x)
 
#define ACTS_VERBOSE(x)   ACTS_LOG(Acts::Logging::VERBOSE, x)
 macro for verbose debug output
 
#define ACTS_DEBUG(x)   ACTS_LOG(Acts::Logging::DEBUG, x)
 macro for debug debug output
 
#define ACTS_INFO(x)   ACTS_LOG(Acts::Logging::INFO, x)
 macro for info debug output
 
#define ACTS_WARNING(x)   ACTS_LOG(Acts::Logging::WARNING, x)
 macro for warning debug output
 
#define ACTS_ERROR(x)   ACTS_LOG(Acts::Logging::ERROR, x)
 macro for error debug output
 
#define ACTS_FATAL(x)   ACTS_LOG(Acts::Logging::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, Acts::Logging::MAX
}
 constants steering the debug output More...
 

Functions

std::string_view Acts::Logging::levelName (Level level)
 
constexpr Level Acts::Logging::getFailureThreshold ()
 
void Acts::Logging::setFailureThreshold (Level level)
 Set debug level above which an exception will be thrown after logging.
 
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
 
const Logger & Acts::getDummyLogger ()
 

Macro Definition Documentation

#define ACTS_DEBUG (   x)    ACTS_LOG(Acts::Logging::DEBUG, x)

macro for debug debug output

Parameters
xdebug message
Precondition
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 95 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 95 of file Logger.hpp

Referenced by ActsExamples::Sequencer::addElement(), ActsExamples::HoughTransformSeeder::addMeasurements(), ActsExamples::HoughTransformSeeder::addSpacePoints(), ActsAlignment::Alignment< fitter_t >::align(), Acts::detail::GsfActor< bethe_heitler_approx_t, traj_t >::applyBetheHeitler(), ActsExamples::EffPlotTool::book(), ActsExamples::TrackSummaryPlotTool::book(), ActsExamples::DuplicationPlotTool::book(), ActsExamples::FakeRatePlotTool::book(), ActsExamples::ResPlotTool::book(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Experimental::DD4hepVolumeStructure::builder(), Acts::Experimental::DD4hepLayerStructure::builder(), Acts::TGeoLayerBuilder::buildLayers(), Acts::GainMatrixSmoother::calculate(), ActsAlignment::Alignment< fitter_t >::calculateAlignmentParameters(), 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(), Acts::Layer::closeGeometry(), Acts::TrackingVolume::closeGeometry(), Acts::Experimental::detail::CylindricalDetectorHelper::connectInR(), Acts::Experimental::detail::CylindricalDetectorHelper::connectInZ(), Acts::Experimental::DetectorBuilder::construct(), MultiWireInternalStructureBuilder::construct(), Acts::Experimental::DetectorVolumeBuilder::construct(), Acts::Experimental::VolumeStructureBuilder::construct(), Acts::Experimental::CylindricalContainerBuilder::construct(), Acts::DD4hepDetectorSurfaceFactory::construct(), Acts::Experimental::LayerStructureBuilder::construct(), ActsExamples::MaterialPhysicsList::ConstructParticle(), ActsExamples::MaterialPhysicsList::ConstructProcess(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::createProtoLayers(), Acts::SurfaceMaterialMapper::createState(), Acts::DD4hepDetectorSurfaceFactory::DD4hepDetectorSurfaceFactory(), Acts::Experimental::DD4hepVolumeStructure::DD4hepVolumeStructure(), Acts::Test::debug_level_test(), ActsExamples::Contextual::ExternalAlignmentDecorator::decorate(), ActsExamples::Contextual::InternalAlignmentDecorator::decorate(), Acts::PassiveLayerBuilder::endcapLayers(), ActsExamples::HelloLoggerAlgorithm::execute(), ActsExamples::PrototracksToSeeds::execute(), ActsExamples::TrackSelectorAlgorithm::execute(), ActsExamples::TracksToTrajectories::execute(), ActsExamples::RefittingAlgorithm::execute(), ActsExamples::TrackParameterSelector::execute(), ActsExamples::SeedingOrthogonalAlgorithm::execute(), ActsExamples::SeedingFTFAlgorithm::execute(), ActsExamples::DigitizationAlgorithm::execute(), ActsExamples::TrackFittingAlgorithm::execute(), ActsExamples::ParticleSelector::execute(), ActsExamples::SeedingAlgorithm::execute(), ActsExamples::PrototracksToParameters::execute(), ActsExamples::Geant4SimulationBase::execute(), ActsExamples::TrackFindingFromPrototrackAlgorithm::execute(), ActsExamples::PlanarSteppingAlgorithm::execute(), ActsExamples::TrackFindingAlgorithmExaTrkX::execute(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::AlignmentAlgorithm::execute(), ActsExamples::FatrasSimulation::execute(), ActsExamples::TrackFindingAlgorithm::execute(), ActsExamples::HoughTransformSeeder::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::executeAfterSeederChoice(), ActsExamples::FatrasSimulation::FatrasSimulation(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::Actor< source_link_accessor_t, parameters_t >::filter(), ActsExamples::SeedingPerformanceWriter::finalize(), ActsExamples::RootNuclearInteractionParametersWriter::finalize(), ActsExamples::CKFPerformanceWriter::finalize(), ActsExamples::TrackFindingAlgorithm::finalize(), 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::Experimental::Gx2Fitter< propagator_t, traj_t >::fit(), Acts::GaussianSumFitter< propagator_t, bethe_heitler_approx_t, traj_t >::fit_impl(), ActsExamples::SimParticleTranslation::GeneratePrimaries(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::getVertexSeed(), m_cfg(), main(), ActsExamples::ParticleTrackingAction::makeParticleId(), Acts::BoostTrackBuilding::operator()(), Acts::CugraphTrackBuilding::operator()(), Acts::TorchTruthGraphMetricsHook::operator()(), Acts::OnnxEdgeClassifier::operator()(), Acts::OnnxMetricLearning::operator()(), Acts::TorchEdgeClassifier::operator()(), Acts::TorchMetricLearning::operator()(), Acts::Experimental::detail::IndexedSurfacesGenerator< surface_container, indexed_updator >::operator()(), ActsExamples::ParticleSelector::ParticleSelector(), ActsExamples::SeedingOrthogonalAlgorithm::printConfig(), ActsExamples::SeedingOrthogonalAlgorithm::printOptions(), Acts::ProtoLayerHelper::protoLayers(), ActsExamples::HepMC3AsciiReader::read(), ActsExamples::CsvSpacePointReader::read(), ActsExamples::RootSimHitReader::read(), ActsExamples::RootParticleReader::read(), ActsExamples::RootTrajectorySummaryReader::read(), ActsExamples::RootMaterialTrackReader::read(), ActsExamples::EventGenerator::read(), ActsExamples::RootAthenaNTupleReader::read(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::reassignTracksToNewVertex(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::removeTrackIfIncompatible(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeUsedCompatibleTracks(), ActsExamples::RootAthenaNTupleReader::RootAthenaNTupleReader(), ActsExamples::RootMeasurementWriter::RootMeasurementWriter(), ActsExamples::RootParticleReader::RootParticleReader(), ActsExamples::RootSimHitReader::RootSimHitReader(), ActsExamples::Sequencer::run(), Acts::Experimental::detail::CylindricalDetectorHelper::rzphiBoundaries(), Acts::Cuda::SeedFinder< external_spacepoint_t >::SeedFinder(), Acts::TGeoCylinderDiscSplitter::split(), ActsExamples::TGeoITkModuleSplitter::split(), ActsExamples::TGeoITkModuleSplitter::splitBarrelModule(), ActsExamples::TGeoITkModuleSplitter::splitDiscModule(), Acts::TorchEdgeClassifier::TorchEdgeClassifier(), Acts::TorchMetricLearning::TorchMetricLearning(), Acts::CylinderVolumeBuilder::trackingVolume(), Acts::KDTreeTrackingGeometryBuilder::translateLayer(), Acts::KDTreeTrackingGeometryBuilder::translateVolume(), ActsExamples::ParticleKillAction::UserSteppingAction(), ActsExamples::SvgTrackingGeometryWriter::write(), ActsExamples::ObjTrackingGeometryWriter::write(), ActsExamples::EffPlotTool::write(), ActsExamples::TrackSummaryPlotTool::write(), ActsExamples::DuplicationPlotTool::write(), ActsExamples::FakeRatePlotTool::write(), ActsExamples::ResPlotTool::write(), ActsExamples::HepMC3AsciiWriter::writeT(), ActsExamples::SeedingPerformanceWriter::writeT(), ActsExamples::RootTrackParameterWriter::writeT(), ActsExamples::CKFPerformanceWriter::writeT(), ActsExamples::RootTrajectorySummaryWriter::writeT(), ActsExamples::RootTrajectoryStatesWriter::writeT(), and ActsExamples::VertexPerformanceWriter::writeT().

#define ACTS_ERROR (   x)    ACTS_LOG(Acts::Logging::ERROR, x)

macro for error debug output

Parameters
xdebug message
Precondition
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 131 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 131 of file Logger.hpp

Referenced by ActsExamples::Sequencer::addElement(), ActsExamples::HoughTransformSeeder::addMeasurements(), ActsAlignment::Alignment< fitter_t >::align(), Acts::MappingMaterialDecorator::binnedSurfaceMaterial(), Acts::SpacePointBuilder< spacepoint_t >::buildSpacePoint(), Acts::DD4hepLayerBuilder::centralLayers(), Acts::DD4hepVolumeBuilder::centralVolumes(), Acts::LayerCreator::checkBinning(), ActsExamples::TrackFinderPerformanceWriter::Impl::close(), Acts::SurfaceArrayCreator::createVariableAxis(), Acts::LayerCreator::cylinderLayer(), Acts::Test::debug_level_test(), ActsExamples::Sequencer::determineEventsRange(), Acts::LayerCreator::discLayer(), Acts::DD4hepLayerBuilder::endcapLayers(), Acts::estimateTrackParamsFromSeed(), ActsExamples::VolumeAssociationTest::execute(), ActsExamples::HitsPrinter::execute(), ActsExamples::DigitizationAlgorithm::execute(), ActsExamples::PrototracksToParameters::execute(), ActsExamples::IterativeVertexFinderAlgorithm::execute(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::TrackParamsEstimationAlgorithm::execute(), ActsExamples::FatrasSimulation::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::executeAfterSeederChoice(), ActsExamples::ResPlotTool::fill(), Acts::Experimental::DetectorNavigator::fillNavigationState(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::Actor< source_link_accessor_t, parameters_t >::filter(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::Actor< source_link_accessor_t, parameters_t >::finalize(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::find(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::findTracks(), Acts::SingleSeedVertexFinder< spacepoint_t >::findVertex(), Acts::Experimental::Gx2Fitter< propagator_t, traj_t >::fit(), Acts::KalmanFitter< propagator_t, traj_t >::fit(), Acts::GaussianSumFitter< propagator_t, bethe_heitler_approx_t, traj_t >::fit_impl(), ActsExamples::Sequencer::fpeReport(), ActsExamples::SimParticleTranslation::GeneratePrimaries(), ActsExamples::MagneticFieldWrapper::GetFieldValue(), Acts::Experimental::DetectorNavigator::initializeTarget(), ActsExamples::TGeoITkModuleSplitter::initSplitCategories(), Acts::detail::kalmanHandleMeasurement(), Acts::LayerArrayCreator::layerArray(), Acts::SurfaceMaterialMapper::mapInteraction(), vector2D< T >::operator()(), vector3D< T >::operator()(), Acts::KalmanFitter< propagator_t, traj_t >::Actor< parameters_t >::operator()(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::Actor< source_link_accessor_t, parameters_t >::operator()(), vector2D< T >::operator[](), Acts::LayerCreator::planeLayer(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::Actor< source_link_accessor_t, parameters_t >::processSelectedTrackStates(), Acts::Propagator< stepper_t, navigator_t >::propagate_impl(), ActsExamples::EDM4hepSimHitReader::read(), ActsExamples::CsvSpacePointReader::read(), ActsExamples::RootAthenaNTupleReader::read(), ActsExamples::Options::readMagneticField(), Acts::EDM4hepUtil::readTrack(), Acts::KalmanFitter< propagator_t, traj_t >::Actor< parameters_t >::reverse(), Acts::KalmanFitter< propagator_t, traj_t >::Actor< parameters_t >::reversedFilter(), ActsExamples::Sequencer::run(), Acts::SingleSeedVertexFinder< spacepoint_t >::SingleSeedVertexFinder(), ActsExamples::SingleSeedVertexFinderAlgorithm::SingleSeedVertexFinderAlgorithm(), vector2D< T >::size(), Acts::CylinderVolumeBuilder::trackingVolume(), ActsAlignment::Alignment< fitter_t >::updateAlignmentParameters(), Acts::detail::GsfActor< bethe_heitler_approx_t, traj_t >::updateStepper(), while(), ActsExamples::TrackFitterPerformanceWriter::writeT(), ActsExamples::CsvPlanarClusterWriter::writeT(), ActsExamples::RootPlanarClusterWriter::writeT(), ActsExamples::RootTrajectorySummaryWriter::writeT(), and ActsExamples::VertexPerformanceWriter::writeT().

#define ACTS_INFO (   x)    ACTS_LOG(Acts::Logging::INFO, x)

macro for info debug output

Parameters
xdebug message
Precondition
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 107 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 107 of file Logger.hpp

Referenced by ActsExamples::Sequencer::addContextDecorator(), ActsExamples::Sequencer::addElement(), ActsAlignment::Alignment< fitter_t >::align(), BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), ActsExamples::Geant4::Geant4Detector::constructDetector(), ActsExamples::Geant4::Geant4Detector::constructTrackingGeometry(), Acts::convertDD4hepDetector(), ActsExamples::Geant4::Geant4Detector::convertGeant4Volumes(), Acts::Test::debug_level_test(), ActsExamples::Sequencer::determineEventsRange(), ActsExamples::HelloLoggerAlgorithm::execute(), ActsExamples::ParticlesPrinter::execute(), ActsExamples::TrackParametersPrinter::execute(), ActsExamples::HelloWhiteBoardAlgorithm::execute(), ActsExamples::SingleSeedVertexFinderAlgorithm::execute(), ActsExamples::HelloRandomAlgorithm::execute(), ActsExamples::HepMCProcessExtractor::execute(), ActsExamples::HitsPrinter::execute(), ActsExamples::GreedyAmbiguityResolutionAlgorithm::execute(), ActsExamples::EventRecording::execute(), ActsExamples::TrackFindingFromPrototrackAlgorithm::execute(), ActsExamples::TrackFindingAlgorithmExaTrkX::execute(), ActsExamples::IterativeVertexFinderAlgorithm::execute(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::executeAfterSeederChoice(), ActsExamples::RootParticleWriter::finalize(), ActsExamples::SeedingPerformanceWriter::finalize(), ActsExamples::TrackFitterPerformanceWriter::finalize(), ActsExamples::RootPlanarClusterWriter::finalize(), ActsExamples::RootTrackParameterWriter::finalize(), ActsExamples::RootTrajectorySummaryWriter::finalize(), ActsExamples::RootMaterialTrackWriter::finalize(), ActsExamples::CKFPerformanceWriter::finalize(), ActsExamples::RootTrajectoryStatesWriter::finalize(), ActsExamples::TrackFindingFromPrototrackAlgorithm::finalize(), ActsExamples::TrackFindingAlgorithmExaTrkX::finalize(), ActsExamples::TrackFindingAlgorithm::finalize(), ActsExamples::Sequencer::fpeReport(), ActsExamples::Geant4Simulation::Geant4Simulation(), ActsExamples::HoughTransformSeeder::HoughTransformSeeder(), main(), ActsExamples::MaterialMapping::MaterialMapping(), Acts::TorchTruthGraphMetricsHook::operator()(), Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::operator()(), Acts::Experimental::Gx2Fitter< propagator_t, traj_t >::Actor< parameters_t >::operator()(), ActsExamples::ParticleSmearing::ParticleSmearing(), Acts::Sycl::QueueWrapper::QueueWrapper(), ActsExamples::RootParticleReader::read(), ActsExamples::RootTrajectorySummaryReader::read(), ActsExamples::RootAthenaNTupleReader::read(), ActsExamples::Options::readMagneticField(), ActsExamples::RootBFieldWriter::run(), ActsExamples::CsvBFieldWriter::run(), ActsExamples::Sequencer::run(), runMeasurementsToSP(), ActsExamples::Sequencer::Sequencer(), Acts::SingleSeedVertexFinder< spacepoint_t >::SingleSeedVertexFinder(), ActsExamples::SpacePointMaker::SpacePointMaker(), Acts::TorchEdgeClassifier::TorchEdgeClassifier(), Acts::TorchMetricLearning::TorchMetricLearning(), Acts::TrackingGeometryBuilder::trackingGeometry(), Acts::KDTreeTrackingGeometryBuilder::trackingGeometry(), Acts::CylinderVolumeBuilder::trackingVolume(), Acts::volumeBuilder_dd4hep(), and ActsExamples::VertexPerformanceWriter::writeT().

#define ACTS_LOCAL_LOGGER (   log_object)
Value:
struct __local_acts_logger \
{ \
__local_acts_logger(std::unique_ptr<const ::Acts::Logger> logger): \
m_logger(std::move(logger)) \
{} \
\
const ::Acts::Logger& operator()() const \
{ \
return *m_logger; \
} \
\
std::unique_ptr<const ::Acts::Logger> m_logger; \
}; \
__local_acts_logger logger(log_object);

macro to use a local Acts::Logger object

Parameters
log_objectlogger instance of type
Precondition
In the current scope, the symbol logger is not yet defined.
Postcondition
The ownership of the given 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:

void myFunction() {
std::unique_ptr<const Acts::Logger> myLogger
= /* .. your initialization .. */;
ACTS_VERBOSE("hello world!");
}

Definition at line 49 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 49 of file Logger.hpp

Referenced by BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Experimental::detail::CylindricalDetectorHelper::connectInR(), Acts::Experimental::detail::CylindricalDetectorHelper::connectInZ(), Acts::Sycl::createSeedsForGroupSycl(), Acts::Test::debug_level_test(), ActsExamples::determineEventFilesRange(), main(), ActsExamples::Options::readMagneticField(), ActsExamples::RootBFieldWriter::run(), ActsExamples::CsvBFieldWriter::run(), and Acts::Experimental::detail::CylindricalDetectorHelper::rzphiBoundaries().

#define ACTS_LOG (   level,
  x 
)
Value:
if (logger().doPrint(level)) { \
std::ostringstream os; \
os << x; \
logger().log(level, os.str()); \
}

Definition at line 66 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 66 of file Logger.hpp

Referenced by ActsExamples::VertexPerformanceWriter::writeT().

#define ACTS_VERBOSE (   x)    ACTS_LOG(Acts::Logging::VERBOSE, x)

macro for verbose debug output

Parameters
xdebug message
Precondition
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 83 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 83 of file Logger.hpp

Referenced by ActsExamples::WhiteBoard::add(), Acts::addCylinderLayerProtoMaterial(), Acts::addDiscLayerProtoMaterial(), Acts::addLayerProtoMaterial(), ActsAlignment::Alignment< fitter_t >::align(), ActsAlignment::Alignment< fitter_t >::calculateAlignmentParameters(), ActsExamples::Generic::LayerBuilderT< detector_element_t >::centralLayers(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::centralProtoLayers(), Acts::Experimental::detail::CylindricalDetectorHelper::connectInZ(), ActsExamples::Generic::LayerBuilderT< detector_element_t >::constructEndcapLayers(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::createProtoLayers(), Acts::createProtoMaterial(), ActsExamples::Contextual::ExternalAlignmentDecorator::decorate(), ActsExamples::Contextual::InternalAlignmentDecorator::decorate(), ActsExamples::determineEventFilesRange(), ActsExamples::EDM4hepMeasurementWriter::EDM4hepMeasurementWriter(), ActsExamples::EDM4hepParticleWriter::EDM4hepParticleWriter(), ActsExamples::EDM4hepSimHitWriter::EDM4hepSimHitWriter(), ActsExamples::HelloLoggerAlgorithm::execute(), ActsExamples::HelloWhiteBoardAlgorithm::execute(), ActsExamples::TruthVertexFinder::execute(), ActsExamples::TrackSelectorAlgorithm::execute(), ActsExamples::HelloRandomAlgorithm::execute(), ActsExamples::RefittingAlgorithm::execute(), ActsExamples::TruthTrackFinder::execute(), ActsExamples::GreedyAmbiguityResolutionAlgorithm::execute(), ActsExamples::DigitizationAlgorithm::execute(), ActsExamples::TrackFittingAlgorithm::execute(), ActsExamples::ParticleSmearing::execute(), ActsExamples::ParticleSelector::execute(), ActsExamples::TruthSeedingAlgorithm::execute(), ActsExamples::PrototracksToParameters::execute(), ActsExamples::PlanarSteppingAlgorithm::execute(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::TrackParamsEstimationAlgorithm::execute(), ActsExamples::AlignmentAlgorithm::execute(), ActsExamples::RootSimHitWriter::finalize(), ActsExamples::RootSpacepointWriter::finalize(), ActsExamples::RootPropagationStepsWriter::finalize(), Acts::KalmanFitter< propagator_t, traj_t >::fit(), ActsExamples::SimParticleTranslation::GeneratePrimaries(), ActsExamples::WhiteBoard::get(), ActsExamples::SeedingFTFAlgorithm::Make_FTF_spacePoints(), ActsExamples::Pythia8Generator::operator()(), Acts::Propagator< stepper_t, navigator_t >::propagate_impl(), ActsExamples::Pythia8Generator::Pythia8Generator(), ActsExamples::HepMC3AsciiReader::read(), ActsExamples::RootMaterialTrackReader::read(), ActsExamples::EventGenerator::read(), ActsExamples::SensitiveSurfaceMapper::remapSensitiveNames(), ActsExamples::RootMeasurementWriter::RootMeasurementWriter(), ActsExamples::RootBFieldWriter::run(), ActsExamples::CsvBFieldWriter::run(), ActsExamples::Sequencer::run(), Acts::AdaptiveMultiVertexFitter< input_track_t, linearizer_t >::setWeightsAndUpdate(), ActsAlignment::Alignment< fitter_t >::updateAlignmentParameters(), ActsExamples::SensitiveSteppingAction::UserSteppingAction(), ActsExamples::MaterialSteppingAction::UserSteppingAction(), weaklyConnectedComponents(), while(), ActsExamples::JsonMaterialWriter::writeMaterial(), ActsExamples::RootMaterialWriter::writeMaterial(), ActsExamples::EDM4hepMeasurementWriter::writeT(), ActsExamples::CsvMeasurementWriter::writeT(), ActsExamples::RootTrackParameterWriter::writeT(), ActsExamples::RootTrajectorySummaryWriter::writeT(), ActsExamples::RootTrajectoryStatesWriter::writeT(), and ActsExamples::VertexPerformanceWriter::writeT().

#define ACTS_WARNING (   x)    ACTS_LOG(Acts::Logging::WARNING, x)

macro for warning debug output

Parameters
xdebug message
Precondition
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 119 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 119 of file Logger.hpp

Referenced by Acts::detail::GsfActor< bethe_heitler_approx_t, traj_t >::applyBetheHeitler(), ActsExamples::averageSimHits(), Acts::TGeoLayerBuilder::buildLayers(), ActsExamples::Generic::ProtoLayerCreatorT< detector_element_t >::centralProtoLayers(), Acts::Experimental::collector(), Acts::CylinderVolumeHelper::createContainerTrackingVolume(), Acts::LayerArrayCreator::createNavigationSurface(), Acts::CylinderVolumeHelper::createTrackingVolume(), Acts::Test::debug_level_test(), Acts::CylinderVolumeHelper::estimateAndCheckDimension(), Acts::estimateTrackParamsFromSeed(), ActsExamples::TracksToTrajectories::execute(), ActsExamples::RefittingAlgorithm::execute(), ActsExamples::HitsPrinter::execute(), ActsExamples::DigitizationAlgorithm::execute(), ActsExamples::TrackFittingAlgorithm::execute(), ActsExamples::TruthSeedingAlgorithm::execute(), ActsExamples::PrototracksToParameters::execute(), ActsExamples::Geant4SimulationBase::execute(), ActsExamples::TrackFindingFromPrototrackAlgorithm::execute(), ActsExamples::IterativeVertexFinderAlgorithm::execute(), ActsExamples::TrackParamsEstimationAlgorithm::execute(), ActsExamples::AlignmentAlgorithm::execute(), ActsExamples::TrackFindingAlgorithm::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::executeAfterSeederChoice(), ActsExamples::FatrasSimulation::FatrasSimulation(), ActsExamples::ResPlotTool::fill(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::fillTracksToFit(), Acts::SingleSeedVertexFinder< spacepoint_t >::findTriplets(), Acts::GaussianSumFitter< propagator_t, bethe_heitler_approx_t, traj_t >::fit_impl(), ActsExamples::SimParticleTranslation::GeneratePrimaries(), ActsExamples::HoughTransformSeeder::HoughTransformSeeder(), ActsExamples::SeedingFTFAlgorithm::Make_FTF_spacePoints(), Acts::SurfaceMaterialMapper::mapInteraction(), Acts::BoostTrackBuilding::operator()(), Acts::detail::CorrectedFreeToBoundTransformer::operator()(), Acts::detail::GsfActor< bethe_heitler_approx_t, traj_t >::operator()(), Acts::Experimental::Gx2Fitter< propagator_t, traj_t >::Actor< parameters_t >::operator()(), Acts::CombinatorialKalmanFilter< propagator_t, traj_t >::Actor< source_link_accessor_t, parameters_t >::operator()(), ActsExamples::ParticleTrackingAction::PostUserTrackingAction(), ActsExamples::ParticleTrackingAction::PreUserTrackingAction(), ActsExamples::RootSimHitReader::read(), ActsExamples::RootTrajectorySummaryReader::read(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeTracks(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeUsedCompatibleTracks(), Acts::detail::setupLoopProtection(), ActsExamples::SpacePointMaker::SpacePointMaker(), ActsExamples::TGeoITkModuleSplitter::splitBarrelModule(), ActsExamples::TGeoITkModuleSplitter::splitDiscModule(), Acts::MultiEigenStepperLoop< extensionlist_t, component_reducer_t, auctioneer_t >::step(), Acts::KDTreeTrackingGeometryBuilder::translateVolume(), ActsExamples::CsvProtoTrackWriter::writeT(), ActsExamples::TrackFitterPerformanceWriter::writeT(), ActsExamples::CsvMultiTrajectoryWriter::writeT(), ActsExamples::CKFPerformanceWriter::writeT(), and ActsExamples::VertexPerformanceWriter::writeT().