Definition at line 680 of file RawDataDrawer.cxx.
Definition at line 684 of file RawDataDrawer.cxx.
OperationBaseClass(geo::PlaneID const &pid, RawDataDrawer *data_drawer=nullptr)
void evd::RawDataDrawer::ManyOperations::AddOperation |
( |
std::unique_ptr< OperationBaseClass > |
new_op | ) |
|
|
inline |
Definition at line 740 of file RawDataDrawer.cxx.
References art::errors::LogicError.
Referenced by evd::RawDataDrawer::RawDigit2D().
743 if (
PlaneID() != new_op->PlaneID()) {
745 <<
"RawDataDrawer::ManyOperations(): trying to run operations on " 746 << std::string(
PlaneID()) <<
" and " << std::string(new_op->PlaneID())
747 <<
" at the same time";
751 <<
"RawDataDrawer::ManyOperations(): " 752 "trying to run operations on different RawDataDrawer";
std::vector< std::unique_ptr< RawDataDrawer::OperationBaseClass > > operations
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
geo::PlaneID const & PlaneID() const
RawDataDrawer * RawDataDrawerPtr() const
bool evd::RawDataDrawer::ManyOperations::Finish |
( |
| ) |
|
|
inlineoverridevirtual |
bool evd::RawDataDrawer::ManyOperations::Initialize |
( |
| ) |
|
|
inlineoverridevirtual |
std::string evd::RawDataDrawer::ManyOperations::Name |
( |
| ) |
const |
|
inlineoverridevirtual |
Reimplemented from evd::RawDataDrawer::OperationBaseClass.
Definition at line 724 of file RawDataDrawer.cxx.
References util::to_string().
726 std::string msg = cet::demangle_symbol(
typeid(*this).name());
730 msg +=
" " + op->Name();
std::vector< std::unique_ptr< RawDataDrawer::OperationBaseClass > > operations
decltype(auto) constexpr to_string(T &&obj)
ADL-aware version of std::to_string.
bool evd::RawDataDrawer::ManyOperations::Operate |
( |
geo::WireID const & |
wireID, |
|
|
size_t |
tick, |
|
|
float |
adc |
|
) |
| |
|
inlineoverridevirtual |
Implements evd::RawDataDrawer::OperationBaseClass.
Definition at line 709 of file RawDataDrawer.cxx.
711 for (std::unique_ptr<OperationBaseClass>
const& op :
operations)
712 if (!op->Operate(wireID,
tick, adc))
return false;
std::vector< std::unique_ptr< RawDataDrawer::OperationBaseClass > > operations
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
Definition at line 737 of file RawDataDrawer.cxx.
std::vector< std::unique_ptr< RawDataDrawer::OperationBaseClass > > operations
OperationBaseClass const* evd::RawDataDrawer::ManyOperations::Operator |
( |
size_t |
iOp | ) |
const |
|
inline |
Definition at line 738 of file RawDataDrawer.cxx.
std::vector< std::unique_ptr< RawDataDrawer::OperationBaseClass > > operations
bool evd::RawDataDrawer::OperationBaseClass::operator() |
( |
geo::WireID const & |
wireID, |
|
|
size_t |
tick, |
|
|
float |
adc |
|
) |
| |
|
inlineinherited |
Definition at line 664 of file RawDataDrawer.cxx.
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
virtual bool Operate(geo::WireID const &wireID, size_t tick, float adc)=0
geo::PlaneID const& evd::RawDataDrawer::OperationBaseClass::PlaneID |
( |
| ) |
const |
|
inlineinherited |
bool evd::RawDataDrawer::ManyOperations::ProcessTick |
( |
size_t |
tick | ) |
|
|
inlineoverridevirtual |
bool evd::RawDataDrawer::ManyOperations::ProcessWire |
( |
geo::WireID const & |
wireID | ) |
|
|
inlineoverridevirtual |
RawDataDrawer* evd::RawDataDrawer::OperationBaseClass::RawDataDrawerPtr |
( |
| ) |
const |
|
inlineinherited |
RawDataDrawer* evd::RawDataDrawer::OperationBaseClass::pRawDataDrawer = nullptr |
|
protectedinherited |
The documentation for this class was generated from the following file: