Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
+46 -49
View File
@@ -23,25 +23,25 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// G4VTrajectoryPoint
//
// Class description:
//
//---------------------------------------------------------------
//
// G4VTrajectoryPoint.hh
//
// class description:
// This class is the abstract base class which represents the point
// which consists of a trajectory.
// It includes information of a the point.
//
// ---------------------------------------------------------------
// This class is the abstract base class representing the point
// forming a trajectory. It includes information of a the point.
#ifndef G4VTrajectoryPoint_h
#define G4VTrajectoryPoint_h 1
// Contact:
// Questions and comments to this code should be sent to
// Katsuya Amako (e-mail: Katsuya.Amako@kek.jp)
// Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp)
// --------------------------------------------------------------------
#ifndef G4VTrajectoryPoint_hh
#define G4VTrajectoryPoint_hh 1
#include "globals.hh"
#include <vector>
#include <map>
#include "globals.hh"
#include "G4ThreeVector.hh"
class G4AttDef;
@@ -49,48 +49,45 @@ class G4AttValue;
class G4VTrajectoryPoint
{
public: // with description
public:
// Constructor/Destructor
G4VTrajectoryPoint();
virtual ~G4VTrajectoryPoint();
G4VTrajectoryPoint();
virtual ~G4VTrajectoryPoint();
// Constructor/Destructor
// Operators
G4bool operator==(const G4VTrajectoryPoint& right) const;
G4bool operator==(const G4VTrajectoryPoint& right) const;
// Equality operator
// Get/Set functions
virtual const G4ThreeVector GetPosition() const = 0;
virtual const G4ThreeVector GetPosition() const = 0;
// Return point position
// Get method for a vector of auxiliary points
virtual const std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
{ return 0; }
// If implemented by a derived class, returns a pointer to a list
// of auxiliary points, e.g., intermediate points used during the
// calculation of the step that can be used for drawing a smoother
// trajectory. The user must test the validity of this pointer.
virtual const std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
{ return nullptr; }
// Get method for a vector of auxiliary points.
// If implemented by a derived class, returns a pointer to a list
// of auxiliary points, e.g., intermediate points used during the
// calculation of the step that can be used for drawing a smoother
// trajectory. The user must test the validity of this pointer
// Get method for HEPRep style attribute definitions
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const
{ return 0; }
// If implemented by a derived class, returns a pointer to a map of
// attribute definitions for the attribute values below. The user
// must test the validity of this pointer. See G4Trajectory for an
// example of a concrete implementation of this method.
// Get method for HEPRep style attribute values
virtual std::vector<G4AttValue>* CreateAttValues() const
{ return 0; }
// If implemented by a derived class, returns a pointer to a list
// of attribute values suitable, e.g., for picking. Each must
// refer to an attribute definition in the above map; its name is
// the key. The user must test the validity of this pointer (it
// must be non-zero and conform to the G4AttDefs, which may be
// checked with G4AttCheck) and delete the list after use. See
// G4Trajectory for an example of a concrete implementation of this
// method and G4VTrajectory::ShowTrajectory for an example of its
// use.
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const
{ return nullptr; }
// Get method for HEPRep style attribute definitions.
// If implemented by a derived class, returns a pointer to a map of
// attribute definitions for the attribute values below. The user
// must test the validity of this pointer. See G4Trajectory for an
// example of a concrete implementation of this method
virtual std::vector<G4AttValue>* CreateAttValues() const
{ return nullptr; }
// Get method for HEPRep style attribute values.
// If implemented by a derived class, returns a pointer to a list
// of attribute values suitable, e.g., for picking. Each must
// refer to an attribute definition in the above map; its name is
// the key. The user must test the validity of this pointer (it
// must be non-zero and conform to the G4AttDefs, which may be
// checked with G4AttCheck) and delete the list after use. See
// G4Trajectory for an example of a concrete implementation of this
// method and G4VTrajectory::ShowTrajectory() for an example of its use.
};
#endif