#ifndef CustomProcessor_h #define CustomProcessor_h #include "hadaq/SubProcessor.h" namespace hadaq { class TrbProcessor; /** This is specialized sub-processor for custom data. * It should be used together with TrbProcessor, * which the only can provide data **/ class CustomProcessor : public SubProcessor { friend class TrbProcessor; protected: unsigned fNumChannels; base::H1handle fChannels; ///= fNumChannels) chid = chid % fNumChannels; FillH1(fChannels, chid); } return true; } #endif