Message: Re: Warning when I use enforced interaction biasing technique Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Warning when I use enforced interaction biasing technique 

Forum: Biasing and Scoring
Re: None Warning when I use enforced interaction biasing technique (Ruirui)
Re: None Re: Warning when I use enforced interaction biasing technique (Marc Verderi)
Re: None Re: Warning when I use enforced interaction biasing technique (Ruirui)
Re: None Re: Warning when I use enforced interaction biasing technique (Marc Verderi)
Re: None Re: Warning when I use enforced interaction biasing technique (Ruirui)
Date: Mar 26, 06:14
From: <modest24>

Hi Marc and Ruirui,

I understand you were having issues implementing the GBO2 example into your program. I am having the same issue but I do want to start a new thread with the same question.

I am having the same issues. When I implement the program, I get the message below:

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : BIAS.GEN.19
      issued by :  G4BOptrForceCollisionTrackData::~G4BOptrForceCollisionTrackData()
Track deleted while under G4BOptrForceCollision biasing scheme of operator `ForceCollisionForgamma'. Will result in inconsistencies.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW 

Here is my code in Detector construction:

  G4Box* solidWorld =
    new G4Box("World",                                             //name
               10*cm,fWorldSizeYZ/2,fWorldSizeYZ/2);       //size

  G4LogicalVolume* logicWorld =
    new G4LogicalVolume(solidWorld,              //solid
                        fDefaultMaterial,        //material
                        "World");                //name

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

  //
  // Absorbers
  //
  // fXfront[0] = -0.5*fAbsorThickness[1];
   fXfront[0] = -0.5*fAbsorSizeX;
  //
  for (G4int k=1; k<=fNbOfAbsor; k++) {
    G4Material* material = fAbsorMaterial[k];
    G4String matname = material->GetName();
     fSolidAbsor[k] =
      new G4Box(matname,fAbsorThickness[k]/2,fAbsorSizeYZ/2,fAbsorSizeYZ/2);

     fLogicAbsor[k] =
      new G4LogicalVolume(fSolidAbsor[k],           // solid
                          material,             // material
                          matname);             // name   

//
 // G4LogicalVolume* fLogicAbsor[k] = G4LogicalVolumeStore::GetInstance()->GetVolume("matname");

  // ----------------------------------------------
  // -- operator creation and attachment to volume:
  // ----------------------------------------------
  GB02BOptrMultiParticleForceCollision* testMany =  new GB02BOptrMultiParticleForceCollision();
  testMany->AddParticle("gamma");
  testMany->AddParticle("neutron");
  testMany->AddParticle("alpha");
  testMany->AttachTo(fLogicAbsor[k]);
  G4cout << " Attaching biasing operator " << testMany->GetName()
         << " to logical volume " << fLogicAbsor[k]->GetName()
         << G4endl;
    //

fXfront[k] = fXfront[k-1] + (fAbsorThickness[k-1]);    
    G4double xcenter = fXfront[k]+0.5*fAbsorThickness[k];
   G4double top= xcenter + 0.5*fAbsorThickness[k]; 
   G4double bottom =xcenter-0.5*fAbsorThickness[k];
    G4ThreeVector position = G4ThreeVector(xcenter,0.,0.);
    G4double thickness= fAbsorThickness[k];

Thanks

 Add Message Add Message
to: "Re: Warning when I use enforced interaction biasing technique"

 Subscribe Subscribe

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