Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgbPlaceParameterisation.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
//
27
// $Id$
28
//
29
//
30
// class G4tgbPlaceParamSquare
31
//
32
// Class description:
33
//
34
// Class to represent parameterisations of placements.
35
36
// History:
37
// - Created. P.Arce, CIEMAT (November 2007)
38
// -------------------------------------------------------------------------
39
40
#ifndef G4tgbPlaceParameterisation_H
41
#define G4tgbPlaceParameterisation_H 1
42
43
#include "
globals.hh
"
44
#include "
geomdefs.hh
"
45
#include "
G4VPVParameterisation.hh
"
46
#include "
G4ThreeVector.hh
"
47
#include "
G4RotationMatrix.hh
"
48
#include "
G4tgrUtils.hh
"
49
50
class
G4VPhysicalVolume
;
51
class
G4tgrPlaceParameterisation
;
52
53
class
G4tgbPlaceParameterisation
:
public
G4VPVParameterisation
54
{
55
public
:
// with description
56
57
G4tgbPlaceParameterisation
(
G4tgrPlaceParameterisation
* tgrParam );
58
virtual
~G4tgbPlaceParameterisation
();
59
60
virtual
void
ComputeTransformation
(
const
G4int
,
G4VPhysicalVolume
*)
const
;
61
62
void
CheckNExtraData
(
G4tgrPlaceParameterisation
* tgrParam,
63
G4int
nWcheck,
WLSIZEtype
st,
64
const
G4String
& methodName );
65
66
G4int
GetNCopies
()
const
{
return
theNCopies
; }
67
EAxis
GetAxis
()
const
{
return
theAxis
; }
68
69
protected
:
70
71
G4int
theNCopies
;
72
EAxis
theAxis
;
73
G4ThreeVector
theTranslation
;
74
G4RotationMatrix
*
theRotationMatrix
;
75
76
};
77
78
#endif
G4RotationMatrix.hh
G4ThreeVector.hh
G4int
int G4int
Definition:
G4Types.hh:66
G4VPVParameterisation.hh
G4tgrUtils.hh
WLSIZEtype
WLSIZEtype
Definition:
G4tgrUtils.hh:52
CLHEP::Hep3Vector
Definition:
ThreeVector.h:41
CLHEP::HepRotation
Definition:
Rotation.h:47
G4String
Definition:
G4String.hh:105
G4VPVParameterisation
Definition:
G4VPVParameterisation.hh:72
G4VPhysicalVolume
Definition:
G4VPhysicalVolume.hh:60
G4tgbPlaceParameterisation
Definition:
G4tgbPlaceParameterisation.hh:54
G4tgbPlaceParameterisation::GetNCopies
G4int GetNCopies() const
Definition:
G4tgbPlaceParameterisation.hh:66
G4tgbPlaceParameterisation::theNCopies
G4int theNCopies
Definition:
G4tgbPlaceParameterisation.hh:71
G4tgbPlaceParameterisation::theAxis
EAxis theAxis
Definition:
G4tgbPlaceParameterisation.hh:72
G4tgbPlaceParameterisation::~G4tgbPlaceParameterisation
virtual ~G4tgbPlaceParameterisation()
Definition:
G4tgbPlaceParameterisation.cc:52
G4tgbPlaceParameterisation::GetAxis
EAxis GetAxis() const
Definition:
G4tgbPlaceParameterisation.hh:67
G4tgbPlaceParameterisation::CheckNExtraData
void CheckNExtraData(G4tgrPlaceParameterisation *tgrParam, G4int nWcheck, WLSIZEtype st, const G4String &methodName)
Definition:
G4tgbPlaceParameterisation.cc:63
G4tgbPlaceParameterisation::theRotationMatrix
G4RotationMatrix * theRotationMatrix
Definition:
G4tgbPlaceParameterisation.hh:74
G4tgbPlaceParameterisation::ComputeTransformation
virtual void ComputeTransformation(const G4int, G4VPhysicalVolume *) const
Definition:
G4tgbPlaceParameterisation.cc:58
G4tgbPlaceParameterisation::theTranslation
G4ThreeVector theTranslation
Definition:
G4tgbPlaceParameterisation.hh:73
G4tgrPlaceParameterisation
Definition:
G4tgrPlaceParameterisation.hh:58
geomdefs.hh
EAxis
EAxis
Definition:
geomdefs.hh:54
globals.hh
geant4-v9.6.0
source
persistency
ascii
include
G4tgbPlaceParameterisation.hh
Generated by
1.9.6