Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:18

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 
0040 // -------------------------------------------------------------------
0041 
0042 
0043 #ifndef G4FluoTransition_h 
0044 #define G4FluoTransition_h 1
0045 
0046 #include "G4DataVector.hh"
0047 #include "globals.hh"
0048 #include <vector>
0049 
0050 class G4FluoTransition {
0051 
0052 public:
0053 
0054   explicit G4FluoTransition(G4int,const std::vector<G4int>&,const G4DataVector&,
0055            const G4DataVector&);
0056 
0057   ~G4FluoTransition(){;};
0058   
0059   /// All the data stored and provided by this class are relative to a
0060   /// given vacancy, whose identity is provided by the FinalShellId() method,
0061   /// in an atom of a given material
0062 
0063   /// Returns the identities of the originating shells for the transitions 
0064   const std::vector<G4int>& OriginatingShellIds() const;
0065   
0066   /// Return the energies of the transitions
0067   const G4DataVector& TransitionEnergies() const;
0068 
0069   /// Return the probabilities of the transitions
0070   const G4DataVector& TransitionProbabilities() const;
0071   
0072   /// Return the identity if the vacancy
0073   G4int FinalShellId() const;
0074 
0075   /// Given the index of the originating shells returns its identity
0076   G4int OriginatingShellId(G4int index) const;
0077 
0078   /// Given the index of the originating shells returns the energy
0079   /// of the transition starting from it
0080   G4double TransitionEnergy(G4int index) const;
0081 
0082   /// Given the index of the originating shells returns the probability
0083   /// of the transition starting from it
0084   G4double TransitionProbability(G4int index) const;
0085 
0086 private: 
0087   std::vector<G4int> originatingShellIds;
0088 
0089   G4DataVector transitionEnergies;
0090   G4DataVector transitionProbabilities;
0091   G4int finalShellId;
0092 };
0093 
0094 #endif
0095