#include <PixelCPEGenericForBricked.h>
Private Member Functions | |
LocalPoint | localPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
Static Private Member Functions | |
static void | collect_edge_charges_bricked (ClusterParam &theClusterParam, int &q_f_X, int &q_l_X, int &q_f_Y, int &q_l_Y, int &Q_f_b, int &Q_l_b, int &lowest_is_bricked, int &highest_is_bricked, 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 |
Static Public Member Functions inherited from PixelCPEGeneric | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEGenericBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Protected Types inherited from PixelCPEBase | |
using | DetParams = std::vector< DetParam > |
typedef GloballyPositioned< double > | Frame |
Protected Member Functions inherited from PixelCPEGeneric | |
float | err2X (bool &, int &) const |
float | err2Y (bool &, int &) const |
LocalError | localError (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
Protected Member Functions inherited from PixelCPEGenericBase | |
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 inherited from PixelCPEGenericBase | |
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) |
Protected Attributes inherited from PixelCPEGeneric | |
bool | DoCosmics_ |
bool | inflate_all_errors_no_trk_angle |
bool | inflate_errors |
bool | IrradiationBiasCorrection_ |
bool | isPhase2_ |
bool | NoTemplateErrorsWhenNoTrkAngles_ |
float | the_eff_charge_cut_highX |
float | the_eff_charge_cut_highY |
float | the_eff_charge_cut_lowX |
float | the_eff_charge_cut_lowY |
float | the_size_cutX |
float | the_size_cutY |
std::vector< SiPixelGenErrorStore > | thePixelGenError_ |
Protected Attributes inherited from PixelCPEGenericBase | |
const float | edgeClusterErrorX_ |
const float | edgeClusterErrorY_ |
const bool | truncatePixelCharge_ |
bool | useErrorsFromTemplates_ |
const std::vector< float > | xerr_barrel_l1_ |
const float | xerr_barrel_l1_def_ |
const std::vector< float > | xerr_barrel_ln_ |
const float | xerr_barrel_ln_def_ |
const std::vector< float > | xerr_endcap_ |
const float | xerr_endcap_def_ |
const std::vector< float > | yerr_barrel_l1_ |
const float | yerr_barrel_l1_def_ |
const std::vector< float > | yerr_barrel_ln_ |
const float | yerr_barrel_ln_def_ |
const std::vector< float > | yerr_endcap_ |
const float | yerr_endcap_def_ |
Protected Attributes inherited from PixelCPEBase | |
bool | alpha2Order |
bool | doLorentzFromAlignment_ |
const SiPixelGenErrorDBObject * | genErrorDBObject_ |
const TrackerGeometry & | geom_ |
float | lAOffset_ |
float | lAWidthBPix_ |
float | lAWidthFPix_ |
bool | LoadTemplatesFromDB_ |
const SiPixelLorentzAngle * | lorentzAngle_ |
const SiPixelLorentzAngle * | lorentzAngleWidth_ |
DetParams | m_DetParams = DetParams(1440) |
const MagneticField * | magfield_ |
const SiPixelTemplateDBObject * | templateDBobject_ |
int | theFlag_ |
int | theVerboseLevel |
const TrackerTopology & | ttopo_ |
bool | useLAFromDB_ |
bool | useLAOffsetFromConfig_ |
bool | useLAWidthFromConfig_ |
bool | useLAWidthFromDB_ |
Protected Attributes inherited from PixelClusterParameterEstimator | |
unsigned int | clusterProbComputationFlag_ |
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 51 of file PixelCPEGenericForBricked.h.
PixelCPEGenericForBricked::PixelCPEGenericForBricked | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag, | ||
const TrackerGeometry & | geom, | ||
const TrackerTopology & | ttopo, | ||
const SiPixelLorentzAngle * | lorentzAngle, | ||
const SiPixelGenErrorDBObject * | genErrorDBObject, | ||
const SiPixelLorentzAngle * | lorentzAngleWidth = nullptr |
||
) |
The constructor.
Definition at line 29 of file PixelCPEGenericForBricked.cc.
References gather_cfg::cout, PixelCPEGeneric::DoCosmics_, createfilelist::int, PixelCPEGeneric::IrradiationBiasCorrection_, PixelCPEBase::LoadTemplatesFromDB_, LogDebug, PixelCPEBase::theVerboseLevel, PixelCPEGenericBase::truncatePixelCharge_, and PixelCPEGenericBase::useErrorsFromTemplates_.
|
inlineoverride |
Definition at line 61 of file PixelCPEGenericForBricked.h.
|
staticprivate |
theClusterParam | 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 341 of file PixelCPEGenericForBricked.cc.
References mps_fire::i, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiStripPI::min, SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), muonClassificationByHits_cfi::pixel, SiPixelCluster::pixel(), PixelCPEGenericBase::ClusterParamGeneric::pixmx, SiPixelCluster::size(), PixelCPEBase::ClusterParam::theCluster, HLT_2022v12_cff::truncate, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
Referenced by localPosition().
|
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
Reimplemented from PixelCPEGeneric.
Definition at line 55 of file PixelCPEGenericForBricked.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, SiPixelCluster::charge(), PixelCPEGenericBase::collect_edge_charges(), collect_edge_charges_bricked(), PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, gather_cfg::cout, PixelCPEGenericBase::ClusterParamGeneric::deltax, PixelCPEGenericBase::ClusterParamGeneric::deltay, PixelCPEBase::DetParam::detTemplateId, PixelCPEGenericBase::ClusterParamGeneric::dx1, PixelCPEGenericBase::ClusterParamGeneric::dx2, PixelCPEGenericBase::ClusterParamGeneric::dy1, PixelCPEGenericBase::ClusterParamGeneric::dy2, SiPixelUtils::generic_position_formula(), SiPixelUtils::generic_position_formula_y_bricked(), PixelCPEGeneric::IrradiationBiasCorrection_, PixelTopology::isBricked(), RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), PixelCPEBase::ClusterParam::loc_trk_pred, Topology::localPosition(), PixelCPEBase::DetParam::lorentzShiftInCmX, PixelCPEBase::DetParam::lorentzShiftInCmY, SiPixelGenError::lorxwidth(), SiPixelGenError::lorywidth(), SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelCPEGenericBase::ClusterParamGeneric::pixmx, SiPixelGenError::qbin(), PixelCPEBase::ClusterParam::qBin_, PixelCPEGenericBase::ClusterParamGeneric::sigmax, PixelCPEGenericBase::ClusterParamGeneric::sigmay, SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), PixelCPEGenericBase::ClusterParamGeneric::sx1, PixelCPEGenericBase::ClusterParamGeneric::sx2, PixelCPEGenericBase::ClusterParamGeneric::sy1, PixelCPEGenericBase::ClusterParamGeneric::sy2, PixelCPEGeneric::the_eff_charge_cut_highX, PixelCPEGeneric::the_eff_charge_cut_highY, PixelCPEGeneric::the_eff_charge_cut_lowX, PixelCPEGeneric::the_eff_charge_cut_lowY, PixelCPEGeneric::the_size_cutX, PixelCPEGeneric::the_size_cutY, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePitchX, PixelCPEBase::DetParam::thePitchY, PixelCPEGeneric::thePixelGenError_, PixelCPEBase::DetParam::theRecTopol, PixelCPEBase::DetParam::theThickness, PixelCPEBase::DetParam::theTopol, PixelCPEBase::theVerboseLevel, PixelCPEGenericBase::truncatePixelCharge_, PixelCPEGenericBase::useErrorsFromTemplates_, PixelCPEBase::DetParam::widthLAFractionX, PixelCPEBase::DetParam::widthLAFractionY, PixelCPEBase::ClusterParam::with_track_angle, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and SiPixelCluster::y().