7#ifndef EVENTPROC_ECALWABROCESSOR_H_
8#define EVENTPROC_ECALWABROCESSOR_H_
13#include "DetDescr/SimSpecialID.h"
14#include "Ecal/Event/EcalHit.h"
17#include "SimCore/Event/SimParticle.h"
19#include "Tracking/Event/StraightTrack.h"
51 std::string sp_pass_name_;
52 std::string rec_pass_name_;
53 std::string rec_coll_name_;
54 std::string track_pass_name_;
55 std::string track_coll_name_;
57 float processing_time_{0.};
59 std::tuple<Eigen::VectorXd, float, int, Eigen::MatrixXd, int>
60 fit2DTracksConstrained(
const std::vector<float>& x1,
61 const std::vector<float>& y1,
62 const std::vector<float>& s1,
63 const std::vector<float>& x2,
64 const std::vector<float>& y2,
65 const std::vector<float>& s2,
66 const std::vector<double>& guess,
int maxIter,
67 int verbosity,
float dchisq,
float abs_lim);
69 std::pair<Eigen::VectorXd, Eigen::VectorXd> polyfitXYvsZ(
70 const std::vector<float>& x,
const std::vector<float>& y,
71 const std::vector<float>& z,
int degree);
Class that translates raw positions of ECal module hits into cells in a hexagonal readout.
Class that defines an ECal detector ID with a cell number.
Class used to encapsulate the results obtained from EcalWABRecProcessor.
Base classes for all user event processing components to extend.
Class which encapsulates information from a hit in a simulated tracking detector.
void produce(framework::Event &event) override
Process the event and put new data products into it.
std::string collection_name_
Name of the collection which will contain the results.
void onProcessEnd() override
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
void configure(framework::config::Parameters ¶meters) override
Callback for the EventProcessor to configure itself from the given set of parameters.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Base class for a module which produces a data product.
Producer(const std::string &name, Process &process)
Class constructor.
Class encapsulating parameters for configuring a processor.