Definition at line 32 of file CRTHitConverter_module.cc.
sbn::CRTHitConverter::CRTHitConverter |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
Definition at line 104 of file CRTHitConverter_module.cc.
110 std::cerr <<
"ERROR: Bad experiment configuration (" <<
fExperiment <<
"). Experiment must be one of 'SBND' or 'ICARUS'";
113 produces< std::vector<sbn::crt::CRTHit> >();
art::InputTag fCRTHitLabel
BEGIN_PROLOG could also be cerr
void sbn::CRTHitConverter::produce |
( |
art::Event & |
e | ) |
|
|
override |
Definition at line 116 of file CRTHitConverter_module.cc.
119 std::unique_ptr<std::vector<sbn::crt::CRTHit>> crthits(
new std::vector<sbn::crt::CRTHit>);
122 art::Handle<std::vector<sbnd::crt::CRTHit>> crthit_handle;
124 if (crthit_handle.isValid()) {
131 art::Handle<std::vector<icarus::crt::CRTHit>> crthit_handle;
133 if (crthit_handle.isValid()) {
140 e.put(std::move(crthits));
art::InputTag fCRTHitLabel
sbn::crt::CRTHit ICARUSCRTHit(const icarus::crt::CRTHit &inp)
sbn::crt::CRTHit SBNDCRTHit(const sbnd::crt::CRTHit &inp)
art::InputTag sbn::CRTHitConverter::fCRTHitLabel |
|
private |
std::string sbn::CRTHitConverter::fExperiment |
|
private |
The documentation for this class was generated from the following file: