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

47 lines
1.0 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.9 1999/12/05 17:50:03 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// by I.Hrivnacova, 27 Sep 99
#ifndef G3_ROT_TABLE_H
#define G3_ROT_TABLE_H
#include "G3RotTableEntry.hh"
#include "globals.hh"
#include "g4rw/tpordvec.h"
class G4Material;
typedef G4RWTPtrOrderedVector<G3RotTableEntry> G3RotMatrixVector;
class G3RotTable
{
public:
G3RotTable();
virtual ~G3RotTable();
// methods
// keep the same names of methods as in G4 g3tog4
// G3toG4RotationMatrix type changed to G4RotationMatrix)
//
G4RotationMatrix* Get(G4int id) const;
void Put(G4int id, G4RotationMatrix* matrix);
void Clear();
private:
G3RotMatrixVector* fRotVector;
};
extern G3RotTable G3Rot;
#endif //G3_ROT_TABLE_H