#include <HcalDeterministicFit.h>
Public Types | |
enum | NegStrategy { DoNothing =0, ReqPos =1, FromGreg =2 } |
Public Member Functions | |
void | apply (const CaloSamples &cs, const std::vector< int > &capidvec, const HcalCalibrations &calibs, std::vector< double > &HLTOutput) const |
void | applyXM (const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, std::vector< double > &HLTOutput) const |
double | det2 (double *b, double *c) const |
double | det3 (double *a, double *b, double *c) const |
void | getLandauFrac (float tStart, float tEnd, float &sum) const |
HcalDeterministicFit () | |
void | init (HcalTimeSlew::ParaSource tsParam, HcalTimeSlew::BiasSetting bias, NegStrategy nStrat, PedestalSub pedSubFxn_) |
void | pulseFraction (const double fC, double *TS46) const |
~HcalDeterministicFit () | |
Private Attributes | |
NegStrategy | fNegStrat |
PedestalSub | fPedestalSubFxn_ |
HcalTimeSlew::ParaSource | fTimeSlew |
HcalTimeSlew::BiasSetting | fTimeSlewBias |
Static Private Attributes | |
static float | landauFrac [] |
static double | TS4par [] = {0.71, -5.17, 12.23} |
static double | TS5par [] = {0.258, 0.0178, 4.786e-4} |
static double | TS6par [] = {0.06391, 0.002737, 8.396e-05, 1.475e-06} |
Definition at line 16 of file HcalDeterministicFit.h.
HcalDeterministicFit::HcalDeterministicFit | ( | ) |
Definition at line 9 of file HcalDeterministicFit.cc.
HcalDeterministicFit::~HcalDeterministicFit | ( | ) |
Definition at line 12 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::apply | ( | const CaloSamples & | cs, |
const std::vector< int > & | capidvec, | ||
const HcalCalibrations & | calibs, | ||
std::vector< double > & | HLTOutput | ||
) | const |
Definition at line 21 of file HcalDeterministicFit.cc.
References HcalTimeSlew::delay(), FromGreg, HcalTimeSlew::MC, HcalCalibrations::pedestal(), ReqPos, HcalCalibrations::respcorrgain(), and CaloSamples::size().
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__(), jetTools.AddJetCollection::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), runMVAMEtUncertainties.RunMVAMEtUncertainties::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), runType1PFMEtUncertainties.RunType1PFMEtUncertainties::__call__(), HiCoreTools.AddCleaning::__call__(), runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.AddJetID::__call__(), jetTools.SetTagInfos::__call__(), and HcalSimpleRecAlgoImpl::reco().
void HcalDeterministicFit::applyXM | ( | const std::vector< double > & | inputCharge, |
const std::vector< double > & | inputPedestal, | ||
std::vector< double > & | HLTOutput | ||
) | const |
Definition at line 116 of file HcalDeterministicFit.cc.
double HcalDeterministicFit::det2 | ( | double * | b, |
double * | c | ||
) | const |
Definition at line 176 of file HcalDeterministicFit.cc.
double HcalDeterministicFit::det3 | ( | double * | a, |
double * | b, | ||
double * | c | ||
) | const |
Definition at line 180 of file HcalDeterministicFit.cc.
void HcalDeterministicFit::getLandauFrac | ( | float | tStart, |
float | tEnd, | ||
float & | sum | ||
) | const |
void HcalDeterministicFit::init | ( | HcalTimeSlew::ParaSource | tsParam, |
HcalTimeSlew::BiasSetting | bias, | ||
NegStrategy | nStrat, | ||
PedestalSub | pedSubFxn_ | ||
) |
Definition at line 15 of file HcalDeterministicFit.cc.
Referenced by HcalSimpleRecAlgoImpl::reco().
void HcalDeterministicFit::pulseFraction | ( | const double | fC, |
double * | TS46 | ||
) | const |
Definition at line 165 of file HcalDeterministicFit.cc.
References HcalTimeSlew::delay(), and HcalTimeSlew::MC.
|
private |
Definition at line 39 of file HcalDeterministicFit.h.
|
private |
Definition at line 40 of file HcalDeterministicFit.h.
|
private |
Definition at line 37 of file HcalDeterministicFit.h.
|
private |
Definition at line 38 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 42 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 59 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 60 of file HcalDeterministicFit.h.
|
staticprivate |
Definition at line 61 of file HcalDeterministicFit.h.