Geant4-11
Public Member Functions | Data Fields
G4TwistedTubs::LastValue Class Reference

Public Member Functions

 LastValue ()
 
 LastValue (const LastValue &r)
 
LastValueoperator= (const LastValue &r)
 
 ~LastValue ()
 

Data Fields

G4ThreeVector p
 
G4double value
 

Detailed Description

Definition at line 283 of file G4TwistedTubs.hh.

Constructor & Destructor Documentation

◆ LastValue() [1/2]

G4TwistedTubs::LastValue::LastValue ( )
inline

Definition at line 286 of file G4TwistedTubs.hh.

287 {
289 value = DBL_MAX;
290 }
void set(double x, double y, double z)
static const G4double kInfinity
Definition: geomdefs.hh:41
#define DBL_MAX
Definition: templates.hh:62

References DBL_MAX, kInfinity, p, CLHEP::Hep3Vector::set(), and value.

◆ ~LastValue()

G4TwistedTubs::LastValue::~LastValue ( )
inline

Definition at line 291 of file G4TwistedTubs.hh.

291{}

◆ LastValue() [2/2]

G4TwistedTubs::LastValue::LastValue ( const LastValue r)
inline

Definition at line 292 of file G4TwistedTubs.hh.

292: p(r.p), value(r.value){}

Member Function Documentation

◆ operator=()

LastValue & G4TwistedTubs::LastValue::operator= ( const LastValue r)
inline

Definition at line 293 of file G4TwistedTubs.hh.

294 {
295 if (this == &r) { return *this; }
296 p = r.p; value = r.value;
297 return *this;
298 }

References p, and value.

Field Documentation

◆ p

G4ThreeVector G4TwistedTubs::LastValue::p

◆ value

G4double G4TwistedTubs::LastValue::value

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