Geant4
11.2.2
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
// G4tgbPlaceParamSquare
27
//
28
// Class description:
29
//
30
// Class to represent parameterisations of placements.
31
32
// Author: P.Arce, CIEMAT (November 2007)
33
// --------------------------------------------------------------------
34
#ifndef G4tgbPlaceParameterisation_hh
35
#define G4tgbPlaceParameterisation_hh 1
36
37
#include "
globals.hh
"
38
#include "
geomdefs.hh
"
39
#include "
G4VPVParameterisation.hh
"
40
#include "
G4ThreeVector.hh
"
41
#include "
G4RotationMatrix.hh
"
42
#include "
G4tgrUtils.hh
"
43
44
class
G4VPhysicalVolume
;
45
class
G4tgrPlaceParameterisation
;
46
47
class
G4tgbPlaceParameterisation
:
public
G4VPVParameterisation
48
{
49
public
:
50
51
G4tgbPlaceParameterisation
(
G4tgrPlaceParameterisation
* tgrParam);
52
virtual
~G4tgbPlaceParameterisation
();
53
54
virtual
void
ComputeTransformation
(
const
G4int
,
G4VPhysicalVolume
*)
const
;
55
56
void
CheckNExtraData
(
G4tgrPlaceParameterisation
* tgrParam,
G4int
nWcheck,
57
WLSIZEtype
st,
const
G4String
& methodName);
58
59
G4int
GetNCopies
()
const
{
return
theNCopies
; }
60
EAxis
GetAxis
()
const
{
return
theAxis
; }
61
62
protected
:
63
64
G4int
theNCopies
= 0;
65
EAxis
theAxis
=
kUndefined
;
66
G4ThreeVector
theTranslation
;
67
G4RotationMatrix
*
theRotationMatrix
=
nullptr
;
68
};
69
70
#endif
G4RotationMatrix.hh
G4ThreeVector.hh
G4int
int G4int
Definition
G4Types.hh:85
G4VPVParameterisation.hh
G4tgrUtils.hh
WLSIZEtype
WLSIZEtype
Definition
G4tgrUtils.hh:46
CLHEP::Hep3Vector
Definition
ThreeVector.h:36
CLHEP::HepRotation
Definition
Rotation.h:42
G4String
Definition
G4String.hh:62
G4VPVParameterisation
Definition
G4VPVParameterisation.hh:69
G4VPhysicalVolume
Definition
G4VPhysicalVolume.hh:79
G4tgbPlaceParameterisation
Definition
G4tgbPlaceParameterisation.hh:48
G4tgbPlaceParameterisation::GetNCopies
G4int GetNCopies() const
Definition
G4tgbPlaceParameterisation.hh:59
G4tgbPlaceParameterisation::G4tgbPlaceParameterisation
G4tgbPlaceParameterisation(G4tgrPlaceParameterisation *tgrParam)
Definition
G4tgbPlaceParameterisation.cc:41
G4tgbPlaceParameterisation::theNCopies
G4int theNCopies
Definition
G4tgbPlaceParameterisation.hh:64
G4tgbPlaceParameterisation::theAxis
EAxis theAxis
Definition
G4tgbPlaceParameterisation.hh:65
G4tgbPlaceParameterisation::~G4tgbPlaceParameterisation
virtual ~G4tgbPlaceParameterisation()
Definition
G4tgbPlaceParameterisation.cc:49
G4tgbPlaceParameterisation::GetAxis
EAxis GetAxis() const
Definition
G4tgbPlaceParameterisation.hh:60
G4tgbPlaceParameterisation::CheckNExtraData
void CheckNExtraData(G4tgrPlaceParameterisation *tgrParam, G4int nWcheck, WLSIZEtype st, const G4String &methodName)
Definition
G4tgbPlaceParameterisation.cc:62
G4tgbPlaceParameterisation::theRotationMatrix
G4RotationMatrix * theRotationMatrix
Definition
G4tgbPlaceParameterisation.hh:67
G4tgbPlaceParameterisation::ComputeTransformation
virtual void ComputeTransformation(const G4int, G4VPhysicalVolume *) const
Definition
G4tgbPlaceParameterisation.cc:55
G4tgbPlaceParameterisation::theTranslation
G4ThreeVector theTranslation
Definition
G4tgbPlaceParameterisation.hh:66
G4tgrPlaceParameterisation
Definition
G4tgrPlaceParameterisation.hh:51
geomdefs.hh
EAxis
EAxis
Definition
geomdefs.hh:54
kUndefined
@ kUndefined
Definition
geomdefs.hh:61
globals.hh
geant4-v11.2.2
source
persistency
ascii
include
G4tgbPlaceParameterisation.hh
Generated by
1.12.0