#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::DummyOOTPileupCorrection |
( |
const std::string & |
itemDescription, |
|
|
const double |
scale |
|
) |
| |
|
inline |
DummyOOTPileupCorrection::~DummyOOTPileupCorrection |
( |
| ) |
|
|
inlineoverride |
DummyOOTPileupCorrection::DummyOOTPileupCorrection |
( |
| ) |
|
|
inline |
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__(), 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 getScale().
17 if (inputCharge ==
nullptr || correctedCharge ==
nullptr ||
18 lenCorrectedCharge < lenInputCharge ||
19 pulseShapeCorrApplied ==
nullptr || leakCorrApplied ==
nullptr ||
20 readjustTiming ==
nullptr)
22 "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;
const std::string& DummyOOTPileupCorrection::description |
( |
| ) |
const |
|
inline |
double DummyOOTPileupCorrection::getScale |
( |
| ) |
const |
|
inline |
bool DummyOOTPileupCorrection::inputIsEnergy |
( |
| ) |
const |
|
inlineoverridevirtual |
template<class Archive >
void DummyOOTPileupCorrection::serialize |
( |
Archive & |
ar, |
|
|
unsigned |
|
|
) |
| |
|
inlineprivate |
friend class boost::serialization::access |
|
friend |
std::string DummyOOTPileupCorrection::descr_ |
|
private |
double DummyOOTPileupCorrection::scale_ |
|
private |