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#include "Tracking/Event/Track.h"
14
15namespace tracking {
16
27 public:
33 TrackerVetoProcessor(const std::string& name, framework::Process& process)
34 : framework::Producer(name, process) {}
35
39 virtual ~TrackerVetoProcessor() = default;
40
49 void configure(framework::config::Parameters& parameters) override;
50
59 void produce(framework::Event& event) override;
60
61 private:
63 float max_d0_;
64
66 float max_z0_;
67
70
73
76
79
82
85
88
91
94
97
99 bool inverse_skim_{false};
100
101 //** Output collection name */
102 std::string output_collection_;
103};
104
105} // namespace tracking
106
107#endif // TRACKING_TRACKERVETOPROCESSOR_H_
Base classes for all user event processing components to extend.
Class that holds reco-level tracking veto decision.
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.
Producer(const std::string &name, Process &process)
Class constructor.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
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.
Definition PerfDict.cxx:45
The measurement calibrator can be a function or a class/struct able to retrieve the sim hits containe...