LDMX Software
StripClusterProcessor.h
1#pragma once
2
3#include <memory>
4#include <string>
5
6#include "Framework/Configure/Parameters.h"
7#include "Framework/Event.h"
8#include "Tracking/Digitization/SiStripConstants.h"
9#include "Tracking/Digitization/StripClusterer.h"
10#include "Tracking/Reco/TrackingGeometryUser.h"
11
12namespace tracking::reco {
13
48 public:
49 StripClusterProcessor(const std::string& name, framework::Process& process);
50 virtual ~StripClusterProcessor() = default;
51
52 void configure(framework::config::Parameters& parameters) override;
53 void onProcessStart() override;
54 void produce(framework::Event& event) override;
55
56 private:
57 // I/O
58 std::string in_collection_{"FittedSiStripHits"};
59 std::string in_pass_{""};
60 std::string out_collection_{"StripMeasurements"};
61
62 // Clustering parameters (forwarded to StripClusterer)
63 double seed_threshold_{4.0};
64 double neighbor_threshold_{3.0};
65 double cluster_threshold_{4.0};
66 double mean_time_ns_{0.0};
67 double time_window_ns_{-1.0};
68 double neighbor_delta_t_ns_{-1.0};
69 double max_chi2_ndf_{-1.0};
70
71 std::unique_ptr<tracking::digitization::StripClusterer> clusterer_;
72};
73
74} // namespace tracking::reco
Class implementing an event buffer system for storing event data.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:37
virtual void process(Event &event) final
Processing an event for a Producer is calling produce.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
Clusters fitted silicon-strip hits and produces Measurement objects.
void onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
void produce(framework::Event &event) override
Process the event and put new data products into it.
void configure(framework::config::Parameters &parameters) override
Callback for the EventProcessor to configure itself from the given set of parameters.
a helper base class providing some methods to shorten access to common conditions used within the tra...