Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XVCrystalIntegratedDensity.hh
Go to the documentation of this file.
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 //
28 //
29 
30 #ifndef XVCrystalIntegratedDensity_h
31 #define XVCrystalIntegratedDensity_h
32 
34 #include "G4PhysicsLinearVector.hh"
35 
37 
38 public:
39  void SetIntegrationPoints(unsigned int,unsigned int);
40  unsigned int GetIntegrationPoints(unsigned int);
41  unsigned int GetIntegrationPoints();
42 
43  void SetNumberOfPoints(unsigned int);
44  unsigned int GetNumberOfPoints();
45 
48 
51 
54 
57 
58  void PrintOnFile(const G4String&);
59  void ReadFromFile(const G4String&);
60 
62 
64 
65 protected:
66  G4double GetStep();
67 
68  virtual void ComputePotentialParameters();
69 
70 public:
71  virtual void InitializeTable();
72 
73 protected:
76  G4double &p1,
77  G4double &p2,
78  G4double &p3,
79  G4double &x);
80 
81 private:
82  XPhysicalLattice* fLattice;
83  G4int fParticleCharge;
84  XVCrystalCharacteristic* fDensity;
85  XVCrystalCharacteristic* fPotential;
86 
87 protected:
91 
92 private:
93  G4PhysicsLinearVector* fTableVector;
94  unsigned int fNumberOfPoints;
95  unsigned int fIntegrationPoints[3];
96 
97 
98 public: //Contructors
101 };
102 
103 #endif
void SetIntegrationPoints(unsigned int, unsigned int)
virtual G4double ComputeIntegratedDensity(G4double, G4int)
G4double FindCatmullRomInterpolate(G4double &p0, G4double &p1, G4double &p2, G4double &p3, G4double &x)
Definition of the XVCrystalCharacteristic class.
tuple x
Definition: test.py:50
G4double GetIntegratedDensity(G4double, XPhysicalLattice *, G4int)
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
void SetXPhysicalLattice(XPhysicalLattice *)
void SetDensity(XVCrystalCharacteristic *)
G4bool HasBeenInitialized(XPhysicalLattice *, G4int)
void SetPotential(XVCrystalCharacteristic *)
XVCrystalCharacteristic * GetDensity()
XVCrystalCharacteristic * GetPotential()
double G4double
Definition: G4Types.hh:76