Message: Re: G4VPrimitive Scorer-Surface Current Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: G4VPrimitive Scorer-Surface Current 

Forum: Hits, Digitization and Pileup
Re: Question G4VPrimitive Scorer-Surface Current (Suhaili Zakaria)
Re: Question Re: G4VPrimitive Scorer-Surface Current (Suhaili Zakaria)
Re: None Re: G4VPrimitive Scorer-Surface Current (Tsukasa Aso)
Date: 31 Jan, 2018
From: sylvian kahane <sylvian kahane>

I have the following definition:

    G4VPrimitiveScorer* primitive;
    primitive = new G4PSFlatSurfaceCurrent("IntegratedCurrent",fCurrent_In,0);
    primitive->DivideByArea(false);

and I am getting this error at the compilation time:

/mnt/d/Geant4/GEANT10_MyProgs/CylFlx/src/DetectorConstruction.cc: In member function ‘virtual void DetectorConstruction::ConstructSDandField()’:
/mnt/d/Geant4/GEANT10_MyProgs/CylFlx/src/DetectorConstruction.cc:99:16: error: ‘class G4VPrimitiveScorer’ has no member named ‘DivideByArea’
     primitive->DivideByArea(false);

Geant version 10.3.01

 Add Message Add Message
to: "Re: G4VPrimitive Scorer-Surface Current"

 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 ]