LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4Trap Namespace Reference

Functions

G4Trap * f1_CreateTrap (const G4String &name)
 
G4Trap * 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)
 
G4Trap * f3_CreateTrap (const G4String &name, const std::vector< G4ThreeVector > &pt)
 
G4Trap * f4_CreateTrap (const G4String &name, G4double pZ, G4double pY, G4double pX, G4double pLTX)
 
G4Trap * f5_CreateTrap (const G4String &name, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz)
 
G4Trap * f6_CreateTrap (const G4String &name, G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
 

Function Documentation

G4Trap* pyG4Trap::f1_CreateTrap ( const G4String name)

Definition at line 42 of file pyG4Trap.cc.

Referenced by export_G4Trap().

43 {
44  return new G4Trap(name);
45 }
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 48 of file pyG4Trap.cc.

Referenced by export_G4Trap().

54 {
55  return new G4Trap(name, pDz, pTheta, pPhi,
56  pDy1, pDx1, pDx2, pAlp1,
57  pDy2, pDx3, pDx4, pAlp2);
58 
59 }
G4Trap* pyG4Trap::f3_CreateTrap ( const G4String name,
const std::vector< G4ThreeVector > &  pt 
)

Definition at line 62 of file pyG4Trap.cc.

Referenced by export_G4Trap().

64 {
65  G4ThreeVector ptlist[8];
66  for (G4int i=0; i<8; i++) {
67  ptlist[i]= pt[i];
68  }
69 
70  return new G4Trap(name, ptlist);
71 }
G4Trap* pyG4Trap::f4_CreateTrap ( const G4String name,
G4double  pZ,
G4double  pY,
G4double  pX,
G4double  pLTX 
)

Definition at line 74 of file pyG4Trap.cc.

Referenced by export_G4Trap().

76 {
77  return new G4Trap(name, pZ, pY, pX, pLTX);
78 }
G4Trap* pyG4Trap::f5_CreateTrap ( const G4String name,
G4double  pDx1,
G4double  pDx2,
G4double  pDy1,
G4double  pDy2,
G4double  pDz 
)

Definition at line 81 of file pyG4Trap.cc.

Referenced by export_G4Trap().

83 {
84  return new G4Trap(name, pDx1, pDx2, pDy1, pDy2, pDz);
85 }
G4Trap* pyG4Trap::f6_CreateTrap ( const G4String name,
G4double  pDx,
G4double  pDy,
G4double  pDz,
G4double  pAlpha,
G4double  pTheta,
G4double  pPhi 
)

Definition at line 88 of file pyG4Trap.cc.

Referenced by export_G4Trap().

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