11#include "tracking/trackFindingCDC/topology/ISuperLayer.h"
12#include <boost/property_tree/ptree.hpp>
13#include <boost/property_tree/json_parser.hpp>
39 for (
auto& value : tree.get_child(
"LayerTimeCut")) {
44 B2FATAL(
"Cannot parse CDClayerTimeCut: too many layers");
47 }
catch (boost::property_tree::ptree_error& e) {
49 B2FATAL(
"Cannot parse CDClayerTimeCut requirement information: " << e.what());
68 std::cout <<
"Content of CDClayerTimeCut" << std::endl;
70 std::cout <<
" Layer :" << iLayer <<
" Cut:" <<
getLayerTimeCut(iLayer) << std::endl;
76 std::array<float, TrackFindingCDC::ISuperLayerUtil::c_N>
m_maxDriftTimes = { -1, -1, -1, -1, -1, -1, -1, -1, -1};
Database object for timing offset (t0).
CDClayerTimeCut(boost::property_tree::ptree tree)
Constructor using a boost::property_tree.
ClassDef(CDClayerTimeCut, 1)
ClassDef.
std::array< float, TrackFindingCDC::ISuperLayerUtil::c_N > m_maxDriftTimes
Cut for approximate drift time (super-layer dependent)
CDClayerTimeCut()=default
Default constructor.
void dump() const
Dump information.
float getLayerTimeCut(int layer) const
Return cut value for a given layer.
Abstract base class for different kinds of events.
static const ISuperLayer c_N
Constant representing the total number of cdc superlayers.