#include <CSCGattiFunction.h>
Public Member Functions | |
double | binValue (double x, double stripWidth) const |
CSCGattiFunction () | |
void | initChamberSpecs (const CSCChamberSpecs &) |
Calculates k1, k2, k3, h per chamber type, if necessary. More... | |
Private Attributes | |
double | h |
double | k1 |
double | k2 |
double | k3 |
double | norm |
double | sqrtk3 |
const CSCChamberSpecs * | thePreviousSpecs |
Represent functional form of charge distribution over strips in Endcap Muon CSC's.
This is required in building RecHits from strips in CSCRecHit and for distributing charge over strips in CSCDigitizer.
It was ported from FORTRAN in CMSISM to C++ in ORCA and then CMSSW.
Function: describes the cathode signal using
the single-parameter Gatti formula:
Definition at line 42 of file CSCGattiFunction.h.
CSCGattiFunction::CSCGattiFunction | ( | ) |
Definition at line 10 of file CSCGattiFunction.cc.
double CSCGattiFunction::binValue | ( | double | x, |
double | stripWidth | ||
) | const |
Returns the fraction of charge on a strip centered a distance of x away from the center of the shower, at zero. Note that the user is responsible for making sure the constants have been initialized using the chamber specs.
Definition at line 45 of file CSCGattiFunction.cc.
References h, k2, norm, and sqrtk3.
Referenced by CSCStripHitSim::simulate().
void CSCGattiFunction::initChamberSpecs | ( | const CSCChamberSpecs & | chamberSpecs | ) |
Calculates k1, k2, k3, h per chamber type, if necessary.
Definition at line 22 of file CSCGattiFunction.cc.
References CSCChamberSpecs::anodeCathodeSpacing(), h, k1, k2, k3, LogTrace, M_PI_2, norm, alignCSCRings::s, mathSSE::sqrt(), sqrtk3, thePreviousSpecs, CSCChamberSpecs::wireRadius(), and CSCChamberSpecs::wireSpacing().
Referenced by CSCStripHitSim::simulate().
|
private |
Definition at line 57 of file CSCGattiFunction.h.
Referenced by binValue(), and initChamberSpecs().
|
private |
Definition at line 57 of file CSCGattiFunction.h.
Referenced by initChamberSpecs().
|
private |
Definition at line 57 of file CSCGattiFunction.h.
Referenced by binValue(), and initChamberSpecs().
|
private |
Definition at line 57 of file CSCGattiFunction.h.
Referenced by initChamberSpecs().
|
private |
Definition at line 58 of file CSCGattiFunction.h.
Referenced by binValue(), and initChamberSpecs().
|
private |
Definition at line 58 of file CSCGattiFunction.h.
Referenced by binValue(), and initChamberSpecs().
|
private |
Definition at line 60 of file CSCGattiFunction.h.
Referenced by initChamberSpecs().