Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:05

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 // Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
0029 //
0030 // History:
0031 // -----------
0032 //  16 Sept 2001 Modofied according to a design iteration in the 
0033 //              LowEnergy category
0034 //
0035 // -------------------------------------------------------------------
0036 
0037 // Class description:
0038 // Low Energy Electromagnetic Physics, a data container
0039 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0040 
0041 // -------------------------------------------------------------------
0042 
0043 
0044 #ifndef G4RDFluoTransition_h 
0045 #define G4RDFluoTransition_h 1
0046 
0047 #include "G4DataVector.hh"
0048 #include "globals.hh"
0049 #include <vector>
0050 
0051 class G4RDFluoTransition {
0052 
0053 public:
0054 
0055   G4RDFluoTransition(G4int,const std::vector<G4int>&,const G4DataVector&,
0056              const G4DataVector&);
0057 
0058   ~G4RDFluoTransition();
0059   
0060   // All the data stored and provided by this class are relative to a
0061   // given vacancy, whose identity is provided by the FinalShellId() method,
0062   // in an atom of a given material
0063 
0064   // Returns the identities of the originating shells for the transitions 
0065   const std::vector<G4int>& OriginatingShellIds() const;
0066   
0067   // Return the energies of the transitions
0068   const G4DataVector& TransitionEnergies() const;
0069 
0070   // Return the probabilities of the transitions
0071   const G4DataVector& TransitionProbabilities() const;
0072   
0073   // Return the identity if the vacancy
0074   G4int FinalShellId() const;
0075 
0076   // Given the index of the originating shells returns its identity
0077   G4int OriginatingShellId(G4int index) const;
0078 
0079   // Given the index of the originating shells returns the energy
0080   // of the transition starting from it
0081   G4double TransitionEnergy(G4int index) const;
0082 
0083   // Given the index of the originating shells returns the probability
0084   // of the transition starting from it
0085   G4double TransitionProbability(G4int index) const;
0086 
0087 private:
0088 
0089   G4int finalShellId;
0090   std::vector<G4int> originatingShellIds;
0091   G4DataVector transitionEnergies;
0092   G4DataVector transitionProbabilities;
0093   
0094 };
0095 
0096 #endif
0097