#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 () |
Private Attributes | |
Shape | hfShape_ |
Shape | hpdBV30Shape_v2 |
Shape | hpdBV30ShapeMC_v2 |
Shape | hpdShape_ |
Shape | hpdShape_v2 |
Shape | hpdShape_v3 |
Shape | hpdShapeMC_v2 |
Shape | hpdShapeMC_v3 |
Shape | siPMShape_ |
const HcalMCParams * | theMCParams |
const HcalRecoParams * | theRecoParams |
ShapeMap | theShapes |
typedef HcalPulseShape HcalPulseShapes::Shape |
Definition at line 20 of file HcalPulseShapes.h.
|
private |
Definition at line 50 of file HcalPulseShapes.h.
HcalPulseShapes::HcalPulseShapes | ( | ) |
Definition at line 18 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 | ( | ) |
void HcalPulseShapes::beginRun | ( | edm::EventSetup const & | es | ) |
Definition at line 106 of file HcalPulseShapes.cc.
References edm::EventSetup::get(), AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< class >::product(), lumiQueryAPI::q, theMCParams, and theRecoParams.
Referenced by HcalPulseContainmentManager::beginRun().
|
private |
Definition at line 243 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 133 of file HcalPulseShapes.cc.
References create_public_lumi_plots::exp, i, j, gen::k, HcalPulseShape::setNBin(), HcalPulseShape::setShapeBin(), and tmax.
Referenced by HcalPulseShapes().
|
private |
Definition at line 273 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 371 of file HcalPulseShapes.cc.
References edm::hlt::Exception, hbShape(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, heShape(), hfShape(), hoShape(), and HcalDetId::subdet().
Referenced by shape(), and shapeForReco().
void HcalPulseShapes::endRun | ( | ) |
Definition at line 122 of file HcalPulseShapes.cc.
References theMCParams, and theRecoParams.
Referenced by HcalPulseContainmentManager::endRun().
const HcalPulseShapes::Shape & HcalPulseShapes::getShape | ( | int | shapeType | ) | const |
Definition at line 298 of file HcalPulseShapes.cc.
References edm::hlt::Exception, hpdShape_, and theShapes.
Referenced by ShapeTools.ShapeBuilder::getData(), ShapeTools.ShapeBuilder::getExtraNorm(), ShapeTools.ShapeBuilder::getPdf(), ShapeTools.ShapeBuilder::isShapeSystematic(), 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 315 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 342 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 49 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), shapeForReco(), and ~HcalPulseShapes().
|
private |
Definition at line 51 of file HcalPulseShapes.h.
Referenced by getShape(), HcalPulseShapes(), shape(), and shapeForReco().