[823] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
| 26 | // |
---|
| 27 | // $Id: GFlashSamplingShowerTuning.hh,v 1.3 2006/06/29 19:13:56 gunter Exp $ |
---|
[1228] | 28 | // GEANT4 tag $Name: geant4-09-03 $ |
---|
[823] | 29 | // |
---|
| 30 | // |
---|
| 31 | //--------------------------------------------------------------- |
---|
| 32 | // GEANT 4 class header file |
---|
| 33 | // |
---|
| 34 | // GFlashSamplingShowerTuning |
---|
| 35 | // |
---|
| 36 | // Class description: |
---|
| 37 | // |
---|
| 38 | // Tuning class for GFlash homogeneous shower parameterisation. |
---|
| 39 | // Definitions: |
---|
| 40 | // <t>: shower center of gravity |
---|
| 41 | // T: Depth at shower maximum |
---|
| 42 | // Ec: Critical energy |
---|
| 43 | // X0: Radiation length |
---|
| 44 | // y = E/Ec |
---|
| 45 | // |
---|
| 46 | // Please, see hep-ex/0001020 for details. |
---|
| 47 | |
---|
| 48 | // Author: Joanna Weng - 11.2005 |
---|
| 49 | //--------------------------------------------------------------- |
---|
| 50 | #ifndef GFlashSamplingShowerTuning_hh |
---|
| 51 | #define GFlashSamplingShowerTuning_hh |
---|
| 52 | |
---|
| 53 | #include "GVFlashHomoShowerTuning.hh" |
---|
| 54 | |
---|
| 55 | class GFlashSamplingShowerTuning : public GVFlashHomoShowerTuning |
---|
| 56 | { |
---|
| 57 | public: // with description |
---|
| 58 | |
---|
| 59 | G4double ParsAveT1(){ return -0.55;} // t1 |
---|
| 60 | G4double ParsAveT2(){ return -0.69;} // t2 |
---|
| 61 | // T_sam = log(exp( log T_hom) + t1*Fs-1 + t2*(1-ehat)) |
---|
| 62 | |
---|
| 63 | G4double ParsAveA1(){ return -0.476; } // a1 |
---|
| 64 | // alpha_sam = log(exp(log alphah_hom) +(a1*Fs-1)) |
---|
| 65 | |
---|
| 66 | G4double ParsSigLogT1(){ return -2.5;} // t1 |
---|
| 67 | G4double ParsSigLogT2(){ return 1.25;} // t2 |
---|
| 68 | // std::sqrt(var(ln(T_sam))) = 1/(t+t2*ln(y)) |
---|
| 69 | |
---|
| 70 | G4double ParsSigLogA1(){ return -0.82;} // a1 |
---|
| 71 | G4double ParsSigLogA2(){ return 0.79; } // a2 |
---|
| 72 | // std::sqrt(var(ln(alpha_sam))) = 1/(a1+a2*ln(y)) |
---|
| 73 | |
---|
| 74 | G4double ParsRho1(){ return 0.784; } // r1 |
---|
| 75 | G4double ParsRho2(){ return -0.023;} // r2 |
---|
| 76 | // Correlation(ln(T),ln(alpha))=r1+r2*ln(y) |
---|
| 77 | |
---|
| 78 | // Radial profiles |
---|
| 79 | // f(r) := (1/dE(t))(dE(t,r)/dr) |
---|
| 80 | // Ansatz: |
---|
| 81 | // f(r) = p(2*r*Rc**2)/(r**2+Rc**2)**2+(1-p)*(2*r*Rt**2)/(r**2+Rt**2)**2, |
---|
| 82 | // 0<p<1 |
---|
| 83 | |
---|
| 84 | G4double ParsRC1(){ return -0.0203; } // c1 |
---|
| 85 | G4double ParsRC2(){ return 0.0397; } // c2 |
---|
| 86 | // Rc_sam = Rc_hom + c1 * (1-ehat) + c2 *Fs-1*exp (-tau) |
---|
| 87 | |
---|
| 88 | G4double ParsRT1(){ return -0.14; } // t1 |
---|
| 89 | G4double ParsRT2(){ return -0.495; } // t2 |
---|
| 90 | // Rt_sam = Rc_hom + t1 * (1-ehat) + t2 *Fs-1*exp (-tau) |
---|
| 91 | |
---|
| 92 | G4double ParsWC1(){ return 0.348; } // c1 |
---|
| 93 | G4double ParsWC2(){ return -0.642;} // c2 |
---|
| 94 | // W_sam = W_hom + (1-ehat)*(c1 + c2 *Fs-1 * exp (- (tau -1 )**2)) |
---|
| 95 | |
---|
| 96 | // Fluctuations on radial profiles through number of spots |
---|
| 97 | // The total number of spots needed for a shower is |
---|
| 98 | |
---|
| 99 | G4double ParsSpotN1(){ return 10.3; } // n1 |
---|
| 100 | G4double ParsSpotN2(){ return 0.959;} // n2 |
---|
| 101 | // Ns = n1*ln(Z)(E/GeV)**n2 |
---|
| 102 | |
---|
| 103 | // The number of spots per longitudinal interval is: |
---|
| 104 | // (1/Ns)(dNs(t)/dt) = f(t) |
---|
| 105 | // = (beta*t)**(alpha-1)*beta*std::exp(-beta*t)/Gamma(alpha) |
---|
| 106 | // <t> = alpha_s/beta_s |
---|
| 107 | // Ts = (alpha_s-1)/beta_s |
---|
| 108 | // and |
---|
| 109 | // Ts = T*(t1+t2*Z) |
---|
| 110 | // alpha_s = alpha*(a1+a2*Z) |
---|
| 111 | |
---|
| 112 | G4double ParsSpotT1(){ return 0.813; } // t1 |
---|
| 113 | G4double ParsSpotT2(){ return 0.0019;} // t2 |
---|
| 114 | |
---|
| 115 | G4double ParsSpotA1(){ return 0.844; } //a1 |
---|
| 116 | G4double ParsSpotA2(){ return 0.0026;} //a2 |
---|
| 117 | |
---|
| 118 | // Resolution |
---|
| 119 | |
---|
| 120 | G4double ConstantResolution(){ return 0.00; } |
---|
| 121 | G4double NoiseResolution() { return 0.00; } // not used |
---|
| 122 | G4double SamplingResolution(){ return 0.11; } // not used |
---|
| 123 | |
---|
| 124 | }; |
---|
| 125 | |
---|
| 126 | #endif |
---|