1 #ifndef CSCRecHitD_CSCXonStrip_MatchGatti_h 2 #define CSCRecHitD_CSCXonStrip_MatchGatti_h 37 float& xWithinChamber,
100 double estimated2Gatti(
double Xestimated,
float StripWidth,
bool ME1_1);
float x_centralVal[n_val]
double xfError_XTasym(double XTasym)
float a11[3]
Store elements of auto-correlation matrices: 0 = left, 1 = middle, 2 = right.
CSCXonStrip_MatchGatti & operator=(const CSCXonStrip_MatchGatti &)
void getCorrectionValues(std::string Estimator)
static const int n_SW_noME1_1
float xt_l[3][3]
x-talks 0 = left, 1 = middle, 2 = right ; and then second [] is for time bin tmax-1, tmax, tmax+1
double estimated2Gatti(double Xestimated, float StripWidth, bool ME1_1)
const CSCRecoConditions * recoConditions_
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
void setConditions(const CSCRecoConditions *reco)
Cache pointer to conditions data.
double xfError_Noise(double noise)
double estimated2GattiCorrection(double Xestimated, float StripWidth, bool ME1_1)
double calculateXonStripError(float stripWidth, bool ME1_1)
void hardcodedCorrectionInitialization()
const CSCChamberSpecs * specs_
double calculateXonStripPosition(float stripWidth, bool ME1_1)
void setupMatrix()
Set matrix for XT corrections and noise.
float v11[3]
Store elements of matrices for chi^2 computation: 0 = left, 1 = middle, 2 = right.
float x_correction_noME1_1[n_SW_noME1_1][n_val]
void findXOnStrip(const CSCDetId &id, const CSCLayer *layer, const CSCStripHit &stripHit, int centralStrip, float &xWithinChamber, float &stripWidth, const float &tpeak, float &xWithinStrip, float &sigma, int &quality_flag)
Returns fitted local x position and its estimated error.
float x_correction_ME1_1[n_SW_ME1_1][n_val]
~CSCXonStrip_MatchGatti()
void initChamberSpecs()
Use specs to setup Gatti parameters.
static const int n_SW_ME1_1
CSCXonStrip_MatchGatti(const edm::ParameterSet &ps)