#include <DummyOOTPileupCorrection.h>
|
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 |
|
const std::string & | description () const |
|
| DummyOOTPileupCorrection (const std::string &itemDescription, const double scale) |
|
| DummyOOTPileupCorrection () |
|
double | getScale () const |
|
bool | inputIsEnergy () const override |
|
| ~DummyOOTPileupCorrection () override |
|
bool | operator!= (const AbsOOTPileupCorrection &r) const |
|
bool | operator== (const AbsOOTPileupCorrection &r) const |
|
virtual | ~AbsOOTPileupCorrection () |
|
|
template<class Archive > |
void | serialize (Archive &ar, unsigned) |
|
Definition at line 10 of file DummyOOTPileupCorrection.h.
◆ DummyOOTPileupCorrection() [1/2]
DummyOOTPileupCorrection::DummyOOTPileupCorrection |
( |
const std::string & |
itemDescription, |
|
|
const double |
scale |
|
) |
| |
|
inline |
◆ ~DummyOOTPileupCorrection()
DummyOOTPileupCorrection::~DummyOOTPileupCorrection |
( |
| ) |
|
|
inlineoverride |
◆ DummyOOTPileupCorrection() [2/2]
DummyOOTPileupCorrection::DummyOOTPileupCorrection |
( |
| ) |
|
|
inline |
◆ apply()
void DummyOOTPileupCorrection::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 |
|
overridevirtual |
Implements AbsOOTPileupCorrection.
Definition at line 7 of file DummyOOTPileupCorrection.cc.
References Exception, mps_fire::i, and scale_.
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__().
20 if (inputCharge ==
nullptr || correctedCharge ==
nullptr || lenCorrectedCharge < lenInputCharge ||
21 pulseShapeCorrApplied ==
nullptr || leakCorrApplied ==
nullptr || readjustTiming ==
nullptr)
22 throw cms::Exception(
"Invalid arguments in DummyOOTPileupCorrection::apply");
25 for (
unsigned i = 0;
i < lenInputCharge; ++
i)
26 correctedCharge[
i] =
scale_ * inputCharge[
i];
30 *pulseShapeCorrApplied =
false;
31 *leakCorrApplied =
false;
35 *readjustTiming =
false;
◆ description()
const std::string& DummyOOTPileupCorrection::description |
( |
| ) |
const |
|
inline |
◆ getScale()
double DummyOOTPileupCorrection::getScale |
( |
| ) |
const |
|
inline |
◆ inputIsEnergy()
bool DummyOOTPileupCorrection::inputIsEnergy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isEqual()
◆ serialize()
template<class Archive >
void DummyOOTPileupCorrection::serialize |
( |
Archive & |
ar, |
|
|
unsigned |
|
|
) |
| |
|
inlineprivate |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ descr_
std::string DummyOOTPileupCorrection::descr_ |
|
private |
◆ scale_
double DummyOOTPileupCorrection::scale_ |
|
private |