LDMX Software
TrackerVetoProcessor.h
Go to the documentation of this file.
1
7#ifndef TRACKING_TRACKERVETOPROCESSOR_H_
8#define TRACKING_TRACKERVETOPROCESSOR_H_
9
10#include "Framework/Configure/Parameters.h"
12
13namespace tracking {
14
25 public:
32 : framework::Producer(name, process) {}
33
37 virtual ~TrackerVetoProcessor() = default;
38
47 void configure(framework::config::Parameters& parameters) override;
48
57 void produce(framework::Event& event) override;
58
59 private:
61 float max_d0_;
62
64 float max_z0_;
65
68
71
74
77
80
83
86
89
92
95
97 bool inverse_skim_{false};
98
99 //** Output collection name */
100 std::string output_collection_;
101};
102
103} // namespace tracking
104
105#endif // TRACKING_TRACKERVETOPROCESSOR_H_
Base classes for all user event processing components to extend.
Implements an event buffer system for storing event data.
Definition Event.h:40
Class which represents the process under execution.
Definition Process.h:34
Base class for a module which produces a data product.
Producer(const std::string &name, Process &process)
Class constructor.
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:26
Flags events that pass the tracker veto by applying specific selection criteria.
std::string input_tagger_pass_name_
The pass name of the input tagger collections.
float max_d0_
Maximum allowed transverse impact parameter (d0) for tracks.
int min_recoil_n_
Minimum number of recoil tracks required.
int min_tagger_hits_
Min number of hits for tagger tracks required.
void configure(framework::config::Parameters &parameters) override
Configure the processor using the given user-specified parameters.
void produce(framework::Event &event) override
Process an event and apply tracker veto selection criteria.
bool inverse_skim_
Boolean flag to invert the selection criteria for skimming purposes.
float max_z0_
Maximum allowed longitudinal impact parameter (z0) for tracks.
std::string input_recoil_pass_name_
The pass name of the input recoil collections.
virtual ~TrackerVetoProcessor()=default
Class destructor.
int max_recoil_n_
Maximum number of recoil tracks allowed.
TrackerVetoProcessor(const std::string &name, framework::Process &process)
Class constructor.
std::string recoil_track_collection_name_
The name of the recoil track collection.
int min_recoil_hits_
Min number of hits for recoil tracks required.
float min_tagger_momentum_
Minimum required momentum for tagger tracks.
std::string tagger_track_collection_name_
The name of the tagger track collection.
float max_chi2_per_ndf_
Max chi2/ndf required for tracks.
All classes in the ldmx-sw project use this namespace.
The measurement calibrator can be a function or a class/struct able to retrieve the sim hits containe...