13 #include "art_root_io/TFileService.h" 66 m_tree = tfs->make<TTree>(
"WaveformTree",
"title");
77 auto& digits_in =*digits_handle;
81 for(
auto&& digit: digits_in){
83 if(!isCollection)
continue;
86 m_chans.push_back(digit.Channel());
87 std::vector<int> waveform;
88 for(
auto const&
adc: digit.ADCs()){
89 waveform.push_back(
adc);
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
auto const & get(AssnsNode< L, R, D > const &r)
LArSoft geometry interface.
Signal from collection planes.