Functions | |
rb::Cluster | cluster_hits (std::vector< art::Ptr< rb::CellHit > > const &hits, int32_t t_start, int32_t t_end, int16_t adc_cut=0) |
bool | is_equal (novaddt::DAQHit const &ddthit, art::Ptr< rb::CellHit > const &cellhit, novaddt::TDC const &event_time) |
bool | is_equal (novaddt::DAQHit const &ddthit, rawdata::RawDigit const &digit, novaddt::TDC const &event_time) |
bool | is_equal (novaddt::DAQHit const &lhs, novaddt::DAQHit const &rhs) |
void | print (novaddt::DAQHit const &h, unsigned long long const &event_time=0) |
void | print (art::Ptr< rb::CellHit > const &h) |
void | print (rawdata::RawDigit const &h) |
void | print (std::vector< novaddt::TriggerDecision > const &decisions) |
rb::Cluster ddthelpers::cluster_hits | ( | std::vector< art::Ptr< rb::CellHit > > const & | hits, |
int32_t | t_start, | ||
int32_t | t_end, | ||
int16_t | adc_cut = 0 |
||
) |
Definition at line 13 of file DDTHelpers.cxx.
References rb::Cluster::Add(), hits(), is_equal(), and fillBadChanDBTables::result.
Referenced by murem::MRCCAna::analyze(), and mono::SlowMonopoleFilt::filter().
bool ddthelpers::is_equal | ( | novaddt::DAQHit const & | ddthit, |
art::Ptr< rb::CellHit > const & | cellhit, | ||
novaddt::TDC const & | event_time | ||
) |
Definition at line 30 of file DDTHelpers.cxx.
References novaddt::DAQHit::ADC(), rawdata::RawDigit::ADC(), rb::CellHit::Cell(), novaddt::DAQHit::Cell(), rb::CellHit::Plane(), novaddt::DAQHit::Plane(), novaddt::DAQHit::TDC(), rawdata::RawDigit::TDC(), novaddt::TDC::val, novaddt::ADC::val, novaddt::Plane::val, and novaddt::Cell::val.
Referenced by cluster_hits(), mono::SlowMonopoleFilt::filter(), and is_equal().
bool ddthelpers::is_equal | ( | novaddt::DAQHit const & | ddthit, |
rawdata::RawDigit const & | digit, | ||
novaddt::TDC const & | event_time | ||
) |
Definition at line 53 of file DDTHelpers.cxx.
References novaddt::DAQHit::ADC(), rawdata::RawDigit::ADC(), is_equal(), novaddt::DAQHit::TDC(), rawdata::RawDigit::TDC(), novaddt::TDC::val, and novaddt::ADC::val.
bool ddthelpers::is_equal | ( | novaddt::DAQHit const & | lhs, |
novaddt::DAQHit const & | rhs | ||
) |
Definition at line 70 of file DDTHelpers.cxx.
References novaddt::DAQHit::ADC(), print(), novaddt::DAQHit::TDC(), novaddt::TDC::val, and novaddt::ADC::val.
void ddthelpers::print | ( | novaddt::DAQHit const & | h, |
unsigned long long const & | event_time = 0 |
||
) |
Definition at line 84 of file DDTHelpers.cxx.
References novaddt::DAQHit::ADC(), novaddt::DAQHit::Cell(), om::cout, allTimeWatchdog::endl, novadaq::HexUtils::format(), geom(), novaddt::DAQHit::Plane(), geo::GeometryBase::Plane(), makeBrightnessMap::position, string, novaddt::DAQHit::TDC(), novaddt::TDC::val, novaddt::ADC::val, novaddt::Plane::val, novaddt::Cell::val, novaddt::View::val, POTSpillRate::view, novaddt::DAQHit::View(), daqchannelmap::X_VIEW, and daqchannelmap::Y_VIEW.
Referenced by mono::SlowMonopoleTrigger::algorithm(), mono::SlowMonopoleFilt::filter(), and is_equal().
void ddthelpers::print | ( | art::Ptr< rb::CellHit > const & | h | ) |
Definition at line 114 of file DDTHelpers.cxx.
References rawdata::RawDigit::ADC(), rb::CellHit::Cell(), om::cout, allTimeWatchdog::endl, novadaq::HexUtils::format(), kX, kY, rb::CellHit::Plane(), string, rawdata::RawDigit::TDC(), POTSpillRate::view, and rb::CellHit::View().
void ddthelpers::print | ( | rawdata::RawDigit const & | h | ) |
Definition at line 134 of file DDTHelpers.cxx.
References rawdata::RawDigit::ADC(), om::cout, allTimeWatchdog::endl, novadaq::HexUtils::format(), and rawdata::RawDigit::TDC().
void ddthelpers::print | ( | std::vector< novaddt::TriggerDecision > const & | decisions | ) |
Definition at line 146 of file DDTHelpers.cxx.
References om::cout, d, allTimeWatchdog::endl, and novadaq::HexUtils::format().