#include <HcalPulseShapes.h>
Public Types | |
typedef HcalPulseShape | Shape |
Public Member Functions | |
void | beginRun (edm::EventSetup const &es) |
const Shape & | defaultShape (const HcalDetId &detId) const |
in case of conditions problems More... | |
void | endRun () |
const Shape & | getShape (int shapeType) const |
const Shape & | hbShape () const |
HcalPulseShapes () | |
const Shape & | heShape () const |
const Shape & | hfShape () const |
const Shape & | hoShape (bool sipm=false) const |
const Shape & | shape (const HcalDetId &detId) const |
automatically figures out which shape to return More... | |
const Shape & | shapeForReco (const HcalDetId &detId) const |
~HcalPulseShapes () | |
Private Types | |
typedef std::map< int, const Shape * > | ShapeMap |
Private Member Functions | |
void | computeHFShape () |
void | computeHPDShape (float, float, float, float, float, float, float, float, Shape &) |
void | computeSiPMShape () |
Definition at line 18 of file HcalPulseShapes.h.
typedef HcalPulseShape HcalPulseShapes::Shape |
Definition at line 20 of file HcalPulseShapes.h.
|
private |
Definition at line 51 of file HcalPulseShapes.h.
HcalPulseShapes::HcalPulseShapes | ( | ) |
Definition at line 21 of file HcalPulseShapes.cc.
References computeHFShape(), computeHPDShape(), computeSiPMShape(), hfShape_, hpdBV30Shape_v2, hpdBV30ShapeMC_v2, hpdShape_, hpdShape_v2, hpdShape_v3, hpdShapeMC_v2, hpdShapeMC_v3, siPMShape_, and theShapes.
HcalPulseShapes::~HcalPulseShapes | ( | ) |
Definition at line 104 of file HcalPulseShapes.cc.
References theMCParams, theRecoParams, and theTopology.
void HcalPulseShapes::beginRun | ( | edm::EventSetup const & | es | ) |
Definition at line 111 of file HcalPulseShapes.cc.
References edm::EventSetup::get(), AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< class >::product(), lumiQueryAPI::q, HcalCondObjectContainerBase::setTopo(), theMCParams, theRecoParams, and theTopology.
Referenced by HcalPulseContainmentManager::beginRun().
|
private |
Definition at line 257 of file HcalPulseShapes.cc.
References create_public_lumi_plots::exp, hfShape_, j, reco::ParticleMasses::k0, p1, p2, p4, HcalPulseShape::setNBin(), and HcalPulseShape::setShapeBin().
Referenced by HcalPulseShapes().
|
private |
Definition at line 147 of file HcalPulseShapes.cc.
References create_public_lumi_plots::exp, i, j, relval_2017::k, HcalPulseShape::setNBin(), HcalPulseShape::setShapeBin(), reco::t2, and tmax.
Referenced by HcalPulseShapes().
|
private |
Definition at line 287 of file HcalPulseShapes.cc.
References j, nt, HcalPulseShape::setNBin(), HcalPulseShape::setShapeBin(), and siPMShape_.
Referenced by HcalPulseShapes().
const HcalPulseShapes::Shape & HcalPulseShapes::defaultShape | ( | const HcalDetId & | detId | ) | const |
in case of conditions problems
Definition at line 520 of file HcalPulseShapes.cc.
References Exception, hbShape(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, heShape(), hfShape(), hoShape(), and HcalDetId::subdet().
Referenced by shape(), and shapeForReco().
void HcalPulseShapes::endRun | ( | ) |
Definition at line 133 of file HcalPulseShapes.cc.
References theMCParams, theRecoParams, and theTopology.
Referenced by HcalPulseContainmentManager::endRun().
const HcalPulseShapes::Shape & HcalPulseShapes::getShape | ( | int | shapeType | ) | const |
Definition at line 444 of file HcalPulseShapes.cc.
References Exception, hpdShape_, and theShapes.
Referenced by HcalSimpleRecAlgo::setForData(), and HcalShape::setShape().
|
inline |
Definition at line 27 of file HcalPulseShapes.h.
References hpdShape_.
Referenced by defaultShape(), HBHEPulseShapeFlagSetter::Initialize(), and HcalNoiseMonitor::ReadHcalPulse().
|
inline |
Definition at line 28 of file HcalPulseShapes.h.
References hpdShape_.
Referenced by defaultShape().
|
inline |
|
inline |
Definition at line 30 of file HcalPulseShapes.h.
References hpdShape_, and siPMShape_.
Referenced by defaultShape().
const HcalPulseShapes::Shape & HcalPulseShapes::shape | ( | const HcalDetId & | detId | ) | const |
automatically figures out which shape to return
Definition at line 461 of file HcalPulseShapes.cc.
References defaultShape(), HcalCondObjectContainer< Item >::getValues(), HcalMCParam::signalShape(), theMCParams, and theShapes.
const HcalPulseShapes::Shape & HcalPulseShapes::shapeForReco | ( | const HcalDetId & | detId | ) | const |
Definition at line 490 of file HcalPulseShapes.cc.
References defaultShape(), HcalCondObjectContainer< Item >::getValues(), DetId::rawId(), theRecoParams, and theShapes.
Referenced by HcalPulseContainmentManager::get().
|
private |
Definition at line 44 of file HcalPulseShapes.h.
Referenced by computeHFShape(), HcalPulseShapes(), and hfShape().
|
private |
Definition at line 47 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 47 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 44 of file HcalPulseShapes.h.
Referenced by getShape(), hbShape(), HcalPulseShapes(), heShape(), and hoShape().
|
private |
Definition at line 45 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 46 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 45 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 46 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 44 of file HcalPulseShapes.h.
Referenced by computeSiPMShape(), HcalPulseShapes(), and hoShape().
|
private |
Definition at line 48 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), shape(), and ~HcalPulseShapes().
|
private |
Definition at line 50 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), shapeForReco(), and ~HcalPulseShapes().
|
private |
Definition at line 52 of file HcalPulseShapes.h.
Referenced by getShape(), HcalPulseShapes(), shape(), and shapeForReco().
|
private |
Definition at line 49 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), and ~HcalPulseShapes().