![]() |
![]() |
#include "RecoLocalCalo/HcalRecAlgos/interface/HcalSimpleRecAlgo.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CalibCalorimetry/HcalAlgos/interface/HcalTimeSlew.h"
#include <algorithm>
#include <math.h>
#include <iostream>
Go to the source code of this file.
Namespaces | |
HcalSimpleRecAlgoImpl | |
Functions | |
static float | eCorr (int ieta, int iphi, double ampl) |
Ugly hack to apply energy corrections to some HB- cells. More... | |
template<class Digi , class RecHit > | |
RecHit | HcalSimpleRecAlgoImpl::reco (const Digi &digi, const HcalCoder &coder, const HcalCalibrations &calibs, int ifirst, int n, bool slewCorrect, const HcalPulseContainmentCorrection *corr, HcalTimeSlew::BiasSetting slewFlavor, bool forData) |
static float | timeshift_ns_hbheho (float wpksamp) |
static float | timeshift_ns_hf (float wpksamp) |
Same as above, but for the HF PMTs. More... | |
Variables | |
static const float | actual_ns_hbheho [num_bins_hbheho] |
static const float | actual_ns_hf [num_bins_hf] |
static double | MaximumFractionalError = 0.0005 |
static const int | num_bins_hbheho = 61 |
static const int | num_bins_hf = 101 |
static const float | wpksamp0_hbheho = 0.5 |
static const float | wpksamp0_hf = 0.5 |
|
static |
Ugly hack to apply energy corrections to some HB- cells.
Definition at line 203 of file HcalSimpleRecAlgo.cc.
References corr, relval_parameters_module::energy, funct::exp(), and slope.
Referenced by HcalSimpleRecAlgoImpl::reco().
|
static |
Timeshift correction for HPDs based on the position of the peak ADC measurement. Allows for an accurate determination of the relative phase of the pulse shape from the HPD. Calculated based on a weighted sum of the -1,0,+1 samples relative to the peak as follows: wpksamp = (0*sample[0] + 1*sample[1] + 2*sample[2]) / (sample[0] + sample[1] + sample[2]) where sample[1] is the maximum ADC sample value.
Definition at line 315 of file HcalSimpleRecAlgo.cc.
References actual_ns_hbheho, getHLTprescales::index, num_bins_hbheho, and wpksamp0_hbheho.
Referenced by HcalSimpleRecAlgoImpl::reco().
|
static |
Same as above, but for the HF PMTs.
Definition at line 439 of file HcalSimpleRecAlgo.cc.
References actual_ns_hf, getHLTprescales::index, num_bins_hf, and wpksamp0_hf.
Referenced by HcalSimpleRecAlgo::reconstruct().
|
static |
Definition at line 251 of file HcalSimpleRecAlgo.cc.
Referenced by timeshift_ns_hbheho().
|
static |
Definition at line 335 of file HcalSimpleRecAlgo.cc.
Referenced by timeshift_ns_hf().
|
static |
Definition at line 9 of file HcalSimpleRecAlgo.cc.
Referenced by HcalSimpleRecAlgo::initPulseCorr().
|
static |
Definition at line 249 of file HcalSimpleRecAlgo.cc.
Referenced by timeshift_ns_hbheho().
|
static |
Definition at line 332 of file HcalSimpleRecAlgo.cc.
Referenced by timeshift_ns_hf().
|
static |
Definition at line 248 of file HcalSimpleRecAlgo.cc.
Referenced by timeshift_ns_hbheho().
|
static |
Definition at line 333 of file HcalSimpleRecAlgo.cc.
Referenced by timeshift_ns_hf().