Geant4  10.01.p01
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 //
26 
27 #ifndef XVCrystalIntegratedDensity_h
28 #define XVCrystalIntegratedDensity_h
29 
31 #include "G4PhysicsLinearVector.hh"
32 
34 
35 public:
36  void SetIntegrationPoints(unsigned int,unsigned int);
37  unsigned int GetIntegrationPoints(unsigned int);
38  unsigned int GetIntegrationPoints();
39 
40  void SetNumberOfPoints(unsigned int);
41  unsigned int GetNumberOfPoints();
42 
45 
48 
51 
54 
55  void PrintOnFile(const G4String&);
56  void ReadFromFile(const G4String&);
57 
59 
61 
62 protected:
63  G4double GetStep();
64 
65  virtual void ComputePotentialParameters();
66 
67 public:
68  virtual void InitializeTable();
69 
70 protected:
73  G4double &p1,
74  G4double &p2,
75  G4double &p3,
76  G4double &x);
77 
78 private:
83 
84 protected:
88 
89 private:
91  unsigned int fNumberOfPoints;
92  unsigned int fIntegrationPoints[3];
93 
94 
95 public: //Contructors
98 };
99 
100 #endif
void SetIntegrationPoints(unsigned int, unsigned int)
G4PhysicsLinearVector * fTableVector
virtual G4double ComputeIntegratedDensity(G4double, G4int)
G4double FindCatmullRomInterpolate(G4double &p0, G4double &p1, G4double &p2, G4double &p3, G4double &x)
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
XVCrystalCharacteristic * fDensity
XVCrystalCharacteristic * fPotential