#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 | |
template<typename Value > | |
float | weighted_mean (const std::vector< float > &weights, Value &&value) const |
template<typename Err > | |
float | weighted_mean_error (const std::vector< float > &weights, Err &&err) const |
template<typename SumFunc , typename OutFunc > | |
float | weighted_sum (const std::vector< float > &weights, SumFunc &&sumFunc, OutFunc &&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 20 of file FTLCluster.h.
typedef DetId FTLCluster::key_type |
Definition at line 22 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 78 of file FTLCluster.h.
|
inline |
Definition at line 80 of file FTLCluster.h.
References mps_fire::i, particleFlowClusterECALTimeSelected_cfi::maxEnergy, MTVHistoProducerAlgoForTrackerBlock_cfi::maxHit, MAXSPAN, SiStripPI::min, packCol(), packRow(), seed_, theHitENERGY, theHitOffset, TrackerOfflineValidation_Dqm_cff::xmin, EcalSCDynamicDPhiParametersESProducer_cfi::xoffset, L1TOccupancyClient_cfi::ymin, and EcalSCDynamicDPhiParametersESProducer_cfi::yoffset.
|
inline |
Definition at line 174 of file FTLCluster.h.
References theHitColSpan.
Referenced by maxHitCol(), and sizeY().
|
inline |
|
inline |
Definition at line 149 of file FTLCluster.h.
References theHitENERGY.
Referenced by MTDThresholdClusterizer::clusterize(), MTDTrackingRecHit::energy(), and Jet.Jet::rawEnergy().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 164 of file FTLCluster.h.
References mps_fire::i, minHitCol(), minHitRow(), theHitENERGY, theHitOffset, theHitTIME, and theHitTIME_ERROR.
Referenced by seed().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 178 of file FTLCluster.h.
References theid.
Referenced by detid(), EtlLocalRecoValidation::isSameCluster(), and BtlLocalRecoValidation::isSameCluster().
|
inline |
|
inline |
|
inline |
Definition at line 155 of file FTLCluster.h.
References theMinHitCol.
Referenced by hit(), maxHitCol(), and y().
|
inline |
Definition at line 153 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 181 of file FTLCluster.h.
References overflow_(), and theHitColSpan.
Referenced by overflow().
|
inline |
Definition at line 183 of file FTLCluster.h.
References overflow_(), and theHitRowSpan.
Referenced by overflow().
|
inline |
Definition at line 187 of file FTLCluster.h.
References MAXSPAN, SiStripPI::min, theHitColSpan, theMinHitCol, and L1TOccupancyClient_cfi::ymin.
Referenced by FTLCluster().
|
inline |
Definition at line 191 of file FTLCluster.h.
References MAXSPAN, SiStripPI::min, theHitRowSpan, theMinHitRow, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by FTLCluster().
|
inline |
Definition at line 176 of file FTLCluster.h.
References theHitRowSpan.
Referenced by maxHitRow(), and sizeX().
|
inline |
Definition at line 172 of file FTLCluster.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 141 of file FTLCluster.h.
References theHitENERGY.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), MTDThresholdClusterizer::clusterize(), EtlLocalRecoValidation::isSameCluster(), and BtlLocalRecoValidation::isSameCluster().
|
inline |
|
inline |
|
inline |
Definition at line 130 of file FTLCluster.h.
References mps_fire::i, submitPVValidationJobs::t, theHitENERGY, theHitTIME, and weighted_mean().
Referenced by MTDThresholdClusterizer::clusterize(), EtlLocalRecoValidation::isSameCluster(), BtlLocalRecoValidation::isSameCluster(), and MTDTrackingRecHit::time().
|
inline |
Definition at line 135 of file FTLCluster.h.
References mps_fire::i, theHitENERGY, theHitTIME_ERROR, and weighted_mean_error().
Referenced by MTDTrackingRecHit::timeError().
|
inlineprivate |
Definition at line 234 of file FTLCluster.h.
References mps_fire::i, relativeConstraints::value, weighted_sum(), hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights, x(), and y().
Referenced by time(), x(), and y().
|
inlineprivate |
Definition at line 246 of file FTLCluster.h.
References submitPVResolutionJobs::err, mps_fire::i, mathSSE::sqrt(), weighted_sum(), hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights, x(), and y().
Referenced by timeError().
|
inlineprivate |
Definition at line 223 of file FTLCluster.h.
References mps_fire::i, compareTotals::tot, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by weighted_mean(), and weighted_mean_error().
|
inline |
Definition at line 120 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(), EtlLocalRecoValidation::isSameCluster(), BtlLocalRecoValidation::isSameCluster(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), weighted_mean(), and weighted_mean_error().
|
inline |
Definition at line 125 of file FTLCluster.h.
References mps_fire::i, minHitCol(), theHitENERGY, theHitOffset, and weighted_mean().
Referenced by svgfig.Ellipse::__repr__(), MTDThresholdClusterizer::clusterize(), EtlLocalRecoValidation::isSameCluster(), BtlLocalRecoValidation::isSameCluster(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), weighted_mean(), and weighted_mean_error().
|
private |
Definition at line 218 of file FTLCluster.h.
Referenced by getClusterErrorTime(), and setClusterErrorTime().
|
private |
Definition at line 216 of file FTLCluster.h.
Referenced by getClusterErrorX(), and setClusterErrorX().
|
private |
Definition at line 217 of file FTLCluster.h.
Referenced by getClusterErrorY(), and setClusterErrorY().
|
static |
Definition at line 73 of file FTLCluster.h.
|
static |
Definition at line 72 of file FTLCluster.h.
Referenced by FTLCluster(), overflow_(), packCol(), and packRow().
|
private |
Definition at line 220 of file FTLCluster.h.
Referenced by FTLCluster(), and seed().
|
private |
Definition at line 214 of file FTLCluster.h.
Referenced by colSpan(), overflowCol(), and packCol().
|
private |
Definition at line 207 of file FTLCluster.h.
Referenced by energy(), FTLCluster(), hit(), hitENERGY(), size(), time(), timeError(), x(), and y().
|
private |
Definition at line 206 of file FTLCluster.h.
Referenced by FTLCluster(), hit(), hitOffset(), x(), and y().
|
private |
Definition at line 213 of file FTLCluster.h.
Referenced by overflowRow(), packRow(), and rowSpan().
|
private |
Definition at line 208 of file FTLCluster.h.
|
private |
Definition at line 209 of file FTLCluster.h.
Referenced by hit(), hitTIME_ERROR(), and timeError().
|
private |
Definition at line 204 of file FTLCluster.h.
Referenced by id().
|
private |
Definition at line 212 of file FTLCluster.h.
Referenced by minHitCol(), and packCol().
|
private |
Definition at line 211 of file FTLCluster.h.
Referenced by minHitRow(), and packRow().