#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 int | HcalRegion [2] = {16, 17} |
static float | invGpar [3] = {-13.11, 11.29, 5.133} |
static float | landauFrac [125] |
static float | negThresh [2] = {-3., 15.} |
static float | rCorr [2] = {0.95, 0.95} |
static float | rCorrSiPM [2] = {1., 1.} |
static float | siPM205Frac [125] |
static float | siPM206Frac [125] |
static float | siPM207Frac [125] |
static 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 17 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(), constexpr, f, createfilelist::int, and siPM206Frac.
void HcalDeterministicFit::get206Frac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 54 of file HcalDeterministicFit.cc.
References funct::abs(), constexpr, f, createfilelist::int, and siPM207Frac.
void HcalDeterministicFit::get207Frac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 66 of file HcalDeterministicFit.cc.
References funct::abs(), f, and createfilelist::int.
void HcalDeterministicFit::getFrac | ( | float | tStart, |
float | tEnd, | ||
float & | sum, | ||
FType | fType | ||
) | const |
Definition at line 76 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::getLandauFrac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 32 of file HcalDeterministicFit.cc.
References funct::abs(), constexpr, f, createfilelist::int, and siPM205Frac.
void HcalDeterministicFit::init | ( | HcalTimeSlew::ParaSource | tsParam, |
HcalTimeSlew::BiasSetting | bias, | ||
bool | iApplyTimeSlew, | ||
double | respCorr | ||
) |
Definition at line 20 of file HcalDeterministicFit.cc.
References constexpr, and landauFrac.
void HcalDeterministicFit::phase1Apply | ( | const HBHEChannelInfo & | channelData, |
float & | reconstructedEnergy, | ||
float & | reconstructedTime, | ||
const HcalTimeSlew * | hcalTimeSlew_delay | ||
) | const |
Definition at line 85 of file HcalDeterministicFit.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, HcalTimeSlew::delay(), muonCSCDigis_cfi::gain, HBHEChannelInfo::hasTimeInfo(), cmsBatch::log, HBHEChannelInfo::nSamples(), particleFlowDisplacedVertex_cfi::ratio, 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.
Referenced by init().
|
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 66 of file HcalDeterministicFit.h.
Referenced by getLandauFrac().
|
staticprivate |
Definition at line 81 of file HcalDeterministicFit.h.
Referenced by get205Frac().
|
staticprivate |
Definition at line 96 of file HcalDeterministicFit.h.
Referenced by get206Frac().
|
staticprivate |
Definition at line 45 of file HcalDeterministicFit.h.