11 #include "canvas/Utilities/InputTag.h"
17 #include "fhiclcpp/ParameterSet.h"
38 fTag = config ? config->get<std::string>(
"Tag",
"largeant") :
"largeant";
53 bool ProcessEvent(
const gallery::Event& ev,
const std::vector<event::Interaction> &truth, std::vector<event::RecoInteraction>&
reco) {
54 const std::vector<sim::AuxDetSimChannel> &channels = *ev.getValidHandle<std::vector<sim::AuxDetSimChannel>>(
fTag);
56 std::cout <<
"Channel ID: " << ch.AuxDetID() << std::endl;
57 std::cout <<
"Sensative ID: " << ch.AuxDetSensitiveID() << std::endl;
58 std::cout <<
"NHits: " << ch.AuxDetIDEs().size() << std::endl << std::endl;
bool ProcessEvent(const gallery::Event &ev, const std::vector< event::Interaction > &truth, std::vector< event::RecoInteraction > &reco)
void Initialize(fhicl::ParameterSet *config=NULL)
process_name opflashCryoW ana
Collection of particles crossing one auxiliary detector cell.
object containing MC truth information necessary for making RawDigits and doing back tracking ...
process_name standard_reco_uboone reco
AuxDetSimChannelPrinter()
Electron neutrino event selection.
#define DECLARE_SBN_PROCESSOR(classname)
Base class for event selections.
BEGIN_PROLOG could also be cout