71 lines
2.7 KiB
C++
71 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: G4TrajectoryPoint.cc,v 1.6 2001/07/11 10:08:43 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-04-01 $
|
|
//
|
|
//
|
|
// ---------------------------------------------------------------
|
|
//
|
|
// G4TrajectoryPoint.cc
|
|
//
|
|
// 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)
|
|
//
|
|
// ---------------------------------------------------------------
|
|
|
|
#include "G4TrajectoryPoint.hh"
|
|
|
|
G4Allocator<G4TrajectoryPoint> aTrajectoryPointAllocator;
|
|
|
|
//////////////////////////////////////
|
|
G4TrajectoryPoint::G4TrajectoryPoint()
|
|
//////////////////////////////////////
|
|
{
|
|
fPosition = G4ThreeVector(0.,0.,0.);
|
|
}
|
|
|
|
///////////////////////////////////////////////////////
|
|
G4TrajectoryPoint::G4TrajectoryPoint(G4ThreeVector pos)
|
|
///////////////////////////////////////////////////////
|
|
{
|
|
fPosition = pos;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
G4TrajectoryPoint::G4TrajectoryPoint(const G4TrajectoryPoint &right)
|
|
////////////////////////////////////////////////////////////////////
|
|
: fPosition(right.fPosition)
|
|
{
|
|
}
|
|
|
|
///////////////////////////////////////
|
|
G4TrajectoryPoint::~G4TrajectoryPoint()
|
|
///////////////////////////////////////
|
|
{
|
|
}
|
|
|
|
|