#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 23 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 79 of file FTLCluster.h.
|
inline |
Definition at line 81 of file FTLCluster.h.
References mps_fire::i, particleFlowClusterECALTimeSelected_cfi::maxEnergy, MTVHistoProducerAlgoForTrackerBlock_cfi::maxHit, MAXSPAN, min(), packCol(), packRow(), seed_, theHitENERGY, theHitOffset, TrackerOfflineValidation_Dqm_cff::xmin, EcalSCDynamicDPhiParametersESProducer_cfi::xoffset, L1TOccupancyClient_cfi::ymin, and EcalSCDynamicDPhiParametersESProducer_cfi::yoffset.
|
inline |
Definition at line 175 of file FTLCluster.h.
References theHitColSpan.
Referenced by maxHitCol(), and sizeY().
|
inline |
|
inline |
Definition at line 150 of file FTLCluster.h.
References theHitENERGY.
Referenced by MTDThresholdClusterizer::clusterize(), MTDTrackingRecHit::energy(), and Jet.Jet::rawEnergy().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 165 of file FTLCluster.h.
References mps_fire::i, minHitCol(), minHitRow(), theHitENERGY, theHitOffset, theHitTIME, and theHitTIME_ERROR.
Referenced by seed().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 157 of file FTLCluster.h.
References colSpan(), and minHitCol().
|
inline |
Definition at line 155 of file FTLCluster.h.
References minHitRow(), and rowSpan().
|
inline |
Definition at line 156 of file FTLCluster.h.
References theMinHitCol.
Referenced by hit(), maxHitCol(), and y().
|
inline |
Definition at line 154 of file FTLCluster.h.
References theMinHitRow.
Referenced by hit(), maxHitRow(), and x().
|
inline |
|
inlinestaticprivate |
Definition at line 257 of file FTLCluster.h.
References MAXSPAN.
Referenced by overflowCol(), and overflowRow().
|
inline |
Definition at line 182 of file FTLCluster.h.
References overflow_(), and theHitColSpan.
Referenced by overflow().
|
inline |
Definition at line 184 of file FTLCluster.h.
References overflow_(), and theHitRowSpan.
Referenced by overflow().
|
inline |
Definition at line 188 of file FTLCluster.h.
References MAXSPAN, min(), theHitColSpan, theMinHitCol, and L1TOccupancyClient_cfi::ymin.
Referenced by FTLCluster().
|
inline |
Definition at line 192 of file FTLCluster.h.
References MAXSPAN, min(), theHitRowSpan, theMinHitRow, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by FTLCluster().
|
inline |
Definition at line 177 of file FTLCluster.h.
References theHitRowSpan.
Referenced by maxHitRow(), and sizeX().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 142 of file FTLCluster.h.
References theHitENERGY.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and MTDThresholdClusterizer::clusterize().
|
inline |
|
inline |
|
inline |
Definition at line 131 of file FTLCluster.h.
References mps_fire::i, submitPVValidationJobs::t, theHitENERGY, theHitTIME, and weighted_mean().
Referenced by MTDThresholdClusterizer::clusterize(), and MTDTrackingRecHit::time().
|
inline |
Definition at line 136 of file FTLCluster.h.
References mps_fire::i, theHitENERGY, theHitTIME_ERROR, and weighted_mean_error().
Referenced by MTDTrackingRecHit::timeError().
|
inlineprivate |
Definition at line 235 of file FTLCluster.h.
References mps_fire::i, relativeConstraints::value, weighted_sum(), HLT_FULL_cff::weights, x(), and y().
|
inlineprivate |
Definition at line 246 of file FTLCluster.h.
References submitPVResolutionJobs::err, mps_fire::i, mathSSE::sqrt(), weighted_sum(), HLT_FULL_cff::weights, x(), and y().
Referenced by timeError().
|
inlineprivate |
Definition at line 223 of file FTLCluster.h.
References mps_fire::i, and HLT_FULL_cff::weights.
Referenced by weighted_mean(), and weighted_mean_error().
|
inline |
Definition at line 121 of file FTLCluster.h.
References mps_fire::i, minHitRow(), theHitENERGY, theHitOffset, and weighted_mean().
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), MTDThresholdClusterizer::clusterize(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), weighted_mean(), and weighted_mean_error().
|
inline |
Definition at line 126 of file FTLCluster.h.
References mps_fire::i, minHitCol(), theHitENERGY, theHitOffset, and weighted_mean().
Referenced by svgfig.Ellipse::__repr__(), MTDThresholdClusterizer::clusterize(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), weighted_mean(), and weighted_mean_error().
|
private |
Definition at line 219 of file FTLCluster.h.
Referenced by getClusterErrorTime(), and setClusterErrorTime().
|
private |
Definition at line 217 of file FTLCluster.h.
Referenced by getClusterErrorX(), and setClusterErrorX().
|
private |
Definition at line 218 of file FTLCluster.h.
Referenced by getClusterErrorY(), and setClusterErrorY().
|
staticconstexpr |
Definition at line 74 of file FTLCluster.h.
|
staticconstexpr |
Definition at line 73 of file FTLCluster.h.
Referenced by FTLCluster(), overflow_(), packCol(), and packRow().
|
private |
Definition at line 221 of file FTLCluster.h.
Referenced by FTLCluster(), and seed().
|
private |
Definition at line 215 of file FTLCluster.h.
Referenced by colSpan(), overflowCol(), and packCol().
|
private |
Definition at line 208 of file FTLCluster.h.
Referenced by energy(), FTLCluster(), hit(), hitENERGY(), size(), time(), timeError(), x(), and y().
|
private |
Definition at line 207 of file FTLCluster.h.
Referenced by FTLCluster(), hit(), hitOffset(), x(), and y().
|
private |
Definition at line 214 of file FTLCluster.h.
Referenced by overflowRow(), packRow(), and rowSpan().
|
private |
Definition at line 209 of file FTLCluster.h.
|
private |
Definition at line 210 of file FTLCluster.h.
Referenced by hit(), hitTIME_ERROR(), and timeError().
|
private |
Definition at line 205 of file FTLCluster.h.
Referenced by id().
|
private |
Definition at line 213 of file FTLCluster.h.
Referenced by minHitCol(), and packCol().
|
private |
Definition at line 212 of file FTLCluster.h.
Referenced by minHitRow(), and packRow().