#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 () | |
Static Public Member Functions | |
static double | analyticPulseShapeSiPMHE (double t) |
static double | analyticPulseShapeSiPMHO (double t) |
template<class F1 , class F2 > | |
static std::vector< double > | convolve (unsigned nbin, F1 f1, F2 f2) |
static double | generatePhotonTime (CLHEP::HepRandomEngine *engine) |
static double | Y11TimePDF (double t) |
Static Public Attributes | |
static constexpr float | deltaTSiPM_ = 0.5 |
static constexpr float | invDeltaTSiPM_ = 2.0 |
static const int | nBinsSiPM_ = 250 |
static constexpr float | Y11MAX_ = 0.04 |
static constexpr float | Y11RANGE_ = nBinsSiPM_ |
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 () |
void | computeSiPMShape2017 () |
Definition at line 23 of file HcalPulseShapes.h.
typedef HcalPulseShape HcalPulseShapes::Shape |
Definition at line 25 of file HcalPulseShapes.h.
|
private |
Definition at line 80 of file HcalPulseShapes.h.
HcalPulseShapes::HcalPulseShapes | ( | ) |
Definition at line 22 of file HcalPulseShapes.cc.
References computeHFShape(), computeHPDShape(), computeSiPMShape(), computeSiPMShape2017(), hfShape_, hpdBV30Shape_v2, hpdBV30ShapeMC_v2, hpdShape_, hpdShape_v2, hpdShape_v3, hpdShapeMC_v2, hpdShapeMC_v3, siPMShape2017_, siPMShape_, and theShapes.
HcalPulseShapes::~HcalPulseShapes | ( | ) |
Definition at line 99 of file HcalPulseShapes.cc.
References theMCParams, theRecoParams, and theTopology.
|
static |
Definition at line 522 of file HcalPulseShapes.cc.
References onePulse().
Referenced by HcalSiPMShape::computeShape(), and computeSiPMShape2017().
|
static |
Definition at line 515 of file HcalPulseShapes.cc.
References alignmentValidation::c1, gexp(), and indexGen::s2.
Referenced by HcalSiPMShape::computeShape().
void HcalPulseShapes::beginRun | ( | edm::EventSetup const & | es | ) |
Definition at line 106 of file HcalPulseShapes.cc.
References edm::EventSetup::get(), AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< T >::product(), lumiQueryAPI::q, HcalCondObjectContainerBase::setTopo(), theMCParams, theRecoParams, and theTopology.
Referenced by HcalPulseContainmentManager::beginRun().
|
private |
Definition at line 238 of file HcalPulseShapes.cc.
References JetChargeProducer_cfi::exp, hfShape_, reco::ParticleMasses::k0, p1, p2, p4, HcalPulseShape::setNBin(), and HcalPulseShape::setShapeBin().
Referenced by HcalPulseShapes().
|
private |
Definition at line 138 of file HcalPulseShapes.cc.
References JetChargeProducer_cfi::exp, objects.autophobj::float, mps_fire::i, createfilelist::int, gen::k, HcalPulseShape::setNBin(), HcalPulseShape::setShapeBin(), reco::t2, and tmax.
Referenced by HcalPulseShapes().
|
private |
Definition at line 268 of file HcalPulseShapes.cc.
References nt, HcalPulseShape::setNBin(), HcalPulseShape::setShapeBin(), and siPMShape_.
Referenced by HcalPulseShapes().
|
private |
Definition at line 418 of file HcalPulseShapes.cc.
References analyticPulseShapeSiPMHE(), convolve(), nBinsSiPM_, nt, HcalPulseShape::setNBin(), HcalPulseShape::setShapeBin(), siPMShape2017_, and Y11TimePDF().
Referenced by HcalPulseShapes().
|
inlinestatic |
Definition at line 55 of file HcalPulseShapes.h.
References connectstrParser::f1, connectstrParser::f2, mps_fire::i, edm::detail::isnan(), min(), or, mps_fire::result, and tmp.
Referenced by computeSiPMShape2017().
const HcalPulseShapes::Shape & HcalPulseShapes::defaultShape | ( | const HcalDetId & | detId | ) | const |
in case of conditions problems
Definition at line 484 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 124 of file HcalPulseShapes.cc.
References theMCParams, theRecoParams, and theTopology.
Referenced by HcalPulseContainmentManager::endRun().
|
static |
Definition at line 531 of file HcalPulseShapes.cc.
References mps_fire::result, Y11MAX_, Y11RANGE_, and Y11TimePDF().
Referenced by HcalSiPMHitResponse::add().
const HcalPulseShapes::Shape & HcalPulseShapes::getShape | ( | int | shapeType | ) | const |
Definition at line 438 of file HcalPulseShapes.cc.
References Exception, hpdShape_, and theShapes.
Referenced by SimpleHBHEPhase1Algo::reconstruct(), HcalSimpleRecAlgo::setForData(), and HcalShape::setShape().
|
inline |
Definition at line 32 of file HcalPulseShapes.h.
Referenced by defaultShape(), and HBHEPulseShapeFlagSetter::Initialize().
|
inline |
|
inline |
|
inline |
Definition at line 35 of file HcalPulseShapes.h.
References fireworks::getShape().
Referenced by defaultShape().
const HcalPulseShapes::Shape & HcalPulseShapes::shape | ( | const HcalDetId & | detId | ) | const |
automatically figures out which shape to return
Definition at line 451 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 467 of file HcalPulseShapes.cc.
References defaultShape(), HcalCondObjectContainer< Item >::getValues(), DetId::rawId(), theRecoParams, and theShapes.
Referenced by HcalPulseContainmentManager::get().
|
static |
Definition at line 540 of file HcalPulseShapes.cc.
References JetChargeProducer_cfi::exp, and funct::pow().
Referenced by computeSiPMShape2017(), and generatePhotonTime().
|
static |
Definition at line 45 of file HcalPulseShapes.h.
Referenced by HcalSiPMShape::computeShape().
|
private |
Definition at line 73 of file HcalPulseShapes.h.
Referenced by computeHFShape(), and HcalPulseShapes().
|
private |
Definition at line 76 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 76 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 73 of file HcalPulseShapes.h.
Referenced by getShape(), and HcalPulseShapes().
|
private |
Definition at line 74 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 75 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 74 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
private |
Definition at line 75 of file HcalPulseShapes.h.
Referenced by HcalPulseShapes().
|
static |
Definition at line 46 of file HcalPulseShapes.h.
Referenced by HcalSiPMHitResponse::getReadoutFrameSize(), and HcalSiPMShape::operator()().
|
static |
Definition at line 44 of file HcalPulseShapes.h.
Referenced by computeSiPMShape2017().
|
private |
Definition at line 73 of file HcalPulseShapes.h.
Referenced by computeSiPMShape2017(), and HcalPulseShapes().
|
private |
Definition at line 73 of file HcalPulseShapes.h.
Referenced by computeSiPMShape(), and HcalPulseShapes().
|
private |
Definition at line 77 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), shape(), and ~HcalPulseShapes().
|
private |
Definition at line 79 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), shapeForReco(), and ~HcalPulseShapes().
|
private |
Definition at line 81 of file HcalPulseShapes.h.
Referenced by getShape(), HcalPulseShapes(), shape(), and shapeForReco().
|
private |
Definition at line 78 of file HcalPulseShapes.h.
Referenced by beginRun(), endRun(), and ~HcalPulseShapes().
|
static |
Definition at line 50 of file HcalPulseShapes.h.
Referenced by generatePhotonTime().
|
static |
Definition at line 49 of file HcalPulseShapes.h.
Referenced by generatePhotonTime().