#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 |
void | apply (const HcalDetId &id, double *ts, const int tsTrig) const |
const OOTPileupCorrDataFcn & | getCorrectionByID (const HcalDetId &id) const |
bool | inputIsEnergy () const |
OOTPileupCorrData (const std::vector< OOTPileupCorrDataFcn > &corrs, const std::vector< uint32_t > &iEtaLimits, double chargeLimit, int requireFirstTS, int requireNTS, bool readjustTiming) | |
OOTPileupCorrData () | |
virtual | ~OOTPileupCorrData () |
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 |
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().
|
inlinevirtual |
Definition at line 57 of file OOTPileupCorrData.h.
|
inline |
Definition at line 122 of file OOTPileupCorrData.h.
|
virtual |
Implements AbsOOTPileupCorrection.
Definition at line 40 of file OOTPileupCorrData.cc.
References Exception, 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__(), jetTools.AddJetCollection::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), and jetTools.SetTagInfos::__call__().
|
inline |
Definition at line 72 of file OOTPileupCorrData.h.
References funct::abs(), chargeLimit_, corrs_, iEtaLimits_, and eostools::which().
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__(), jetTools.AddJetCollection::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__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_, and eostools::which().
|
inlinevirtual |
Implements AbsOOTPileupCorrection.
Definition at line 69 of file OOTPileupCorrData.h.
|
inlineprotectedvirtual |
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 chargeLimit_, corrs_, Exception, iEtaLimits_, readjustTiming_, requireFirstTS_, requireNTS_, and validate().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), and MatrixToProcess.MatrixToProcess::listAll().
|
inlineprivate |
Definition at line 137 of file OOTPileupCorrData.h.
References chargeLimit_, corrs_, Exception, iEtaLimits_, readjustTiming_, requireFirstTS_, requireNTS_, and validate().
Referenced by Vispa.Main.TabController.TabController::allowClose(), and Vispa.Main.TabController.TabController::checkModificationTimestamp().
|
private |
Definition at line 25 of file OOTPileupCorrData.cc.
References corrs_, i, and iEtaLimits_.
Referenced by load(), OOTPileupCorrData(), and save().
|
friend |
Definition at line 134 of file OOTPileupCorrData.h.
|
private |
|
private |
Definition at line 127 of file OOTPileupCorrData.h.
Referenced by apply(), getCorrectionByID(), isEqual(), load(), save(), and validate().
|
private |
Definition at line 128 of file OOTPileupCorrData.h.
Referenced by apply(), getCorrectionByID(), isEqual(), load(), save(), and validate().
|
private |
|
private |