91 lines
2.7 KiB
C++
91 lines
2.7 KiB
C++
//
|
|
// ********************************************************************
|
|
// * 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: tube.hh,v 1.2 2002/06/03 12:09:34 radoone Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
//
|
|
// --------------------------------------------------------------
|
|
// Comments
|
|
//
|
|
// --------------------------------------------------------------
|
|
//
|
|
#ifndef TUBE_H
|
|
#define TUBE_H 1
|
|
|
|
#include "SAXObject.hh"
|
|
#include "SolidType.hh"
|
|
|
|
class tube : public SAXObject, public SolidType {
|
|
public:
|
|
tube() {
|
|
}
|
|
virtual ~tube() {
|
|
}
|
|
virtual SAXObject::Type type() {
|
|
return SAXObject::element;
|
|
}
|
|
|
|
const std::string& get_rmin() const {
|
|
return m_rmin;
|
|
}
|
|
const std::string& get_rmax() const {
|
|
return m_rmax;
|
|
}
|
|
const std::string& get_z() const {
|
|
return m_z;
|
|
}
|
|
const std::string& get_startphi() const {
|
|
return m_startphi;
|
|
}
|
|
const std::string& get_deltaphi() const {
|
|
return m_deltaphi;
|
|
}
|
|
|
|
void set_rmin( const std::string& rmin ) {
|
|
m_rmin = rmin;
|
|
}
|
|
void set_rmax( const std::string& rmax ) {
|
|
m_rmax = rmax;
|
|
}
|
|
void set_z( const std::string& z ) {
|
|
m_z = z;
|
|
}
|
|
void set_startphi( const std::string& startphi ) {
|
|
m_startphi = startphi;
|
|
}
|
|
void set_deltaphi( const std::string& deltaphi ) {
|
|
m_deltaphi = deltaphi;
|
|
}
|
|
|
|
private:
|
|
std::string m_rmin;
|
|
std::string m_rmax;
|
|
std::string m_z;
|
|
std::string m_startphi;
|
|
std::string m_deltaphi;
|
|
};
|
|
|
|
|
|
#endif // TUBE_H
|