Import Geant4 8.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalVolume.hh,v 1.23 2005/05/25 14:57:52 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4LogicalVolume.hh,v 1.25 2005/11/09 14:54:03 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// class G4LogicalVolume
|
||||
@@ -80,16 +80,18 @@
|
||||
// per content.
|
||||
// const G4VisAttributes* fVisAttributes
|
||||
// - Pointer (possibly 0) to visualization attributes.
|
||||
// G4FastSimulationManager* fFastSimulationManager
|
||||
// - Pointer (possibly 0) to G4FastSimulationManager object.
|
||||
// G4Region* fRegion
|
||||
// - Pointer to the cuts region (if any)
|
||||
// G4MaterialCutsCouple* fCutsCouple
|
||||
// - Pointer (possibly 0) to associated production cuts.
|
||||
// G4bool fIsEnvelope
|
||||
// - Flags if the Logical Volume is an envelope for a FastSimulationManager.
|
||||
// G4double fBiasWeight
|
||||
// - Weight used in the event biasing technique.
|
||||
//
|
||||
// Following data members has been moved to G4Region - M.Asai (Aug/18/2005)
|
||||
// G4FastSimulationManager* fFastSimulationManager
|
||||
// - Pointer (possibly 0) to G4FastSimulationManager object.
|
||||
// G4bool fIsEnvelope
|
||||
// - Flags if the Logical Volume is an envelope for a FastSimulationManager.
|
||||
|
||||
// History:
|
||||
// 12.11.04 G.Cosmo: Added GetMass() method for computing mass of the tree
|
||||
@@ -267,31 +269,22 @@ class G4LogicalVolume
|
||||
// Gets and sets visualization attributes. A copy of 'VA' on the heap
|
||||
// will be made in the case the call with a const reference is used.
|
||||
|
||||
inline void BecomeEnvelopeForFastSimulation(G4FastSimulationManager* );
|
||||
// Makes this an Envelope for given FastSimulationManager.
|
||||
// Ensures that all its daughter volumes get it too - unless they
|
||||
// have one already.
|
||||
void ClearEnvelopeForFastSimulation(G4LogicalVolume* motherLV= 0);
|
||||
// Erase volume's Envelope status and propagate the FastSimulationManager
|
||||
// of its mother volume to itself and its daughters.
|
||||
inline G4FastSimulationManager* GetFastSimulationManager () const;
|
||||
// Gets current FastSimulationManager pointer.
|
||||
// Gets current FastSimulationManager pointer if exists, otherwise null.
|
||||
|
||||
inline void SetBiasWeight (G4double w);
|
||||
inline G4double GetBiasWeight() const;
|
||||
// Sets and gets bias weight.
|
||||
|
||||
public: // without description
|
||||
|
||||
G4LogicalVolume(__void__&);
|
||||
// Fake default constructor for usage restricted to direct object
|
||||
// persistency for clients requiring preallocation of memory for
|
||||
// persistifiable objects.
|
||||
|
||||
private:
|
||||
|
||||
void SetFastSimulationManager (G4FastSimulationManager* pPA,
|
||||
G4bool IsEnvelope);
|
||||
// Sets the fast simulation manager. Private method called by the
|
||||
// public SetIsEnvelope method with IsEnvelope = true. It is
|
||||
// then called recursivaly to the daughters to propagate the
|
||||
// FastSimulationManager pointer with IsEnvelope = false.
|
||||
|
||||
G4LogicalVolume* FindMotherLogicalVolumeForEnvelope();
|
||||
|
||||
G4LogicalVolume(const G4LogicalVolume&);
|
||||
G4LogicalVolume& operator=(const G4LogicalVolume&);
|
||||
// Private copy-constructor and assignment operator.
|
||||
@@ -327,15 +320,10 @@ class G4LogicalVolume
|
||||
// Mass of the logical volume tree.
|
||||
const G4VisAttributes* fVisAttributes;
|
||||
// Pointer (possibly 0) to visualization attributes.
|
||||
G4FastSimulationManager* fFastSimulationManager;
|
||||
// Pointer (possibly 0) to G4FastSimulationManager object.
|
||||
G4Region* fRegion;
|
||||
// Pointer to the cuts region (if any)
|
||||
G4MaterialCutsCouple* fCutsCouple;
|
||||
// Pointer (possibly 0) to associated production cuts.
|
||||
G4bool fIsEnvelope;
|
||||
// Flags if the Logical Volume is an envelope for a
|
||||
// FastSimulationManager.
|
||||
G4double fBiasWeight;
|
||||
// Weight used in the event biasing technique.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user