#include <ComputeClusterTime.h>
Public Member Functions | |
ComputeClusterTime (float Xmix, float Xmax, float Cterm, float Aterm) | |
ComputeClusterTime () | |
std::pair< float, float > | fixSizeHighestDensity (std::vector< float > &time, std::vector< float > weight=std::vector< float >(), unsigned int minNhits=3, float deltaT=0.210, float timeWidthBy=0.5) |
float | getTimeError (std::string type, float xVal) |
void | setParameters (float Xmix, float Xmax, float Cterm, float Aterm) |
float | timeResolution (float xVal) |
Private Attributes | |
float | aTerm_ |
float | cTerm_ |
float | xMax_ |
float | xMin_ |
Definition at line 23 of file ComputeClusterTime.h.
ComputeClusterTime::ComputeClusterTime | ( | float | Xmix, |
float | Xmax, | ||
float | Cterm, | ||
float | Aterm | ||
) |
ComputeClusterTime::ComputeClusterTime | ( | ) |
Definition at line 30 of file ComputeClusterTime.cc.
std::pair< float, float > ComputeClusterTime::fixSizeHighestDensity | ( | std::vector< float > & | time, |
std::vector< float > | weight = std::vector<float>() , |
||
unsigned int | minNhits = 3 , |
||
float | deltaT = 0.210 , |
||
float | timeWidthBy = 0.5 |
||
) |
Definition at line 66 of file ComputeClusterTime.cc.
References funct::abs(), HltBtagPostValidation_cff::c, decrease_sorted_indices(), HLT_2024v10_cff::distance, mps_fire::i, EgammaValidation_cff::num, mathSSE::sqrt(), command_line::start, submitPVValidationJobs::t, hcalRecHitTable_cff::time, tolerance, cms::cuda::totSize, and w().
Referenced by ticl::assignPCAtoTracksters(), RealisticSimClusterMapper::buildClusters(), and HGCalLayerClusterProducer::calculateTime().
float ComputeClusterTime::getTimeError | ( | std::string | type, |
float | xVal | ||
) |
Definition at line 46 of file ComputeClusterTime.cc.
References cTerm_, timeResolution(), xMax_, and xMin_.
Referenced by HGCalRecHitWorkerSimple::run().
void ComputeClusterTime::setParameters | ( | float | Xmix, |
float | Xmax, | ||
float | Cterm, | ||
float | Aterm | ||
) |
Definition at line 32 of file ComputeClusterTime.cc.
References aTerm_, cTerm_, PixelVTXMonitor_cfi::Xmax, xMax_, PixelVTXMonitor_cfi::Xmin, and xMin_.
float ComputeClusterTime::timeResolution | ( | float | xVal | ) |
Definition at line 41 of file ComputeClusterTime.cc.
References aTerm_, cTerm_, funct::pow(), mathSSE::sqrt(), and x.
Referenced by getTimeError().
|
private |
Definition at line 49 of file ComputeClusterTime.h.
Referenced by setParameters(), and timeResolution().
|
private |
Definition at line 48 of file ComputeClusterTime.h.
Referenced by getTimeError(), setParameters(), and timeResolution().
|
private |
Definition at line 47 of file ComputeClusterTime.h.
Referenced by getTimeError(), and setParameters().
|
private |
Definition at line 46 of file ComputeClusterTime.h.
Referenced by ComputeClusterTime(), getTimeError(), and setParameters().