Base Objects

The following objects are primarily for C++ developers, but documented here and available in Python.

class larcv.larbys

Base expection for larcv.

what(self: larcv.pylarcv.larbys) str

Get the details of this exception.

class larcv.larcv_base

Base class from which many, though not all, objects are derived in larcv.

default_config() json

Get the default configuration (dict) associated with this class.

logger(self: larcv.pylarcv.larcv_base) larcv3::logger

Get the logger associated with this class.

name(self: larcv.pylarcv.larcv_base) str

Get the name associated with this class.

set_verbosity(self: larcv.pylarcv.larcv_base, level: larcv3::msg::Level_t) None

Set the verbosity of the associated logger.

class larcv.logger

C++ native logger utility, used to manage log messages from the C++ application code.

For python logging, use the standard logging utilities.

level(self: larcv.pylarcv.logger) larcv3::msg::Level_t

Get the level of this logger.

name(self: larcv.pylarcv.logger) str

Get the name associated with this logger.

set(self: larcv.pylarcv.logger, level: larcv3::msg::Level_t) None

Set the level of this logger.

class larcv.Watch

Basic C++ timer object, used to track algorithm performance.

CPUTime(self: larcv.pylarcv.Watch) float

Report CPU Time since Start was called.

Start(self: larcv.pylarcv.Watch) None

Start the timer.

WallTime(self: larcv.pylarcv.Watch) float

Get the current walltime.