4#include "Framework/Configure/Parameters.h"
15#include "Ecal/Event/EcalHit.h"
18#include "Tracking/Event/Measurement.h"
19#include "Tracking/Event/StraightTrack.h"
20#include "Tracking/Reco/TrackingGeometryUser.h"
21#include "Tracking/Reco/TruthMatchingTool.h"
60 const std::vector<ldmx::SimTrackerHit>& points,
61 std::vector<std::array<double, 3>>& ecal_points);
64 double calculateDistance(
const std::array<double, 3>& point1,
65 const std::array<double, 3>& point2);
69 std::tuple<double, double, double, double> fit3DLine(
70 const std::vector<ldmx::SimTrackerHit>& points);
73 double globalChiSquare(
const std::vector<ldmx::SimTrackerHit>& points,
74 double a_x,
double a_y,
double b_x,
double b_y);
76 double processing_time_{0.};
78 unsigned int n_truth_{0};
83 double ecal_first_layer_z_threshold_{250.0};
91 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.
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...