73 size_t n_ticks_tpc = 0;
75 auto& digits_tpc_in =*digits_handle_tpc;
76 for (
auto&& digit: digits_tpc_in) {
80 << digit.Channel() <<
" " 81 << isCollection <<
" ";
82 for(
auto const&
adc: digit.ADCs()){
85 n_ticks_tpc=digits_tpc_in.at(0).ADCs().size();
91 auto& truth_tpc_in =*truth_handle_tpc;
92 for (
auto&& truth: truth_tpc_in) {
96 << truth.Channel() <<
" " 97 << isCollection <<
" ";
98 for(
size_t ichge=0; ichge<n_ticks_tpc; ++ichge){
EventNumber_t event() const
SigType_t SignalType(geo::PlaneID const &pid) const
Returns the type of signal on the channels of specified TPC plane.
EDAnalyzer(fhicl::ParameterSet const &pset)
art framework interface to geometry description
#define DEFINE_ART_MODULE(klass)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
Declaration of signal hit object.
auto const & get(AssnsNode< L, R, D > const &r)
LArSoft geometry interface.
Signal from collection planes.