Geant4-11
Functions
pyG4Trap Namespace Reference

Functions

G4Trapf1_CreateTrap (const G4String &name)
 
G4Trapf2_CreateTrap (const G4String &name, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
 
G4Trapf3_CreateTrap (const G4String &name, const std::vector< G4ThreeVector > &pt)
 
G4Trapf4_CreateTrap (const G4String &name, G4double pZ, G4double pY, G4double pX, G4double pLTX)
 
G4Trapf5_CreateTrap (const G4String &name, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz)
 
G4Trapf6_CreateTrap (const G4String &name, G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
 

Function Documentation

◆ f1_CreateTrap()

G4Trap * pyG4Trap::f1_CreateTrap ( const G4String name)

Definition at line 41 of file pyG4Trap.cc.

42{
43 return new G4Trap(name);
44}
const char * name(G4int ptype)

References G4InuclParticleNames::name().

Referenced by export_G4Trap().

◆ f2_CreateTrap()

G4Trap * pyG4Trap::f2_CreateTrap ( const G4String name,
G4double  pDz,
G4double  pTheta,
G4double  pPhi,
G4double  pDy1,
G4double  pDx1,
G4double  pDx2,
G4double  pAlp1,
G4double  pDy2,
G4double  pDx3,
G4double  pDx4,
G4double  pAlp2 
)

Definition at line 47 of file pyG4Trap.cc.

53{
54 return new G4Trap(name, pDz, pTheta, pPhi,
55 pDy1, pDx1, pDx2, pAlp1,
56 pDy2, pDx3, pDx4, pAlp2);
57
58}

References G4InuclParticleNames::name().

Referenced by export_G4Trap().

◆ f3_CreateTrap()

G4Trap * pyG4Trap::f3_CreateTrap ( const G4String name,
const std::vector< G4ThreeVector > &  pt 
)

Definition at line 61 of file pyG4Trap.cc.

63{
64 G4ThreeVector ptlist[8];
65 for (G4int i=0; i<8; i++) {
66 ptlist[i]= pt[i];
67 }
68
69 return new G4Trap(name, ptlist);
70}
int G4int
Definition: G4Types.hh:85

References G4InuclParticleNames::name().

Referenced by export_G4Trap().

◆ f4_CreateTrap()

G4Trap * pyG4Trap::f4_CreateTrap ( const G4String name,
G4double  pZ,
G4double  pY,
G4double  pX,
G4double  pLTX 
)

Definition at line 73 of file pyG4Trap.cc.

75{
76 return new G4Trap(name, pZ, pY, pX, pLTX);
77}

References G4InuclParticleNames::name().

Referenced by export_G4Trap().

◆ f5_CreateTrap()

G4Trap * pyG4Trap::f5_CreateTrap ( const G4String name,
G4double  pDx1,
G4double  pDx2,
G4double  pDy1,
G4double  pDy2,
G4double  pDz 
)

Definition at line 80 of file pyG4Trap.cc.

82{
83 return new G4Trap(name, pDx1, pDx2, pDy1, pDy2, pDz);
84}

References G4InuclParticleNames::name().

Referenced by export_G4Trap().

◆ f6_CreateTrap()

G4Trap * pyG4Trap::f6_CreateTrap ( const G4String name,
G4double  pDx,
G4double  pDy,
G4double  pDz,
G4double  pAlpha,
G4double  pTheta,
G4double  pPhi 
)

Definition at line 87 of file pyG4Trap.cc.

90{
91 return new G4Trap(name, pDx, pDy, pDz, pAlpha, pTheta, pPhi);
92}

References G4InuclParticleNames::name().

Referenced by export_G4Trap().