Files
geant4/source/g3tog4/include/G3RotTable.hh
T
2016-06-08 15:55:53 +02:00

55 lines
1.1 KiB
C++

// 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: G3RotTable.hh,v 1.11 2000/11/24 09:50:10 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// ----------------------
// Class description:
//
// G3 rotations table.
// Maps G3 rotations indices to their G4RotationMatrix object counterparts.
// ----------------------
//
// by I.Hrivnacova, 27 Sep 99
#ifndef G3ROTTABLEH_HH
#define G3ROTTABLEH_HH 1
#include "G3RotTableEntry.hh"
#include "globals.hh"
#include "g4rw/tpordvec.h"
class G4Material;
typedef G4RWTPtrOrderedVector<G3RotTableEntry> G3RotMatrixVector;
class G3RotTable
{
public: // with description
G3RotTable();
virtual ~G3RotTable();
// methods
G4RotationMatrix* Get(G4int id) const;
void Put(G4int id, G4RotationMatrix* matrix);
void Clear();
private:
G3RotMatrixVector* fRotVector;
};
extern G3RotTable G3Rot;
#endif