ATLAS Offline Software
|
#include "QratCscClusterFitter.h"
#include <iomanip>
#include <sstream>
#include "EventPrimitives/EventPrimitives.h"
#include "EventPrimitives/EventPrimitivesHelpers.h"
#include "MuonPrepRawData/CscClusterStatus.h"
#include "MuonPrepRawData/CscPrepData.h"
#include "MuonPrepRawData/CscStripPrepData.h"
#include "MuonReadoutGeometry/CscReadoutElement.h"
#include "TrkEventPrimitives/LocalDirection.h"
#include "TrkEventPrimitives/ParamDefs.h"
Go to the source code of this file.
Typedefs | |
using | DataNames = ICscClusterFitter::DataNames |
using | Result = ICscClusterFitter::Result |
using | Results = std::vector< Result > |
Enumerations | |
enum | CscStation { UNKNOWN_STATION, CSS, CSL, UNKNOWN_STATION, CSS, CSL } |
enum | CscPlane { CSS_ETA, CSL_ETA, CSS_PHI, CSL_PHI, UNKNOWN_PLANE, CSS_ETA, CSL_ETA, CSS_PHI, CSL_PHI, UNKNOWN_PLANE } |
Functions | |
int | qrat_correction (CscPlane plane, double qrat, double &cor, double &dcordqrat) |
int | qrat_interpolation (double qrmin, const std::vector< double > &corvals, double qrat, double &cor, double &dcordqrat) |
int | qrat_atanh (const double a, const double b, double c, const double x0, double qrat, double &cor, double &dcordqrat) |
Calculate QRAT correction from inverse hyperbolic tangent based on a fit to the plot of pos x vs charge ratio qrat to the function qrat(x) = a + b* tanh(c*(x-x0)) Here we use the inverse of the above function x = atanh((qrat-a)/b)/c+x0 to obtain positions from charge ratios. More... | |
Definition at line 24 of file QratCscClusterFitter.cxx.
using Result = ICscClusterFitter::Result |
Definition at line 25 of file QratCscClusterFitter.cxx.
Definition at line 26 of file QratCscClusterFitter.cxx.
enum CscPlane |
Enumerator | |
---|---|
CSS_ETA | |
CSL_ETA | |
CSS_PHI | |
CSL_PHI | |
UNKNOWN_PLANE | |
CSS_ETA | |
CSL_ETA | |
CSS_PHI | |
CSL_PHI | |
UNKNOWN_PLANE |
Definition at line 29 of file QratCscClusterFitter.cxx.
enum CscStation |
Enumerator | |
---|---|
UNKNOWN_STATION | |
CSS | |
CSL | |
UNKNOWN_STATION | |
CSS | |
CSL |
Definition at line 28 of file QratCscClusterFitter.cxx.
int qrat_atanh | ( | const double | a, |
const double | b, | ||
double | c, | ||
const double | x0, | ||
double | qrat, | ||
double & | cor, | ||
double & | dcordqrat | ||
) |
Calculate QRAT correction from inverse hyperbolic tangent based on a fit to the plot of pos x vs charge ratio qrat to the function qrat(x) = a + b* tanh(c*(x-x0)) Here we use the inverse of the above function x = atanh((qrat-a)/b)/c+x0 to obtain positions from charge ratios.
Output is shifted by 0.5, so the center of the strip is at x=0.
a | = parameter of correction function |
b | = parameter of correction function |
c | = parameter of correction function |
x0 | = parameter of correction function |
qrat | = input value of qrat = Q_right/Q_peak |
cor | = output of corrected position in the range -0.5 to 0.5 |
dcordqrat | = derivative of cor w.r.t. qrat for error estimates |
Definition at line 193 of file QratCscClusterFitter.cxx.
int qrat_correction | ( | CscPlane | plane, |
double | qrat, | ||
double & | cor, | ||
double & | dcordqrat | ||
) |
Definition at line 61 of file QratCscClusterFitter.cxx.
int qrat_interpolation | ( | double | qrmin, |
const std::vector< double > & | corvals, | ||
double | qrat, | ||
double & | cor, | ||
double & | dcordqrat | ||
) |
Definition at line 127 of file QratCscClusterFitter.cxx.