#include <HcalShapes.h>
Public Types | |
enum | { HPD =101, LONG =102, ZECOTEK =201, HAMAMATSU =202, HE2017 =203, HF =301, ZDC =401 } |
Public Member Functions | |
void | beginRun (edm::EventSetup const &es) |
void | endRun () |
HcalShapes () | |
virtual const CaloVShape * | shape (const DetId &detId, bool precise=false) const |
~HcalShapes () | |
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 | |
std::vector< HcalShape > | theHcalShapes |
HcalMCParams * | theMCParams |
ShapeMap | theShapes |
ShapeMap | theShapesPrecise |
const HcalTopology * | theTopology |
ZDCShape | theZDCShape |
Definition at line 19 of file HcalShapes.h.
|
private |
Definition at line 32 of file HcalShapes.h.
anonymous enum |
Enumerator | |
---|---|
HPD | |
LONG | |
ZECOTEK | |
HAMAMATSU | |
HE2017 | |
HF | |
ZDC |
Definition at line 22 of file HcalShapes.h.
HcalShapes::HcalShapes | ( | ) |
Definition at line 12 of file HcalShapes.cc.
References pileupDistInMC::num, theHcalShapes, theShapes, theShapesPrecise, theZDCShape, and ZDC.
HcalShapes::~HcalShapes | ( | ) |
void HcalShapes::beginRun | ( | edm::EventSetup const & | es | ) |
Definition at line 55 of file HcalShapes.cc.
References edm::EventSetup::get(), AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< T >::product(), HcalCondObjectContainerBase::setTopo(), theMCParams, and theTopology.
Referenced by HcalDigitizer::beginRun().
|
private |
Definition at line 96 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().
void HcalShapes::endRun | ( | ) |
Definition at line 70 of file HcalShapes.cc.
References theMCParams, and theTopology.
Referenced by HcalDigitizer::endRun().
|
private |
Definition at line 115 of file HcalShapes.cc.
References theShapes, and theShapesPrecise.
Referenced by defaultShape(), and shape().
|
virtual |
Reimplemented from CaloShapes.
Definition at line 79 of file HcalShapes.cc.
References defaultShape(), getShapeMap(), HcalCondObjectContainer< Item >::getValues(), HcalMCParam::signalShape(), and theMCParams.
|
private |
Definition at line 42 of file HcalShapes.h.
Referenced by HcalShapes().
|
private |
Definition at line 36 of file HcalShapes.h.
Referenced by beginRun(), endRun(), shape(), and ~HcalShapes().
|
private |
Definition at line 38 of file HcalShapes.h.
Referenced by getShapeMap(), HcalShapes(), and ~HcalShapes().
|
private |
Definition at line 39 of file HcalShapes.h.
Referenced by getShapeMap(), and HcalShapes().
|
private |
Definition at line 37 of file HcalShapes.h.
Referenced by beginRun(), endRun(), and ~HcalShapes().
|
private |
Definition at line 40 of file HcalShapes.h.
Referenced by HcalShapes().