57 LogDebug(
"EcalGeom") <<
"DDEcalAPDAlgo info: Creating an instance" ;
68 LogDebug(
"EcalGeom") <<
"DDEcalAPDAlgo info: Initialize" ;
117 LogDebug(
"EcalGeom") <<
"DDEcalAPDAlgo info: end initialize" ;
126 LogDebug(
"EcalGeom") <<
"******** DDEcalAPDAlgo execute!" << std::endl ;
134 const unsigned int copyCAP ( 1 ) ;
145 const unsigned int copySGL ( 1 ) ;
154 const unsigned int copyCER ( 1 ) ;
163 const unsigned int copyBSi ( 1 ) ;
172 const unsigned int copyATJ ( 1 ) ;
181 const unsigned int copyAGL ( 1 ) ;
190 const unsigned int copyAND ( 1 ) ;
199 const unsigned int copyAPD ( 1 ) ;
202 cpv.
position(aglLog, bsiLog, copyAGL,
205 cpv.
position(andLog, bsiLog, copyAND,
209 cpv.
position(apdLog, bsiLog, copyAPD,
213 cpv.
position(atjLog, bsiLog, copyATJ,
217 cpv.
position(bsiLog, cerLog, copyBSi,
220 cpv.
position(sglLog, capLog, copySGL,
223 cpv.
position(cerLog, capLog, copyCER,
232 LogDebug(
"EcalGeom") <<
"******** DDEcalAPDAlgo test: end it..." ;
237 const std::pair<std::string,std::string>
temp (
DDSplit(s) ) ;
238 if ( temp.second ==
"" ) {
241 return DDName( temp.first, temp.second );
DDMaterial sglMat() const
DDMaterial bsiMat() const
DDMaterial apdMat() const
DDMaterial aglMat() const
const std::vector< double > & vecCerPos() const
DDName ddname(const std::string &s) const
DDName is used to identify DDD entities uniquely.
std::string m_idNameSpace
type of data representation of DDCompactView
~DDEcalAPDAlgo() override
A DDSolid represents the shape of a part.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
DDMaterial cerMat() const
DDMaterial capMat() const
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
DDMaterial atjMat() const
DDMaterial andMat() const
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
void execute(DDCompactView &cpv) override
std::vector< double > m_vecCerPos
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'