Go to the documentation of this file.00001 #ifndef GUARD_DDCoreToDDXMLOutput_H
00002 #define GUARD_DDCoreToDDXMLOutput_H
00003
00004 #include "DetectorDescription/Core/interface/DDTransform.h"
00005 #include "DetectorDescription/Core/interface/DDLogicalPart.h"
00006 #include "DetectorDescription/Core/interface/DDPosData.h"
00007
00008 #include <iostream>
00009 #include <set>
00010
00025 struct DDCoreToDDXMLOutput {
00026
00027 void solid ( const DDSolid& solid, std::ostream& xos );
00028
00029 void material ( const DDMaterial& material, std::ostream& xos );
00030
00031 void rotation ( DDRotation& rotation, std::ostream& xos, const std::string& rotn="" );
00032
00033 void logicalPart ( const DDLogicalPart& lp, std::ostream& xos );
00034
00035 void position ( const DDLogicalPart& parent
00036 , const DDLogicalPart& child
00037 , DDPosData* edgeToChild
00038
00039 , int& rotNameSeed
00040 , std::ostream& xos );
00041
00042 void specpar ( const DDSpecifics & sp, std::ostream& xos );
00043 void specpar ( const std::pair<DDsvalues_type, std::set<DDPartSelection*> >& pssv, std::ostream& xos );
00044
00045 std::string ns_;
00046 double tol_;
00047 };
00048
00049 #endif