Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * DISCLAIMER *
|
||||
// * *
|
||||
// * The following disclaimer summarizes all the specific disclaimers *
|
||||
// * of contributors to this software. The specific disclaimers,which *
|
||||
// * govern, are listed with their locations in: *
|
||||
// * http://cern.ch/geant4/license *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * By copying, distributing or modifying the Program (or any work *
|
||||
// * based on the Program) you indicate your acceptance of this *
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Trd.icc,v 1.1 2002/10/28 11:43:04 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
//
|
||||
// G4Trd.icc
|
||||
//
|
||||
// Implementation of inline methods of G4Trd
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
inline
|
||||
G4double G4Trd::GetXHalfLength1() const
|
||||
{
|
||||
return fDx1;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Trd::GetXHalfLength2() const
|
||||
{
|
||||
return fDx2;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Trd::GetYHalfLength1() const
|
||||
{
|
||||
return fDy1;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Trd::GetYHalfLength2() const
|
||||
{
|
||||
return fDy2;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Trd::GetZHalfLength() const
|
||||
{
|
||||
return fDz;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Trd::SetXHalfLength1(G4double val)
|
||||
{
|
||||
fDx1= val;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Trd::SetXHalfLength2(G4double val)
|
||||
{
|
||||
fDx2= val;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Trd::SetYHalfLength1(G4double val)
|
||||
{
|
||||
fDy1= val;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Trd::SetYHalfLength2(G4double val)
|
||||
{
|
||||
fDy2= val;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Trd::SetZHalfLength(G4double val)
|
||||
{
|
||||
fDz= val;
|
||||
}
|
||||
Reference in New Issue
Block a user