#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 |
|
const std::string & | description () const |
|
| DummyOOTPileupCorrection (const std::string &itemDescription, const double scale) |
|
| DummyOOTPileupCorrection () |
|
double | getScale () const |
|
bool | inputIsEnergy () const |
|
virtual | ~DummyOOTPileupCorrection () |
|
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 |
virtual DummyOOTPileupCorrection::~DummyOOTPileupCorrection |
( |
| ) |
|
|
inlinevirtual |
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 |
|
virtual |
Implements AbsOOTPileupCorrection.
Definition at line 7 of file DummyOOTPileupCorrection.cc.
References Exception, 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__(), jetTools.AddJetCollection::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), HiCoreTools.AddCleaning::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.AddJetID::__call__(), and jetTools.SetTagInfos::__call__().
17 if (inputCharge == 0 || correctedCharge == 0 ||
18 lenCorrectedCharge < lenInputCharge ||
19 pulseShapeCorrApplied == 0 || leakCorrApplied == 0 ||
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 |
|
inlinevirtual |
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 |