#include <HcalDeterministicFit.h>
Public Types | |
enum | NegStrategy { DoNothing =0, MoveCharge =1, MoveTiming =2 } |
Public Member Functions | |
template<class Digi > | |
void | apply (const CaloSamples &cs, const std::vector< int > &capidvec, const HcalCalibrations &calibs, const Digi &digi, std::vector< double > &Output) const |
void | getLandauFrac (float tStart, float tEnd, float &sum) const |
HcalDeterministicFit () | |
void | init (HcalTimeSlew::ParaSource tsParam, HcalTimeSlew::BiasSetting bias, NegStrategy nStrat, PedestalSub pedSubFxn_, std::vector< double > pars, double respCorr) |
~HcalDeterministicFit () | |
Private Attributes | |
NegStrategy | fNegStrat |
double | fpars [9] |
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 [] |
static float | negThresh [2] = {-3., 15.} |
static float | rCorr [2] = {0.95, 0.95} |
static int | tsWidth = 25 |
Definition at line 15 of file HcalDeterministicFit.h.
HcalDeterministicFit::HcalDeterministicFit | ( | ) |
Definition at line 13 of file HcalDeterministicFit.cc.
HcalDeterministicFit::~HcalDeterministicFit | ( | ) |
Definition at line 16 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::apply | ( | const CaloSamples & | cs, |
const std::vector< int > & | capidvec, | ||
const HcalCalibrations & | calibs, | ||
const Digi & | digi, | ||
std::vector< double > & | Output | ||
) | const |
Definition at line 59 of file HcalDeterministicFit.h.
References funct::abs(), PedestalSub::calculate(), RecoTauCleanerPlugins::charge, HcalTimeSlew::delay(), fNegStrat, fpars, fPedestalSubFxn_, frespCorr, fTimeSlew, fTimeSlewBias, getLandauFrac(), HcalRegion, HcalDetId::ieta(), invGpar, cmsBatch::log, MoveCharge, MoveTiming, negThresh, HcalCalibrations::pedestal(), rCorr, HcalCalibrations::respcorrgain(), CaloSamples::size(), mathSSE::sqrt(), and tsWidth.
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), editorTools.ChangeSource::__call__(), HiCoreTools.RemoveMCMatching::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), HiCoreTools.AddCleaning::__call__(), jetTools.AddJetCollection::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), jetTools.SetTagInfos::__call__(), HcalSimpleRecAlgoImpl::reco(), and HcalSimpleRecAlgoImpl::recoHBHE().
void HcalDeterministicFit::getLandauFrac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
Definition at line 36 of file HcalDeterministicFit.cc.
References funct::abs().
Referenced by apply().
void HcalDeterministicFit::init | ( | HcalTimeSlew::ParaSource | tsParam, |
HcalTimeSlew::BiasSetting | bias, | ||
NegStrategy | nStrat, | ||
PedestalSub | pedSubFxn_, | ||
std::vector< double > | pars, | ||
double | respCorr | ||
) |
Definition at line 19 of file HcalDeterministicFit.cc.
|
private |
Definition at line 31 of file HcalDeterministicFit.h.
Referenced by apply().
|
private |
Definition at line 34 of file HcalDeterministicFit.h.
Referenced by apply().
|
private |
Definition at line 32 of file HcalDeterministicFit.h.
Referenced by apply().
|
private |
Definition at line 35 of file HcalDeterministicFit.h.
Referenced by apply().
|
private |
Definition at line 29 of file HcalDeterministicFit.h.
Referenced by apply().
|
private |
Definition at line 30 of file HcalDeterministicFit.h.
Referenced by apply().
|
staticprivate |
Definition at line 37 of file HcalDeterministicFit.h.
Referenced by apply().
|
staticprivate |
Definition at line 40 of file HcalDeterministicFit.h.
Referenced by apply().
|
staticprivate |
Definition at line 42 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 39 of file HcalDeterministicFit.h.
Referenced by apply().
|
staticprivate |
Definition at line 41 of file HcalDeterministicFit.h.
Referenced by apply().
|
staticprivate |
Definition at line 38 of file HcalDeterministicFit.h.
Referenced by apply().