#include <ComponentShape.h>
Definition at line 9 of file ComponentShape.h.
◆ ComponentShape() [1/2]
ComponentShape::ComponentShape |
( |
int |
shapeIndex | ) |
|
|
inline |
◆ ComponentShape() [2/2]
Definition at line 14 of file ComponentShape.h.
edm::ESGetToken< EcalSimComponentShape, EcalSimComponentShapeRcd > espsToken_
◆ fillShape()
Implements EcalShapeBase.
Definition at line 5 of file ComponentShape.cc.
References espsToken_, Exception, edm::EventSetup::getData(), mps_fire::i, EcalShapeBase::m_thresh, EcalShapeBase::m_useDBShape, and shapeIndex_.
11 throw cms::Exception(
"[ComponentShape] DB conditions are not available, const edm::EventSetup* es == nullptr ");
16 aVec = std::vector<double>(esps.barrel_shapes.at(
shapeIndex_).begin(), esps.barrel_shapes.at(
shapeIndex_).end());
17 time_interval = esps.time_interval;
25 for (
unsigned int i(0);
i != 500; ++
i)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::ESGetToken< EcalSimComponentShape, EcalSimComponentShapeRcd > espsToken_
◆ timeToRise()
double ComponentShape::timeToRise |
( |
| ) |
const |
|
overridevirtual |
◆ espsToken_
◆ kTimeToRise
constexpr double ComponentShape::kTimeToRise = 16. |
|
staticprivate |
◆ shapeIndex_
int ComponentShape::shapeIndex_ |
|
private |