ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GFlashSamplingShowerTuning.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file GFlashSamplingShowerTuning.hh
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 //
28 //
29 //---------------------------------------------------------------
30 // GEANT 4 class header file
31 //
32 // GFlashSamplingShowerTuning
33 //
34 // Class description:
35 //
36 // Tuning class for GFlash homogeneous shower parameterisation.
37 // Definitions:
38 // <t>: shower center of gravity
39 // T: Depth at shower maximum
40 // Ec: Critical energy
41 // X0: Radiation length
42 // y = E/Ec
43 //
44 // Please, see hep-ex/0001020 for details.
45 
46 // Author: Joanna Weng - 11.2005
47 //---------------------------------------------------------------
48 #ifndef GFlashSamplingShowerTuning_hh
49 #define GFlashSamplingShowerTuning_hh
50 
52 
54 {
55  public:
56 
59 
60 
61  public: // with description
62 
63  G4double ParsAveT1(){ return -0.55;} // t1
64  G4double ParsAveT2(){ return -0.69;} // t2
65  // T_sam = log(exp( log T_hom) + t1*Fs-1 + t2*(1-ehat))
66 
67  G4double ParsAveA1(){ return -0.476; } // a1
68  // alpha_sam = log(exp(log alphah_hom) +(a1*Fs-1))
69 
70  G4double ParsSigLogT1(){ return -2.5;} // t1
71  G4double ParsSigLogT2(){ return 1.25;} // t2
72  // std::sqrt(var(ln(T_sam))) = 1/(t+t2*ln(y))
73 
74  G4double ParsSigLogA1(){ return -0.82;} // a1
75  G4double ParsSigLogA2(){ return 0.79; } // a2
76  // std::sqrt(var(ln(alpha_sam))) = 1/(a1+a2*ln(y))
77 
78  G4double ParsRho1(){ return 0.784; } // r1
79  G4double ParsRho2(){ return -0.023;} // r2
80  // Correlation(ln(T),ln(alpha))=r1+r2*ln(y)
81 
82  // Radial profiles
83  // f(r) := (1/dE(t))(dE(t,r)/dr)
84  // Ansatz:
85  // f(r) = p(2*r*Rc**2)/(r**2+Rc**2)**2+(1-p)*(2*r*Rt**2)/(r**2+Rt**2)**2,
86  // 0<p<1
87 
88  G4double ParsRC1(){ return -0.0203; } // c1
89  G4double ParsRC2(){ return 0.0397; } // c2
90  // Rc_sam = Rc_hom + c1 * (1-ehat) + c2 *Fs-1*exp (-tau)
91 
92  G4double ParsRT1(){ return -0.14; } // t1
93  G4double ParsRT2(){ return -0.495; } // t2
94  // Rt_sam = Rc_hom + t1 * (1-ehat) + t2 *Fs-1*exp (-tau)
95 
96  G4double ParsWC1(){ return 0.348; } // c1
97  G4double ParsWC2(){ return -0.642;} // c2
98  // W_sam = W_hom + (1-ehat)*(c1 + c2 *Fs-1 * exp (- (tau -1 )**2))
99 
100  // Fluctuations on radial profiles through number of spots
101  // The total number of spots needed for a shower is
102 
103  G4double ParsSpotN1(){ return 10.3; } // n1
104  G4double ParsSpotN2(){ return 0.959;} // n2
105  // Ns = n1*ln(Z)(E/GeV)**n2
106 
107  // The number of spots per longitudinal interval is:
108  // (1/Ns)(dNs(t)/dt) = f(t)
109  // = (beta*t)**(alpha-1)*beta*std::exp(-beta*t)/Gamma(alpha)
110  // <t> = alpha_s/beta_s
111  // Ts = (alpha_s-1)/beta_s
112  // and
113  // Ts = T*(t1+t2*Z)
114  // alpha_s = alpha*(a1+a2*Z)
115 
116  G4double ParsSpotT1(){ return 0.813; } // t1
117  G4double ParsSpotT2(){ return 0.0019;} // t2
118 
119  G4double ParsSpotA1(){ return 0.844; } //a1
120  G4double ParsSpotA2(){ return 0.0026;} //a2
121 
122  // Resolution
123 
124  G4double ConstantResolution(){ return 0.00; }
125  G4double NoiseResolution() { return 0.00; } // not used
126  G4double SamplingResolution(){ return 0.11; } // not used
127 
128 };
129 
130 #endif