G4eeToHadrons.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id: G4eeToHadrons.hh 66996 2013-01-29 14:50:52Z gcosmo $
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file
00031 //
00032 //
00033 // File name:     G4eeToHadrons
00034 //
00035 // Author:        Vladimir Ivanchenko
00036 //
00037 // Creation date: 12.08.2004
00038 //
00039 // Modifications:
00040 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko)
00041 // 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko)
00042 //
00043 //
00044 // Class Description:
00045 //
00046 // This class manages the process of e+ annihilation into hadrons
00047 //
00048 
00049 // -------------------------------------------------------------------
00050 //
00051 
00052 #ifndef G4eeToHadrons_h
00053 #define G4eeToHadrons_h 1
00054 
00055 #include "G4VEmProcess.hh"
00056 #include "G4Positron.hh"
00057 #include "G4eeToHadronsMultiModel.hh"
00058 
00059 class G4eeToHadrons : public G4VEmProcess
00060 {
00061 
00062 public:
00063 
00064   G4eeToHadrons(const G4String& name = "ee2hadr");
00065 
00066   virtual ~G4eeToHadrons();
00067 
00068   virtual G4bool IsApplicable(const G4ParticleDefinition& p);
00069 
00070   // Print out of the class parameters
00071   virtual void PrintInfo();
00072 
00073   // Set the factor to artificially increase the crossSection (default 1)
00074   void SetCrossSecFactor(G4double fac);
00075 
00076 protected:
00077 
00078   virtual void InitialiseProcess(const G4ParticleDefinition*);
00079 
00080 private:
00081 
00082   std::vector<G4DynamicParticle*>* GenerateSecondaries(const G4DynamicParticle*);
00083 
00084   // hide assignment operator
00085   G4eeToHadrons & operator=(const G4eeToHadrons &right);
00086   G4eeToHadrons(const G4eeToHadrons&);
00087 
00088   G4eeToHadronsMultiModel*  multimodel;
00089   G4double                  csFactor;
00090   G4bool                    isInitialised;
00091 };
00092 
00093 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00094 
00095 #endif

Generated on Mon May 27 17:48:05 2013 for Geant4 by  doxygen 1.4.7