#include <PixelCPEFast.h>
Classes | |
struct | ClusterParamGeneric |
struct | GPUData |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
std::unique_ptr< PixelCPEBase::ClusterParam > | createClusterParam (const SiPixelCluster &cl) const override |
void | errorFromTemplates (DetParam const &theDetParam, ClusterParamGeneric &theClusterParam, float qclus) const |
void | fillParamsForGpu () |
LocalError | localError (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
LocalPoint | localPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
Static Private Member Functions | |
static void | collect_edge_charges (ClusterParam &theClusterParam, int &q_f_X, int &q_l_X, int &q_f_Y, int &q_l_Y, bool truncate) |
Private Attributes | |
pixelCPEforGPU::AverageGeometry | averageGeometry_ |
pixelCPEforGPU::CommonParams | commonParamsGPU_ |
pixelCPEforGPU::ParamsOnGPU | cpuData_ |
std::vector< pixelCPEforGPU::DetParams > | detParamsGPU_ |
const float | edgeClusterErrorX_ |
const float | edgeClusterErrorY_ |
cms::cuda::ESProduct< GPUData > | gpuData_ |
pixelCPEforGPU::LayerGeometry | layerGeometry_ |
std::vector< SiPixelGenErrorStore > | thePixelGenError_ |
const bool | truncatePixelCharge_ |
const bool | useErrorsFromTemplates_ |
std::vector< float > | xerr_barrel_l1_ |
float | xerr_barrel_l1_def_ |
std::vector< float > | xerr_barrel_ln_ |
float | xerr_barrel_ln_def_ |
std::vector< float > | xerr_endcap_ |
float | xerr_endcap_def_ |
std::vector< float > | yerr_barrel_l1_ |
float | yerr_barrel_l1_def_ |
std::vector< float > | yerr_barrel_ln_ |
float | yerr_barrel_ln_def_ |
std::vector< float > | yerr_endcap_ |
float | yerr_endcap_def_ |
Definition at line 15 of file PixelCPEFast.h.
PixelCPEFast::PixelCPEFast | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag, | ||
const TrackerGeometry & | geom, | ||
const TrackerTopology & | ttopo, | ||
const SiPixelLorentzAngle * | lorentzAngle, | ||
const SiPixelGenErrorDBObject * | genErrorDBObject, | ||
const SiPixelLorentzAngle * | lorentzAngleWidth | ||
) |
The constructor.
Definition at line 23 of file PixelCPEFast.cc.
References averageGeometry_, commonParamsGPU_, cpuData_, detParamsGPU_, Exception, fillParamsForGpu(), PixelCPEBase::genErrorDBObject_, layerGeometry_, SiPixelGenError::pushfile(), thePixelGenError_, useErrorsFromTemplates_, xerr_barrel_l1_, xerr_barrel_l1_def_, xerr_barrel_ln_, xerr_barrel_ln_def_, xerr_endcap_, xerr_endcap_def_, yerr_barrel_l1_, yerr_barrel_l1_def_, yerr_barrel_ln_, yerr_barrel_ln_def_, yerr_endcap_, and yerr_endcap_def_.
|
overridedefault |
|
staticprivate |
Collect the edge charges in x and y, in a single pass over the pixel vector. Calculate charge in the first and last pixel projected in x and y and the inner cluster charge, projected in x and y.
theClusterParamBase | input, the cluster |
q_f_X | output, Q first in X |
q_l_X | output, Q last in X |
q_f_Y | output, Q first in Y |
q_l_Y | output, Q last in Y |
Definition at line 394 of file PixelCPEFast.cc.
References mps_fire::i, min(), muonClassificationByHits_cfi::pixel, PixelCPEFast::ClusterParamGeneric::pixmx, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
Referenced by localPosition().
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 286 of file PixelCPEFast.cc.
References GetRecoTauVFromDQM_MC_cff::cl.
|
private |
Definition at line 290 of file PixelCPEFast.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, PixelCPEBase::DetParam::detTemplateId, LogDebug, SiStripPI::max, PixelCPEFast::ClusterParamGeneric::pixmx, SiPixelGenError::qbin(), PixelCPEFast::ClusterParamGeneric::sigmax, PixelCPEFast::ClusterParamGeneric::sigmay, PixelCPEFast::ClusterParamGeneric::sx1, PixelCPEFast::ClusterParamGeneric::sx2, PixelCPEFast::ClusterParamGeneric::sy1, PixelCPEFast::ClusterParamGeneric::sy2, and thePixelGenError_.
Referenced by fillParamsForGpu(), and localPosition().
|
private |
Definition at line 104 of file PixelCPEFast.cc.
References funct::abs(), cms::cuda::assert(), averageGeometry_, commonParamsGPU_, CommonMethods::cp(), detParamsGPU_, errorFromTemplates(), f, g, mps_fire::i, createfilelist::int, GeomDetEnumerators::isBarrel(), PVValHelper::ladder, pixelCPEforGPU::LayerGeometry::layer, phase1PixelTopology::layer, TrackerTopology::layer(), layerGeometry_, phase1PixelTopology::layerStart, pixelCPEforGPU::LayerGeometry::layerStart, LogDebug, visualization-live-secondInstance_cfg::m, PixelCPEBase::m_DetParams, SiStripPI::max, min(), phase1PixelTopology::numberOfLaddersInBarrel, phase1PixelTopology::numberOfModulesInBarrel, AlCaHLTBitMon_ParallelJobs::p, TrackerTopology::pxbLadder(), findQualityFiles::rr, mathSSE::sqrt(), pixelCPEforGPU::CommonParams::thePitchX, pixelCPEforGPU::CommonParams::thePitchY, pixelCPEforGPU::CommonParams::theThicknessB, pixelCPEforGPU::CommonParams::theThicknessE, PixelCPEBase::ttopo_, mitigatedMETSequence_cff::U, z, and SOAFrame< T >::z().
Referenced by PixelCPEFast().
|
static |
Definition at line 561 of file PixelCPEFast.cc.
|
inline |
const pixelCPEforGPU::ParamsOnGPU * PixelCPEFast::getGPUProductAsync | ( | cudaStream_t | cudaStream | ) | const |
Definition at line 68 of file PixelCPEFast.cc.
References cudaCheck, data, detParamsGPU_, gpuData_, and cms::cuda::stream.
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 441 of file PixelCPEFast.cc.
References RectangularPixelTopology::containsBigPixelInX(), RectangularPixelTopology::containsBigPixelInY(), edgeClusterErrorX_, edgeClusterErrorY_, GeomDet::geographicalId(), GeomDetEnumerators::isBarrel(), phase1PixelTopology::isEdgeX(), phase1PixelTopology::isEdgeY(), GeomDetEnumerators::isTrackerPixel(), phase1PixelTopology::layer, TrackerTopology::layer(), LogDebug, PixelCPEFast::ClusterParamGeneric::sigmax, PixelCPEFast::ClusterParamGeneric::sigmay, PixelCPEFast::ClusterParamGeneric::sx1, PixelCPEFast::ClusterParamGeneric::sx2, PixelCPEFast::ClusterParamGeneric::sy1, PixelCPEFast::ClusterParamGeneric::sy2, PixelCPEBase::DetParam::theDet, PixelCPEBase::DetParam::thePart, PixelCPEBase::DetParam::theRecTopol, PixelCPEBase::ttopo_, useErrorsFromTemplates_, xerr_barrel_l1_, xerr_barrel_l1_def_, xerr_barrel_ln_, xerr_barrel_ln_def_, xerr_endcap_, xerr_endcap_def_, yerr_barrel_l1_, yerr_barrel_l1_def_, yerr_barrel_ln_, yerr_barrel_ln_def_, yerr_endcap_, and yerr_endcap_def_.
|
overrideprivatevirtual |
Hit position in the local frame (in cm). Unlike other CPE's, this one converts everything from the measurement frame (in channel numbers) into the local frame (in centimeters).
< Q of the first pixel in X
< Q of the last pixel in X
< Q of the first pixel in Y
< Q of the last pixel in Y
Implements PixelCPEBase.
Definition at line 346 of file PixelCPEFast.cc.
References cms::cuda::assert(), collect_edge_charges(), commonParamsGPU_, CommonMethods::cp(), detParamsGPU_, errorFromTemplates(), GeomDet::index(), LogDebug, pixelCPEforGPU::position(), PixelCPEBase::DetParam::theDet, truncatePixelCharge_, and useErrorsFromTemplates_.
|
private |
Definition at line 86 of file PixelCPEFast.h.
Referenced by fillParamsForGpu(), and PixelCPEFast().
|
private |
Definition at line 84 of file PixelCPEFast.h.
Referenced by fillParamsForGpu(), localPosition(), and PixelCPEFast().
|
private |
Definition at line 87 of file PixelCPEFast.h.
Referenced by getCPUProduct(), and PixelCPEFast().
|
private |
Definition at line 83 of file PixelCPEFast.h.
Referenced by fillParamsForGpu(), getGPUProductAsync(), localPosition(), and PixelCPEFast().
|
private |
Definition at line 69 of file PixelCPEFast.h.
Referenced by localError().
|
private |
Definition at line 70 of file PixelCPEFast.h.
Referenced by localError().
|
private |
Definition at line 95 of file PixelCPEFast.h.
Referenced by getGPUProductAsync().
|
private |
Definition at line 85 of file PixelCPEFast.h.
Referenced by fillParamsForGpu(), and PixelCPEFast().
|
private |
Definition at line 80 of file PixelCPEFast.h.
Referenced by errorFromTemplates(), and PixelCPEFast().
|
private |
Definition at line 72 of file PixelCPEFast.h.
Referenced by localPosition().
|
private |
Definition at line 71 of file PixelCPEFast.h.
Referenced by localError(), localPosition(), and PixelCPEFast().
|
private |
Definition at line 74 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 76 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 74 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 76 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 75 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 77 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 74 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 76 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 75 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 77 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 75 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().
|
private |
Definition at line 77 of file PixelCPEFast.h.
Referenced by localError(), and PixelCPEFast().