CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
DDEcalAPDAlgo Class Reference
Inheritance diagram for DDEcalAPDAlgo:

Public Member Functions

 DDEcalAPDAlgo ()
 
void execute (DDCompactView &cpv) override
 
void initialize (const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
 
 ~DDEcalAPDAlgo () override
 

Private Member Functions

DDMaterial aglMat () const
 
DDName aglName () const
 
double aglThick () const
 
DDMaterial andMat () const
 
DDName andName () const
 
double andThick () const
 
int apdHere () const
 
DDMaterial apdMat () const
 
DDName apdName () const
 
double apdSide () const
 
double apdThick () const
 
double apdX1 () const
 
double apdX2 () const
 
double apdZ () const
 
DDMaterial atjMat () const
 
DDName atjName () const
 
double atjThick () const
 
DDMaterial bsiMat () const
 
DDName bsiName () const
 
double bsiThick () const
 
double bsiXSize () const
 
double bsiYSize () const
 
DDMaterial capMat () const
 
DDName capName () const
 
double capThick () const
 
double capXSize () const
 
double capYSize () const
 
DDMaterial cerMat () const
 
DDName cerName () const
 
double cerThick () const
 
double cerXSize () const
 
double cerYSize () const
 
DDName ddname (const std::string &s) const
 
DDMaterial sglMat () const
 
DDName sglName () const
 
double sglThick () const
 
const std::vector< double > & vecCerPos () const
 

Private Attributes

std::string m_AGLMat
 
std::string m_AGLName
 
double m_AGLThick
 
std::string m_ANDMat
 
std::string m_ANDName
 
double m_ANDThick
 
int m_APDHere
 
std::string m_APDMat
 
std::string m_APDName
 
double m_APDSide
 
double m_APDThick
 
double m_APDX1
 
double m_APDX2
 
double m_APDZ
 
std::string m_ATJMat
 
std::string m_ATJName
 
double m_ATJThick
 
std::string m_BSiMat
 
std::string m_BSiName
 
double m_BSiThick
 
double m_BSiXSize
 
double m_BSiYSize
 
std::string m_capMat
 
std::string m_capName
 
double m_capThick
 
double m_capXSize
 
double m_capYSize
 
std::string m_CERMat
 
std::string m_CERName
 
double m_CERThick
 
double m_CERXSize
 
double m_CERYSize
 
std::string m_idNameSpace
 
std::string m_SGLMat
 
std::string m_SGLName
 
double m_SGLThick
 
std::vector< double > m_vecCerPos
 

Detailed Description

Definition at line 19 of file DDEcalAPDAlgo.cc.

Constructor & Destructor Documentation

◆ DDEcalAPDAlgo()

DDEcalAPDAlgo::DDEcalAPDAlgo ( )

Definition at line 130 of file DDEcalAPDAlgo.cc.

References LogDebug.

131  : m_vecCerPos(),
132  m_APDHere(0),
133 
134  m_capName(""),
135  m_capMat(""),
136  m_capXSize(0),
137  m_capYSize(0),
138  m_capThick(0),
139 
140  m_CERName(""),
141  m_CERMat(""),
142  m_CERXSize(0),
143  m_CERYSize(0),
144  m_CERThick(0),
145 
146  m_BSiName(""),
147  m_BSiMat(""),
148  m_BSiXSize(0),
149  m_BSiYSize(0),
150  m_BSiThick(0),
151 
152  m_APDName(""),
153  m_APDMat(""),
154  m_APDSide(0),
155  m_APDThick(0),
156  m_APDZ(0),
157  m_APDX1(0),
158  m_APDX2(0),
159 
160  m_ATJName(""),
161  m_ATJMat(""),
162  m_ATJThick(0),
163 
164  m_SGLName(""),
165  m_SGLMat(""),
166  m_SGLThick(0),
167 
168  m_AGLName(""),
169  m_AGLMat(""),
170  m_AGLThick(0),
171 
172  m_ANDName(""),
173  m_ANDMat(""),
174  m_ANDThick(0) {
175  LogDebug("EcalGeom") << "DDEcalAPDAlgo info: Creating an instance";
176 }
std::string m_BSiName
std::string m_ATJMat
std::string m_SGLName
std::string m_BSiMat
std::string m_AGLMat
std::string m_CERName
std::string m_capMat
std::string m_CERMat
std::string m_APDName
std::string m_APDMat
std::string m_AGLName
std::string m_SGLMat
std::string m_capName
std::string m_ANDMat
std::vector< double > m_vecCerPos
std::string m_ATJName
std::string m_ANDName
#define LogDebug(id)

◆ ~DDEcalAPDAlgo()

DDEcalAPDAlgo::~DDEcalAPDAlgo ( )
override

Definition at line 178 of file DDEcalAPDAlgo.cc.

178 {}

Member Function Documentation

◆ aglMat()

DDMaterial DDEcalAPDAlgo::aglMat ( ) const
inlineprivate

Definition at line 66 of file DDEcalAPDAlgo.cc.

References ddname(), and m_AGLMat.

Referenced by execute().

66 { return DDMaterial(ddname(m_AGLMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_AGLMat
DDName ddname(const std::string &s) const

◆ aglName()

DDName DDEcalAPDAlgo::aglName ( ) const
inlineprivate

Definition at line 65 of file DDEcalAPDAlgo.cc.

References ddname(), and m_AGLName.

Referenced by execute().

65 { return ddname(m_AGLName); }
std::string m_AGLName
DDName ddname(const std::string &s) const

◆ aglThick()

double DDEcalAPDAlgo::aglThick ( ) const
inlineprivate

Definition at line 67 of file DDEcalAPDAlgo.cc.

References m_AGLThick.

Referenced by execute().

67 { return m_AGLThick; }

◆ andMat()

DDMaterial DDEcalAPDAlgo::andMat ( ) const
inlineprivate

Definition at line 70 of file DDEcalAPDAlgo.cc.

References ddname(), and m_ANDMat.

Referenced by execute().

70 { return DDMaterial(ddname(m_ANDMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_ANDMat
DDName ddname(const std::string &s) const

◆ andName()

DDName DDEcalAPDAlgo::andName ( ) const
inlineprivate

Definition at line 69 of file DDEcalAPDAlgo.cc.

References ddname(), and m_ANDName.

Referenced by execute().

69 { return ddname(m_ANDName); }
DDName ddname(const std::string &s) const
std::string m_ANDName

◆ andThick()

double DDEcalAPDAlgo::andThick ( ) const
inlineprivate

Definition at line 71 of file DDEcalAPDAlgo.cc.

References m_ANDThick.

Referenced by execute().

71 { return m_ANDThick; }

◆ apdHere()

int DDEcalAPDAlgo::apdHere ( ) const
inlineprivate

Definition at line 37 of file DDEcalAPDAlgo.cc.

References m_APDHere.

Referenced by execute().

37 { return m_APDHere; }

◆ apdMat()

DDMaterial DDEcalAPDAlgo::apdMat ( ) const
inlineprivate

Definition at line 74 of file DDEcalAPDAlgo.cc.

References ddname(), and m_APDMat.

Referenced by execute().

74 { return DDMaterial(ddname(m_APDMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_APDMat
DDName ddname(const std::string &s) const

◆ apdName()

DDName DDEcalAPDAlgo::apdName ( ) const
inlineprivate

Definition at line 73 of file DDEcalAPDAlgo.cc.

References ddname(), and m_APDName.

Referenced by execute().

73 { return ddname(m_APDName); }
std::string m_APDName
DDName ddname(const std::string &s) const

◆ apdSide()

double DDEcalAPDAlgo::apdSide ( ) const
inlineprivate

Definition at line 75 of file DDEcalAPDAlgo.cc.

References m_APDSide.

Referenced by execute().

75 { return m_APDSide; }

◆ apdThick()

double DDEcalAPDAlgo::apdThick ( ) const
inlineprivate

Definition at line 76 of file DDEcalAPDAlgo.cc.

References m_APDThick.

Referenced by execute().

76 { return m_APDThick; }

◆ apdX1()

double DDEcalAPDAlgo::apdX1 ( ) const
inlineprivate

Definition at line 78 of file DDEcalAPDAlgo.cc.

References m_APDX1.

78 { return m_APDX1; }

◆ apdX2()

double DDEcalAPDAlgo::apdX2 ( ) const
inlineprivate

Definition at line 79 of file DDEcalAPDAlgo.cc.

References m_APDX2.

79 { return m_APDX2; }

◆ apdZ()

double DDEcalAPDAlgo::apdZ ( ) const
inlineprivate

Definition at line 77 of file DDEcalAPDAlgo.cc.

References m_APDZ.

77 { return m_APDZ; }

◆ atjMat()

DDMaterial DDEcalAPDAlgo::atjMat ( ) const
inlineprivate

Definition at line 62 of file DDEcalAPDAlgo.cc.

References ddname(), and m_ATJMat.

Referenced by execute().

62 { return DDMaterial(ddname(m_ATJMat)); }
std::string m_ATJMat
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
DDName ddname(const std::string &s) const

◆ atjName()

DDName DDEcalAPDAlgo::atjName ( ) const
inlineprivate

Definition at line 61 of file DDEcalAPDAlgo.cc.

References ddname(), and m_ATJName.

Referenced by execute().

61 { return ddname(m_ATJName); }
std::string m_ATJName
DDName ddname(const std::string &s) const

◆ atjThick()

double DDEcalAPDAlgo::atjThick ( ) const
inlineprivate

Definition at line 63 of file DDEcalAPDAlgo.cc.

References m_ATJThick.

Referenced by execute().

63 { return m_ATJThick; }

◆ bsiMat()

DDMaterial DDEcalAPDAlgo::bsiMat ( ) const
inlineprivate

Definition at line 52 of file DDEcalAPDAlgo.cc.

References ddname(), and m_BSiMat.

Referenced by execute().

52 { return DDMaterial(ddname(m_BSiMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_BSiMat
DDName ddname(const std::string &s) const

◆ bsiName()

DDName DDEcalAPDAlgo::bsiName ( ) const
inlineprivate

Definition at line 51 of file DDEcalAPDAlgo.cc.

References ddname(), and m_BSiName.

Referenced by execute().

51 { return ddname(m_BSiName); }
std::string m_BSiName
DDName ddname(const std::string &s) const

◆ bsiThick()

double DDEcalAPDAlgo::bsiThick ( ) const
inlineprivate

Definition at line 55 of file DDEcalAPDAlgo.cc.

References m_BSiThick.

Referenced by execute().

55 { return m_BSiThick; }

◆ bsiXSize()

double DDEcalAPDAlgo::bsiXSize ( ) const
inlineprivate

Definition at line 53 of file DDEcalAPDAlgo.cc.

References m_BSiXSize.

Referenced by execute().

53 { return m_BSiXSize; }

◆ bsiYSize()

double DDEcalAPDAlgo::bsiYSize ( ) const
inlineprivate

Definition at line 54 of file DDEcalAPDAlgo.cc.

References m_BSiYSize.

Referenced by execute().

54 { return m_BSiYSize; }

◆ capMat()

DDMaterial DDEcalAPDAlgo::capMat ( ) const
inlineprivate

Definition at line 40 of file DDEcalAPDAlgo.cc.

References ddname(), and m_capMat.

Referenced by execute().

40 { return DDMaterial(ddname(m_capMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_capMat
DDName ddname(const std::string &s) const

◆ capName()

DDName DDEcalAPDAlgo::capName ( ) const
inlineprivate

Definition at line 39 of file DDEcalAPDAlgo.cc.

References ddname(), and m_capName.

Referenced by execute().

39 { return ddname(m_capName); }
std::string m_capName
DDName ddname(const std::string &s) const

◆ capThick()

double DDEcalAPDAlgo::capThick ( ) const
inlineprivate

Definition at line 43 of file DDEcalAPDAlgo.cc.

References m_capThick.

Referenced by execute().

43 { return m_capThick; }

◆ capXSize()

double DDEcalAPDAlgo::capXSize ( ) const
inlineprivate

Definition at line 41 of file DDEcalAPDAlgo.cc.

References m_capXSize.

Referenced by execute().

41 { return m_capXSize; }

◆ capYSize()

double DDEcalAPDAlgo::capYSize ( ) const
inlineprivate

Definition at line 42 of file DDEcalAPDAlgo.cc.

References m_capYSize.

Referenced by execute().

42 { return m_capYSize; }

◆ cerMat()

DDMaterial DDEcalAPDAlgo::cerMat ( ) const
inlineprivate

Definition at line 46 of file DDEcalAPDAlgo.cc.

References ddname(), and m_CERMat.

Referenced by execute().

46 { return DDMaterial(ddname(m_CERMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_CERMat
DDName ddname(const std::string &s) const

◆ cerName()

DDName DDEcalAPDAlgo::cerName ( ) const
inlineprivate

Definition at line 45 of file DDEcalAPDAlgo.cc.

References ddname(), and m_CERName.

Referenced by execute().

45 { return ddname(m_CERName); }
std::string m_CERName
DDName ddname(const std::string &s) const

◆ cerThick()

double DDEcalAPDAlgo::cerThick ( ) const
inlineprivate

Definition at line 49 of file DDEcalAPDAlgo.cc.

References m_CERThick.

Referenced by execute().

49 { return m_CERThick; }

◆ cerXSize()

double DDEcalAPDAlgo::cerXSize ( ) const
inlineprivate

Definition at line 47 of file DDEcalAPDAlgo.cc.

References m_CERXSize.

Referenced by execute().

47 { return m_CERXSize; }

◆ cerYSize()

double DDEcalAPDAlgo::cerYSize ( ) const
inlineprivate

Definition at line 48 of file DDEcalAPDAlgo.cc.

References m_CERYSize.

Referenced by execute().

48 { return m_CERYSize; }

◆ ddname()

DDName DDEcalAPDAlgo::ddname ( const std::string &  s) const
private

Definition at line 341 of file DDEcalAPDAlgo.cc.

References DDSplit(), m_idNameSpace, alignCSCRings::s, and groupFilesInBlocks::temp.

Referenced by aglMat(), aglName(), andMat(), andName(), apdMat(), apdName(), atjMat(), atjName(), bsiMat(), bsiName(), capMat(), capName(), cerMat(), cerName(), sglMat(), and sglName().

341  {
342  const std::pair<std::string, std::string> temp(DDSplit(s));
343  if (temp.second.empty()) {
344  return DDName(temp.first, m_idNameSpace);
345  } else {
346  return DDName(temp.first, temp.second);
347  }
348 }
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:17
std::string m_idNameSpace
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = &#39;:&#39;
Definition: DDSplit.cc:3

◆ execute()

void DDEcalAPDAlgo::execute ( DDCompactView cpv)
override

Definition at line 241 of file DDEcalAPDAlgo.cc.

References aglMat(), aglName(), aglThick(), andMat(), andName(), andThick(), apdHere(), apdMat(), apdName(), apdSide(), apdThick(), atjMat(), atjName(), atjThick(), DDSolidFactory::box(), bsiMat(), bsiName(), bsiThick(), bsiXSize(), bsiYSize(), capMat(), capName(), capThick(), capXSize(), capYSize(), cerMat(), cerName(), cerThick(), cerXSize(), cerYSize(), LogDebug, mergeVDriftHistosByStation::name, class-composition::parent, DDCompactView::position(), sglMat(), sglName(), sglThick(), and vecCerPos().

241  {
242  LogDebug("EcalGeom") << "******** DDEcalAPDAlgo execute!" << std::endl;
243 
244  //++++++++++++++++++++++++++++++++++ APD ++++++++++++++++++++++++++++++++++
245  const DDName capDDName(capName().name());
246 
247  DDSolid capSolid(DDSolidFactory::box(capDDName, capXSize() / 2., capYSize() / 2., capThick() / 2.));
248 
249  const unsigned int copyCAP(1);
250 
251  const DDLogicalPart capLog(capDDName, capMat(), capSolid);
252 
253  const DDName sglDDName(sglName().name());
254 
255  DDSolid sglSolid(DDSolidFactory::box(sglDDName, capXSize() / 2., capYSize() / 2., sglThick() / 2.));
256 
257  const DDLogicalPart sglLog(sglDDName, sglMat(), sglSolid);
258 
259  const unsigned int copySGL(1);
260 
261  const DDName cerDDName(cerName().name());
262 
263  DDSolid cerSolid(DDSolidFactory::box(cerDDName, cerXSize() / 2., cerYSize() / 2., cerThick() / 2.));
264 
265  const DDLogicalPart cerLog(cerDDName, cerMat(), cerSolid);
266 
267  const unsigned int copyCER(1);
268 
269  const DDName bsiDDName(bsiName().name());
270 
271  DDSolid bsiSolid(DDSolidFactory::box(bsiDDName, bsiXSize() / 2., bsiYSize() / 2., bsiThick() / 2.));
272 
273  const DDLogicalPart bsiLog(bsiDDName, bsiMat(), bsiSolid);
274 
275  const unsigned int copyBSi(1);
276 
277  const DDName atjDDName(atjName().name());
278 
279  DDSolid atjSolid(DDSolidFactory::box(atjDDName, apdSide() / 2., apdSide() / 2., atjThick() / 2.));
280 
281  const DDLogicalPart atjLog(atjDDName, atjMat(), atjSolid);
282 
283  const unsigned int copyATJ(1);
284 
285  const DDName aglDDName(aglName().name());
286 
287  DDSolid aglSolid(DDSolidFactory::box(aglDDName, bsiXSize() / 2., bsiYSize() / 2., aglThick() / 2.));
288 
289  const DDLogicalPart aglLog(aglDDName, aglMat(), aglSolid);
290 
291  const unsigned int copyAGL(1);
292 
293  const DDName andDDName(andName().name());
294 
295  DDSolid andSolid(DDSolidFactory::box(andDDName, apdSide() / 2., apdSide() / 2., andThick() / 2.));
296 
297  const DDLogicalPart andLog(andDDName, andMat(), andSolid);
298 
299  const unsigned int copyAND(1);
300 
301  const DDName apdDDName(apdName().name());
302 
303  DDSolid apdSolid(DDSolidFactory::box(apdDDName, apdSide() / 2., apdSide() / 2., apdThick() / 2.));
304 
305  const DDLogicalPart apdLog(apdDDName, apdMat(), apdSolid);
306 
307  const unsigned int copyAPD(1);
308 
309  if (0 != apdHere()) {
310  cpv.position(aglLog, bsiLog, copyAGL, DDTranslation(0, 0, -aglThick() / 2. + bsiThick() / 2.), DDRotation());
311 
312  cpv.position(
313  andLog, bsiLog, copyAND, DDTranslation(0, 0, -andThick() / 2. - aglThick() + bsiThick() / 2.), DDRotation());
314 
315  cpv.position(apdLog,
316  bsiLog,
317  copyAPD,
318  DDTranslation(0, 0, -apdThick() / 2. - andThick() - aglThick() + bsiThick() / 2.),
319  DDRotation());
320 
321  cpv.position(atjLog,
322  bsiLog,
323  copyATJ,
324  DDTranslation(0, 0, -atjThick() / 2. - apdThick() - andThick() - aglThick() + bsiThick() / 2.),
325  DDRotation());
326 
327  cpv.position(bsiLog, cerLog, copyBSi, DDTranslation(0, 0, -bsiThick() / 2. + cerThick() / 2.), DDRotation());
328 
329  cpv.position(sglLog, capLog, copySGL, DDTranslation(0, 0, -sglThick() / 2. + capThick() / 2.), DDRotation());
330 
331  cpv.position(
332  cerLog, capLog, copyCER, DDTranslation(0, 0, -sglThick() - cerThick() / 2. + capThick() / 2.), DDRotation());
333 
334  cpv.position(
335  capLog, parent().name(), copyCAP, DDTranslation(vecCerPos()[0], vecCerPos()[1], vecCerPos()[2]), DDRotation());
336  }
337 
338  LogDebug("EcalGeom") << "******** DDEcalAPDAlgo test: end it...";
339 }
DDMaterial atjMat() const
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string &copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
double atjThick() const
const std::vector< double > & vecCerPos() const
DDMaterial apdMat() const
double apdThick() const
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:17
double cerYSize() const
DDMaterial capMat() const
DDName sglName() const
double andThick() const
DDMaterial sglMat() const
double aglThick() const
double bsiXSize() const
double capXSize() const
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
double sglThick() const
double apdSide() const
DDMaterial cerMat() const
DDName atjName() const
DDName aglName() const
DDName apdName() const
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
DDName bsiName() const
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
Definition: DDSolid.cc:547
double cerThick() const
double bsiYSize() const
int apdHere() const
double bsiThick() const
DDName capName() const
DDName andName() const
DDMaterial andMat() const
double capYSize() const
DDName cerName() const
double capThick() const
DDMaterial bsiMat() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
double cerXSize() const
#define LogDebug(id)
DDMaterial aglMat() const

◆ initialize()

void DDEcalAPDAlgo::initialize ( const DDNumericArguments nArgs,
const DDVectorArguments vArgs,
const DDMapArguments mArgs,
const DDStringArguments sArgs,
const DDStringVectorArguments vsArgs 
)
override

Definition at line 180 of file DDEcalAPDAlgo.cc.

References createfilelist::int, LogDebug, m_AGLMat, m_AGLName, m_AGLThick, m_ANDMat, m_ANDName, m_ANDThick, m_APDHere, m_APDMat, m_APDName, m_APDSide, m_APDThick, m_APDX1, m_APDX2, m_APDZ, m_ATJMat, m_ATJName, m_ATJThick, m_BSiMat, m_BSiName, m_BSiThick, m_BSiXSize, m_BSiYSize, m_capMat, m_capName, m_capThick, m_capXSize, m_capYSize, m_CERMat, m_CERName, m_CERThick, m_CERXSize, m_CERYSize, m_idNameSpace, m_SGLMat, m_SGLName, m_SGLThick, m_vecCerPos, and class-composition::parent.

184  {
185  LogDebug("EcalGeom") << "DDEcalAPDAlgo info: Initialize";
186 
187  m_idNameSpace = parent().name().ns();
188 
189  m_vecCerPos = vArgs["CerPos"];
190  m_APDHere = (int)(nArgs["APDHere"]);
191 
192  m_capName = sArgs["CapName"];
193  m_capMat = sArgs["CapMat"];
194  m_capXSize = nArgs["CapXSize"];
195  m_capYSize = nArgs["CapYSize"];
196  m_capThick = nArgs["CapThick"];
197 
198  m_CERName = sArgs["CerName"];
199  m_CERMat = sArgs["CerMat"];
200  m_CERXSize = nArgs["CerXSize"];
201  m_CERYSize = nArgs["CerYSize"];
202  m_CERThick = nArgs["CerThick"];
203 
204  m_BSiName = sArgs["BSiName"];
205  m_BSiMat = sArgs["BSiMat"];
206  m_BSiXSize = nArgs["BSiXSize"];
207  m_BSiYSize = nArgs["BSiYSize"];
208  m_BSiThick = nArgs["BSiThick"];
209 
210  m_APDName = sArgs["APDName"];
211  m_APDMat = sArgs["APDMat"];
212  m_APDSide = nArgs["APDSide"];
213  m_APDThick = nArgs["APDThick"];
214  m_APDZ = nArgs["APDZ"];
215  m_APDX1 = nArgs["APDX1"];
216  m_APDX2 = nArgs["APDX2"];
217 
218  m_ATJName = sArgs["ATJName"];
219  m_ATJMat = sArgs["ATJMat"];
220  m_ATJThick = nArgs["ATJThick"];
221 
222  m_SGLName = sArgs["SGLName"];
223  m_SGLMat = sArgs["SGLMat"];
224  m_SGLThick = nArgs["SGLThick"];
225 
226  m_AGLName = sArgs["AGLName"];
227  m_AGLMat = sArgs["AGLMat"];
228  m_AGLThick = nArgs["AGLThick"];
229 
230  m_ANDName = sArgs["ANDName"];
231  m_ANDMat = sArgs["ANDMat"];
232  m_ANDThick = nArgs["ANDThick"];
233 
234  LogDebug("EcalGeom") << "DDEcalAPDAlgo info: end initialize";
235 }
std::string m_BSiName
std::string m_ATJMat
std::string m_SGLName
std::string m_BSiMat
std::string m_AGLMat
std::string m_CERName
std::string m_idNameSpace
std::string m_capMat
std::string m_CERMat
std::string m_APDName
std::string m_APDMat
std::string m_AGLName
std::string m_SGLMat
std::string m_capName
std::string m_ANDMat
std::vector< double > m_vecCerPos
std::string m_ATJName
std::string m_ANDName
#define LogDebug(id)

◆ sglMat()

DDMaterial DDEcalAPDAlgo::sglMat ( ) const
inlineprivate

Definition at line 58 of file DDEcalAPDAlgo.cc.

References ddname(), and m_SGLMat.

Referenced by execute().

58 { return DDMaterial(ddname(m_SGLMat)); }
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::string m_SGLMat
DDName ddname(const std::string &s) const

◆ sglName()

DDName DDEcalAPDAlgo::sglName ( ) const
inlineprivate

Definition at line 57 of file DDEcalAPDAlgo.cc.

References ddname(), and m_SGLName.

Referenced by execute().

57 { return ddname(m_SGLName); }
std::string m_SGLName
DDName ddname(const std::string &s) const

◆ sglThick()

double DDEcalAPDAlgo::sglThick ( ) const
inlineprivate

Definition at line 59 of file DDEcalAPDAlgo.cc.

References m_SGLThick.

Referenced by execute().

59 { return m_SGLThick; }

◆ vecCerPos()

const std::vector<double>& DDEcalAPDAlgo::vecCerPos ( ) const
inlineprivate

Definition at line 36 of file DDEcalAPDAlgo.cc.

References m_vecCerPos.

Referenced by execute().

36 { return m_vecCerPos; }
std::vector< double > m_vecCerPos

Member Data Documentation

◆ m_AGLMat

std::string DDEcalAPDAlgo::m_AGLMat
private

Definition at line 122 of file DDEcalAPDAlgo.cc.

Referenced by aglMat(), and initialize().

◆ m_AGLName

std::string DDEcalAPDAlgo::m_AGLName
private

Definition at line 121 of file DDEcalAPDAlgo.cc.

Referenced by aglName(), and initialize().

◆ m_AGLThick

double DDEcalAPDAlgo::m_AGLThick
private

Definition at line 123 of file DDEcalAPDAlgo.cc.

Referenced by aglThick(), and initialize().

◆ m_ANDMat

std::string DDEcalAPDAlgo::m_ANDMat
private

Definition at line 126 of file DDEcalAPDAlgo.cc.

Referenced by andMat(), and initialize().

◆ m_ANDName

std::string DDEcalAPDAlgo::m_ANDName
private

Definition at line 125 of file DDEcalAPDAlgo.cc.

Referenced by andName(), and initialize().

◆ m_ANDThick

double DDEcalAPDAlgo::m_ANDThick
private

Definition at line 127 of file DDEcalAPDAlgo.cc.

Referenced by andThick(), and initialize().

◆ m_APDHere

int DDEcalAPDAlgo::m_APDHere
private

Definition at line 85 of file DDEcalAPDAlgo.cc.

Referenced by apdHere(), and initialize().

◆ m_APDMat

std::string DDEcalAPDAlgo::m_APDMat
private

Definition at line 106 of file DDEcalAPDAlgo.cc.

Referenced by apdMat(), and initialize().

◆ m_APDName

std::string DDEcalAPDAlgo::m_APDName
private

Definition at line 105 of file DDEcalAPDAlgo.cc.

Referenced by apdName(), and initialize().

◆ m_APDSide

double DDEcalAPDAlgo::m_APDSide
private

Definition at line 107 of file DDEcalAPDAlgo.cc.

Referenced by apdSide(), and initialize().

◆ m_APDThick

double DDEcalAPDAlgo::m_APDThick
private

Definition at line 108 of file DDEcalAPDAlgo.cc.

Referenced by apdThick(), and initialize().

◆ m_APDX1

double DDEcalAPDAlgo::m_APDX1
private

Definition at line 110 of file DDEcalAPDAlgo.cc.

Referenced by apdX1(), and initialize().

◆ m_APDX2

double DDEcalAPDAlgo::m_APDX2
private

Definition at line 111 of file DDEcalAPDAlgo.cc.

Referenced by apdX2(), and initialize().

◆ m_APDZ

double DDEcalAPDAlgo::m_APDZ
private

Definition at line 109 of file DDEcalAPDAlgo.cc.

Referenced by apdZ(), and initialize().

◆ m_ATJMat

std::string DDEcalAPDAlgo::m_ATJMat
private

Definition at line 114 of file DDEcalAPDAlgo.cc.

Referenced by atjMat(), and initialize().

◆ m_ATJName

std::string DDEcalAPDAlgo::m_ATJName
private

Definition at line 113 of file DDEcalAPDAlgo.cc.

Referenced by atjName(), and initialize().

◆ m_ATJThick

double DDEcalAPDAlgo::m_ATJThick
private

Definition at line 115 of file DDEcalAPDAlgo.cc.

Referenced by atjThick(), and initialize().

◆ m_BSiMat

std::string DDEcalAPDAlgo::m_BSiMat
private

Definition at line 100 of file DDEcalAPDAlgo.cc.

Referenced by bsiMat(), and initialize().

◆ m_BSiName

std::string DDEcalAPDAlgo::m_BSiName
private

Definition at line 99 of file DDEcalAPDAlgo.cc.

Referenced by bsiName(), and initialize().

◆ m_BSiThick

double DDEcalAPDAlgo::m_BSiThick
private

Definition at line 103 of file DDEcalAPDAlgo.cc.

Referenced by bsiThick(), and initialize().

◆ m_BSiXSize

double DDEcalAPDAlgo::m_BSiXSize
private

Definition at line 101 of file DDEcalAPDAlgo.cc.

Referenced by bsiXSize(), and initialize().

◆ m_BSiYSize

double DDEcalAPDAlgo::m_BSiYSize
private

Definition at line 102 of file DDEcalAPDAlgo.cc.

Referenced by bsiYSize(), and initialize().

◆ m_capMat

std::string DDEcalAPDAlgo::m_capMat
private

Definition at line 88 of file DDEcalAPDAlgo.cc.

Referenced by capMat(), and initialize().

◆ m_capName

std::string DDEcalAPDAlgo::m_capName
private

Definition at line 87 of file DDEcalAPDAlgo.cc.

Referenced by capName(), and initialize().

◆ m_capThick

double DDEcalAPDAlgo::m_capThick
private

Definition at line 91 of file DDEcalAPDAlgo.cc.

Referenced by capThick(), and initialize().

◆ m_capXSize

double DDEcalAPDAlgo::m_capXSize
private

Definition at line 89 of file DDEcalAPDAlgo.cc.

Referenced by capXSize(), and initialize().

◆ m_capYSize

double DDEcalAPDAlgo::m_capYSize
private

Definition at line 90 of file DDEcalAPDAlgo.cc.

Referenced by capYSize(), and initialize().

◆ m_CERMat

std::string DDEcalAPDAlgo::m_CERMat
private

Definition at line 94 of file DDEcalAPDAlgo.cc.

Referenced by cerMat(), and initialize().

◆ m_CERName

std::string DDEcalAPDAlgo::m_CERName
private

Definition at line 93 of file DDEcalAPDAlgo.cc.

Referenced by cerName(), and initialize().

◆ m_CERThick

double DDEcalAPDAlgo::m_CERThick
private

Definition at line 97 of file DDEcalAPDAlgo.cc.

Referenced by cerThick(), and initialize().

◆ m_CERXSize

double DDEcalAPDAlgo::m_CERXSize
private

Definition at line 95 of file DDEcalAPDAlgo.cc.

Referenced by cerXSize(), and initialize().

◆ m_CERYSize

double DDEcalAPDAlgo::m_CERYSize
private

Definition at line 96 of file DDEcalAPDAlgo.cc.

Referenced by cerYSize(), and initialize().

◆ m_idNameSpace

std::string DDEcalAPDAlgo::m_idNameSpace
private

Definition at line 82 of file DDEcalAPDAlgo.cc.

Referenced by ddname(), and initialize().

◆ m_SGLMat

std::string DDEcalAPDAlgo::m_SGLMat
private

Definition at line 118 of file DDEcalAPDAlgo.cc.

Referenced by initialize(), and sglMat().

◆ m_SGLName

std::string DDEcalAPDAlgo::m_SGLName
private

Definition at line 117 of file DDEcalAPDAlgo.cc.

Referenced by initialize(), and sglName().

◆ m_SGLThick

double DDEcalAPDAlgo::m_SGLThick
private

Definition at line 119 of file DDEcalAPDAlgo.cc.

Referenced by initialize(), and sglThick().

◆ m_vecCerPos

std::vector<double> DDEcalAPDAlgo::m_vecCerPos
private

Definition at line 84 of file DDEcalAPDAlgo.cc.

Referenced by initialize(), and vecCerPos().