#include <PixelCPEGenericBase.h>
Classes | |
struct | ClusterParamGeneric |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Protected Member Functions | |
std::unique_ptr< ClusterParam > | createClusterParam (const SiPixelCluster &cl) const override |
void | initializeLocalErrorVariables (float &xerr, float &yerr, bool &edgex, bool &edgey, bool &bigInX, bool &bigInY, int &maxPixelCol, int &maxPixelRow, int &minPixelCol, int &minPixelRow, uint &sizex, uint &sizey, DetParam const &theDetParam, ClusterParamGeneric const &theClusterParam) const |
void | setXYErrors (float &xerr, float &yerr, const bool edgex, const bool edgey, const unsigned int sizex, const unsigned int sizey, const bool bigInX, const bool bigInY, const bool useTemplateErrors, DetParam const &theDetParam, ClusterParamGeneric const &theClusterParam) const |
Protected Member Functions inherited from PixelCPEBase | |
void | computeAnglesFromDetPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const |
void | computeAnglesFromTrajectory (DetParam const &theDetParam, ClusterParam &theClusterParam, const LocalTrajectoryParameters <p) const |
void | computeLorentzShifts (DetParam &) const |
DetParam const & | detParam (const GeomDetUnit &det) const |
LocalVector | driftDirection (DetParam &theDetParam, GlobalVector bfield) const |
LocalVector | driftDirection (DetParam &theDetParam, LocalVector bfield) const |
void | setTheClu (DetParam const &, ClusterParam &theClusterParam) const |
Static Protected 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) |
Additional Inherited Members | |
Public Types inherited from PixelClusterParameterEstimator | |
typedef std::pair< LocalPoint, LocalError > | LocalValues |
using | ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > |
typedef std::vector< LocalValues > | VLocalValues |
Protected Types inherited from PixelCPEBase | |
using | DetParams = std::vector< DetParam > |
typedef GloballyPositioned< double > | Frame |
Static Protected Attributes inherited from PixelCPEBase | |
static constexpr float | bothEdgeXError_ = 31.0f |
static constexpr float | bothEdgeYError_ = 90.0f |
static constexpr float | clusterSplitMaxError_ = 7777.7f |
static constexpr float | xEdgeXError_ = 23.0f |
static constexpr float | xEdgeYError_ = 39.0f |
static constexpr float | yEdgeXError_ = 24.0f |
static constexpr float | yEdgeYError_ = 96.0f |
Definition at line 7 of file PixelCPEGenericBase.h.
PixelCPEGenericBase::PixelCPEGenericBase | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag, | ||
const TrackerGeometry & | geom, | ||
const TrackerTopology & | ttopo, | ||
const SiPixelLorentzAngle * | lorentzAngle, | ||
const SiPixelGenErrorDBObject * | genErrorDBObject, | ||
const SiPixelLorentzAngle * | lorentzAngleWidth = nullptr |
||
) |
Definition at line 11 of file PixelCPEGenericBase.cc.
References edm::ParameterSet::getParameter().
|
overridedefault |
|
staticprotected |
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 45 of file PixelCPEGenericBase.cc.
References mps_fire::i, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), min(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), muonClassificationByHits_cfi::pixel, SiPixelCluster::pixel(), PixelCPEGenericBase::ClusterParamGeneric::pixmx, SiPixelCluster::size(), PixelCPEBase::ClusterParam::theCluster, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
Referenced by PixelCPEFast::localPosition().
|
overrideprotectedvirtual |
Implements PixelCPEBase.
Definition at line 36 of file PixelCPEGenericBase.cc.
References GetRecoTauVFromDQM_MC_cff::cl.
|
static |
Definition at line 217 of file PixelCPEGenericBase.cc.
References submitPVResolutionJobs::desc.
Referenced by PixelCPEFast::fillPSetDescription(), and PixelCPEGeneric::fillPSetDescription().
|
protected |
Definition at line 87 of file PixelCPEGenericBase.cc.
References RectangularPixelTopology::containsBigPixelInX(), RectangularPixelTopology::containsBigPixelInY(), edgeClusterErrorX_, edgeClusterErrorY_, RectangularPixelTopology::isItEdgePixelInX(), RectangularPixelTopology::isItEdgePixelInY(), SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), PixelCPEBase::ClusterParam::theCluster, and PixelCPEBase::DetParam::theRecTopol.
|
protected |
Definition at line 125 of file PixelCPEGenericBase.cc.
References GeomDet::geographicalId(), GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isTrackerPixel(), phase1PixelTopology::layer, TrackerTopology::layer(), PixelCPEGenericBase::ClusterParamGeneric::sigmax, PixelCPEGenericBase::ClusterParamGeneric::sigmay, PixelCPEGenericBase::ClusterParamGeneric::sx1, PixelCPEGenericBase::ClusterParamGeneric::sx2, PixelCPEGenericBase::ClusterParamGeneric::sy1, PixelCPEGenericBase::ClusterParamGeneric::sy2, PixelCPEBase::DetParam::theDet, PixelCPEBase::DetParam::thePart, PixelCPEBase::ttopo_, 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_.
|
protected |
Definition at line 84 of file PixelCPEGenericBase.h.
Referenced by initializeLocalErrorVariables().
|
protected |
Definition at line 85 of file PixelCPEGenericBase.h.
Referenced by initializeLocalErrorVariables().
|
protected |
Definition at line 87 of file PixelCPEGenericBase.h.
Referenced by PixelCPEFast::localPosition(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 86 of file PixelCPEGenericBase.h.
Referenced by PixelCPEFast::localPosition(), PixelCPEFast::PixelCPEFast(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 90 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 92 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 90 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 92 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 91 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 93 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 90 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 92 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 91 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 93 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 91 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().
|
protected |
Definition at line 93 of file PixelCPEGenericBase.h.
Referenced by setXYErrors().