73 produces< std::vector<anab::Calorimetry> >();
74 produces< art::Assns<recob::Track, anab::Calorimetry> >();
95 std::vector< art::Ptr<recob::Track> > tracks;
99 std::unique_ptr< std::vector<anab::Calorimetry> > calorimetrycol(
new std::vector<anab::Calorimetry>);
106 for(
size_t t = 0; t < tracks.size(); ++t)
109 std::vector<art::Ptr<recob::Hit> >
hits = fmht.at(t);
119 if (calorimetrycol->size()>0){
120 evt.
put(std::move(calorimetrycol));
121 evt.
put(std::move(assn));
virtual ~BezierCalorimetry()
void reconfigure(fhicl::ParameterSet const &pset)
Declaration of signal hit object.
std::string fBTrackModuleLabel
module creating the track objects and assns to hits
ProductID put(std::unique_ptr< PROD > &&product)
#define DEFINE_ART_MODULE(klass)
Provides recob::Track data product.
T get(std::string const &key) const
bool CreateAssn(PRODUCER const &prod, art::Event &evt, std::vector< T > const &a, art::Ptr< U > const &b, art::Assns< U, T > &assn, std::string a_instance, size_t indx=UINT_MAX)
Creates a single one-to-one association.
void produce(art::Event &evt)
anab::Calorimetry GetCalorimetryObject(std::vector< art::Ptr< recob::Hit > > const &Hits, geo::SigType_t sigtype, calo::CalorimetryAlg const &)
Utility object to perform functions of association.
Encapsulate the construction of a single detector plane.
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
BezierCalorimetry(fhicl::ParameterSet const &pset)
art framework interface to geometry description
Encapsulate the construction of a single detector plane.
Signal from collection planes.
art::ServiceHandle< geo::Geometry > fGeo