9 #ifndef ERGeoSubAssembly_H 10 #define ERGeoSubAssembly_H 12 #include "ERGeoComponent.h" 16 #include "TGeoVolume.h" 17 #include "TGeoMatrix.h" 23 ERGeoSubAssembly(
const TString& name,
const TVector3& position,
const TVector3& rotation)
27 void AddComponent(
ERGeoComponent* component,
const TVector3& position,
const TVector3& rotation);
29 const TGeoVolume* GetVolume()
const {
return fVolume;}
30 const std::map<TString, ERGeoComponent*>& GetComponents()
const {
return fComponents; }
31 std::list<TString> GetComponentNames()
const;
32 virtual std::list<TString> GetBranchNames(ERDataObjectType
object)
const {
33 LOG(FATAL) <<
"SubAssembly does not produce branches\n";
36 void ConstructGeometryVolume();
38 virtual void ParseXmlParameters() {}
39 std::map<TString, ERGeoComponent*> fComponents;