|
|
|
@@ -21,8 +21,8 @@
|
|
|
|
|
// ********************************************************************
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// $Id: G4VDigi.hh,v 1.2 2004/11/18 23:54:22 perl Exp $
|
|
|
|
|
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
|
|
|
|
// $Id: G4VDigi.hh,v 1.3 2005/06/01 17:15:35 allison Exp $
|
|
|
|
|
// GEANT4 tag $Name: geant4-07-01 $
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef G4VDigi_h
|
|
|
|
@@ -57,16 +57,22 @@ class G4VDigi
|
|
|
|
|
|
|
|
|
|
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const
|
|
|
|
|
{ return 0; }
|
|
|
|
|
// If implemented by a derived class, returns a pointer to a map of
|
|
|
|
|
// attribute definitions for the attribute values below. The user
|
|
|
|
|
// must test the validity of this pointer.
|
|
|
|
|
// If implemented by a derived class, returns a pointer to a map
|
|
|
|
|
// of attribute definitions for the attribute values below. The
|
|
|
|
|
// user must test the validity of this pointer. See
|
|
|
|
|
// G4Trajectory for an example of a concrete implementation of
|
|
|
|
|
// this method.
|
|
|
|
|
virtual std::vector<G4AttValue>* CreateAttValues() const
|
|
|
|
|
{ return 0; }
|
|
|
|
|
// If implemented by a derived class, returns a pointer to a list
|
|
|
|
|
// of attribute values suitable, e.g., for picking. Each must
|
|
|
|
|
// refer to an attribute definition in the above map; its name is
|
|
|
|
|
// the key. The user must test the validity of this pointer and
|
|
|
|
|
// delete the list after use.
|
|
|
|
|
// If implemented by a derived class, returns a pointer to a
|
|
|
|
|
// list of attribute values suitable, e.g., for picking. Each
|
|
|
|
|
// must refer to an attribute definition in the above map; its
|
|
|
|
|
// name is the key. The user must test the validity of this
|
|
|
|
|
// pointer (it must be non-zero and conform to the G4AttDefs,
|
|
|
|
|
// which may be checked with G4AttCheck) and delete the list
|
|
|
|
|
// after use. See G4Trajectory for an example of a concrete
|
|
|
|
|
// implementation of this method and
|
|
|
|
|
// G4VTrajectory::ShowTrajectory for an example of its use.
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|