#include <HcalDeterministicFit.h>
Public Types | |
enum | FType { shapeLandau, shape205, shape206, shape207 } |
Public Member Functions | |
void | get205Frac (float tStart, float tEnd, float &sum) const |
void | get206Frac (float tStart, float tEnd, float &sum) const |
void | get207Frac (float tStart, float tEnd, float &sum) const |
void | getFrac (float, float, float &, FType) const |
void | getLandauFrac (float tStart, float tEnd, float &sum) const |
HcalDeterministicFit () | |
void | init (HcalTimeSlew::ParaSource tsParam, HcalTimeSlew::BiasSetting bias, bool iApplyTimeSlew, double respCorr) |
void | phase1Apply (const HBHEChannelInfo &channelData, float &reconstructedEnergy, float &reconstructedTime, const HcalTimeSlew *hcalTimeSlew_delay) const |
~HcalDeterministicFit () | |
Private Attributes | |
bool | applyTimeSlew_ |
PedestalSub | fPedestalSubFxn_ |
double | frespCorr_ |
HcalTimeSlew::ParaSource | fTimeSlew_ |
HcalTimeSlew::BiasSetting | fTimeSlewBias_ |
Static Private Attributes | |
static constexpr int | HcalRegion [2] = {16, 17} |
static constexpr float | invGpar [3] = {-13.11, 11.29, 5.133} |
static constexpr float | landauFrac [125] |
static constexpr float | negThresh [2] = {-3., 15.} |
static constexpr float | rCorr [2] = {0.95, 0.95} |
static constexpr float | rCorrSiPM [2] = {1., 1.} |
static constexpr float | siPM205Frac [125] |
static constexpr float | siPM206Frac [125] |
static constexpr float | siPM207Frac [125] |
static constexpr int | tsWidth = 25 |
Definition at line 16 of file HcalDeterministicFit.h.
Enumerator | |
---|---|
shapeLandau | |
shape205 | |
shape206 | |
shape207 |
Definition at line 21 of file HcalDeterministicFit.h.
HcalDeterministicFit::HcalDeterministicFit | ( | ) |
Definition at line 14 of file HcalDeterministicFit.cc.
HcalDeterministicFit::~HcalDeterministicFit | ( | ) |
Definition at line 16 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::get205Frac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 43 of file HcalDeterministicFit.cc.
References funct::abs(), reco::ceil(), f, and createfilelist::int.
void HcalDeterministicFit::get206Frac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 53 of file HcalDeterministicFit.cc.
References funct::abs(), reco::ceil(), f, and createfilelist::int.
void HcalDeterministicFit::get207Frac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 63 of file HcalDeterministicFit.cc.
References funct::abs(), reco::ceil(), f, and createfilelist::int.
void HcalDeterministicFit::getFrac | ( | float | tStart, |
float | tEnd, | ||
float & | sum, | ||
FType | fType | ||
) | const |
Definition at line 72 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::getLandauFrac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 33 of file HcalDeterministicFit.cc.
References funct::abs(), reco::ceil(), f, and createfilelist::int.
void HcalDeterministicFit::init | ( | HcalTimeSlew::ParaSource | tsParam, |
HcalTimeSlew::BiasSetting | bias, | ||
bool | iApplyTimeSlew, | ||
double | respCorr | ||
) |
Definition at line 18 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::phase1Apply | ( | const HBHEChannelInfo & | channelData, |
float & | reconstructedEnergy, | ||
float & | reconstructedTime, | ||
const HcalTimeSlew * | hcalTimeSlew_delay | ||
) | const |
Definition at line 89 of file HcalDeterministicFit.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, HcalTimeSlew::delay(), Hcal_Conditions_forGlobalTag_cff::gain, HBHEChannelInfo::hasTimeInfo(), testProducerWithPsetDescEmpty_cfi::i3, CrabHelper::log, hgchebackDigitizer_cfi::noise, HBHEChannelInfo::nSamples(), QIE10Task_cfi::ped, HBHEChannelInfo::recoShape(), HBHEChannelInfo::soi(), mathSSE::sqrt(), HBHEChannelInfo::tsGain(), HBHEChannelInfo::tsPedestal(), HBHEChannelInfo::tsPedestalWidth(), and HBHEChannelInfo::tsRawCharge().
Referenced by SimpleHBHEPhase1Algo::reconstruct().
|
private |
Definition at line 41 of file HcalDeterministicFit.h.
|
private |
Definition at line 40 of file HcalDeterministicFit.h.
|
private |
Definition at line 42 of file HcalDeterministicFit.h.
|
private |
Definition at line 38 of file HcalDeterministicFit.h.
|
private |
Definition at line 39 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 44 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 47 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 51 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 46 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 48 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 49 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 67 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 82 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 97 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 45 of file HcalDeterministicFit.h.