Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/GVFlashShowerParameterisation.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 //
0029 //---------------------------------------------------------------
0030 //  GEANT 4 class header file
0031 //
0032 //  GVFlashShowerParameterisation
0033 //
0034 //  Class description:
0035 //
0036 //  Base class for GFlash shower parameterisation.
0037 
0038 // Author: Joanna Weng - 11.2005
0039 //---------------------------------------------------------------
0040 #ifndef GVFlashShowerParameterisation_h
0041 #define GVFlashShowerParameterisation_h 1
0042 
0043 #include "globals.hh"
0044 #include "GVFlashHomoShowerTuning.hh"
0045 
0046 class MyGamma;
0047 class G4Material;
0048 
0049 
0050 class GVFlashShowerParameterisation
0051 {
0052 public:  // with description
0053   
0054   GVFlashShowerParameterisation();
0055   virtual ~GVFlashShowerParameterisation();
0056   
0057   virtual void ComputeRadialParameters(G4double y, G4double Tau)       = 0;
0058   virtual void GenerateLongitudinalProfile(G4double Energy)            = 0; 
0059   virtual G4double IntegrateEneLongitudinal(G4double LongitudinalStep) = 0;
0060   virtual G4double IntegrateNspLongitudinal(G4double LongitudinalStep) = 0;
0061   virtual G4double ComputeTau(G4double LongitudinalPosition)           = 0;
0062   virtual G4double GenerateRadius(G4int ispot, G4double Energy,
0063                   G4double LongitudinalPosition)       = 0; 
0064   virtual void ComputeLongitudinalParameters(G4double y)               = 0;
0065   virtual void GenerateEnergyProfile(G4double y)                       = 0;
0066   virtual void GenerateNSpotProfile(G4double y)                        = 0;
0067   virtual G4double GenerateExponential(G4double Energy)                = 0;
0068   
0069   virtual G4double GetAveR99() = 0;
0070   virtual G4double GetAveR90() = 0;
0071   
0072   virtual G4double GetAveTmx() = 0;
0073   virtual G4double GetAveT99() = 0; 
0074   virtual G4double GetAveT90() = 0; 
0075   
0076   virtual G4double GetNspot()  = 0;
0077   virtual G4double GetX0()     = 0;
0078   virtual G4double GetEc()     = 0;
0079   virtual G4double GetRm()     = 0;
0080   
0081   G4double GeneratePhi();
0082   G4double GetEffZ(const G4Material * material);
0083   G4double GetEffA(const G4Material * material);   
0084   G4double gam(G4double x, G4double a) const; // @@@@ gamma function
0085   void PrintMaterial(const G4Material * mat);
0086   
0087 protected:
0088   
0089   GVFlashHomoShowerTuning * thePar;
0090   // Parameterisation parameters
0091   G4double  density, A, Z, X0, Ec, Rm;
0092   // Medium related quantities
0093   G4double NSpot;
0094   
0095 private:
0096   MyGamma* fGamma;
0097   
0098 };
0099 
0100 #endif