#include <EcalShapeBase.h>
Public Types | |
typedef std::vector< double > | DVec |
Public Member Functions | |
double | derivative (double time) const |
EcalShapeBase (bool) | |
void | m_shape_print (const char *fileName) |
double | operator() (double aTime) const override |
void | setEventSetup (const edm::EventSetup &evtSetup) |
double | threshold () const |
double | timeOfMax () const |
double | timeOfThr () const |
double | timeToRise () const override |
~EcalShapeBase () override | |
Public Member Functions inherited from CaloVShape | |
CaloVShape () | |
virtual | ~CaloVShape () |
Protected Member Functions | |
void | buildMe (const edm::EventSetup *=0) |
virtual void | fillShape (float &time_interval, double &m_thresh, EcalShapeBase::DVec &aVec, const edm::EventSetup *es) const =0 |
unsigned int | timeIndex (double aTime) const |
Protected Attributes | |
bool | m_useDBShape |
Private Attributes | |
unsigned int | m_arraySize |
unsigned int | m_denseArraySize |
DVec | m_deriv |
unsigned int | m_firstIndexOverThreshold |
double | m_firstTimeOverThreshold |
unsigned int | m_indexOfMax |
unsigned int | m_kNBinsPerNSec |
double | m_qNSecPerBin |
DVec | m_shape |
double | m_thresh |
double | m_timeOfMax |
Definition at line 24 of file EcalShapeBase.h.
typedef std::vector<double> EcalShapeBase::DVec |
Definition at line 26 of file EcalShapeBase.h.
EcalShapeBase::EcalShapeBase | ( | bool | useDBShape | ) |
Definition at line 11 of file EcalShapeBase.cc.
|
override |
Definition at line 9 of file EcalShapeBase.cc.
|
protected |
Definition at line 29 of file EcalShapeBase.cc.
References a, b, HltBtagPostValidation_cff::c, dumpMFGeometry_cfg::delta, MillePedeFileConverter_cfg::e, DeadROC_duringRun::f1, DeadROC_duringRun::f2, fillShape(), mps_fire::i, createfilelist::int, m_arraySize, m_denseArraySize, m_deriv, m_firstIndexOverThreshold, m_firstTimeOverThreshold, m_indexOfMax, m_kNBinsPerNSec, m_qNSecPerBin, m_shape, m_thresh, m_timeOfMax, GOODCOLL_filter_cfg::thresh, threshold(), relativeConstraints::value, and x.
Referenced by APDShape::APDShape(), EBShape::EBShape(), EEShape::EEShape(), and setEventSetup().
double EcalShapeBase::derivative | ( | double | time | ) | const |
Definition at line 117 of file EcalShapeBase.cc.
References m_denseArraySize, m_deriv, and timeIndex().
|
protectedpure virtual |
void EcalShapeBase::m_shape_print | ( | const char * | fileName | ) |
|
overridevirtual |
Implements CaloVShape.
Definition at line 110 of file EcalShapeBase.cc.
References m_denseArraySize, m_shape, and timeIndex().
void EcalShapeBase::setEventSetup | ( | const edm::EventSetup & | evtSetup | ) |
Definition at line 19 of file EcalShapeBase.cc.
References buildMe().
Referenced by EcalDigiProducer::accumulate(), EcalTPGParamBuilder::analyze(), EcalDigiProducer::beginRun(), EcalMixingModuleValidation::dqmBeginRun(), EcalUncalibRecHitWorkerWeights::set(), and EcalUncalibRecHitWorkerGlobal::set().
double EcalShapeBase::threshold | ( | ) | const |
|
protected |
Definition at line 99 of file EcalShapeBase.cc.
References LogDebug, m_denseArraySize, m_firstIndexOverThreshold, and m_kNBinsPerNSec.
Referenced by derivative(), and operator()().
double EcalShapeBase::timeOfMax | ( | ) | const |
Definition at line 23 of file EcalShapeBase.cc.
References m_timeOfMax.
Referenced by EcalTPGParamBuilder::computeWeights(), and timeToRise().
double EcalShapeBase::timeOfThr | ( | ) | const |
Definition at line 21 of file EcalShapeBase.cc.
References m_firstTimeOverThreshold.
Referenced by EcalTPGParamBuilder::computeWeights(), and timeToRise().
|
overridevirtual |
Implements CaloVShape.
Definition at line 25 of file EcalShapeBase.cc.
References timeOfMax(), and timeOfThr().
Referenced by EcalDccWeightBuilder::computeWeights(), and EcalUncalibRecHitRecChi2Algo< C >::EcalUncalibRecHitRecChi2Algo().
|
private |
Definition at line 66 of file EcalShapeBase.h.
Referenced by buildMe().
|
private |
Definition at line 67 of file EcalShapeBase.h.
Referenced by buildMe(), derivative(), operator()(), and timeIndex().
|
private |
Definition at line 64 of file EcalShapeBase.h.
Referenced by buildMe(), and derivative().
|
private |
Definition at line 57 of file EcalShapeBase.h.
Referenced by buildMe(), and timeIndex().
|
private |
Definition at line 58 of file EcalShapeBase.h.
Referenced by buildMe(), and timeOfThr().
|
private |
Definition at line 59 of file EcalShapeBase.h.
Referenced by buildMe().
|
private |
Definition at line 62 of file EcalShapeBase.h.
Referenced by buildMe(), and timeIndex().
|
private |
Definition at line 68 of file EcalShapeBase.h.
Referenced by buildMe().
|
private |
Definition at line 63 of file EcalShapeBase.h.
Referenced by buildMe(), m_shape_print(), and operator()().
|
private |
Definition at line 61 of file EcalShapeBase.h.
Referenced by APDShape::APDShape(), buildMe(), EBShape::EBShape(), EEShape::EEShape(), and threshold().
|
private |
Definition at line 60 of file EcalShapeBase.h.
Referenced by buildMe(), and timeOfMax().
|
protected |
Definition at line 54 of file EcalShapeBase.h.
Referenced by APDShape::fillShape(), EEShape::fillShape(), and EBShape::fillShape().