#include <HcalShapes.h>
Public Types | |
enum | { HPD =101, LONG =102, ZECOTEK =201, HAMAMATSU =202, HE2017 =203, HE2018 =206, HF =301, ZDC =401 } |
Public Member Functions | |
HcalShapes () | |
void | setDbService (const HcalDbService *service) |
const CaloVShape * | shape (const DetId &detId, bool precise=false) const override |
~HcalShapes () override | |
Public Member Functions inherited from CaloShapes | |
CaloShapes () | |
CaloShapes (const CaloVShape *shape) | |
virtual | ~CaloShapes ()=default |
Private Types | |
typedef std::map< int, const CaloVShape * > | ShapeMap |
Private Member Functions | |
const CaloVShape * | defaultShape (const DetId &detId, bool precise=false) const |
const ShapeMap & | getShapeMap (bool precise) const |
Private Attributes | |
const HcalDbService * | theDbService |
std::vector< HcalShape > | theHcalShapes |
ShapeMap | theShapes |
ShapeMap | theShapesPrecise |
ZDCShape | theZDCShape |
Definition at line 18 of file HcalShapes.h.
|
private |
Definition at line 30 of file HcalShapes.h.
anonymous enum |
Enumerator | |
---|---|
HPD | |
LONG | |
ZECOTEK | |
HAMAMATSU | |
HE2017 | |
HE2018 | |
HF | |
ZDC |
Definition at line 21 of file HcalShapes.h.
HcalShapes::HcalShapes | ( | ) |
Definition at line 12 of file HcalShapes.cc.
References pileupDistInMC::num, theHcalShapes, theShapes, theShapesPrecise, theZDCShape, and ZDC.
|
override |
|
private |
Definition at line 72 of file HcalShapes.cc.
References HcalGenericDetId::genericSubdet(), getShapeMap(), HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalGenericDetId::HcalGenZDC, HF, HPD, mps_fire::result, and ZDC.
Referenced by shape().
|
private |
Definition at line 91 of file HcalShapes.cc.
References theShapes, and theShapesPrecise.
Referenced by defaultShape(), and shape().
|
inline |
Definition at line 25 of file HcalShapes.h.
References hiDetachedQuadStep_cff::precise, shape(), and theDbService.
Referenced by HcalDigitizer::initializeEvent().
|
overridevirtual |
Reimplemented from CaloShapes.
Definition at line 55 of file HcalShapes.cc.
References defaultShape(), HcalDbService::getHcalMCParam(), getShapeMap(), HcalMCParam::signalShape(), and theDbService.
Referenced by setDbService().
|
private |
Definition at line 34 of file HcalShapes.h.
Referenced by setDbService(), and shape().
|
private |
Definition at line 39 of file HcalShapes.h.
Referenced by HcalShapes().
|
private |
Definition at line 35 of file HcalShapes.h.
Referenced by getShapeMap(), HcalShapes(), and ~HcalShapes().
|
private |
Definition at line 36 of file HcalShapes.h.
Referenced by getShapeMap(), and HcalShapes().
|
private |
Definition at line 37 of file HcalShapes.h.
Referenced by HcalShapes().