#include <OOTPileupCorrData.h>
Public Member Functions | |
void | apply (const HcalDetId &id, const double *inputCharge, unsigned lenInputCharge, const BunchXParameter *bcParams, unsigned lenBcParams, unsigned firstTimeSlice, unsigned nTimeSlices, double *correctedCharge, unsigned lenCorrectedCharge, bool *pulseShapeCorrApplied, bool *leakCorrApplied, bool *readjustTiming) const override |
void | apply (const HcalDetId &id, double *ts, const int tsTrig) const |
const OOTPileupCorrDataFcn & | getCorrectionByID (const HcalDetId &id) const |
bool | inputIsEnergy () const override |
OOTPileupCorrData (const std::vector< OOTPileupCorrDataFcn > &corrs, const std::vector< uint32_t > &iEtaLimits, double chargeLimit, int requireFirstTS, int requireNTS, bool readjustTiming) | |
OOTPileupCorrData () | |
~OOTPileupCorrData () override | |
Public Member Functions inherited from AbsOOTPileupCorrection | |
bool | operator!= (const AbsOOTPileupCorrection &r) const |
bool | operator== (const AbsOOTPileupCorrection &r) const |
virtual | ~AbsOOTPileupCorrection () |
Protected Member Functions | |
bool | isEqual (const AbsOOTPileupCorrection &otherBase) const override |
Private Member Functions | |
template<class Archive > | |
void | load (Archive &ar, const unsigned) |
template<class Archive > | |
void | save (Archive &ar, const unsigned) const |
bool | validate () const |
Private Attributes | |
double | chargeLimit_ |
std::vector< OOTPileupCorrDataFcn > | corrs_ |
std::vector< uint32_t > | iEtaLimits_ |
uint8_t | readjustTiming_ |
int32_t | requireFirstTS_ |
int32_t | requireNTS_ |
Friends | |
class | boost::serialization::access |
Definition at line 14 of file OOTPileupCorrData.h.
OOTPileupCorrData::OOTPileupCorrData | ( | const std::vector< OOTPileupCorrDataFcn > & | corrs, |
const std::vector< uint32_t > & | iEtaLimits, | ||
double | chargeLimit, | ||
int | requireFirstTS, | ||
int | requireNTS, | ||
bool | readjustTiming | ||
) |
Definition at line 7 of file OOTPileupCorrData.cc.
References Exception, and validate().
|
inlineoverride |
|
inline |
|
overridevirtual |
Implements AbsOOTPileupCorrection.
Definition at line 40 of file OOTPileupCorrData.cc.
References Exception, mps_fire::i, readjustTiming_, requireFirstTS_, and requireNTS_.
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__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), HiCoreTools.AddCleaning::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.AddJetCollection::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), jetTools.SetTagInfos::__call__(), and ~OOTPileupCorrData().
|
inline |
Definition at line 72 of file OOTPileupCorrData.h.
References funct::abs(), chargeLimit_, corrs_, iEtaLimits_, mitigatedMETSequence_cff::U, and eostools::which().
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), trackTools.MakeAODTrackCandidates::__call__(), coreTools.RunOnData::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), editorTools.ChangeSource::__call__(), HiCoreTools.RemoveMCMatching::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), HiCoreTools.AddCleaning::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.AddJetCollection::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), and jetTools.SetTagInfos::__call__().
|
inline |
Definition at line 90 of file OOTPileupCorrData.h.
References funct::abs(), corrs_, iEtaLimits_, mitigatedMETSequence_cff::U, and eostools::which().
|
inlineoverridevirtual |
Implements AbsOOTPileupCorrection.
Definition at line 69 of file OOTPileupCorrData.h.
|
inlineoverrideprotectedvirtual |
Implements AbsOOTPileupCorrection.
Definition at line 107 of file OOTPileupCorrData.h.
References chargeLimit_, corrs_, iEtaLimits_, alignCSCRings::r, readjustTiming_, requireFirstTS_, and requireNTS_.
|
inlineprivate |
Definition at line 147 of file OOTPileupCorrData.h.
References Exception, readjustTiming_, and validate().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
|
inlineprivate |
Definition at line 137 of file OOTPileupCorrData.h.
References Exception, readjustTiming_, and validate().
Referenced by Vispa.Main.TabController.TabController::allowClose(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), and SpecificationBuilder_cfi.Specification::saveAll().
|
private |
Definition at line 25 of file OOTPileupCorrData.cc.
References corrs_, mps_fire::i, and iEtaLimits_.
Referenced by load(), OOTPileupCorrData(), and save().
|
friend |
Definition at line 134 of file OOTPileupCorrData.h.
|
private |
Definition at line 129 of file OOTPileupCorrData.h.
|
private |
Definition at line 127 of file OOTPileupCorrData.h.
Referenced by apply(), getCorrectionByID(), isEqual(), and validate().
|
private |
Definition at line 128 of file OOTPileupCorrData.h.
Referenced by apply(), getCorrectionByID(), isEqual(), and validate().
|
private |
|
private |
Definition at line 130 of file OOTPileupCorrData.h.
|
private |
Definition at line 131 of file OOTPileupCorrData.h.