#include <HBHENegativeEFilter.h>
Public Member Functions | |
bool | checkPassFilter (const HcalDetId &id, const double *ts, unsigned lenTS) const |
const PiecewiseScalingPolynomial & | getA1 (const HcalDetId &id) const |
const PiecewiseScalingPolynomial & | getA2 (const HcalDetId &id) const |
const std::vector< std::pair< double, double > > & | getCut () const |
const std::vector< uint32_t > & | getEtaLimits () const |
unsigned | getFirstTimeSlice () const |
unsigned | getLastTimeSlice () const |
double | getMinCharge () const |
HBHENegativeEFilter () | |
HBHENegativeEFilter (const std::vector< PiecewiseScalingPolynomial > &a1vec, const std::vector< PiecewiseScalingPolynomial > &a2vec, const std::vector< uint32_t > &iEtaLimits, const std::vector< std::pair< double, double > > &cut, double minCharge, unsigned firstTimeSlice, unsigned lastTimeSlice) | |
bool | isEnabled () const |
bool | operator!= (const HBHENegativeEFilter &r) const |
bool | operator== (const HBHENegativeEFilter &r) const |
Private Member Functions | |
unsigned | getEtaIndex (const HcalDetId &id) const |
template<class Archive > | |
void | load (Archive &ar, const unsigned) |
template<class Archive > | |
void | save (Archive &ar, const unsigned) const |
bool | validate () const |
Private Attributes | |
std::vector< PiecewiseScalingPolynomial > | a1v_ |
std::vector< PiecewiseScalingPolynomial > | a2v_ |
std::vector< std::pair< double, double > > | cut_ |
std::vector< uint32_t > | iEtaLimits_ |
double | minCharge_ |
uint32_t | tFirst_ |
uint32_t | tLast_ |
Friends | |
class | boost::serialization::access |
Definition at line 16 of file HBHENegativeEFilter.h.
|
inline |
Definition at line 19 of file HBHENegativeEFilter.h.
References checkPassFilter(), and TkAlMuonSelectors_cfi::cut.
HBHENegativeEFilter::HBHENegativeEFilter | ( | const std::vector< PiecewiseScalingPolynomial > & | a1vec, |
const std::vector< PiecewiseScalingPolynomial > & | a2vec, | ||
const std::vector< uint32_t > & | iEtaLimits, | ||
const std::vector< std::pair< double, double > > & | cut, | ||
double | minCharge, | ||
unsigned | firstTimeSlice, | ||
unsigned | lastTimeSlice | ||
) |
Definition at line 6 of file HBHENegativeEFilter.cc.
References Exception, and validate().
bool HBHENegativeEFilter::checkPassFilter | ( | const HcalDetId & | id, |
const double * | ts, | ||
unsigned | lenTS | ||
) | const |
Definition at line 87 of file HBHENegativeEFilter.cc.
References a1v_, a2v_, TkAlMuonSelectors_cfi::cut, cut_, plotBeamSpotDB::first, getEtaIndex(), mps_fire::i, minCharge_, slope, tFirst_, tLast_, and mitigatedMETSequence_cff::U.
Referenced by HBHENegativeEFilter(), HBHEPhase1Reconstructor::runHBHENegativeEFilter(), and HBHENegativeFlagSetter::setPulseShapeFlags().
|
inline |
Definition at line 34 of file HBHENegativeEFilter.h.
References a1v_, and getEtaIndex().
|
inline |
Definition at line 36 of file HBHENegativeEFilter.h.
References a2v_, and getEtaIndex().
|
inline |
Definition at line 40 of file HBHENegativeEFilter.h.
References cut_.
|
private |
Definition at line 72 of file HBHENegativeEFilter.cc.
References funct::abs(), iEtaLimits_, mitigatedMETSequence_cff::U, and eostools::which().
Referenced by checkPassFilter(), getA1(), getA2(), and operator!=().
|
inline |
Definition at line 38 of file HBHENegativeEFilter.h.
References iEtaLimits_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file HBHENegativeEFilter.h.
References cut_, operator==(), and alignCSCRings::r.
|
inlineprivate |
Definition at line 75 of file HBHENegativeEFilter.h.
References Exception, tLast_, and validate().
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
|
inline |
Definition at line 49 of file HBHENegativeEFilter.h.
References getEtaIndex(), alignCSCRings::r, and validate().
bool HBHENegativeEFilter::operator== | ( | const HBHENegativeEFilter & | r | ) | const |
Definition at line 58 of file HBHENegativeEFilter.cc.
References a1v_, a2v_, cut_, iEtaLimits_, minCharge_, tFirst_, and tLast_.
Referenced by isEnabled().
|
inlineprivate |
Definition at line 67 of file HBHENegativeEFilter.h.
References Exception, tLast_, and validate().
Referenced by Vispa.Main.TabController.TabController::allowClose(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), and SpecificationBuilder_cfi.Specification::saveAll().
|
private |
Definition at line 26 of file HBHENegativeEFilter.cc.
References a1v_, a2v_, cut_, plotBeamSpotDB::first, mps_fire::i, iEtaLimits_, tFirst_, tLast_, and mitigatedMETSequence_cff::U.
Referenced by HBHENegativeEFilter(), load(), operator!=(), and save().
|
friend |
Definition at line 64 of file HBHENegativeEFilter.h.
|
private |
Definition at line 56 of file HBHENegativeEFilter.h.
Referenced by checkPassFilter(), getA1(), operator==(), and validate().
|
private |
Definition at line 57 of file HBHENegativeEFilter.h.
Referenced by checkPassFilter(), getA2(), operator==(), and validate().
|
private |
Definition at line 59 of file HBHENegativeEFilter.h.
Referenced by checkPassFilter(), getCut(), isEnabled(), operator==(), and validate().
|
private |
Definition at line 58 of file HBHENegativeEFilter.h.
Referenced by getEtaIndex(), getEtaLimits(), operator==(), and validate().
|
private |
Definition at line 60 of file HBHENegativeEFilter.h.
Referenced by checkPassFilter(), getMinCharge(), and operator==().
|
private |
Definition at line 61 of file HBHENegativeEFilter.h.
Referenced by checkPassFilter(), getFirstTimeSlice(), operator==(), and validate().
|
private |
Definition at line 62 of file HBHENegativeEFilter.h.
Referenced by checkPassFilter(), getLastTimeSlice(), load(), operator==(), save(), and validate().