Import Geant4 10.6.0.beta source tree
This commit is contained in:
@@ -148,7 +148,14 @@ class G4AssemblyVolume
|
||||
inline unsigned int TotalImprintedVolumes() const;
|
||||
//
|
||||
// Methods to access the physical volumes imprinted with the assembly.
|
||||
inline G4Transform3D& GetImprintTransformation(unsigned int imprintID);
|
||||
// Method to access transformation for each imprint
|
||||
|
||||
inline std::vector<G4AssemblyTriplet>::iterator GetTripletsIterator();
|
||||
inline unsigned int TotalTriplets() const;
|
||||
//
|
||||
// Methods to access the triplets which are part of the assembly
|
||||
|
||||
unsigned int GetImprintsCount() const;
|
||||
//
|
||||
// Return the number of made imprints.
|
||||
@@ -217,6 +224,9 @@ class G4AssemblyVolume
|
||||
//
|
||||
// Assembly object ID derived from instance counter at construction time.
|
||||
|
||||
std::map<unsigned int, G4Transform3D> fImprintsTransf;
|
||||
//
|
||||
// Container of transformations for each imprint (used by GDML persistency)
|
||||
};
|
||||
|
||||
#include "G4AssemblyVolume.icc"
|
||||
|
||||
@@ -80,3 +80,22 @@ unsigned int G4AssemblyVolume::TotalImprintedVolumes() const
|
||||
{
|
||||
return fPVStore.size();
|
||||
}
|
||||
|
||||
inline
|
||||
G4Transform3D& G4AssemblyVolume::GetImprintTransformation(unsigned int imprintID)
|
||||
{
|
||||
return fImprintsTransf[imprintID];
|
||||
}
|
||||
inline
|
||||
std::vector<G4AssemblyTriplet>::iterator
|
||||
G4AssemblyVolume::GetTripletsIterator()
|
||||
{
|
||||
std::vector<G4AssemblyTriplet>::iterator iterator = fTriplets.begin();
|
||||
return iterator;
|
||||
}
|
||||
|
||||
inline
|
||||
unsigned int G4AssemblyVolume::TotalTriplets() const
|
||||
{
|
||||
return fTriplets.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user