24 for (
int Z = 0;
Z != _numberOfZLayers; ++
Z) {
25 for (
int R = 0;
R != _numberOfRLayers; ++
R) {
26 HFDoseLayerDarkeningPars[
Z][
R] = HFDosePars[
i];
38 if (layer > (_numberOfZLayers-1))
44 if (Radius <= 17.0) radius = 0;
45 else if (Radius <= 20.0) radius = 1;
46 else if (Radius <= 24.0) radius = 2;
47 else if (Radius <= 29.0) radius = 3;
48 else if (Radius <= 34.0) radius = 4;
49 else if (Radius <= 41.0) radius = 5;
50 else if (Radius <= 48.0) radius = 6;
51 else if (Radius <= 58.0) radius = 7;
52 else if (Radius <= 69.0) radius = 8;
53 else if (Radius <= 82.0) radius = 9;
54 else if (Radius <= 98.0) radius = 10;
55 else if (Radius <= 116.0) radius = 11;
56 else if (Radius <= 130.0) radius = 12;
59 return HFDoseLayerDarkeningPars[layer][
radius];
63 return (
exp(-1.44*
pow(mrad/100,0.44)*0.2/4.343));
67 return (intlumi/500.);
T getParameter(std::string const &) const
std::vector< double > vecOfDoubles
double dose(unsigned int layer, double radius)
double degradation(double mrad)
double int_lumi(double intlumi)
HFDarkening(const edm::ParameterSet &pset)
Power< A, B >::type pow(const A &a, const B &b)