#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 |
Definition at line 58 of file OOTPileupCorrData.h.
|
inline |
Definition at line 117 of file OOTPileupCorrData.h.
|
overridevirtual |
Implements AbsOOTPileupCorrection.
Definition at line 37 of file OOTPileupCorrData.cc.
References apply(), Exception, mps_fire::i, and readjustTiming_.
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), heavyIonTools.SelectionDefaults::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), tauTools.AddTauCollection::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.AddJetCollection::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), jetTools.SetTagInfos::__call__(), and apply().
|
inline |
Definition at line 78 of file OOTPileupCorrData.h.
References funct::abs(), chargeLimit_, corrs_, hcalRecHitTable_cff::ieta, iEtaLimits_, TH2PolyOfflineMaps::limits, mitigatedMETSequence_cff::U, and eostools::which().
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), heavyIonTools.SelectionDefaults::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), tauTools.AddTauCollection::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__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 93 of file OOTPileupCorrData.h.
References funct::abs(), corrs_, hcalRecHitTable_cff::ieta, iEtaLimits_, TH2PolyOfflineMaps::limits, mitigatedMETSequence_cff::U, and eostools::which().
|
inlineoverridevirtual |
Implements AbsOOTPileupCorrection.
Definition at line 75 of file OOTPileupCorrData.h.
|
inlineoverrideprotectedvirtual |
Implements AbsOOTPileupCorrection.
Definition at line 108 of file OOTPileupCorrData.h.
References chargeLimit_, corrs_, iEtaLimits_, alignCSCRings::r, readjustTiming_, requireFirstTS_, and requireNTS_.
|
inlineprivate |
Definition at line 140 of file OOTPileupCorrData.h.
References chargeLimit_, corrs_, Exception, iEtaLimits_, readjustTiming_, requireFirstTS_, requireNTS_, and validate().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
|
inlineprivate |
Definition at line 132 of file OOTPileupCorrData.h.
References chargeLimit_, corrs_, Exception, iEtaLimits_, readjustTiming_, requireFirstTS_, requireNTS_, and validate().
Referenced by SpecificationBuilder_cfi.Specification::saveAll().
|
private |
Definition at line 23 of file OOTPileupCorrData.cc.
References corrs_, mps_fire::i, and iEtaLimits_.
Referenced by load(), OOTPileupCorrData(), and save().
|
friend |
Definition at line 129 of file OOTPileupCorrData.h.
|
private |
|
private |
Definition at line 122 of file OOTPileupCorrData.h.
Referenced by apply(), getCorrectionByID(), isEqual(), load(), save(), and validate().
|
private |
Definition at line 123 of file OOTPileupCorrData.h.
Referenced by apply(), getCorrectionByID(), isEqual(), load(), save(), and validate().
|
private |
|
private |
Definition at line 125 of file OOTPileupCorrData.h.
|
private |
Definition at line 126 of file OOTPileupCorrData.h.