#include <ZdcSimpleRecAlgo.h>
Public Member Functions | |
void | initPulseCorr (int toadd, const HcalTimeSlew *hcalTimeSlew_delay) |
ZDCRecHit | reconstruct (const ZDCDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const |
HcalCalibRecHit | reconstruct (const HcalCalibDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const |
ZdcSimpleRecAlgo (bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac) | |
ZdcSimpleRecAlgo (int recoMethod) | |
Private Attributes | |
bool | correctForPulse_ |
bool | correctForTimeslew_ |
double | lowGainFrac_ |
int | lowGainOffset_ |
float | phaseNS_ |
std::unique_ptr< HcalPulseContainmentCorrection > | pulseCorr_ |
int | recoMethod_ |
This class reconstructs RecHits from Digis for ZDC by addition of selected time samples, pedestal subtraction, and gain application. The time of the hit is reconstructed using a weighted peak bin calculation supplemented by precise time lookup table. A consumer of this class also has the option of correcting the reconstructed time for energy-dependent time slew associated with the QIE.
A sencon method based on a based on a event by event substraction is also implelented. signal = (S4 + S5 - 2*(S1+S2+S3 + S7+S8+S9+S10))*(ft-Gev constant) where SN is the signal in the nth time slice
Definition at line 36 of file ZdcSimpleRecAlgo.h.
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo | ( | bool | correctForTimeslew, |
bool | correctForContainment, | ||
float | fixedPhaseNs, | ||
int | recoMethod, | ||
int | lowGainOffset, | ||
double | lowGainFrac | ||
) |
Full featured constructor for ZDC
Definition at line 12 of file ZdcSimpleRecAlgo.cc.
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo | ( | int | recoMethod | ) |
void ZdcSimpleRecAlgo::initPulseCorr | ( | int | toadd, |
const HcalTimeSlew * | hcalTimeSlew_delay | ||
) |
Definition at line 27 of file ZdcSimpleRecAlgo.cc.
References correctForPulse_, MaximumFractionalError, phaseNS_, and pulseCorr_.
Referenced by ZdcSimpleReconstructor::produce().
ZDCRecHit ZdcSimpleRecAlgo::reconstruct | ( | const ZDCDataFrame & | digi, |
const std::vector< unsigned int > & | myNoiseTS, | ||
const std::vector< unsigned int > & | mySignalTS, | ||
const HcalCoder & | coder, | ||
const HcalCalibrations & | calibs | ||
) | const |
Definition at line 231 of file ZdcSimpleRecAlgo.cc.
References Exception, HcalTimeSlew::Fast, lowGainFrac_, lowGainOffset_, and recoMethod_.
Referenced by ZdcSimpleReconstructor::produce(), and ZdcHitReconstructor::produce().
HcalCalibRecHit ZdcSimpleRecAlgo::reconstruct | ( | const HcalCalibDataFrame & | digi, |
const std::vector< unsigned int > & | myNoiseTS, | ||
const std::vector< unsigned int > & | mySignalTS, | ||
const HcalCoder & | coder, | ||
const HcalCalibrations & | calibs | ||
) | const |
|
private |
Definition at line 49 of file ZdcSimpleRecAlgo.h.
Referenced by initPulseCorr().
|
private |
Definition at line 48 of file ZdcSimpleRecAlgo.h.
|
private |
Definition at line 53 of file ZdcSimpleRecAlgo.h.
Referenced by reconstruct().
|
private |
Definition at line 52 of file ZdcSimpleRecAlgo.h.
Referenced by reconstruct().
|
private |
Definition at line 50 of file ZdcSimpleRecAlgo.h.
Referenced by initPulseCorr().
|
private |
Definition at line 54 of file ZdcSimpleRecAlgo.h.
Referenced by initPulseCorr().
|
private |
Definition at line 47 of file ZdcSimpleRecAlgo.h.
Referenced by reconstruct().