#include <FTLCluster.h>
Classes | |
class | FTLHit |
class | FTLHitPos |
class | Shift |
Public Types | |
typedef DetId | key_type |
Public Member Functions | |
int | colSpan () const |
const DetId & | detid () const |
float | energy () const |
FTLCluster () | |
FTLCluster (DetId id, unsigned int isize, float const *energys, float const *times, float const *time_errors, uint16_t const *xpos, uint16_t const *ypos, uint16_t const xmin, uint16_t const ymin) | |
float | getClusterErrorTime () const |
float | getClusterErrorX () const |
float | getClusterErrorY () const |
FTLHit | hit (int i) const |
const std::vector< float > & | hitENERGY () const |
const std::vector< uint8_t > & | hitOffset () const |
const std::vector< float > & | hitTIME () const |
const std::vector< float > & | hitTIME_ERROR () const |
const DetId & | id () const |
int | maxHitCol () const |
int | maxHitRow () const |
int | minHitCol () const |
int | minHitRow () const |
bool | overflow () const |
bool | overflowCol () const |
bool | overflowRow () const |
void | packCol (uint16_t ymin, uint16_t yspan) |
void | packRow (uint16_t xmin, uint16_t xspan) |
int | rowSpan () const |
FTLHit | seed () const |
void | setClusterErrorTime (float errtime) |
void | setClusterErrorX (float errx) |
void | setClusterErrorY (float erry) |
int | size () const |
int | sizeX () const |
int | sizeY () const |
float | time () const |
float | timeError () const |
float | x () const |
float | y () const |
Static Public Attributes | |
static constexpr unsigned int | MAXPOS =2047 |
static constexpr unsigned int | MAXSPAN =255 |
Private Member Functions | |
float | weighted_mean (const std::vector< float > &weights, const std::function< float(unsigned int)> &value) const |
float | weighted_mean_error (const std::vector< float > &weights, const std::function< float(unsigned int)> &err) const |
float | weighted_sum (const std::vector< float > &weights, const std::function< float(unsigned int i)> &sumFunc, const std::function< float(float, float)> &outFunc) const |
Static Private Member Functions | |
static int | overflow_ (uint16_t span) |
Private Attributes | |
float | err_time =-99999.9f |
float | err_x =-99999.9f |
float | err_y =-99999.9f |
uint8_t | seed_ |
uint8_t | theHitColSpan =0 |
std::vector< float > | theHitENERGY |
std::vector< uint8_t > | theHitOffset |
uint8_t | theHitRowSpan =0 |
std::vector< float > | theHitTIME |
std::vector< float > | theHitTIME_ERROR |
DetId | theid |
uint16_t | theMinHitCol =MAXPOS |
uint16_t | theMinHitRow =MAXPOS |
based on SiPixelCluster
Definition at line 21 of file FTLCluster.h.
typedef DetId FTLCluster::key_type |
Definition at line 24 of file FTLCluster.h.
|
inline |
Construct from a range of digis that form a cluster and from a DetID. The range is assumed to be non-empty.
Definition at line 77 of file FTLCluster.h.
|
inline |
Definition at line 79 of file FTLCluster.h.
References mps_fire::i, particleFlowClusterECALTimeSelected_cfi::maxEnergy, MTVHistoProducerAlgoForTrackerBlock_cfi::maxHit, min(), packCol(), packRow(), seed_, theHitENERGY, theHitOffset, TrackerOfflineValidation_Dqm_cff::xmin, and Phase2TrackerMonitorDigi_cff::ymin.
|
inline |
Definition at line 167 of file FTLCluster.h.
References theHitColSpan.
Referenced by maxHitCol(), and sizeY().
|
inline |
|
inline |
Definition at line 138 of file FTLCluster.h.
References theHitENERGY.
Referenced by MTDThresholdClusterizer::clusterize(), MTDTrackingRecHit::energy(), MTDThresholdClusterizer::make_cluster(), and Jet.Jet::rawEnergy().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 153 of file FTLCluster.h.
References FTLCluster::FTLHit::FTLHit(), minHitCol(), minHitRow(), theHitENERGY, theHitOffset, theHitTIME, and theHitTIME_ERROR.
Referenced by seed().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 144 of file FTLCluster.h.
References theMinHitCol.
Referenced by hit(), maxHitCol(), operator<(), and y().
|
inline |
Definition at line 142 of file FTLCluster.h.
References theMinHitRow.
Referenced by hit(), maxHitRow(), operator<(), and x().
|
inline |
|
inlinestaticprivate |
|
inline |
Definition at line 174 of file FTLCluster.h.
References overflow_(), and theHitColSpan.
Referenced by overflow().
|
inline |
Definition at line 176 of file FTLCluster.h.
References overflow_(), and theHitRowSpan.
Referenced by overflow().
|
inline |
Definition at line 180 of file FTLCluster.h.
References min(), theHitColSpan, theMinHitCol, and Phase2TrackerMonitorDigi_cff::ymin.
Referenced by FTLCluster().
|
inline |
Definition at line 184 of file FTLCluster.h.
References min(), theHitRowSpan, theMinHitRow, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by FTLCluster().
|
inline |
Definition at line 169 of file FTLCluster.h.
References theHitRowSpan.
Referenced by maxHitRow(), and sizeX().
|
inline |
Definition at line 163 of file FTLCluster.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 129 of file FTLCluster.h.
References theHitENERGY.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and MTDThresholdClusterizer::clusterize().
|
inline |
|
inline |
|
inline |
Definition at line 118 of file FTLCluster.h.
References mps_fire::i, lumiQTWidget::t, theHitENERGY, theHitTIME, and weighted_mean().
Referenced by MTDThresholdClusterizer::clusterize(), MTDCPEBase::clusterTime(), and MTDTrackingRecHit::time().
|
inline |
Definition at line 123 of file FTLCluster.h.
References mps_fire::i, theHitENERGY, theHitTIME_ERROR, and weighted_mean_error().
Referenced by MTDCPEBase::clusterTimeError(), and MTDTrackingRecHit::timeError().
|
inlineprivate |
Definition at line 228 of file FTLCluster.h.
References mps_fire::i, relativeConstraints::value, weighted_sum(), HGCalRecHit_cfi::weights, FTLCluster::FTLHit::x(), and FTLCluster::FTLHit::y().
Referenced by time(), x(), and y().
|
inlineprivate |
Definition at line 235 of file FTLCluster.h.
References mps_fire::i, mathSSE::sqrt(), weighted_sum(), HGCalRecHit_cfi::weights, FTLCluster::FTLHit::x(), and FTLCluster::FTLHit::y().
Referenced by timeError().
|
inlineprivate |
Definition at line 216 of file FTLCluster.h.
References mps_fire::i.
Referenced by weighted_mean(), and weighted_mean_error().
|
inline |
Definition at line 108 of file FTLCluster.h.
References mps_fire::i, minHitRow(), theHitENERGY, theHitOffset, and weighted_mean().
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), MTDThresholdClusterizer::clusterize(), MTDCPEBase::localError(), MTDCPEBase::localPosition(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 113 of file FTLCluster.h.
References mps_fire::i, minHitCol(), theHitENERGY, theHitOffset, and weighted_mean().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), MTDThresholdClusterizer::clusterize(), MTDCPEBase::localError(), MTDCPEBase::localPosition(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 212 of file FTLCluster.h.
Referenced by getClusterErrorTime(), and setClusterErrorTime().
|
private |
Definition at line 210 of file FTLCluster.h.
Referenced by getClusterErrorX(), and setClusterErrorX().
|
private |
Definition at line 211 of file FTLCluster.h.
Referenced by getClusterErrorY(), and setClusterErrorY().
|
static |
Definition at line 72 of file FTLCluster.h.
|
static |
Definition at line 71 of file FTLCluster.h.
|
private |
Definition at line 214 of file FTLCluster.h.
Referenced by FTLCluster(), and seed().
|
private |
Definition at line 208 of file FTLCluster.h.
Referenced by colSpan(), overflowCol(), and packCol().
|
private |
Definition at line 201 of file FTLCluster.h.
Referenced by energy(), FTLCluster(), hit(), hitENERGY(), size(), time(), timeError(), x(), and y().
|
private |
Definition at line 200 of file FTLCluster.h.
Referenced by FTLCluster(), hit(), hitOffset(), x(), and y().
|
private |
Definition at line 207 of file FTLCluster.h.
Referenced by overflowRow(), packRow(), and rowSpan().
|
private |
Definition at line 202 of file FTLCluster.h.
|
private |
Definition at line 203 of file FTLCluster.h.
Referenced by hit(), hitTIME_ERROR(), and timeError().
|
private |
Definition at line 198 of file FTLCluster.h.
Referenced by id().
|
private |
Definition at line 206 of file FTLCluster.h.
Referenced by minHitCol(), and packCol().
|
private |
Definition at line 205 of file FTLCluster.h.
Referenced by minHitRow(), and packRow().