Belle II Software  release-06-01-15
BelleCrystal Class Reference

a Belle crystal in Geant4 More...

#include <BelleCrystal.h>

Inheritance diagram for BelleCrystal:
Collaboration diagram for BelleCrystal:

Public Member Functions

 BelleCrystal (const G4String &pName)
 Constructor for "nominal" BelleCrystal.
 
 BelleCrystal (const G4String &pName, int, const G4ThreeVector *)
 Constructor.
 
virtual ~BelleCrystal ()
 Destructor.
 
Plane_t GetSidePlane (G4int n) const
 
G4double GetCubicVolume ()
 get the Cubic volume
 
G4double GetSurfaceArea ()
 get the surface area
 
void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 compute the dimensions
 
G4bool CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
 calculate the extent of the volume
 
EInside Inside (const G4ThreeVector &p) const
 
G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const
 
G4double DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const
 
G4double DistanceToIn (const G4ThreeVector &p) const
 
G4double DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
 
G4double DistanceToOut (const G4ThreeVector &p) const
 
G4GeometryType GetEntityType () const
 
G4ThreeVector GetPointOnSurface () const
 
G4VSolid * Clone () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
G4Polyhedron * CreatePolyhedron () const
 
void BoundingLimits (G4ThreeVector &pMin, G4ThreeVector &pMax) const
 Two vectors define an axis-parallel bounding box for the shape.
 
 BelleCrystal (__void__ &)
 Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
 
 BelleCrystal (const BelleCrystal &rhs)
 copy constructor
 
BelleCrystaloperator= (const BelleCrystal &rhs)
 assignment operator
 
G4ThreeVector vertex (unsigned int i) const
 

Protected Member Functions

G4bool MakePlane (const G4ThreeVector &p1, const G4ThreeVector &p2, const G4ThreeVector &p3, const G4ThreeVector &p4, Plane_t &plane) const
 

Private Member Functions

G4ThreeVector GetPointOnTriangle (int) const
 Returns a random point on the surface of one of the faces.
 
double area (int, double &) const
 triangle area
 
double getvolarea () const
 
const unsigned int * ivertx (unsigned int i) const
 get the ith vertex
 

Private Attributes

unsigned int nsides
 the number of sides
 
double fDz
 
std::vector< Plane_tfPlanes
 
std::vector< Point_tfx
 
std::vector< double > fareas
 

Detailed Description

a Belle crystal in Geant4

Definition at line 34 of file BelleCrystal.h.


The documentation for this class was generated from the following files: