2#ifndef RECON_BEAMELECTRONLOCATOR_H
3#define RECON_BEAMELECTRONLOCATOR_H
6#include "Framework/Configure/Parameters.h"
127 int bin(
float coordinate,
double binWidth,
double min,
double max);
Class that represents the truth information about beam electron at the target.
Base classes for all user event processing components to extend.
Class which stores simulated calorimeter hit information.
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.
Electron counting processor.
double granularityYmm_
The granularity of the detector (e.g.
double minXmm_
The min value measured by the system (edge) in X, in mm.
void onProcessStart() override
Prints the configuration to log in debug mode.
void configure(framework::config::Parameters ¶meters) override
Configure the processor using the given user specified parameters.
double tolerance_
The tolerance within which simhits are considered to belong to the same electron.
virtual ~BeamElectronLocator()
Destructor.
std::string outputColl_
The name of the output collection used to save some electron counting variables.
std::string inputPassName_
The pass name of the input collection used for counting electrons.
bool verbose_
Indicate verbose printout to log according to log level.
double minYmm_
The min value measured by the system (edge) in Y, in mm.
std::string inputColl_
The name of the input collection used for counting electrons.
double maxYmm_
The max value measured by the system (edge) in Y, in mm.
int bin(float coordinate, double binWidth, double min, double max)
Bins coordinates according to some given granularity (passed as argument).
void produce(framework::Event &event) override
Process the event and put new data products into it.
double granularityXmm_
The granularity of the detector (e.g.
double maxXmm_
The max value measured by the system (edge) in X, in mm.