Ignore:
Timestamp:
Nov 3, 2009, 11:17:28 AM (15 years ago)
Author:
garnier
Message:

update to CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/digits_hits/utils/include/G4VScoringMesh.hh

    r998 r1140  
    2525//
    2626//
    27 // $Id: G4VScoringMesh.hh,v 1.27 2007/11/06 17:17:14 asaim Exp $
    28 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// $Id: G4VScoringMesh.hh,v 1.29 2009/10/12 04:11:25 akimura Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030
     
    9494  // set size of this mesh
    9595  void SetSize(G4double size[3]);
     96  // get size of this mesh
     97  G4ThreeVector GetSize() const;
    9698  // set position of center of this mesh
    9799  void SetCenterPosition(G4double centerPosition[3]);
     100  // get position of center of this mesh
     101  G4ThreeVector GetTranslation() const {return fCenterPosition;}
    98102  // set a rotation angle around the x axis
    99103  void RotateX(G4double delta);
     
    102106  // set a rotation angle around the z axis
    103107  void RotateZ(G4double delta);
     108  // get a rotation matrix
     109  G4RotationMatrix GetRotationMatrix() const {
     110    if(fRotationMatrix) return *fRotationMatrix;
     111    else return G4RotationMatrix::IDENTITY;
     112  }
    104113  // set number of segments of this mesh
    105114  void SetNumberOfSegments(G4int nSegment[3]);
Note: See TracChangeset for help on using the changeset viewer.