ATLAS Offline Software
TileDddbManager.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * Updates:
7  * - 2022 Jan, Riccardo Maria BIANCHI <riccardo.maria.bianchi@cern.ch>
8  * Added support for SQLite input, for the new DD architecture for Run4 (DetectorFactoryLite)
9  */
10 
12 
16 
17 #include "GaudiKernel/MsgStream.h"
18 
19 #include <iostream>
20 #include <stdexcept>
21 
23  const std::string& version_tag,
24  const std::string& version_node,
25  bool sqliteInput)
26  : AthMessaging ("TileDddbManager")
27  , m_n_cuts(0)
28  , m_n_saddle(0)
29  , m_currentTileGlob(0)
30  , m_currentTileMod(0)
31  , m_currentSection(0)
32  , m_currentGird(0)
33  , m_currentScin(0)
34  , m_currentTifg(0)
35  , m_currentTicg(0)
36  , m_currentTicl(0)
37  , m_currentCuts(0)
38  , m_currentSaddle(0)
39  , m_currentTiclInd(-1)
40  , m_tag(version_tag)
41  , m_node(version_node)
42  , m_sqliteInput(sqliteInput)
43 {
44  ATH_MSG_INFO( "m_tag = " << m_tag );
45 
46  m_tiglob = access->getRecordsetPtr("TileGlobals",m_tag,m_node);
47  m_n_tiglob = m_tiglob->size();
48  ATH_MSG_INFO( "n_tiglob = " << m_n_tiglob );
49 
50  if (m_sqliteInput) {
51  m_timod = access->getRecordsetPtr("TileModule",m_tag,m_node);
52  } else {
53  if (access->getChildTag("TileModule",m_tag,m_node)!="") {
54  m_timod = access->getRecordsetPtr("TileModule",m_tag,m_node);
55  } else {
56  m_timod = access->getRecordsetPtr("TileModules",m_tag,m_node);
57  }
58  }
59  m_n_timod = m_timod->size();
60  ATH_MSG_INFO( "n_timod = " << m_n_timod );
61 
62  if (access->getChildTag("TileCuts",m_tag,m_node)!="")
63  { m_buildCuts = true;
64  m_cuts = access->getRecordsetPtr("TileCuts",m_tag,m_node);
65  m_n_cuts = m_cuts->size();
66  ATH_MSG_INFO( "n_cuts = " << m_n_cuts );
67 
68  } else {
69  m_buildCuts = false;
70  }
71 
72 
73  if (access->getChildTag("TileSaddleSup",m_tag,m_node)!="")
74  { m_buildSaddle = true;
75  m_saddle = access->getRecordsetPtr("TileSaddleSup",m_tag,m_node);
76  m_n_saddle = m_saddle->size();
77  ATH_MSG_INFO( "n_saddle = " << m_n_saddle );
78 
79  } else {
80  m_buildSaddle = false;
81  }
82 
83  m_tile = access->getRecordsetPtr("TILE",m_tag,m_node);
84 
85  m_tilb = access->getRecordsetPtr("TILB",m_tag,m_node);
86  m_n_tilb = m_tilb->size();
87  ATH_MSG_INFO( "n_tilb = " << m_n_tilb );
88 
89  m_tigr = access->getRecordsetPtr("TIGR",m_tag,m_node);
90  m_n_tigr = m_tigr->size();
91 
92  m_scnt = access->getRecordsetPtr("SCNT",m_tag,m_node);
93  m_n_scnt = m_scnt->size();
94 
95  m_tifg = access->getRecordsetPtr("TIFG",m_tag,m_node);
96  m_n_tifg = m_tifg->size();
97 
98  m_ticg = access->getRecordsetPtr("TICG",m_tag,m_node);
99  m_n_ticg = m_ticg->size();
100 
101  m_ticl = access->getRecordsetPtr("TICL",m_tag,m_node);
102  m_n_ticl = m_ticl->size();
103 
104  m_tileSwitches = access->getRecordsetPtr("TileSwitches",m_tag,m_node);
106  ATH_MSG_INFO( "n_tileSwitches = " << m_n_tileSwitches );
107 
108 
109  m_EnvNum = 0;
110  m_EnvSize = 0;
111  m_EnvBegin = 0;
112  m_modTypes.clear();
113 }
114 
115 // ---------- T I L E -------------
116 
118 {
119  return (*m_tile)[0]->getInt("NMODUL");
120 }
121 
123 {
124  return (*m_tile)[0]->getDouble("RMIM");
125 }
126 
128 {
129  return (*m_tile)[0]->getDouble("RMAM");
130 }
131 
133 {
134  return (*m_tile)[0]->getDouble("ZMAM");
135 }
136 
138 {
139  return (*m_tile)[0]->getDouble("RMIN");
140 }
141 
143 {
144  return (*m_tile)[0]->getDouble("RMAX");
145 }
146 
148 {
149  return (*m_tile)[0]->getDouble("ZSHIFT");
150 }
151 
152 unsigned int TileDddbManager::GetNumTilb() const
153 {
154  return m_n_tilb;
155 }
156 
157 // ------------ TILE GLOBALS--------------------
159 {
160  return m_n_tiglob;
161 }
162 
164 {
165  if (m_currentTileGlob) {
166  return m_currentTileGlob->getInt("PART");
167  }
168  else {
169  ATH_MSG_ERROR( "TileDddbManager::GetEnvType() - Current Envelope not set, returning -999" );
170  return -999;
171  }
172 }
173 
174 int TileDddbManager::SetCurrentEnvByType(unsigned int envelopeT)
175 {
176  m_currentTileGlob = 0;
177  m_currentTileMod = 0;
178  m_currentSection = 0;
179  m_modTypes.clear();
180 
181  unsigned int ind2 = 0;
182  while (((*m_tiglob)[ind2]->getInt("PART") != static_cast<int>(envelopeT)) && (++ind2 < m_n_tiglob))
183  {
184  }
185  if (ind2 < m_n_tiglob) {
186  m_currentTileGlob = (*m_tiglob)[ind2];
187  m_EnvSize = m_currentTileGlob->getInt("NMODULES");
188  unsigned int ind3 = 0;
189  while (((*m_timod)[ind3]->getInt("PART") != static_cast<int>(envelopeT)) && (++ind3 < m_n_timod))
190  {
191  }
192  if (ind3 < m_n_timod) {
193  m_EnvBegin = ind3;
194  return 1;
195  }
196  else {
197  m_EnvSize = 0;
198  m_EnvBegin = 0;
199  ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByType() - Couldn't return begin of modules" );
200  return 0;
201  }
202  } else {
203  m_currentTileGlob = 0;
204  ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByType() - Couldn't return Envelope" );
205  return 0;
206  }
207 }
208 
209 int TileDddbManager::SetCurrentEnvByIndex(unsigned int envelopeI)
210 {
211  m_currentTileGlob = 0;
212  m_currentTileMod = 0;
213  m_currentSection = 0;
214  m_modTypes.clear();
215 
216  if (envelopeI < m_n_tiglob) {
217  m_currentTileGlob = (*m_tiglob)[envelopeI];
218  m_EnvNum = m_currentTileGlob->getInt("PART");
219  m_EnvSize = m_currentTileGlob->getInt("NMODULES");
220  unsigned int ind1 = 0;
221 // while (((*m_timod)[ind1]->getInt("PART") != static_cast<int>(m_EnvNum)) && (++ind1 < m_n_timod))
222 // {
223 // }
224  // FIXME: temporary fix for wrong PART in modules table
225  for ( ; ind1 < m_n_timod; ++ind1) {
226  int part = (*m_timod)[ind1]->getInt("PART");
227  if ( m_tag == "TileCal-02" ) {
228  if (part == 3) part = 5;
229  else if (part == 2) part = 3;
230  }
231  if ( part == static_cast<int>(m_EnvNum)) break;
232  }
233  if (ind1 < m_n_timod) {
234  m_EnvBegin = ind1;
235  return 1;
236  }
237  else {
238  m_EnvSize = 0;
239  m_EnvBegin = 0;
240  ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByIndex() - Couldn't return begin of modules" );
241  return 0;
242  }
243  } else {
244  m_currentTileGlob = 0;
245  ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByIndex() - Couldn't return Envelope" );
246  return 0;
247  }
248 }
249 
250 
252 {
253  if (m_currentTileGlob) {
254  return m_currentTileGlob->getInt("SIDE");
255  }
256  else {
257  ATH_MSG_ERROR( "TileDddbManager::GetEnvSide() - Current Section not set, returning -999" );
258  return -999;
259  }
260 }
261 
263 {
264  if (m_currentTileGlob) {
265  return m_currentTileGlob->getInt("NMODULES");
266  //sb return 1;
267  }
268  else {
269  ATH_MSG_ERROR( "TileDddbManager::GetEnvNModules() - Current Envelope not set, returning -999" );
270  return -999;
271  }
272 }
273 
275 {
276  if (m_currentTileGlob) {
277  return m_currentTileGlob->getDouble("RIN");
278  }
279  else {
280  ATH_MSG_ERROR( "TileDddbManager::GetEnvRin() - Current Envelope not set, returning -999" );
281  return -999;
282  }
283 }
284 
286 {
287  if (m_currentTileGlob) {
288  return m_currentTileGlob->getDouble("ROUT");
289  }
290  else {
291  ATH_MSG_ERROR( "TileDddbManager::GetEnvRout() - Current Envelope not set, returning -999" );
292  return -999;
293  }
294 }
295 
297 {
298  if (m_currentTileGlob) {
299  // return m_currentTileGlob->getDouble("ZLENGTH");
300  // FIXME: temporary correction for finger length
301  // all fingers for the testbeam are "small fingers"
302  double len =m_currentTileGlob->getDouble("ZLENGTH");
303  if (len > 564 + 37.7*2 && m_tag == "TileCal-02") {
304  len = 564 + 37.7*2;
305  }
306  return len;
307  }
308  else {
309  ATH_MSG_ERROR( "TileDddbManager::GetEnvZLength() - Current Envelope not set, returning -999" );
310  return -999;
311  }
312 }
313 
315 {
316  if (m_currentTileGlob) {
317  // return m_currentTileGlob->getDouble("DPHI");
318  // FIXME: temporary fix for wrong dphi in table
319  double dphi = m_currentTileGlob->getDouble("DPHI");
320  if ( dphi != 0 && m_tag == "TileCal-02") {
321  dphi -= 360.0/64.0/2.;
322  }
323  return dphi;
324  }
325  else {
326  ATH_MSG_ERROR( "TileDddbManager::GetEnvDPhi() - Current Envelope not set, returning -999" );
327  return -999;
328  }
329 }
330 
332 {
333  if (m_currentTileGlob) {
334  // return m_currentTileGlob->getDouble("DZ");
335  // FIXME: temporary correction for finger length
336  // all fingers for the testbeam are "small fingers"
337  double dz = m_currentTileGlob->getDouble("DZ");
338  if ( dz > 20 && m_tag == "TileCal-02") {
339  dz += 43.05 - 37.7;
340  }
341  return dz;
342  }
343  else {
344  ATH_MSG_ERROR( "TileDddbManager::GetEnvDZ() - Current Envelope not set, returning -999" );
345  return -999;
346  }
347 }
348 
350 {
351  if (m_currentTileGlob) {
352  return m_currentTileGlob->getDouble("DX");
353  }
354  else {
355  ATH_MSG_ERROR( "TileDddbManager::GetEnvDX() - Current Envelope not set, returning -999" );
356  return -999;
357  }
358 }
359 
361 {
362  if (m_currentTileGlob) {
363  return m_currentTileGlob->getDouble("DY");
364  }
365  else {
366  ATH_MSG_ERROR( "TileDddbManager::GetEnvDY() - Current Envelope not set, returning -999" );
367  return -999;
368  }
369 }
370 
372 {
373  if (m_currentTileGlob) {
374  return m_currentTileGlob->getDouble("DPSI");
375  }
376  else {
377  ATH_MSG_ERROR( "TileDddbManager::GetEnvDPsi() - Current Envelope not set, returning -999" );
378  return -999;
379  }
380 }
381 
383 {
384  if (m_currentTileGlob) {
385  return m_currentTileGlob->getDouble("DTHETA");
386  }
387  else {
388  ATH_MSG_ERROR( "TileDddbManager::GetEnvDTheta() - Current Envelope not set, returning -999" );
389  return -999;
390  }
391 }
392 
394 {
395  if (m_currentTileGlob) {
396  return m_currentTileGlob->getDouble("ZSHIFT");
397  }
398  else {
399  ATH_MSG_ERROR( "TileDddbManager::GetEnvZShift() - Current Envelope not set, returning -999" );
400  return -999;
401  }
402 }
403 
404 
405 // ------------ TILE MODULES -------------------
407 {
408  m_currentTileMod = 0;
409  m_currentSection = 0;
410  m_modTypes.clear();
411 
412  if (m_currentTileGlob) {
413  // Modules enumerated from zero, so SetCurrentModuleByIndex(0) gives the first module in the Envelope
414  if (Id >= m_EnvSize) {
415  ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByIndex() - Module number " << Id << " is out of range" );
416  return 0;
417  }
418  else {
419  m_currentTileMod = (*m_timod)[Id + m_EnvBegin];
420  FillModTypes();
421  return 1;
422  }
423  }
424  else {
425  ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByIndex() - Current Envelope not set, returning -999" );
426  return -999;
427  }
428 }
429 
431 {
432  m_currentTileMod = 0;
433  m_currentSection = 0;
434  m_modTypes.clear();
435 
436  if (m_currentTileGlob) {
437  // Input here number from column "MODNUM"
438  unsigned int ind4 = m_EnvBegin;
439  unsigned int EnvEnd = m_EnvBegin + m_EnvSize;
440  while (((*m_timod)[ind4]->getInt("MODNUM") != static_cast<int>(Number))&&(++ind4 < EnvEnd))
441  {
442  }
443  if (ind4 < EnvEnd) {
444  m_currentTileMod = (*m_timod)[ind4];
445  FillModTypes();
446  return 1;
447  }
448  else{
449  m_currentTileMod = 0;
450  ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByNumber() - Couldn't return Module" );
451  return 0;
452  }
453  }
454  else {
455  ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByNumber() - Current Envelope not set, returning -999" );
456  return -999;
457  }
458 }
459 
461 {
462  if (m_currentTileMod) {
463  return m_currentTileMod->getInt("MODNUM");
464  }
465  else {
466  ATH_MSG_ERROR( "TileDddbManager::GetModNumber() - Current Module not set, returning -999" );
467  return -999;
468  }
469 }
470 
472 {
473  if (m_currentTileMod) {
474  return m_currentTileMod->getInt("TYP");
475  }
476  else {
477  ATH_MSG_ERROR( "TileDddbManager::GetModType() - Current Module not set, returning -999" );
478  return -999;
479  }
480 }
481 
483 {
484  if (m_currentTileMod) {
485  return m_currentTileMod->getDouble("DX");
486  }
487  else {
488  ATH_MSG_ERROR( "TileDddbManager::GetModDX() - Current Module not set, returning -999" );
489  return -999;
490  }
491 }
492 
494 {
495  if (m_currentTileMod) {
496  return m_currentTileMod->getDouble("DY");
497  }
498  else {
499  ATH_MSG_ERROR( "TileDddbManager::GetModDY() - Current Module not set, returning -999" );
500  return -999;
501  }
502 }
503 
505 {
506  if (m_currentTileMod) {
507  return m_currentTileMod->getDouble("DZ");
508  }
509  else {
510  ATH_MSG_ERROR( "TileDddbManager::GetModDZ() - Current Module not set, returning -999" );
511  return -999;
512  }
513 }
514 
516 {
517  if (m_currentTileMod) {
518  return m_currentTileMod->getDouble("DPHI");
519  }
520  else {
521  ATH_MSG_ERROR( "TileDddbManager::GetModDPhi() - Current Module not set, returning -999" );
522  return -999;
523  }
524 }
525 
527 {
528  if (m_currentTileMod) {
529  return m_currentTileMod->getDouble("DPSI");
530  }
531  else {
532  ATH_MSG_ERROR( "TileDddbManager::GetModDPsi() - Current Module not set, returning -999" );
533  return -999;
534  }
535 }
536 
538 {
539  if (m_currentTileMod) {
540  return m_currentTileMod->getDouble("DTHETA");
541  }
542  else {
543  ATH_MSG_ERROR( "TileDddbManager::GetModDTheta() - Current Module not set, returning -999" );
544  return -999;
545  }
546 }
547 
548 
549 // ------------ TILE MODULE TYPES -------------------
551 {
552  if (Id < m_modTypes.size()) {
553  return SetCurrentSection(m_modTypes[Id]);
554  } else {
555  ATH_MSG_ERROR( "TileDddbManager::SetCurrentTypeByIndex() - Type index (" << Id << ") is out of range (" << m_modTypes.size() << ")" );
556  m_currentSection = 0;
557  return 0;
558  }
559 }
560 
562 {
563  return SetCurrentSection(Number);
564 }
565 
566 unsigned int TileDddbManager::GetModType(unsigned int Id) const
567 {
568  if (Id < m_modTypes.size()) {
569  return m_modTypes[Id];
570  } else {
571  return 999;
572  }
573 }
574 
576 {
577  return m_modTypes.size();
578 }
579 
581 {
582  m_modTypes.clear();
583 
584  int fullType = GetModType();
585 
586  while (fullType > 0) {
587  unsigned int subType = fullType%100;
588  m_modTypes.push_back(subType);
589  fullType /= 100;
590  }
592 }
593 
594 
595 // ------------ S E C T I O N ------------------
596 
597 
598 int TileDddbManager::SetCurrentSectionByIndex(unsigned int IdSection)
599 {
600  if (IdSection < m_n_tilb) {
601  m_currentSection = (*m_tilb)[IdSection];
602  return 1;
603  }
604  else {
605  ATH_MSG_ERROR( "TileDddbManager::SetCurrentSectionByIndex() - Section index (" << IdSection << ") is out of range (" << m_n_tilb << ")" );
606  m_currentSection = 0;
607  return 0;
608  }
609 }
610 
612 {
613  return SetCurrentSection(section);
614 }
615 
617 {
618  unsigned int ind = 0;
619 
620  while (((*m_tilb)[ind]->getInt("SECTION") != static_cast<int>(section)) && (++ind < m_n_tilb))
621  {
622  }
623 
624  if (ind >= m_n_tilb) {
625  if (print) ATH_MSG_ERROR( "TileDddbManager::SetCurrentSection() - Unable to find the section" );
626  m_currentSection = 0;
627  return 0;
628  }
629  else {
630  m_currentSection = (*m_tilb)[ind];
631  return 1;
632  }
633 }
634 
636 {
637  if (m_currentSection) {
638  return m_currentSection->getInt("SECTION");
639  }
640  else {
641  ATH_MSG_ERROR( "TileDddbManager::TILBsection() - Current Section not set, returning -999" );
642  return -999;
643  }
644 }
645 
647 {
648  if (m_currentSection) {
649  return m_currentSection->getInt("NPERIOD");
650  }
651  else {
652  ATH_MSG_ERROR( "TileDddbManager::TILBnperiod() - Current Section not set, returning -999" );
653  return -999;
654  }
655 }
656 
658 {
659  if (m_currentSection) {
660  return m_currentSection->getInt("NMODUL");
661  }
662  else {
663  ATH_MSG_ERROR( "TileDddbManager::TILBnmodul() - Current Section not set, returning -999" );
664  return -999;
665  }
666 }
667 
669 {
670  if (m_currentSection) {
671  return m_currentSection->getDouble("RMIN");
672  }
673  else {
674  ATH_MSG_ERROR( "TileDddbManager::TILBrmin() - Current Section not set, returning -999.9" );
675  return -999.9;
676  }
677 }
678 
680 {
681  if (m_currentSection) {
682  return m_currentSection->getDouble("RMAX");
683  }
684  else {
685  ATH_MSG_ERROR( "TileDddbManager::TILBrmax() - Current Section not set, returning -999.9" );
686  return -999.9;
687  }
688 }
689 
691 {
692  if (m_currentSection) {
693  return m_currentSection->getDouble("RMINIMAL");
694  }
695  else {
696  ATH_MSG_ERROR( "TileDddbManager::TILBrminimal() - Current Section not set, returning -999.9" );
697  return -999.9;
698  }
699 }
700 
702 {
703  if (m_currentSection) {
704  return m_currentSection->getDouble("RMAXIMAL");
705  }
706  else {
707  ATH_MSG_ERROR( "TileDddbManager::TILBrmaximal() - Current Section not set, returning -999.9" );
708  return -999.9;
709  }
710 }
711 
713 {
714  if (m_currentSection) {
715  return m_currentSection->getDouble("DZPERIO");
716  }
717  else {
718  ATH_MSG_ERROR( "TileDddbManager::TILBdzperio() - Current Section not set, returning -999.9" );
719  return -999.9;
720  }
721 }
722 
724 {
725  if (m_currentSection) {
726  return m_currentSection->getDouble("DRFRONT");
727  }
728  else {
729  ATH_MSG_ERROR( "TileDddbManager::TILBdrfront() - Current Section not set, returning -999.9" );
730  return -999.9;
731  }
732 }
733 
735 {
736  if (m_currentSection) {
737  return m_currentSection->getDouble("DZEND");
738  }
739  else {
740  ATH_MSG_ERROR( "TileDddbManager::TILBdzend() - Current Section not set, returning -999.9" );
741  return -999.9;
742  }
743 }
744 
746 {
747  if (m_currentSection) {
748  return m_currentSection->getDouble("FLANGEX");
749  }
750  else {
751  ATH_MSG_ERROR( "TileDddbManager::TILBflangex() - Current Section not set, returning -999.9" );
752  return -999.9;
753  }
754 }
755 
757 {
758  if (m_currentSection) {
759  return m_currentSection->getDouble("FLANGEY");
760  }
761  else {
762  ATH_MSG_ERROR( "TileDddbManager::TILBflangey() - Current Section not set, returning -999.9" );
763  return -999.9;
764  }
765 }
766 
768 {
769  if (m_currentSection) {
770  return m_currentSection->getDouble("ZOFFSET");
771  }
772  else {
773  ATH_MSG_ERROR( "TileDddbManager::TILBzoffset() - Current Section not set, returning -999.9" );
774  return -999.9;
775  }
776 }
777 
779 {
780  if (m_currentSection) {
781  return m_currentSection->getDouble("PHIGAP");
782  }
783  else {
784  ATH_MSG_ERROR( "TileDddbManager::TILBphigap() - Current Section not set, returning -999.9" );
785  return -999.9;
786  }
787 }
788 
790 {
791  if (m_currentSection) {
792  return m_currentSection->getInt("ISCI_ST");
793  }
794  else {
795  ATH_MSG_ERROR( "TileDddbManager::TILBisci_st() - Current Section not set, returning -999.9" );
796  return -999.9;
797  }
798 }
799 
801 {
802  if (m_currentSection) {
803  return m_currentSection->getDouble("DZMODUL");
804  }
805  else {
806  ATH_MSG_ERROR( "TileDddbManager::TILBdzmodul() - Current Section not set, returning -999.9" );
807  return -999.9;
808  }
809 }
810 
812 {
813  if (m_currentSection) {
814  return m_currentSection->getDouble("DZMAST");
815  }
816  else {
817  ATH_MSG_ERROR( "TileDddbManager::TILBdzmast() - Current Section not set, returning -999.9" );
818  return -999.9;
819  }
820 }
821 
823 {
824  if (m_currentSection) {
825  return m_currentSection->getDouble("DZSPAC");
826  }
827  else {
828  ATH_MSG_ERROR( "TileDddbManager::TILBdzspac() - Current Section not set, returning -999.9" );
829  return -999.9;
830  }
831 }
832 
834 {
835  if (m_currentSection) {
836  return m_currentSection->getDouble("DZEND1");
837  }
838  else {
839  ATH_MSG_ERROR( "TileDddbManager::TILBdzend1() - Current Section not set, returning -999.9" );
840  return -999.9;
841  }
842 }
843 
845 {
846  if (m_currentSection) {
847  return m_currentSection->getDouble("DZEND2");
848  }
849  else {
850  ATH_MSG_ERROR( "TileDddbManager::TILBdzend2() - Current Section not set, returning -999.9" );
851  return -999.9;
852  }
853 }
854 
856 {
857  if (m_currentSection) {
858  return m_currentSection->getInt("NGIRDER");
859  }
860  else {
861  ATH_MSG_ERROR( "TileDddbManager::TILBngirder() - Current Section not set, returning -999" );
862  return -999;
863  }
864 }
865 
867 {
868  if (m_currentSection) {
869  return m_currentSection->getInt("NSCIN");
870  }
871  else {
872  ATH_MSG_ERROR( "TileDddbManager::TILBnscin() - Current Section not set, returning -999" );
873  return -999;
874  }
875 }
876 
878 {
879  if (m_currentSection) {
880  return m_currentSection->getInt("FINGPATTERN");
881  }
882  else {
883  ATH_MSG_ERROR( "TileDddbManager::TILBfingpattern() - Current Section not set, returning -999" );
884  return -999;
885  }
886 }
887 
889 {
890  if (m_currentSection) {
891  return m_currentSection->getInt("NPERCUTPOS");
892  }
893  else {
894  ATH_MSG_ERROR( "TileDddbManager::TILBnpercutpos() - Current Section not set, returning -999" );
895  return -999;
896  }
897 }
898 
900 {
901  if (m_currentSection) {
902  return m_currentSection->getInt("NPERCUTNEG");
903  }
904  else {
905  ATH_MSG_ERROR( "TileDddbManager::TILBnpercutneg() - Current Section not set, returning -999" );
906  return -999;
907  }
908 }
909 
910 
912 {
913  if (m_currentSection) {
914  if (m_currentSection->isFieldNull("CURSCINT"))
915  return 0;
916  else
917  return m_currentSection->getInt("CURSCINT");
918  }
919  else {
920  ATH_MSG_ERROR( "TileDddbManager::TILBcurscint() - Current Section not set, returning -999" );
921  return -999;
922  }
923 }
924 
926 {
927  if (m_currentSection) {
928  return m_currentSection->getDouble("DZGIR");
929  }
930  else {
931  ATH_MSG_ERROR( "TileDddbManager::TILBdzgir() - Current Section not set, returning -999" );
932  return -999;
933  }
934 }
935 
936 // -------------------- S C I N T I L L A T O R ---------------------
938 {
939  unsigned int ind = 0;
940 
941  while (((*m_scnt)[ind]->getInt("ITEM") != item) && (++ind < m_n_scnt))
942  {
943  }
944 
945  if (ind >= m_n_scnt)
946  {
947  ATH_MSG_ERROR( "TileDddbManager::SetCurrentScin() - Unable to find the scintillator, item = " << item );
948  return 0;
949  }
950  else
951  {
952  m_currentScin = (*m_scnt)[ind];
953  return 1;
954  }
955 }
956 
958 {
959  if (m_currentScin)
960  return m_currentScin->getInt("ITEM");
961  else
962  {
963  ATH_MSG_ERROR( "TileDddbManager::SCNTitem() - Current Scintillator not set, returning -999" );
964  return -999;
965  }
966 }
967 
969 {
970  if (m_currentScin)
971  return m_currentScin->getDouble("DR");
972  else
973  {
974  ATH_MSG_ERROR( "TileDddbManager::SCNTdr() - Current Scintillator not set, returning -999.9" );
975  return -999.9;
976  }
977 }
978 
980 {
981  if (m_currentScin)
982  return m_currentScin->getDouble("RC");
983  else
984  {
985  ATH_MSG_ERROR( "TileDddbManager::SCNTrc() - Current Scintillator not set, returning -999.9" );
986  return -999.9;
987  }
988 }
989 
991 {
992  if (m_currentScin)
993  return m_currentScin->getDouble("ZP");
994  else
995  {
996  ATH_MSG_ERROR( "TileDddbManager::SCNTzp() - Current Scintillator not set, returning -999.9" );
997  return -999.9;
998  }
999 }
1000 
1002 {
1003  if (m_currentScin)
1004  return m_currentScin->getDouble("DRW");
1005  else
1006  {
1007  ATH_MSG_ERROR( "TileDddbManager::SCNTdrw() - Current Scintillator not set, returning -999.9" );
1008  return -999.9;
1009  }
1010 }
1011 
1013 {
1014  if (m_currentScin)
1015  return m_currentScin->getDouble("DT");
1016  else
1017  {
1018  ATH_MSG_ERROR( "TileDddbManager::SCNTdt() - Current Scintillator not set, returning -999.9" );
1019  return -999.9;
1020  }
1021 }
1022 
1024 {
1025  if (m_currentScin)
1026  return m_currentScin->getDouble("DTW");
1027  else
1028  {
1029  ATH_MSG_ERROR( "TileDddbManager::SCNTdtw() - Current Scintillator not set, returning -999.9" );
1030  return -999.9;
1031  }
1032 }
1033 
1035 {
1036  if (m_currentScin)
1037  return m_currentScin->getDouble("DPHI");
1038  else
1039  {
1040  ATH_MSG_ERROR( "TileDddbManager::SCNTdphi() - Current Scintillator not set, returning -999.9" );
1041  return -999.9;
1042  }
1043 }
1044 
1045 
1046 // -------------------- Extended Barrel C U T S ---------------------
1047 
1049 {
1050  if (m_buildCuts)
1051  {std::string name(input);
1052  unsigned int ind = 0;
1053 
1054  while (((*m_cuts)[ind]->getString("VOLUME") != name) && (++ind < m_n_cuts))
1055  {
1056  }
1057 
1058  if (ind >= m_n_cuts)
1059  { ATH_MSG_ERROR( "TileDddbManager::SetCurrentCuts() - Unable to find the m_currentCuts volume name = " << name );
1060  return 0;
1061  }
1062  else
1063  { m_currentCuts = (*m_cuts)[ind];
1064  return 1;
1065  }
1066  }
1067  ATH_MSG_WARNING( "TileDddbManager::SetCurrentCuts() - SetCuts Ext.Barrel Cuts unavailable in touched DB" );
1068  return 1;
1069 }
1070 
1072 { if (m_buildCuts)
1073  { return m_buildCuts;
1074  } else
1075  { ATH_MSG_DEBUG( "TileDddbManager::BoolCuts() - return false" );
1076  return false;
1077  }
1078 }
1079 
1080 std::string TileDddbManager::CutsName() const
1081 {std::string output ="-999.9";
1082  if (m_currentCuts)
1083  return m_currentCuts->getString("VOLUME");
1084  else
1085  { ATH_MSG_ERROR( "TileDddbManager::CutsName() - Current VOLUME dimension not set, returning -999.9" );
1086  return output;
1087  }
1088 }
1089 
1091 {
1092  if (m_currentCuts)
1093  return (double)m_currentCuts->getFloat("DX1");
1094  else
1095  { ATH_MSG_ERROR( "TileDddbManager::CutsDX1() - Current dX1 dimension not set, returning -999.9" );
1096  return -999.9;
1097  }
1098 }
1099 
1101 {
1102  if (m_currentCuts)
1103  return (double)m_currentCuts->getFloat("DX2");
1104  else
1105  { ATH_MSG_ERROR( "TileDddbManager::CutsDX2() - Current dX2 dimension not set, returning -999.9" );
1106  return -999.9;
1107  }
1108 }
1109 
1111 {
1112  if (m_currentCuts)
1113  return (double)m_currentCuts->getFloat("DY1");
1114  else
1115  { ATH_MSG_ERROR( "TileDddbManager::CutsDY1() - Current dY1 dimension not set, returning -999.9" );
1116  return -999.9;
1117  }
1118 }
1119 
1121 {
1122  if (m_currentCuts)
1123  return (double)m_currentCuts->getFloat("DY2");
1124  else
1125  { ATH_MSG_ERROR( "TileDddbManager::CutsDY2() - Current dY2 dimension not set, returning -999.9" );
1126  return -999.9;
1127  }
1128 }
1129 
1131 {
1132  if (m_currentCuts)
1133  return (double)m_currentCuts->getFloat("DZ1");
1134  else
1135  { ATH_MSG_ERROR( "TileDddbManager::CutsDZ1() - Current dZ1 dimension not set, returning -999.9" );
1136  return -999.9;
1137  }
1138 }
1139 
1141 {
1142  if (m_currentCuts)
1143  return (double)m_currentCuts->getFloat("XPOS");
1144  else
1145  { ATH_MSG_ERROR( "TileDddbManager::CutsXpos() - Current Xpos dimension not set, returning -999.9" );
1146  return -999.9;
1147  }
1148 }
1149 
1151 {
1152  if (m_currentCuts)
1153  return (double)m_currentCuts->getFloat("YPOS");
1154  else
1155  { ATH_MSG_ERROR( "TileDddbManager::CutsYpos() - Current Ypos dimension not set, returning -999.9" );
1156  return -999.9;
1157  }
1158 }
1159 
1160 // -------------------- SADDLE SUPPORT ---------------------
1161 
1163 {
1164  if (m_buildSaddle)
1165  { if (index >= m_n_saddle)
1166  { return 0;
1167  }
1168  else
1169  { m_currentSaddle = (*m_saddle)[index];
1170  return 1;
1171  }
1172  }
1173  ATH_MSG_WARNING( "TileDddbManager::SetCurrentSaddle() - Saddle unavailable in touched DB");
1174  return 1;
1175 }
1176 
1178 { if (m_buildSaddle)
1179  { return m_buildSaddle;
1180  } else
1181  { ATH_MSG_DEBUG( "TileDddbManager::BoolSaddle() - return false" );
1182  return false;
1183  }
1184 }
1185 
1187 {
1188  if (m_currentSaddle)
1189  return (double)m_currentSaddle->getFloat("DZSADDLESUPPORT");
1190  else
1191  { ATH_MSG_ERROR( "TileDddbManager::DzSaddleSupport() - dimension not set, returning -999.9" );
1192  return -999.9;
1193  }
1194 }
1195 
1197 {
1198  if (m_currentSaddle)
1199  return (double)m_currentSaddle->getFloat("RADIUSSADDLE");
1200  else
1201  { ATH_MSG_ERROR( "TileDddbManager::RadiusSaddle() - dimension not set, returning -999.9" );
1202  return -999.9;
1203  }
1204 }
1205 
1206 // -------------------- G I R D E R ---------------------
1208 {
1209  unsigned int ind = 0;
1210 
1211  while (((*m_tigr)[ind]->getInt("ITEM") != item) && (++ind < m_n_tigr))
1212  {
1213  }
1214 
1215  if (ind >= m_n_tigr)
1216  {
1217  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentGird() - Unable to find the girder element, item= " << item );
1218  return 0;
1219  }
1220  else
1221  {
1222  m_currentGird = (*m_tigr)[ind];
1223  return 1;
1224  }
1225 }
1226 
1228 {
1229  if (m_currentGird)
1230  return m_currentGird->getInt("ITEM");
1231  else
1232  {
1233  ATH_MSG_ERROR( "TileDddbManager::TIGRitem() - Current Girder element not set, returning -999" );
1234  return -999;
1235  }
1236 }
1237 
1239 {
1240  if (m_currentGird)
1241  return m_currentGird->getInt("MATERIAL");
1242  else
1243  {
1244  ATH_MSG_ERROR( "TileDddbManager::TIGRmaterial() - Current Girder element not set, returning -999" );
1245  return -999;
1246  }
1247 }
1248 
1250 {
1251  if (m_currentGird)
1252  return m_currentGird->getDouble("RC");
1253  else
1254  {
1255  ATH_MSG_ERROR( "TileDddbManager::TIGRrc() - Current Girder element not set, returning -999.9" );
1256  return -999.9;
1257  }
1258 }
1259 
1261 {
1262  if (m_currentGird)
1263  return m_currentGird->getDouble("DR");
1264  else
1265  {
1266  ATH_MSG_ERROR( "TileDddbManager::TIGRdr() - Current Girder element not set, returning -999.9" );
1267  return -999.9;
1268  }
1269 }
1270 
1272 {
1273  if (m_currentGird)
1274  return m_currentGird->getDouble("DW");
1275  else
1276  {
1277  ATH_MSG_ERROR( "TileDddbManager::TIGRdw() - Current Girder element not set, returning -999.9" );
1278  return -999.9;
1279  }
1280 }
1281 
1283 {
1284  if (m_currentGird)
1285  return m_currentGird->getDouble("OFF");
1286  else
1287  {
1288  ATH_MSG_ERROR( "TileDddbManager::TIGRoff() - Current Girder element not set, returning -999.9" );
1289  return -999.9;
1290  }
1291 }
1292 
1293 // -------------------- T I F G ---------------------
1295 {
1296  unsigned int ind = 0;
1297 
1298  while (((*m_tifg)[ind]->getInt("SECTION") != section) && (++ind < m_n_tifg))
1299  {
1300  }
1301 
1302  if (ind >= m_n_tifg)
1303  {
1304  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTifg() - Unable to find the finger, section = " << section );
1305  return 0;
1306  }
1307  else
1308  {
1309  m_currentTifg = (*m_tifg)[ind];
1310  return 1;
1311  }
1312 }
1313 
1315 {
1316  if (m_currentTifg)
1317  return m_currentTifg->getInt("SECTION");
1318  else
1319  {
1320  ATH_MSG_ERROR( "TileDddbManager::TIFGsection() - Current TIFG not set, returning -999" );
1321  return -999;
1322  }
1323 }
1324 
1326 {
1327  if (m_currentTifg)
1328  return m_currentTifg->getInt("NELEM");
1329  else
1330  {
1331  ATH_MSG_ERROR( "TileDddbManager::TIFGnelem() - Current TIFG not set, returning -999" );
1332  return -999;
1333  }
1334 }
1335 
1337 {
1338  if (m_currentTifg)
1339  return m_currentTifg->getDouble("DZ");
1340  else
1341  {
1342  ATH_MSG_ERROR( "TileDddbManager::TIFGdz() - Current TIFG not set, returning -999.9" );
1343  return -999.9;
1344  }
1345 }
1346 
1347 // -------------------- T I C G ---------------------
1349 {
1350  unsigned int ind = 0;
1351 
1352  while (((*m_ticg)[ind]->getInt("ITEM") != item) && (++ind < m_n_ticg))
1353  {
1354  }
1355 
1356  if (ind >= m_n_ticg)
1357  {
1358  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicg() - Unable to find the finger element, item = " << item );
1359  return 0;
1360  }
1361  else
1362  {
1363  m_currentTicg = (*m_ticg)[ind];
1364  return 1;
1365  }
1366 }
1367 
1369 {
1370  if (m_currentTicg)
1371  return m_currentTicg->getInt("ITEM");
1372  else
1373  {
1374  ATH_MSG_ERROR( "TileDddbManager::TICGitem() - Current TICG not set, returning -999" );
1375  return -999;
1376  }
1377 }
1378 
1380 {
1381  if (m_currentTicg)
1382  return m_currentTicg->getInt("MATERIAL");
1383  else
1384  {
1385  ATH_MSG_ERROR( "TileDddbManager::TICGmaterial() - Current TICG not set, returning -999" );
1386  return -999;
1387  }
1388 }
1389 
1391 {
1392  if (m_currentTicg)
1393  return m_currentTicg->getInt("SHAPE");
1394  else
1395  {
1396  ATH_MSG_ERROR( "TileDddbManager::TICGshape() - Current TICG not set, returning -999" );
1397  return -999;
1398  }
1399 }
1400 
1402 {
1403  if (m_currentTicg)
1404  return m_currentTicg->getDouble("RC");
1405  else
1406  {
1407  ATH_MSG_ERROR( "TileDddbManager::TICGrc() - Current TICG not set, returning -999.9" );
1408  return -999.9;
1409  }
1410 }
1411 
1413 {
1414  if (m_currentTicg)
1415  return m_currentTicg->getDouble("DR");
1416  else
1417  {
1418  ATH_MSG_ERROR( "TileDddbManager::TICGdr() - Current TICG not set, returning -999.9" );
1419  return -999.9;
1420  }
1421 }
1422 
1424 {
1425  if (m_currentTicg)
1426  return m_currentTicg->getDouble("DX1");
1427  else
1428  {
1429  ATH_MSG_ERROR( "TileDddbManager::TICGdx1() - Current TICG not set, returning -999.9" );
1430  return -999.9;
1431  }
1432 }
1433 
1435 {
1436  if (m_currentTicg)
1437  return m_currentTicg->getDouble("DX2");
1438  else
1439  {
1440  ATH_MSG_ERROR( "TileDddbManager::TICGdx2() - Current TICG not set, returning -999.9" );
1441  return -999.9;
1442  }
1443 }
1444 
1446 {
1447  if (m_currentTicg)
1448  return m_currentTicg->getDouble("OFF");
1449  else
1450  {
1451  ATH_MSG_ERROR( "TileDddbManager::TICGoff() - Current TICG not set, returning -999.9" );
1452  return -999.9;
1453  }
1454 }
1455 
1457 {
1458  if (m_currentTicg)
1459  return m_currentTicg->getDouble("DZ");
1460  else
1461  {
1462  ATH_MSG_ERROR( "TileDddbManager::TICGdz() - Current TICG not set, returning -999.9" );
1463  return -999.9;
1464  }
1465 }
1466 
1468 {
1469  if (m_currentTicg)
1470  return m_currentTicg->getDouble("ZC");
1471  else
1472  {
1473  ATH_MSG_ERROR( "TileDddbManager::TICGzc() - Current TICG not set, returning -999.9" );
1474  return -999.9;
1475  }
1476 }
1477 
1478 unsigned int TileDddbManager::GetNumTicl() const
1479 {
1480  return m_n_ticl;
1481 }
1482 
1483 // -------------------- T I C L ---------------------
1484 int TileDddbManager::SetCurrentTicl(int detector, double sample, double tower)
1485 {
1486  unsigned int detector_ind = 0;
1487 
1488  // Looking for the first cell of given detector
1489  while (((*m_ticl)[detector_ind]->getInt("DETECTOR") != detector) && (++detector_ind < m_n_ticl))
1490  {
1491  }
1492 
1493  if (detector_ind >= m_n_ticl)
1494  {
1495  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - Unable to find any cell for the detector = " << detector );
1496  return 0;
1497  }
1498  else
1499  {
1500  // Looking for the first cell in given sample of given detector
1501  unsigned int sample_ind = detector_ind;
1502 
1503  while (((*m_ticl)[sample_ind]->getInt("SAMPLE") != sample) && (++sample_ind < m_n_ticl))
1504  {
1505  }
1506 
1507  if (sample_ind >= m_n_ticl)
1508  {
1509  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - Unable to find any cell for sample = "
1510  << sample << " in the detector = " << detector );
1511  return 0;
1512  }
1513  else
1514  {
1515  // Looking for the cell with give tower inside found sample
1516  unsigned int ind = sample_ind;
1517 
1518  while (((*m_ticl)[ind]->getInt("TOWER") != tower) && (++ind < m_n_ticl))
1519  {
1520  }
1521 
1522  if (ind >= m_n_ticl)
1523  {
1524  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - Unable to find any cell for tower = "
1525  << tower << " in the detector = " << detector << " and sample = " << sample );
1526  return 0;
1527  }
1528  else
1529  {
1530  m_currentTicl = (*m_ticl)[ind];
1532  return 1;
1533  }
1534  }
1535  }
1536 }
1537 
1539 {
1540  if (index >= m_n_ticl)
1541  {
1542  ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - The requested index = " << index << " out of range." );
1543  return 0;
1544  }
1545  else
1546  {
1547  m_currentTicl = (*m_ticl)[index];
1549  return 1;
1550  }
1551 }
1552 
1554 {
1555  unsigned int ind = 0;
1556 
1557  // Looking for the first cell of given detector
1558  while (((*m_ticl)[ind]->getInt("DETECTOR") != detector) && (++ind < m_n_ticl))
1559  {
1560  }
1561 
1562  if (ind >= m_n_ticl)
1563  return 0; // FAILURE
1564 
1565  m_currentTicl = (*m_ticl)[ind];
1567  return 1; // SUCCESS
1568 
1569 }
1570 
1572 {
1573  unsigned int detector_ind = 0;
1574 
1575  // Looking for the first cell of given detector
1576  while (((*m_ticl)[detector_ind]->getInt("DETECTOR") != detector) && (++detector_ind < m_n_ticl))
1577  {
1578  }
1579 
1580  if (detector_ind >= m_n_ticl)
1581  return 0; // FAILURE
1582  else
1583  {
1584  // Looking for the first cell in given sample of given detector
1585  unsigned int sample_ind = detector_ind;
1586 
1587  while (((*m_ticl)[sample_ind]->getInt("SAMPLE") != sample) && (++sample_ind < m_n_ticl))
1588  {
1589  }
1590 
1591  if (sample_ind >= m_n_ticl)
1592  return 0; // FAILURE
1593 
1594  m_currentTicl = (*m_ticl)[sample_ind];
1596  return 1; // SUCCESS
1597  }
1598 }
1599 
1601 {
1602  if (m_currentTiclInd<0) return 0; // FAILURE
1603 
1604  int currentDetector = (*m_ticl)[m_currentTiclInd]->getInt("DETECTOR");
1605 
1606  if ((++m_currentTiclInd == static_cast<int>(m_n_ticl))||((*m_ticl)[m_currentTiclInd]->getInt("DETECTOR") != currentDetector))
1607  {
1608  m_currentTiclInd--;
1609  return 0; // FAILURE
1610  }
1611 
1612  m_currentTicl = (*m_ticl)[m_currentTiclInd];
1613  return 1;
1614 }
1615 
1617 {
1618  if (m_currentTiclInd<0) return 0; // FAILURE
1619 
1620  int currentDetector = (*m_ticl)[m_currentTiclInd]->getInt("DETECTOR");
1621  float currentSample = (*m_ticl)[m_currentTiclInd]->getInt("SAMPLE");
1622 
1623  if ((++m_currentTiclInd == static_cast<int>(m_n_ticl))||
1624  ((*m_ticl)[m_currentTiclInd]->getInt("DETECTOR") != currentDetector)||
1625  ((*m_ticl)[m_currentTiclInd]->getInt("SAMPLE") != currentSample))
1626  {
1627  m_currentTiclInd--;
1628  return 0; // FAILURE
1629  }
1630 
1631  m_currentTicl = (*m_ticl)[m_currentTiclInd];
1632  return 1;
1633 }
1634 
1636 {
1637  if (m_currentTicl)
1638  return m_currentTicl->getInt("DETECTOR");
1639  else
1640  {
1641  ATH_MSG_ERROR( "TileDddbManager::TICLdetector() - Current TICL not set, returning -999" );
1642  return -999;
1643  }
1644 }
1645 
1647 {
1648  if (m_currentTicl)
1649  return m_currentTicl->getInt("NCELL");
1650  else
1651  {
1652  ATH_MSG_ERROR( "TileDddbManager::TICLncell() - Current TICL not set, returning -999.9" );
1653  return -999.9;
1654  }
1655 }
1656 
1658 {
1659  if (m_currentTicl)
1660  return m_currentTicl->getInt("TOWER");
1661  else
1662  {
1663  ATH_MSG_ERROR( "TileDddbManager::TICLtower() - Current TICL not set, returning -999.9" );
1664  return -999.9;
1665  }
1666 }
1667 
1669 {
1670  if (m_currentTicl)
1671  return m_currentTicl->getInt("SAMPLE");
1672  else
1673  {
1674  ATH_MSG_ERROR( "TileDddbManager::TICLsample() - Current TICL not set, returning -999.9" );
1675  return -999.9;
1676  }
1677 }
1678 
1680 {
1681  if (m_currentTicl)
1682  return m_currentTicl->getDouble("ETA");
1683  else
1684  {
1685  ATH_MSG_ERROR( "TileDddbManager::TICLeta() - Current TICL not set, returning -999.9" );
1686  return -999.9;
1687  }
1688 }
1689 
1691 {
1692  if (m_currentTicl)
1693  return m_currentTicl->getDouble("DETA");
1694  else
1695  {
1696  ATH_MSG_ERROR( "TileDddbManager::TICLdeta() - Current TICL not set, returning -999.9" );
1697  return -999.9;
1698  }
1699 }
1700 
1702 {
1703  if (m_currentTicl)
1704  return m_currentTicl->getInt("FIRSTROW");
1705  else
1706  {
1707  ATH_MSG_ERROR( "TileDddbManager::TICLfirstrow() - Current TICL not set, returning -999.9" );
1708  return -999.9;
1709  }
1710 }
1711 
1713 {
1714  if (m_currentTicl)
1715  return m_currentTicl->getInt("LASTROW");
1716  else
1717  {
1718  ATH_MSG_ERROR( "TileDddbManager::TICLlastrow() - Current TICL not set, returning -999.9" );
1719  return -999.9;
1720  }
1721 }
1722 
1723 double TileDddbManager::TICLntilesrow(unsigned int ind) const
1724 {
1725  if (m_currentTicl)
1726  return m_currentTicl->getInt("NTILESROW",ind);
1727  else
1728  {
1729  ATH_MSG_ERROR( "TileDddbManager::TICLntilesrow() - Current TICL not set, returning 9999" );
1730  return 9999;
1731  }
1732 }
1733 
1735 {
1736  if (m_currentTicl)
1737  return m_currentTicl->getInt("NPMT");
1738  else
1739  {
1740  ATH_MSG_ERROR( "TileDddbManager::TICLnpmt() - Current TICL not set, returning -999.9" );
1741  return -999.9;
1742  }
1743 }
1744 
1745 double TileDddbManager::TICLholes(unsigned int ind) const
1746 {
1747  if (m_currentTicl)
1748  return m_currentTicl->getInt("HOLES",ind);
1749  else
1750  {
1751  ATH_MSG_ERROR( "TileDddbManager::TICLholes() - Current TICL not set, returning 9999" );
1752  return 9999;
1753  }
1754 }
1755 
1756 int TileDddbManager::getSwitch(const char *name, int val) const
1757 {
1758  if (m_tileSwitches) {
1759  try {
1760  if ((*m_tileSwitches)[0]->isFieldNull(name)) {
1761  ATH_MSG_DEBUG( "TileDddbManager::getSwitch() - TileSwitches(" << name << ") is EMPTY, returning " << name << " = " << val );
1762  return val;
1763  } else {
1764  return (*m_tileSwitches)[0]->getInt(name);
1765  }
1766  } catch (std::exception& e) {
1767  ATH_MSG_WARNING( "TileDddbManager::getSwitch() - TileSwitches table does not contain field " << name << ", returning " << name << " = " << val );
1768  return val;
1769  }
1770  } else {
1771  ATH_MSG_ERROR( "TileDddbManager::getSwitch() - TileSwitches is not set, returning " << name << " = " << val );
1772  return val;
1773  }
1774 }
1775 
IRDBRecord::getInt
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
TileDddbManager::TICLtower
double TICLtower() const
Definition: TileDddbManager.cxx:1657
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
TileDddbManager::GetEnvRin
double GetEnvRin() const
Definition: TileDddbManager.cxx:274
TileDddbManager::TICGdx2
double TICGdx2() const
Definition: TileDddbManager.cxx:1434
TileDddbManager::TILBnmodul
int TILBnmodul() const
Definition: TileDddbManager.cxx:657
TileDddbManager::SetCurrentEnvByIndex
int SetCurrentEnvByIndex(unsigned int envelope)
Definition: TileDddbManager.cxx:209
TileDddbManager::m_currentSection
const IRDBRecord * m_currentSection
Definition: TileDddbManager.h:310
TileDddbManager::TILBsection
int TILBsection() const
Definition: TileDddbManager.cxx:635
TileDddbManager::m_currentTileMod
const IRDBRecord * m_currentTileMod
Definition: TileDddbManager.h:309
TileDddbManager::TILEzmam
double TILEzmam() const
Definition: TileDddbManager.cxx:132
TileDddbManager::SetCurrentEnvByType
int SetCurrentEnvByType(unsigned int envelope)
Definition: TileDddbManager.cxx:174
TileDddbManager::SetCurrentModuleByNumber
int SetCurrentModuleByNumber(unsigned int Number)
Definition: TileDddbManager.cxx:430
TileDddbManager::m_n_cuts
unsigned int m_n_cuts
Definition: TileDddbManager.h:304
TileDddbManager::TIGRmaterial
int TIGRmaterial() const
Definition: TileDddbManager.cxx:1238
TileDddbManager::TIFGdz
double TIFGdz() const
Definition: TileDddbManager.cxx:1336
TileDddbManager::SCNTitem
int SCNTitem() const
Fields of SCNT structure (see also Oracle comments):
Definition: TileDddbManager.cxx:957
TileDddbManager::SetCurrentSection
int SetCurrentSection(unsigned int section, bool print=true)
Definition: TileDddbManager.cxx:616
TileDddbManager::m_currentTileGlob
const IRDBRecord * m_currentTileGlob
Definition: TileDddbManager.h:308
TileDddbManager::FillModTypes
void FillModTypes()
Definition: TileDddbManager.cxx:580
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TileDddbManager::GetEnvDZ
double GetEnvDZ() const
Definition: TileDddbManager.cxx:331
TileDddbManager::m_node
std::string m_node
Definition: TileDddbManager.h:322
TileDddbManager::TILBngirder
int TILBngirder() const
Definition: TileDddbManager.cxx:855
TileDddbManager::SetCurrentTifg
int SetCurrentTifg(int section)
Definition: TileDddbManager.cxx:1294
TileDddbManager::TICLntilesrow
double TICLntilesrow(unsigned int ind) const
Definition: TileDddbManager.cxx:1723
TileDddbManager::RadiusSaddle
double RadiusSaddle() const
Definition: TileDddbManager.cxx:1196
TileDddbManager::TILBrmax
double TILBrmax() const
Definition: TileDddbManager.cxx:679
TileDddbManager::GetModDTheta
double GetModDTheta() const
Definition: TileDddbManager.cxx:537
index
Definition: index.py:1
TileDddbManager::TILBisci_st
double TILBisci_st() const
Definition: TileDddbManager.cxx:789
TileDddbManager::CutsName
std::string CutsName() const
Definition: TileDddbManager.cxx:1080
TileDddbManager::TICGzc
double TICGzc() const
Definition: TileDddbManager.cxx:1467
TileDddbManager::TILBflangex
double TILBflangex() const
Definition: TileDddbManager.cxx:745
IRDBRecord::getString
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
TileDddbManager::m_tile
IRDBRecordset_ptr m_tile
Definition: TileDddbManager.h:281
TileDddbManager::GetEnvDPsi
double GetEnvDPsi() const
Definition: TileDddbManager.cxx:371
TileDddbManager::BoolSaddle
bool BoolSaddle()
Definition: TileDddbManager.cxx:1177
TileDddbManager::TICGoff
double TICGoff() const
Definition: TileDddbManager.cxx:1445
TileDddbManager::SetCurrentCuts
int SetCurrentCuts(std::string input)
Fields of CUTS structure (see also Oracle comments):
Definition: TileDddbManager.cxx:1048
TileDddbManager::GetEnvDY
double GetEnvDY() const
Definition: TileDddbManager.cxx:360
TileDddbManager::SetCurrentTypeByNumber
int SetCurrentTypeByNumber(unsigned int Number)
Definition: TileDddbManager.cxx:561
TileDddbManager::GetEnvDPhi
double GetEnvDPhi() const
Definition: TileDddbManager.cxx:314
TileDddbManager::m_modTypes
std::vector< unsigned int > m_modTypes
Definition: TileDddbManager.h:326
TileDddbManager::SetCurrentTicg
int SetCurrentTicg(int item)
Definition: TileDddbManager.cxx:1348
TileDddbManager::m_currentTicg
const IRDBRecord * m_currentTicg
Definition: TileDddbManager.h:314
TileDddbManager::TICLsample
double TICLsample() const
Definition: TileDddbManager.cxx:1668
TileDddbManager::GetModType
int GetModType() const
Definition: TileDddbManager.cxx:471
TileDddbManager::TILBnscin
int TILBnscin() const
Definition: TileDddbManager.cxx:866
TileDddbManager::m_n_ticl
unsigned int m_n_ticl
Definition: TileDddbManager.h:300
TileDddbManager::m_currentGird
const IRDBRecord * m_currentGird
Definition: TileDddbManager.h:311
TileDddbManager::GetModDY
double GetModDY() const
Definition: TileDddbManager.cxx:493
TileDddbManager::GetNumberOfEnv
int GetNumberOfEnv() const
Definition: TileDddbManager.cxx:158
TileDddbManager::TILBdzmodul
double TILBdzmodul() const
Definition: TileDddbManager.cxx:800
TileDddbManager::m_buildSaddle
bool m_buildSaddle
Definition: TileDddbManager.h:330
TileDddbManager::m_currentTicl
const IRDBRecord * m_currentTicl
Definition: TileDddbManager.h:315
TileDddbManager::TILEzshift
double TILEzshift() const
Definition: TileDddbManager.cxx:147
TileDddbManager::SetNextTiclInDet
int SetNextTiclInDet()
Definition: TileDddbManager.cxx:1600
TileDddbManager::SetCurrentTicl
int SetCurrentTicl(int detector, double sample, double tower)
Definition: TileDddbManager.cxx:1484
TileDddbManager::TICLfirstrow
double TICLfirstrow() const
Definition: TileDddbManager.cxx:1701
TileDddbManager::TILBdrfront
double TILBdrfront() const
Definition: TileDddbManager.cxx:723
TileDddbManager::TIGRdr
double TIGRdr() const
Definition: TileDddbManager.cxx:1260
TileDddbManager::TILErmim
double TILErmim() const
Definition: TileDddbManager.cxx:122
TileDddbManager::SetCurrentSectionByNumber
int SetCurrentSectionByNumber(unsigned int section)
Definition: TileDddbManager.cxx:611
TileDddbManager::TICLncell
double TICLncell() const
Definition: TileDddbManager.cxx:1646
TileDddbManager::m_currentCuts
const IRDBRecord * m_currentCuts
Definition: TileDddbManager.h:316
TileDddbManager::TICGmaterial
int TICGmaterial() const
Definition: TileDddbManager.cxx:1379
TileDddbManager::GetModDX
double GetModDX() const
Definition: TileDddbManager.cxx:482
TileDddbManager::TILBrmin
double TILBrmin() const
Definition: TileDddbManager.cxx:668
TileDddbManager::TILBphigap
double TILBphigap() const
Definition: TileDddbManager.cxx:778
TileDddbManager::TILBzoffset
double TILBzoffset() const
Definition: TileDddbManager.cxx:767
TileDddbManager::TILErmam
double TILErmam() const
Definition: TileDddbManager.cxx:127
TileDddbManager::m_EnvSize
unsigned int m_EnvSize
Definition: TileDddbManager.h:302
TileDddbManager::SetCurrentScin
int SetCurrentScin(int item)
Definition: TileDddbManager.cxx:937
TileDddbManager::SetCurrentTypeByIndex
int SetCurrentTypeByIndex(unsigned int Id)
Definition: TileDddbManager.cxx:550
TileDddbManager::m_n_timod
unsigned int m_n_timod
Definition: TileDddbManager.h:294
TRT::Hit::detector
@ detector
Definition: HitInfo.h:78
TileDddbManager::TILBcurscint
int TILBcurscint() const
Definition: TileDddbManager.cxx:911
TileDddbManager::TICLholes
double TICLholes(unsigned int ind) const
Definition: TileDddbManager.cxx:1745
TileDddbManager::SCNTdr
double SCNTdr() const
Definition: TileDddbManager.cxx:968
TileDddbManager::TIGRrc
double TIGRrc() const
Definition: TileDddbManager.cxx:1249
TileDddbManager::TIGRdw
double TIGRdw() const
Definition: TileDddbManager.cxx:1271
TileDddbManager::TILBdzperio
double TILBdzperio() const
Definition: TileDddbManager.cxx:712
TileDddbManager::m_currentTiclInd
int m_currentTiclInd
Definition: TileDddbManager.h:319
TileDddbManager::TILErmin
double TILErmin() const
Definition: TileDddbManager.cxx:137
TileDddbManager::GetNumTilb
unsigned int GetNumTilb() const
Definition: TileDddbManager.cxx:152
TileDddbManager::SetCurrentSectionByIndex
int SetCurrentSectionByIndex(unsigned int IdSection)
Definition: TileDddbManager.cxx:598
TileDddbManager::SCNTdphi
double SCNTdphi() const
Definition: TileDddbManager.cxx:1034
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TileDddbManager::CutsXpos
double CutsXpos() const
Definition: TileDddbManager.cxx:1140
TileDddbManager::m_n_saddle
unsigned int m_n_saddle
Definition: TileDddbManager.h:305
TileDddbManager::m_n_tilb
unsigned int m_n_tilb
Definition: TileDddbManager.h:295
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:100
TileDddbManager::TICLeta
double TICLeta() const
Definition: TileDddbManager.cxx:1679
TileDddbManager::TIFGnelem
int TIFGnelem() const
Definition: TileDddbManager.cxx:1325
TileDddbManager::TICLlastrow
double TICLlastrow() const
Definition: TileDddbManager.cxx:1712
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:45
TileDddbManager::GetEnvDX
double GetEnvDX() const
Definition: TileDddbManager.cxx:349
TileDddbManager::DzSaddleSupport
double DzSaddleSupport() const
Definition: TileDddbManager.cxx:1186
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TileDddbManager::TILBdzgir
double TILBdzgir() const
Definition: TileDddbManager.cxx:925
TileDddbManager::GetEnvZShift
double GetEnvZShift() const
Definition: TileDddbManager.cxx:393
TileDddbManager::GetEnvZLength
double GetEnvZLength() const
Definition: TileDddbManager.cxx:296
TileDddbManager::TIFGsection
int TIFGsection() const
Definition: TileDddbManager.cxx:1314
TileDddbManager::m_n_tileSwitches
unsigned int m_n_tileSwitches
Definition: TileDddbManager.h:306
TileDddbManager::TILBdzend1
double TILBdzend1() const
Definition: TileDddbManager.cxx:833
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TileDddbManager::m_EnvNum
unsigned int m_EnvNum
Definition: TileDddbManager.h:301
calibdata.exception
exception
Definition: calibdata.py:496
TileDddbManager::GetEnvSide
int GetEnvSide() const
Definition: TileDddbManager.cxx:251
TileDddbManager::TILBrmaximal
double TILBrmaximal() const
Definition: TileDddbManager.cxx:701
TileDddbManager::m_tifg
IRDBRecordset_ptr m_tifg
Definition: TileDddbManager.h:285
TileDddbManager::m_n_tifg
unsigned int m_n_tifg
Definition: TileDddbManager.h:298
TileDddbManager::TICGrc
double TICGrc() const
Definition: TileDddbManager.cxx:1401
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
TileDddbManager::TILBdzend
double TILBdzend() const
Definition: TileDddbManager.cxx:734
TileDddbManager::SetFirstTiclInDetSamp
int SetFirstTiclInDetSamp(int detector, double sample)
Definition: TileDddbManager.cxx:1571
TileDddbManager::getSwitch
int getSwitch(const char *name, int def_val) const
Definition: TileDddbManager.cxx:1756
TileDddbManager::m_scnt
IRDBRecordset_ptr m_scnt
Definition: TileDddbManager.h:284
python.dummyaccess.access
def access(filename, mode)
Definition: dummyaccess.py:18
TileDddbManager::TILBnpercutneg
int TILBnpercutneg() const
Definition: TileDddbManager.cxx:899
TileDddbManager::m_tileSwitches
IRDBRecordset_ptr m_tileSwitches
Definition: TileDddbManager.h:290
TileDddbManager::m_tiglob
IRDBRecordset_ptr m_tiglob
Definition: TileDddbManager.h:279
TileDddbManager::GetModDPhi
double GetModDPhi() const
Definition: TileDddbManager.cxx:515
TileDddbManager::m_ticl
IRDBRecordset_ptr m_ticl
Definition: TileDddbManager.h:287
TileDddbManager::GetModTypeSize
unsigned int GetModTypeSize() const
Definition: TileDddbManager.cxx:575
merge.output
output
Definition: merge.py:17
TileDddbManager::TILBnpercutpos
int TILBnpercutpos() const
Definition: TileDddbManager.cxx:888
TileDddbManager::BoolCuts
bool BoolCuts()
Definition: TileDddbManager.cxx:1071
TileDddbManager::m_currentSaddle
const IRDBRecord * m_currentSaddle
Definition: TileDddbManager.h:317
TileDddbManager::TIGRoff
double TIGRoff() const
Definition: TileDddbManager.cxx:1282
TileDddbManager::SCNTzp
double SCNTzp() const
Definition: TileDddbManager.cxx:990
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TileDddbManager::SetCurrentGird
int SetCurrentGird(int item)
Definition: TileDddbManager.cxx:1207
TileDddbManager::CutsDY2
double CutsDY2() const
Definition: TileDddbManager.cxx:1120
TileDddbManager::m_currentTifg
const IRDBRecord * m_currentTifg
Definition: TileDddbManager.h:313
TileDddbManager::TILBdzspac
double TILBdzspac() const
Definition: TileDddbManager.cxx:822
TileDddbManager::m_timod
IRDBRecordset_ptr m_timod
Definition: TileDddbManager.h:280
item
Definition: ItemListSvc.h:43
TileDddbManager::TICLdetector
int TICLdetector() const
Definition: TileDddbManager.cxx:1635
TileDddbManager::CutsDX1
double CutsDX1() const
Definition: TileDddbManager.cxx:1090
TileDddbManager::m_tilb
IRDBRecordset_ptr m_tilb
Definition: TileDddbManager.h:282
TileDddbManager::m_ticg
IRDBRecordset_ptr m_ticg
Definition: TileDddbManager.h:286
TileDddbManager::GetModNumber
int GetModNumber() const
Definition: TileDddbManager.cxx:460
TileDddbManager::m_n_ticg
unsigned int m_n_ticg
Definition: TileDddbManager.h:299
TileDddbManager::TileDddbManager
TileDddbManager(IRDBAccessSvc *access, const std::string &version_tag, const std::string &version_node, bool sqliteInput=false)
Definition: TileDddbManager.cxx:22
TileDddbManager.h
TileDddbManager::GetModDZ
double GetModDZ() const
Definition: TileDddbManager.cxx:504
TileDddbManager::TILBrminimal
double TILBrminimal() const
Definition: TileDddbManager.cxx:690
TileDddbManager::TICGitem
int TICGitem() const
Definition: TileDddbManager.cxx:1368
TileDddbManager::CutsYpos
double CutsYpos() const
Definition: TileDddbManager.cxx:1150
TileDddbManager::SetNextTiclInDetSamp
int SetNextTiclInDetSamp()
Definition: TileDddbManager.cxx:1616
DeMoScan.index
string index
Definition: DeMoScan.py:362
TileDddbManager::m_tigr
IRDBRecordset_ptr m_tigr
Definition: TileDddbManager.h:283
TileDddbManager::SCNTdtw
double SCNTdtw() const
Definition: TileDddbManager.cxx:1023
TileDddbManager::m_n_scnt
unsigned int m_n_scnt
Definition: TileDddbManager.h:297
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
TileDddbManager::TICGshape
int TICGshape() const
Definition: TileDddbManager.cxx:1390
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
TileDddbManager::m_EnvBegin
unsigned int m_EnvBegin
Definition: TileDddbManager.h:303
TileDddbManager::SCNTdt
double SCNTdt() const
Definition: TileDddbManager.cxx:1012
TileDddbManager::SCNTrc
double SCNTrc() const
Definition: TileDddbManager.cxx:979
TileDddbManager::m_currentScin
const IRDBRecord * m_currentScin
Definition: TileDddbManager.h:312
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
TileDddbManager::m_cuts
IRDBRecordset_ptr m_cuts
Definition: TileDddbManager.h:288
IRDBRecord::isFieldNull
virtual bool isFieldNull(const std::string &fieldName) const =0
Check if the field value is NULL.
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
TileDddbManager::CutsDZ1
double CutsDZ1() const
Definition: TileDddbManager.cxx:1130
TileDddbManager::GetNumTicl
unsigned int GetNumTicl() const
Definition: TileDddbManager.cxx:1478
TileDddbManager::SetFirstTiclInDet
int SetFirstTiclInDet(int detector)
Definition: TileDddbManager.cxx:1553
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28
TileDddbManager::TICGdr
double TICGdr() const
Definition: TileDddbManager.cxx:1412
TileDddbManager::TIGRitem
int TIGRitem() const
Definition: TileDddbManager.cxx:1227
TileDddbManager::TILErmax
double TILErmax() const
Definition: TileDddbManager.cxx:142
TileDddbManager::TILBdzend2
double TILBdzend2() const
Definition: TileDddbManager.cxx:844
TileDddbManager::TICGdz
double TICGdz() const
Definition: TileDddbManager.cxx:1456
TileDddbManager::TILBflangey
double TILBflangey() const
Definition: TileDddbManager.cxx:756
TileDddbManager::TILBdzmast
double TILBdzmast() const
Definition: TileDddbManager.cxx:811
TileDddbManager::m_n_tigr
unsigned int m_n_tigr
Definition: TileDddbManager.h:296
TileDddbManager::m_saddle
IRDBRecordset_ptr m_saddle
Definition: TileDddbManager.h:289
TileDddbManager::TILEnmodul
int TILEnmodul() const
Definition: TileDddbManager.cxx:117
IRDBRecord::getDouble
virtual double getDouble(const std::string &fieldName) const =0
Get double field value.
TileDddbManager::m_tag
std::string m_tag
Definition: TileDddbManager.h:321
TileDddbManager::CutsDY1
double CutsDY1() const
Definition: TileDddbManager.cxx:1110
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
TileDddbManager::GetEnvRout
double GetEnvRout() const
Definition: TileDddbManager.cxx:285
TileDddbManager::TILBnperiod
int TILBnperiod() const
Definition: TileDddbManager.cxx:646
section
void section(const std::string &sec)
Definition: TestTriggerMenuAccess.cxx:22
TileDddbManager::GetEnvType
int GetEnvType() const
Definition: TileDddbManager.cxx:163
sample_ind
#define sample_ind(r, m, c, i)
Definition: TileAANtuple.cxx:102
TileDddbManager::SetCurrentModuleByIndex
int SetCurrentModuleByIndex(unsigned int Id)
Definition: TileDddbManager.cxx:406
TileDddbManager::SetCurrentSaddle
int SetCurrentSaddle(unsigned int index)
Fields of SADDLE structure (see also Oracle comments):
Definition: TileDddbManager.cxx:1162
TileDddbManager::CutsDX2
double CutsDX2() const
Definition: TileDddbManager.cxx:1100
IRDBRecord::getFloat
virtual float getFloat(const std::string &fieldName) const =0
Get float field value.
TileDddbManager::TILBfingpattern
int TILBfingpattern() const
Definition: TileDddbManager.cxx:877
TileDddbManager::GetEnvDTheta
double GetEnvDTheta() const
Definition: TileDddbManager.cxx:382
TileDddbManager::m_sqliteInput
bool m_sqliteInput
Definition: TileDddbManager.h:324
TileDddbManager::GetEnvNModules
int GetEnvNModules() const
Definition: TileDddbManager.cxx:262
TileDddbManager::TICLnpmt
double TICLnpmt() const
Definition: TileDddbManager.cxx:1734
TileDddbManager::SCNTdrw
double SCNTdrw() const
Definition: TileDddbManager.cxx:1001
TileDddbManager::m_n_tiglob
unsigned int m_n_tiglob
Definition: TileDddbManager.h:293
m_node
const GeoVPhysVol * m_node
Definition: MdtTubeLayer.cxx:64
TileDddbManager::GetModDPsi
double GetModDPsi() const
Definition: TileDddbManager.cxx:526
checkFileSG.ind
list ind
Definition: checkFileSG.py:118
TileDddbManager::m_buildCuts
bool m_buildCuts
Definition: TileDddbManager.h:329
TileDddbManager::TICLdeta
double TICLdeta() const
Definition: TileDddbManager.cxx:1690
TileDddbManager::TICGdx1
double TICGdx1() const
Definition: TileDddbManager.cxx:1423