Message: Re: DNAPhysics: Ionisation coordinates out of box Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: DNAPhysics: Ionisation coordinates out of box 

Forum: Documentation and Examples
Re: Question DNAPhysics: Ionisation coordinates out of box (satya)
Re: None Re: DNAPhysics: Ionisation coordinates out of box (Michael H. Kelsey)
Date: 13 Aug, 2012
From: satya <satya>

Thanks for your response. My Detector Construction class:

// WORLD VOLUME
  WorldSizeX  = 1*cm;
  WorldSizeY  = WorldSizeX;
  WorldSizeZ  = WorldSizeX;

  solidWorld = new G4Box("World",                     //its name
               WorldSizeX/2,WorldSizeY/2,WorldSizeZ/2);  //its size

  logicWorld = new G4LogicalVolume(solidWorld,            //its solid
                   waterMaterial,    //its material
                   "World");        //its name

  physiWorld = new G4PVPlacement(0,            //no rotation
                   G4ThreeVector(),    //at (0,0,0)
                                 "World",        //its name
                                 logicWorld,        //its logical volume
                                 0,            //its mother  volume
                                 false,            //no boolean operation
                                 0);            //copy numb

 This means that the coordinates will be dispersed in the range of -0.5<=X<=0.5, -0.5<=Y<=0.5 and -0.5<=Z<=0.5, with the center of the box as Origin. Please correct me if I am wrong.

 With Regards,
 Satya.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: DNAPhysics: Ionisation coordinates out of box   (Mike Kelsey - 13 Aug, 2012)
 Add Message Add Message
to: "Re: DNAPhysics: Ionisation coordinates out of box"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]