#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 29 of file HcalShapes.h.
anonymous enum |
Enumerator | |
---|---|
HPD | |
LONG | |
ZECOTEK | |
HAMAMATSU | |
HE2017 | |
HE2018 | |
HF | |
ZDC |
Definition at line 20 of file HcalShapes.h.
HcalShapes::HcalShapes | ( | ) |
Definition at line 10 of file HcalShapes.cc.
References pileupDistInMC::num, theHcalShapes, theShapes, theShapesPrecise, theZDCShape, and ZDC.
|
override |
|
private |
Definition at line 63 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 84 of file HcalShapes.cc.
References theShapes, and theShapesPrecise.
Referenced by defaultShape(), and shape().
|
inline |
Definition at line 24 of file HcalShapes.h.
References theDbService.
Referenced by HcalDigitizer::initializeEvent().
|
overridevirtual |
Reimplemented from CaloShapes.
Definition at line 48 of file HcalShapes.cc.
References defaultShape(), HcalDbService::getHcalMCParam(), getShapeMap(), HcalMCParam::signalShape(), and theDbService.
|
private |
Definition at line 33 of file HcalShapes.h.
Referenced by setDbService(), and shape().
|
private |
Definition at line 38 of file HcalShapes.h.
Referenced by HcalShapes().
|
private |
Definition at line 34 of file HcalShapes.h.
Referenced by getShapeMap(), HcalShapes(), and ~HcalShapes().
|
private |
Definition at line 35 of file HcalShapes.h.
Referenced by getShapeMap(), and HcalShapes().
|
private |
Definition at line 36 of file HcalShapes.h.
Referenced by HcalShapes().