#include "TG4Polycone.h"
#include "TG4Globals.h"
+//_____________________________________________________________________________
TG4Polycone::TG4Polycone(const G4Polycone& rhs)
: G4Polycone(rhs) {
//
}
+//_____________________________________________________________________________
TG4Polycone::~TG4Polycone() {
//
}
// private methods
+
+//_____________________________________________________________________________
void TG4Polycone::CheckOrigin()
{
// Checks if polycone was created in a "historical way"
// public methods
+//_____________________________________________________________________________
G4int TG4Polycone::GetNofZPlanes()
{
// Returns nof z planes.
return original_parameters->Num_z_planes;
}
-
+//_____________________________________________________________________________
G4double* TG4Polycone::GetRmin()
{
// Returns array of rmin parameters of the planes.
return original_parameters->Rmin;
}
+//_____________________________________________________________________________
G4double* TG4Polycone::GetRmax()
{
// Returns array of rmax parameters of the planes.
return original_parameters->Rmax;
}
+//_____________________________________________________________________________
G4double* TG4Polycone::GetZ()
{
// Returns array of z parameters of the planes.