4#include "Framework/Configure/Parameters.h"
14#include "Tracking/Event/StraightTrack.h"
15#include "Tracking/Reco/TrackingGeometryUser.h"
54 const std::vector<ldmx::SimTrackerHit>& points,
55 std::vector<std::array<double, 3>>& ecal_points);
58 double calculateDistance(
const std::array<double, 3>& point1,
59 const std::array<double, 3>& point2);
63 std::tuple<double, double, double, double> fit3DLine(
64 const std::vector<ldmx::SimTrackerHit>& points);
67 double globalChiSquare(
const std::vector<ldmx::SimTrackerHit>& points,
68 double a_x,
double a_y,
double b_x,
double b_y);
70 double processing_time_{0.};
72 unsigned int n_truth_{0};
77 double ecal_first_layer_z_threshold_{250.0};
85 std::string input_pass_name_{
""};
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
Class which encapsulates information from a hit in a simulated tracking detector.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
virtual void process(Event &event) final
Processing an event for a Producer is calling produce.
Class encapsulating parameters for configuring a processor.
std::string input_rec_hits_collection_
The name of the tagger Tracks (only for Recoil Seeding)
void produce(framework::Event &event) override
Run the processor and create a collection of results which indicate if a charge particle can be found...
std::string input_hits_collection_
The name of the input hits collection to use in finding seeds..
LinearTruthTracking(const std::string &name, framework::Process &process)
Constructor.
std::string out_trk_collection_
The name of the output collection of seeds to be stored.
void onProcessEnd() override
Output event statistics.
virtual ~LinearTruthTracking()=default
Destructor.
void configure(framework::config::Parameters ¶meters) override
Configure the processor using the given user specified parameters.
a helper base class providing some methods to shorten access to common conditions used within the tra...
The measurement calibrator can be a function or a class/struct able to retrieve the sim hits containe...