LDMX Software
TrackDeDxMassEstimator.h
Go to the documentation of this file.
1
8#ifndef RECON_TRACKDEDXMASSESTIMATOR_H_
9#define RECON_TRACKDEDXMASSESTIMATOR_H_
10
11// LDMX Framework
12#include "Framework/Configure/Parameters.h"
15#include "Tracking/Event/Measurement.h"
16#include "Tracking/Event/Track.h"
17
18namespace recon {
19
25 public:
26 TrackDeDxMassEstimator(const std::string& name, framework::Process& process)
27 : framework::Producer(name, process) {}
28
29 virtual void configure(framework::config::Parameters& ps) override;
30
31 virtual void produce(framework::Event& event) override;
32
33 private:
34 float fit_res_C_{0.};
35 float fit_res_K_{-9999.};
36
37 // name of input track collection
38 std::string track_collection_;
39
40 // name of input simhit collection
41 std::string simhit_collection_;
42
43 // pass name the input collections
44 std::string input_pass_name_;
45
46}; // TrackDeDxMassEstimator
47
48} // namespace recon
49
50#endif // RECON_TRACKDEDXMASSESTIMATOR_H_
Base classes for all user event processing components to extend.
Class that represents the estimated mass of a particle using tracker dE/dx information.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:36
Base class for a module which produces a data product.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
virtual void produce(framework::Event &event) override
Process the event and put new data products into it.
virtual void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.