8#ifndef __HCAL_HCAL_VETO_PROCESSOR_H__
9#define __HCAL_HCAL_VETO_PROCESSOR_H__
22#include "Framework/Configure/Parameters.h"
24#include "Tracking/Event/Track.h"
58 std::vector<float>
trackProp(
const ldmx::Tracks &tracks,
59 ldmx::TrackStateType ts_type,
60 const std::string &ts_title);
90 std::string output_coll_name_;
91 std::string input_hit_coll_name_;
92 std::string input_hit_pass_name_;
93 bool exclude_recoil_ele_;
94 std::string track_collection_;
95 float dr_from_recoil_max_;
96 bool inverse_skim_{
false};
Base classes for all user event processing components to extend.
Class that stores Stores reconstructed hit information from the HCAL.
Class that defines an HCal sensitive detector.
Class used to encapsulate the results obtained from HcalVetoProcessor.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Base class for a module which produces a data product.
Class encapsulating parameters for configuring a processor.
HcalVetoProcessor(const std::string &name, framework::Process &process)
Constructor.
double total_PE_threshold_
Total PE threshold.
float max_time_
Maximum hit time that should be considered by the veto.
void configure(framework::config::Parameters ¶meters) override
Configure the processor using the given user specified parameters.
virtual ~HcalVetoProcessor()=default
Destructor.
std::vector< float > trackProp(const ldmx::Tracks &tracks, ldmx::TrackStateType ts_type, const std::string &ts_title)
Return a vector of parameters for a propagated recoil track.
void produce(framework::Event &event) override
Run the processor and create a collection of results which indicate if the event passes/fails the Hca...
float back_min_PE_
The minimum number of PE in both bars needed for a hit to be considered in double ended readout mode.
Stores reconstructed hit information from the HCAL.