![]() |
![]() |
#include <ZdcSimpleRecAlgo.h>
Public Member Functions | |
ZDCRecHit | reconstruct (const ZDCDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calibs) const |
HcalCalibRecHit | reconstruct (const HcalCalibDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calibs) const |
ZdcSimpleRecAlgo (int firstSample, int samplesToAdd, bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod) | |
ZdcSimpleRecAlgo (int firstSample, int samplesToAdd, int recoMethod) | |
Private Attributes | |
bool | correctForTimeslew_ |
int | firstSample_ |
std::auto_ptr < HcalPulseContainmentCorrection > | pulseCorr_ |
int | recoMethod_ |
int | samplesToAdd_ |
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 37 of file ZdcSimpleRecAlgo.h.
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo | ( | int | firstSample, |
int | samplesToAdd, | ||
bool | correctForTimeslew, | ||
bool | correctForContainment, | ||
float | fixedPhaseNs, | ||
int | recoMethod | ||
) |
Full featured constructor for ZDC
Definition at line 12 of file ZdcSimpleRecAlgo.cc.
References MaximumFractionalError, pulseCorr_, and samplesToAdd_.
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo | ( | int | firstSample, |
int | samplesToAdd, | ||
int | recoMethod | ||
) |
Simple constructor for PMT-based detectors
Definition at line 21 of file ZdcSimpleRecAlgo.cc.
ZDCRecHit ZdcSimpleRecAlgo::reconstruct | ( | const ZDCDataFrame & | digi, |
const HcalCoder & | coder, | ||
const HcalCalibrations & | calibs | ||
) | const |
Definition at line 175 of file ZdcSimpleRecAlgo.cc.
References edm::hlt::Exception, HcalTimeSlew::Fast, firstSample_, recoMethod_, and samplesToAdd_.
Referenced by ZdcSimpleReconstructor::produce(), and ZdcHitReconstructor::produce().
HcalCalibRecHit ZdcSimpleRecAlgo::reconstruct | ( | const HcalCalibDataFrame & | digi, |
const HcalCoder & | coder, | ||
const HcalCalibrations & | calibs | ||
) | const |
|
private |
Definition at line 48 of file ZdcSimpleRecAlgo.h.
|
private |
Definition at line 47 of file ZdcSimpleRecAlgo.h.
Referenced by reconstruct().
|
private |
Definition at line 49 of file ZdcSimpleRecAlgo.h.
Referenced by ZdcSimpleRecAlgo().
|
private |
Definition at line 47 of file ZdcSimpleRecAlgo.h.
Referenced by reconstruct().
|
private |
Definition at line 47 of file ZdcSimpleRecAlgo.h.
Referenced by reconstruct(), and ZdcSimpleRecAlgo().