LDMX Software
EcalPreselectionSkimmer.h
Go to the documentation of this file.
1
7#ifndef RECON_SKIMS_EcalPreselectionSkimmer_H_
8#define RECON_SKIMS_EcalPreselectionSkimmer_H_
9
10//----------//
11// LDMX //
12//----------//
14
15namespace recon {
16
18 public:
20 EcalPreselectionSkimmer(const std::string& name, framework::Process& process);
21
23 virtual ~EcalPreselectionSkimmer() = default;
24
25 // Configure this processor with a set of parameters passed
26 virtual void configure(framework::config::Parameters&) final;
27
33 virtual void produce(framework::Event& event) final;
34
35 private:
39 std::string ecal_veto_name_;
41 std::string ecal_veto_pass_;
43 std::string ecal_mip_name_;
45 std::string ecal_mip_pass_;
47 std::string ecal_rec_hit_coll_;
49 std::string ecal_rec_hit_pass_;
79
80}; // EcalPreselectionSkimmer
81} // namespace recon
82
83#endif // RECON_SKIMS_EcalPreselectionSkimmer_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.
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
bool use_rechits_
Use rechit-based preselection (if false, use veto-based)
int n_straight_tracks_max_
Max value for num straight tracks.
double ecal_back_energy_max_
Max value for ecal back energy.
virtual void produce(framework::Event &event) final
Run the processor and select events that pass pre-selection in ECAL.
int std_layer_hit_max_
Max value for std layer hits_.
std::string ecal_mip_name_
Collection Name for mip result object (optional if use_rechits_ is true)
double bdt_disc_min_
Min value for the BDT disc variable.
std::string ecal_veto_name_
Collection Name for veto object (optional if use_rechits_ is true)
int n_readout_hits_max_
Max value for num readout hits_.
std::string ecal_rec_hit_pass_
Pass Name for ecal rechits.
double summed_det_max_
Max value for summed det.
virtual void configure(framework::config::Parameters &) final
Callback for the EventProcessor to configure itself from the given set of parameters.
double shower_x_std_max_
Max value for shower rms in X.
double summed_tight_iso_max_
Max value for summed tigh iso.
EcalPreselectionSkimmer(const std::string &name, framework::Process &process)
Constructor.
std::string ecal_rec_hit_coll_
Collection Name for ecal rechits.
double shower_y_std_max_
Max value for shower rms in Y.
double shower_rms_max_
Max value for shower rms.
double max_cell_dep_max_
Max value for maximal cell deposition.
std::string ecal_veto_pass_
Pass Name for veto object (optional if use_rechits_ is true)
virtual ~EcalPreselectionSkimmer()=default
Destructor.
int fiducial_level_
Level of interest in fiducial events 0: don't care if it's fiducial or not, 1: keep fiducial events o...
std::string ecal_mip_pass_
Pass Name for mip result object (optional if use_rechits_ is true)