ATLAS Offline Software
Loading...
Searching...
No Matches
TileDddbManager Class Reference

This class provides access to constants in the Geometry DB. More...

#include <TileDddbManager.h>

Inheritance diagram for TileDddbManager:
Collaboration diagram for TileDddbManager:

Public Types

enum  TileSections {
  TILE_BARREL =1 , TILE_EBARREL =2 , TILE_PLUG1 =3 , TILE_PLUG2 =4 ,
  TILE_PLUG3 =5 , TILE_PLUG4 =6
}

Public Member Functions

 TileDddbManager (IRDBAccessSvc *access, const std::string &version_tag, const std::string &version_node, bool sqliteInput=false)
 TileDddbManager (const TileDddbManager &)=delete
TileDddbManageroperator= (const TileDddbManager &)=delete
virtual ~TileDddbManager ()
int TILEnmodul () const
double TILErmim () const
double TILErmam () const
double TILEzmam () const
double TILErmin () const
double TILErmax () const
double TILEzshift () const
int GetNumberOfEnv () const
int GetEnvType () const
int SetCurrentEnvByType (unsigned int envelope)
int SetCurrentEnvByIndex (unsigned int envelope)
int GetEnvSide () const
int GetEnvNModules () const
double GetEnvRin () const
double GetEnvRout () const
double GetEnvZLength () const
double GetEnvDPhi () const
double GetEnvDZ () const
double GetEnvDX () const
double GetEnvDY () const
double GetEnvDPsi () const
double GetEnvDTheta () const
double GetEnvZShift () const
int SetCurrentModuleByIndex (unsigned int Id)
int SetCurrentModuleByNumber (unsigned int Number)
int GetModNumber () const
int GetModType () const
double GetModDX () const
double GetModDY () const
double GetModDZ () const
double GetModDPhi () const
double GetModDPsi () const
double GetModDTheta () const
int SetCurrentTypeByIndex (unsigned int Id)
int SetCurrentTypeByNumber (unsigned int Number)
unsigned int GetModType (unsigned int Id) const
unsigned int GetModTypeSize () const
unsigned int GetNumTilb () const
int SetCurrentSectionByIndex (unsigned int IdSection)
int SetCurrentSectionByNumber (unsigned int section)
int SetCurrentSection (unsigned int section, bool print=true)
int TILBsection () const
int TILBnperiod () const
int TILBnmodul () const
double TILBrmin () const
double TILBrmax () const
double TILBrminimal () const
double TILBrmaximal () const
double TILBdzperio () const
double TILBdrfront () const
double TILBdzend () const
double TILBflangex () const
double TILBflangey () const
double TILBzoffset () const
double TILBphigap () const
double TILBisci_st () const
double TILBdzmodul () const
double TILBdzmast () const
double TILBdzspac () const
double TILBdzend1 () const
double TILBdzend2 () const
int TILBngirder () const
int TILBnscin () const
int TILBfingpattern () const
int TILBnpercutpos () const
int TILBnpercutneg () const
int TILBcurscint () const
double TILBdzgir () const
int SetCurrentScin (int item)
int SCNTitem () const
 Fields of SCNT structure (see also Oracle comments):
double SCNTdr () const
double SCNTrc () const
double SCNTzp () const
double SCNTdrw () const
double SCNTdt () const
double SCNTdtw () const
double SCNTdphi () const
int SetCurrentCuts (const std::string &input)
 Fields of CUTS structure (see also Oracle comments):
bool BoolCuts ()
std::string CutsName () const
double CutsDX1 () const
double CutsDX2 () const
double CutsDY1 () const
double CutsDY2 () const
double CutsDZ1 () const
double CutsXpos () const
double CutsYpos () const
int SetCurrentSaddle (unsigned int index)
 Fields of SADDLE structure (see also Oracle comments):
bool BoolSaddle ()
double DzSaddleSupport () const
double RadiusSaddle () const
int SetCurrentGird (int item)
int TIGRitem () const
int TIGRmaterial () const
double TIGRrc () const
double TIGRdr () const
double TIGRdw () const
double TIGRoff () const
int SetCurrentTifg (int section)
int TIFGsection () const
int TIFGnelem () const
double TIFGdz () const
int SetCurrentTicg (int item)
int TICGitem () const
int TICGmaterial () const
int TICGshape () const
double TICGrc () const
double TICGdr () const
double TICGdx1 () const
double TICGdx2 () const
double TICGoff () const
double TICGdz () const
double TICGzc () const
unsigned int GetNumTicl () const
int SetCurrentTicl (int detector, double sample, double tower)
int SetCurrentTicl (unsigned int index)
int SetFirstTiclInDet (int detector)
int SetFirstTiclInDetSamp (int detector, double sample)
int SetNextTiclInDet ()
int SetNextTiclInDetSamp ()
int TICLdetector () const
double TICLncell () const
double TICLtower () const
double TICLsample () const
double TICLeta () const
double TICLdeta () const
double TICLfirstrow () const
double TICLlastrow () const
double TICLntilesrow (unsigned int ind) const
double TICLnpmt () const
double TICLholes (unsigned int ind) const
int getSwitch (const char *name, int def_val) const
int addPlatesToCell () const
int uShape () const
int glue () const
int PVT () const
int steel () const
int csTube () const
bool msgLvl (const MSG::Level lvl) const
 Test the output level.
MsgStream & msg () const
 The standard message stream.
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream.
void setLevel (MSG::Level lvl)
 Change the current logging level.

Private Member Functions

void FillModTypes ()
void initMessaging () const
 Initialize our message level and MessageSvc.

Private Attributes

IRDBRecordset_ptr m_tiglob
IRDBRecordset_ptr m_timod
IRDBRecordset_ptr m_tile
IRDBRecordset_ptr m_tilb
IRDBRecordset_ptr m_tigr
IRDBRecordset_ptr m_scnt
IRDBRecordset_ptr m_tifg
IRDBRecordset_ptr m_ticg
IRDBRecordset_ptr m_ticl
IRDBRecordset_ptr m_cuts
IRDBRecordset_ptr m_saddle
IRDBRecordset_ptr m_tileSwitches
unsigned int m_n_tiglob {0}
unsigned int m_n_timod {0}
unsigned int m_n_tilb {0}
unsigned int m_n_tigr {0}
unsigned int m_n_scnt {0}
unsigned int m_n_tifg {0}
unsigned int m_n_ticg {0}
unsigned int m_n_ticl {0}
unsigned int m_EnvNum {0}
unsigned int m_EnvSize {0}
unsigned int m_EnvBegin {0}
unsigned int m_n_cuts {0}
unsigned int m_n_saddle {0}
unsigned int m_n_tileSwitches
const IRDBRecordm_currentTileGlob {nullptr}
const IRDBRecordm_currentTileMod {nullptr}
const IRDBRecordm_currentSection {nullptr}
const IRDBRecordm_currentGird {nullptr}
const IRDBRecordm_currentScin {nullptr}
const IRDBRecordm_currentTifg {nullptr}
const IRDBRecordm_currentTicg {nullptr}
const IRDBRecordm_currentTicl {nullptr}
const IRDBRecordm_currentCuts {nullptr}
const IRDBRecordm_currentSaddle {nullptr}
int m_currentTiclInd {-1}
std::string m_tag {}
std::string m_node {}
bool m_sqliteInput {}
std::vector< unsigned int > m_modTypes
bool m_buildCuts {false}
bool m_buildSaddle {false}
std::string m_nm
 Message source name.
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels)
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer.
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level.
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging)

Detailed Description

This class provides access to constants in the Geometry DB.

We have following tables:

See also
TILE
GLOBALS
MODULES Modules
TILB Modules
SCNT Scintillator
TIGR Girder
TIFG Finger
CUTS Extended Barrel cutouts
TICG

Definition at line 36 of file TileDddbManager.h.

Member Enumeration Documentation

◆ TileSections

Enumerator
TILE_BARREL 
TILE_EBARREL 
TILE_PLUG1 
TILE_PLUG2 
TILE_PLUG3 
TILE_PLUG4 

Definition at line 40 of file TileDddbManager.h.

Constructor & Destructor Documentation

◆ TileDddbManager() [1/2]

TileDddbManager::TileDddbManager ( IRDBAccessSvc * access,
const std::string & version_tag,
const std::string & version_node,
bool sqliteInput = false )

Definition at line 17 of file TileDddbManager.cxx.

21 : AthMessaging ("TileDddbManager")
22 , m_tag(version_tag)
23 , m_node(version_node)
24 , m_sqliteInput(sqliteInput)
25{
26 ATH_MSG_INFO( "m_tag = " << m_tag );
27
28 m_tiglob = access->getRecordsetPtr("TileGlobals",m_tag,m_node);
29 m_n_tiglob = m_tiglob->size();
30 ATH_MSG_INFO( "n_tiglob = " << m_n_tiglob );
31
32 if (m_sqliteInput || !access->getChildTag("TileModule",m_tag,m_node).empty()) {
33 m_timod = access->getRecordsetPtr("TileModule",m_tag,m_node);
34 }
35 else {
36 m_timod = access->getRecordsetPtr("TileModules",m_tag,m_node);
37 }
38 m_n_timod = m_timod->size();
39 ATH_MSG_INFO( "n_timod = " << m_n_timod );
40
41 if (m_sqliteInput || !access->getChildTag("TileCuts",m_tag,m_node).empty()) {
42 m_buildCuts = true;
43 m_cuts = access->getRecordsetPtr("TileCuts",m_tag,m_node);
44 m_n_cuts = m_cuts->size();
45 ATH_MSG_INFO( "n_cuts = " << m_n_cuts );
46 }
47
48 if (m_sqliteInput || !access->getChildTag("TileSaddleSup",m_tag,m_node).empty()) {
49 m_buildSaddle = true;
50 m_saddle = access->getRecordsetPtr("TileSaddleSup",m_tag,m_node);
51 m_n_saddle = m_saddle->size();
52 ATH_MSG_INFO( "n_saddle = " << m_n_saddle );
53 }
54
55 m_tile = access->getRecordsetPtr("TILE",m_tag,m_node);
56
57 m_tilb = access->getRecordsetPtr("TILB",m_tag,m_node);
58 m_n_tilb = m_tilb->size();
59 ATH_MSG_INFO( "n_tilb = " << m_n_tilb );
60
61 m_tigr = access->getRecordsetPtr("TIGR",m_tag,m_node);
62 m_n_tigr = m_tigr->size();
63
64 m_scnt = access->getRecordsetPtr("SCNT",m_tag,m_node);
65 m_n_scnt = m_scnt->size();
66
67 m_tifg = access->getRecordsetPtr("TIFG",m_tag,m_node);
68 m_n_tifg = m_tifg->size();
69
70 m_ticg = access->getRecordsetPtr("TICG",m_tag,m_node);
71 m_n_ticg = m_ticg->size();
72
73 m_ticl = access->getRecordsetPtr("TICL",m_tag,m_node);
74 m_n_ticl = m_ticl->size();
75
76 m_tileSwitches = access->getRecordsetPtr("TileSwitches",m_tag,m_node);
78 ATH_MSG_INFO( "n_tileSwitches = " << m_n_tileSwitches );
79}
#define ATH_MSG_INFO(x)
AthMessaging()
Default constructor:
unsigned int m_n_ticl
IRDBRecordset_ptr m_ticg
IRDBRecordset_ptr m_tifg
unsigned int m_n_tileSwitches
unsigned int m_n_scnt
unsigned int m_n_tilb
IRDBRecordset_ptr m_timod
unsigned int m_n_tigr
IRDBRecordset_ptr m_tileSwitches
IRDBRecordset_ptr m_tile
IRDBRecordset_ptr m_ticl
unsigned int m_n_cuts
IRDBRecordset_ptr m_scnt
unsigned int m_n_tifg
IRDBRecordset_ptr m_tigr
unsigned int m_n_saddle
IRDBRecordset_ptr m_tiglob
IRDBRecordset_ptr m_tilb
unsigned int m_n_tiglob
unsigned int m_n_ticg
unsigned int m_n_timod
IRDBRecordset_ptr m_cuts
IRDBRecordset_ptr m_saddle
access(filename, mode)

◆ TileDddbManager() [2/2]

TileDddbManager::TileDddbManager ( const TileDddbManager & )
delete

◆ ~TileDddbManager()

virtual TileDddbManager::~TileDddbManager ( )
inlinevirtual

Definition at line 58 of file TileDddbManager.h.

58{}

Member Function Documentation

◆ addPlatesToCell()

int TileDddbManager::addPlatesToCell ( ) const
inline

Definition at line 270 of file TileDddbManager.h.

270{ return getSwitch("ADDPLATESTOCELL",1); }
int getSwitch(const char *name, int def_val) const

◆ BoolCuts()

bool TileDddbManager::BoolCuts ( )

Definition at line 1037 of file TileDddbManager.cxx.

1038{
1039 ATH_MSG_DEBUG( "TileDddbManager::BoolCuts() - return "
1040 << std::boolalpha << m_buildCuts );
1041 return m_buildCuts;
1042}
#define ATH_MSG_DEBUG(x)

◆ BoolSaddle()

bool TileDddbManager::BoolSaddle ( )

Definition at line 1141 of file TileDddbManager.cxx.

1142{ if (m_buildSaddle)
1143 { return m_buildSaddle;
1144 } else
1145 { ATH_MSG_DEBUG( "TileDddbManager::BoolSaddle() - return false" );
1146 return false;
1147 }
1148}

◆ csTube()

int TileDddbManager::csTube ( ) const
inline

Definition at line 275 of file TileDddbManager.h.

275{ return getSwitch("CSTUBE",0); }

◆ CutsDX1()

double TileDddbManager::CutsDX1 ( ) const

Definition at line 1054 of file TileDddbManager.cxx.

1055{
1056 if (m_currentCuts)
1057 return (double)m_currentCuts->getFloat("DX1");
1058 else
1059 { ATH_MSG_ERROR( "TileDddbManager::CutsDX1() - Current dX1 dimension not set, returning -999.9" );
1060 return -999.9;
1061 }
1062}
#define ATH_MSG_ERROR(x)
const IRDBRecord * m_currentCuts

◆ CutsDX2()

double TileDddbManager::CutsDX2 ( ) const

Definition at line 1064 of file TileDddbManager.cxx.

1065{
1066 if (m_currentCuts)
1067 return (double)m_currentCuts->getFloat("DX2");
1068 else
1069 { ATH_MSG_ERROR( "TileDddbManager::CutsDX2() - Current dX2 dimension not set, returning -999.9" );
1070 return -999.9;
1071 }
1072}

◆ CutsDY1()

double TileDddbManager::CutsDY1 ( ) const

Definition at line 1074 of file TileDddbManager.cxx.

1075{
1076 if (m_currentCuts)
1077 return (double)m_currentCuts->getFloat("DY1");
1078 else
1079 { ATH_MSG_ERROR( "TileDddbManager::CutsDY1() - Current dY1 dimension not set, returning -999.9" );
1080 return -999.9;
1081 }
1082}

◆ CutsDY2()

double TileDddbManager::CutsDY2 ( ) const

Definition at line 1084 of file TileDddbManager.cxx.

1085{
1086 if (m_currentCuts)
1087 return (double)m_currentCuts->getFloat("DY2");
1088 else
1089 { ATH_MSG_ERROR( "TileDddbManager::CutsDY2() - Current dY2 dimension not set, returning -999.9" );
1090 return -999.9;
1091 }
1092}

◆ CutsDZ1()

double TileDddbManager::CutsDZ1 ( ) const

Definition at line 1094 of file TileDddbManager.cxx.

1095{
1096 if (m_currentCuts)
1097 return (double)m_currentCuts->getFloat("DZ1");
1098 else
1099 { ATH_MSG_ERROR( "TileDddbManager::CutsDZ1() - Current dZ1 dimension not set, returning -999.9" );
1100 return -999.9;
1101 }
1102}

◆ CutsName()

std::string TileDddbManager::CutsName ( ) const

Definition at line 1044 of file TileDddbManager.cxx.

1045{std::string output ="-999.9";
1046 if (m_currentCuts)
1047 return m_currentCuts->getString("VOLUME");
1048 else
1049 { ATH_MSG_ERROR( "TileDddbManager::CutsName() - Current VOLUME dimension not set, returning -999.9" );
1050 return output;
1051 }
1052}
output
Definition merge.py:16

◆ CutsXpos()

double TileDddbManager::CutsXpos ( ) const

Definition at line 1104 of file TileDddbManager.cxx.

1105{
1106 if (m_currentCuts)
1107 return (double)m_currentCuts->getFloat("XPOS");
1108 else
1109 { ATH_MSG_ERROR( "TileDddbManager::CutsXpos() - Current Xpos dimension not set, returning -999.9" );
1110 return -999.9;
1111 }
1112}

◆ CutsYpos()

double TileDddbManager::CutsYpos ( ) const

Definition at line 1114 of file TileDddbManager.cxx.

1115{
1116 if (m_currentCuts)
1117 return (double)m_currentCuts->getFloat("YPOS");
1118 else
1119 { ATH_MSG_ERROR( "TileDddbManager::CutsYpos() - Current Ypos dimension not set, returning -999.9" );
1120 return -999.9;
1121 }
1122}

◆ DzSaddleSupport()

double TileDddbManager::DzSaddleSupport ( ) const

Definition at line 1150 of file TileDddbManager.cxx.

1151{
1152 if (m_currentSaddle)
1153 return (double)m_currentSaddle->getFloat("DZSADDLESUPPORT");
1154 else
1155 { ATH_MSG_ERROR( "TileDddbManager::DzSaddleSupport() - dimension not set, returning -999.9" );
1156 return -999.9;
1157 }
1158}
const IRDBRecord * m_currentSaddle

◆ FillModTypes()

void TileDddbManager::FillModTypes ( )
private

Definition at line 546 of file TileDddbManager.cxx.

547{
548 m_modTypes.clear();
549
550 int fullType = GetModType();
551
552 while (fullType > 0) {
553 unsigned int subType = fullType%100;
554 m_modTypes.push_back(subType);
555 fullType /= 100;
556 }
558}
std::vector< unsigned int > m_modTypes
int SetCurrentTypeByIndex(unsigned int Id)

◆ GetEnvDPhi()

double TileDddbManager::GetEnvDPhi ( ) const

Definition at line 280 of file TileDddbManager.cxx.

281{
282 if (m_currentTileGlob) {
283 // return m_currentTileGlob->getDouble("DPHI");
284 // FIXME: temporary fix for wrong dphi in table
285 double dphi = m_currentTileGlob->getDouble("DPHI");
286 if ( dphi != 0 && m_tag == "TileCal-02") {
287 dphi -= 360.0/64.0/2.;
288 }
289 return dphi;
290 }
291 else {
292 ATH_MSG_ERROR( "TileDddbManager::GetEnvDPhi() - Current Envelope not set, returning -999" );
293 return -999;
294 }
295}
const IRDBRecord * m_currentTileGlob

◆ GetEnvDPsi()

double TileDddbManager::GetEnvDPsi ( ) const

Definition at line 337 of file TileDddbManager.cxx.

338{
339 if (m_currentTileGlob) {
340 return m_currentTileGlob->getDouble("DPSI");
341 }
342 else {
343 ATH_MSG_ERROR( "TileDddbManager::GetEnvDPsi() - Current Envelope not set, returning -999" );
344 return -999;
345 }
346}

◆ GetEnvDTheta()

double TileDddbManager::GetEnvDTheta ( ) const

Definition at line 348 of file TileDddbManager.cxx.

349{
350 if (m_currentTileGlob) {
351 return m_currentTileGlob->getDouble("DTHETA");
352 }
353 else {
354 ATH_MSG_ERROR( "TileDddbManager::GetEnvDTheta() - Current Envelope not set, returning -999" );
355 return -999;
356 }
357}

◆ GetEnvDX()

double TileDddbManager::GetEnvDX ( ) const

Definition at line 315 of file TileDddbManager.cxx.

316{
317 if (m_currentTileGlob) {
318 return m_currentTileGlob->getDouble("DX");
319 }
320 else {
321 ATH_MSG_ERROR( "TileDddbManager::GetEnvDX() - Current Envelope not set, returning -999" );
322 return -999;
323 }
324}

◆ GetEnvDY()

double TileDddbManager::GetEnvDY ( ) const

Definition at line 326 of file TileDddbManager.cxx.

327{
328 if (m_currentTileGlob) {
329 return m_currentTileGlob->getDouble("DY");
330 }
331 else {
332 ATH_MSG_ERROR( "TileDddbManager::GetEnvDY() - Current Envelope not set, returning -999" );
333 return -999;
334 }
335}

◆ GetEnvDZ()

double TileDddbManager::GetEnvDZ ( ) const

Definition at line 297 of file TileDddbManager.cxx.

298{
299 if (m_currentTileGlob) {
300 // return m_currentTileGlob->getDouble("DZ");
301 // FIXME: temporary correction for finger length
302 // all fingers for the testbeam are "small fingers"
303 double dz = m_currentTileGlob->getDouble("DZ");
304 if ( dz > 20 && m_tag == "TileCal-02") {
305 dz += 43.05 - 37.7;
306 }
307 return dz;
308 }
309 else {
310 ATH_MSG_ERROR( "TileDddbManager::GetEnvDZ() - Current Envelope not set, returning -999" );
311 return -999;
312 }
313}

◆ GetEnvNModules()

int TileDddbManager::GetEnvNModules ( ) const

Definition at line 228 of file TileDddbManager.cxx.

229{
230 if (m_currentTileGlob) {
231 return m_currentTileGlob->getInt("NMODULES");
232 //sb return 1;
233 }
234 else {
235 ATH_MSG_ERROR( "TileDddbManager::GetEnvNModules() - Current Envelope not set, returning -999" );
236 return -999;
237 }
238}

◆ GetEnvRin()

double TileDddbManager::GetEnvRin ( ) const

Definition at line 240 of file TileDddbManager.cxx.

241{
242 if (m_currentTileGlob) {
243 return m_currentTileGlob->getDouble("RIN");
244 }
245 else {
246 ATH_MSG_ERROR( "TileDddbManager::GetEnvRin() - Current Envelope not set, returning -999" );
247 return -999;
248 }
249}

◆ GetEnvRout()

double TileDddbManager::GetEnvRout ( ) const

Definition at line 251 of file TileDddbManager.cxx.

252{
253 if (m_currentTileGlob) {
254 return m_currentTileGlob->getDouble("ROUT");
255 }
256 else {
257 ATH_MSG_ERROR( "TileDddbManager::GetEnvRout() - Current Envelope not set, returning -999" );
258 return -999;
259 }
260}

◆ GetEnvSide()

int TileDddbManager::GetEnvSide ( ) const

Definition at line 217 of file TileDddbManager.cxx.

218{
219 if (m_currentTileGlob) {
220 return m_currentTileGlob->getInt("SIDE");
221 }
222 else {
223 ATH_MSG_ERROR( "TileDddbManager::GetEnvSide() - Current Section not set, returning -999" );
224 return -999;
225 }
226}

◆ GetEnvType()

int TileDddbManager::GetEnvType ( ) const

Definition at line 129 of file TileDddbManager.cxx.

130{
131 if (m_currentTileGlob) {
132 return m_currentTileGlob->getInt("PART");
133 }
134 else {
135 ATH_MSG_ERROR( "TileDddbManager::GetEnvType() - Current Envelope not set, returning -999" );
136 return -999;
137 }
138}

◆ GetEnvZLength()

double TileDddbManager::GetEnvZLength ( ) const

Definition at line 262 of file TileDddbManager.cxx.

263{
264 if (m_currentTileGlob) {
265 // return m_currentTileGlob->getDouble("ZLENGTH");
266 // FIXME: temporary correction for finger length
267 // all fingers for the testbeam are "small fingers"
268 double len =m_currentTileGlob->getDouble("ZLENGTH");
269 if (len > 564 + 37.7*2 && m_tag == "TileCal-02") {
270 len = 564 + 37.7*2;
271 }
272 return len;
273 }
274 else {
275 ATH_MSG_ERROR( "TileDddbManager::GetEnvZLength() - Current Envelope not set, returning -999" );
276 return -999;
277 }
278}

◆ GetEnvZShift()

double TileDddbManager::GetEnvZShift ( ) const

Definition at line 359 of file TileDddbManager.cxx.

360{
361 if (m_currentTileGlob) {
362 return m_currentTileGlob->getDouble("ZSHIFT");
363 }
364 else {
365 ATH_MSG_ERROR( "TileDddbManager::GetEnvZShift() - Current Envelope not set, returning -999" );
366 return -999;
367 }
368}

◆ GetModDPhi()

double TileDddbManager::GetModDPhi ( ) const

Definition at line 481 of file TileDddbManager.cxx.

482{
483 if (m_currentTileMod) {
484 return m_currentTileMod->getDouble("DPHI");
485 }
486 else {
487 ATH_MSG_ERROR( "TileDddbManager::GetModDPhi() - Current Module not set, returning -999" );
488 return -999;
489 }
490}
const IRDBRecord * m_currentTileMod

◆ GetModDPsi()

double TileDddbManager::GetModDPsi ( ) const

Definition at line 492 of file TileDddbManager.cxx.

493{
494 if (m_currentTileMod) {
495 return m_currentTileMod->getDouble("DPSI");
496 }
497 else {
498 ATH_MSG_ERROR( "TileDddbManager::GetModDPsi() - Current Module not set, returning -999" );
499 return -999;
500 }
501}

◆ GetModDTheta()

double TileDddbManager::GetModDTheta ( ) const

Definition at line 503 of file TileDddbManager.cxx.

504{
505 if (m_currentTileMod) {
506 return m_currentTileMod->getDouble("DTHETA");
507 }
508 else {
509 ATH_MSG_ERROR( "TileDddbManager::GetModDTheta() - Current Module not set, returning -999" );
510 return -999;
511 }
512}

◆ GetModDX()

double TileDddbManager::GetModDX ( ) const

Definition at line 448 of file TileDddbManager.cxx.

449{
450 if (m_currentTileMod) {
451 return m_currentTileMod->getDouble("DX");
452 }
453 else {
454 ATH_MSG_ERROR( "TileDddbManager::GetModDX() - Current Module not set, returning -999" );
455 return -999;
456 }
457}

◆ GetModDY()

double TileDddbManager::GetModDY ( ) const

Definition at line 459 of file TileDddbManager.cxx.

460{
461 if (m_currentTileMod) {
462 return m_currentTileMod->getDouble("DY");
463 }
464 else {
465 ATH_MSG_ERROR( "TileDddbManager::GetModDY() - Current Module not set, returning -999" );
466 return -999;
467 }
468}

◆ GetModDZ()

double TileDddbManager::GetModDZ ( ) const

Definition at line 470 of file TileDddbManager.cxx.

471{
472 if (m_currentTileMod) {
473 return m_currentTileMod->getDouble("DZ");
474 }
475 else {
476 ATH_MSG_ERROR( "TileDddbManager::GetModDZ() - Current Module not set, returning -999" );
477 return -999;
478 }
479}

◆ GetModNumber()

int TileDddbManager::GetModNumber ( ) const

Definition at line 426 of file TileDddbManager.cxx.

427{
428 if (m_currentTileMod) {
429 return m_currentTileMod->getInt("MODNUM");
430 }
431 else {
432 ATH_MSG_ERROR( "TileDddbManager::GetModNumber() - Current Module not set, returning -999" );
433 return -999;
434 }
435}

◆ GetModType() [1/2]

int TileDddbManager::GetModType ( ) const

Definition at line 437 of file TileDddbManager.cxx.

438{
439 if (m_currentTileMod) {
440 return m_currentTileMod->getInt("TYP");
441 }
442 else {
443 ATH_MSG_ERROR( "TileDddbManager::GetModType() - Current Module not set, returning -999" );
444 return -999;
445 }
446}

◆ GetModType() [2/2]

unsigned int TileDddbManager::GetModType ( unsigned int Id) const

Definition at line 532 of file TileDddbManager.cxx.

533{
534 if (Id < m_modTypes.size()) {
535 return m_modTypes[Id];
536 } else {
537 return 999;
538 }
539}

◆ GetModTypeSize()

unsigned int TileDddbManager::GetModTypeSize ( ) const

Definition at line 541 of file TileDddbManager.cxx.

542{
543 return m_modTypes.size();
544}

◆ GetNumberOfEnv()

int TileDddbManager::GetNumberOfEnv ( ) const

Definition at line 124 of file TileDddbManager.cxx.

125{
126 return m_n_tiglob;
127}

◆ GetNumTicl()

unsigned int TileDddbManager::GetNumTicl ( ) const

Definition at line 1442 of file TileDddbManager.cxx.

1443{
1444 return m_n_ticl;
1445}

◆ GetNumTilb()

unsigned int TileDddbManager::GetNumTilb ( ) const

Definition at line 118 of file TileDddbManager.cxx.

119{
120 return m_n_tilb;
121}

◆ getSwitch()

int TileDddbManager::getSwitch ( const char * name,
int def_val ) const

Definition at line 1720 of file TileDddbManager.cxx.

1721{
1722 if (m_tileSwitches) {
1723 try {
1724 if ((*m_tileSwitches)[0]->isFieldNull(name)) {
1725 ATH_MSG_DEBUG( "TileDddbManager::getSwitch() - TileSwitches(" << name << ") is EMPTY, returning " << name << " = " << val );
1726 return val;
1727 } else {
1728 return (*m_tileSwitches)[0]->getInt(name);
1729 }
1730 } catch (std::exception& e) {
1731 ATH_MSG_WARNING( "TileDddbManager::getSwitch() - TileSwitches table does not contain field " << name << ", returning " << name << " = " << val );
1732 return val;
1733 }
1734 } else {
1735 ATH_MSG_ERROR( "TileDddbManager::getSwitch() - TileSwitches is not set, returning " << name << " = " << val );
1736 return val;
1737 }
1738}
#define ATH_MSG_WARNING(x)

◆ glue()

int TileDddbManager::glue ( ) const
inline

Definition at line 272 of file TileDddbManager.h.

272{ return getSwitch("GLUE",1); }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40{
42 // If user did not set an explicit level, set a default
43 if (m_lvl == MSG::NIL) {
44 m_lvl = m_imsg ?
45 static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
46 MSG::INFO;
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 163 of file AthMessaging.h.

164{
165 MsgStream* ms = m_msg_tls.get();
166 if (!ms) {
167 if (!m_initialized.test_and_set()) initMessaging();
168 ms = new MsgStream(m_imsg,m_nm);
169 m_msg_tls.reset( ms );
170 }
171
172 ms->setLevel (m_lvl);
173 return *ms;
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 178 of file AthMessaging.h.

179{ return msg() << lvl; }
MsgStream & msg() const
The standard message stream.

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152{
153 if (m_lvl <= lvl) {
154 msg() << lvl;
155 return true;
156 } else {
157 return false;
158 }
159}

◆ operator=()

TileDddbManager & TileDddbManager::operator= ( const TileDddbManager & )
delete

◆ PVT()

int TileDddbManager::PVT ( ) const
inline

Definition at line 273 of file TileDddbManager.h.

273{ return getSwitch("PVT",0); }

◆ RadiusSaddle()

double TileDddbManager::RadiusSaddle ( ) const

Definition at line 1160 of file TileDddbManager.cxx.

1161{
1162 if (m_currentSaddle)
1163 return (double)m_currentSaddle->getFloat("RADIUSSADDLE");
1164 else
1165 { ATH_MSG_ERROR( "TileDddbManager::RadiusSaddle() - dimension not set, returning -999.9" );
1166 return -999.9;
1167 }
1168}

◆ SCNTdphi()

double TileDddbManager::SCNTdphi ( ) const

Definition at line 1000 of file TileDddbManager.cxx.

1001{
1002 if (m_currentScin)
1003 return m_currentScin->getDouble("DPHI");
1004 else
1005 {
1006 ATH_MSG_ERROR( "TileDddbManager::SCNTdphi() - Current Scintillator not set, returning -999.9" );
1007 return -999.9;
1008 }
1009}
const IRDBRecord * m_currentScin

◆ SCNTdr()

double TileDddbManager::SCNTdr ( ) const

Definition at line 934 of file TileDddbManager.cxx.

935{
936 if (m_currentScin)
937 return m_currentScin->getDouble("DR");
938 else
939 {
940 ATH_MSG_ERROR( "TileDddbManager::SCNTdr() - Current Scintillator not set, returning -999.9" );
941 return -999.9;
942 }
943}

◆ SCNTdrw()

double TileDddbManager::SCNTdrw ( ) const

Definition at line 967 of file TileDddbManager.cxx.

968{
969 if (m_currentScin)
970 return m_currentScin->getDouble("DRW");
971 else
972 {
973 ATH_MSG_ERROR( "TileDddbManager::SCNTdrw() - Current Scintillator not set, returning -999.9" );
974 return -999.9;
975 }
976}

◆ SCNTdt()

double TileDddbManager::SCNTdt ( ) const

Definition at line 978 of file TileDddbManager.cxx.

979{
980 if (m_currentScin)
981 return m_currentScin->getDouble("DT");
982 else
983 {
984 ATH_MSG_ERROR( "TileDddbManager::SCNTdt() - Current Scintillator not set, returning -999.9" );
985 return -999.9;
986 }
987}

◆ SCNTdtw()

double TileDddbManager::SCNTdtw ( ) const

Definition at line 989 of file TileDddbManager.cxx.

990{
991 if (m_currentScin)
992 return m_currentScin->getDouble("DTW");
993 else
994 {
995 ATH_MSG_ERROR( "TileDddbManager::SCNTdtw() - Current Scintillator not set, returning -999.9" );
996 return -999.9;
997 }
998}

◆ SCNTitem()

int TileDddbManager::SCNTitem ( ) const

Fields of SCNT structure (see also Oracle comments):

Parameters
SCNTitemScintillator number:1-bar,2-ext,3-ITC1(7,8 special ITC),4-ITC2,5-Gap,6-Crack
SCNTdrDimension along R
SCNTrcR position with respect to the lower edge of module
SCNTzpZ position
SCNTdrwRadial space for wrapping
SCNTdtScintillator thickness in Z
SCNTdtwWrapping thickness in Z
SCNTdphiDistance between scintillator and absorber edge in Phi

Definition at line 923 of file TileDddbManager.cxx.

924{
925 if (m_currentScin)
926 return m_currentScin->getInt("ITEM");
927 else
928 {
929 ATH_MSG_ERROR( "TileDddbManager::SCNTitem() - Current Scintillator not set, returning -999" );
930 return -999;
931 }
932}

◆ SCNTrc()

double TileDddbManager::SCNTrc ( ) const

Definition at line 945 of file TileDddbManager.cxx.

946{
947 if (m_currentScin)
948 return m_currentScin->getDouble("RC");
949 else
950 {
951 ATH_MSG_ERROR( "TileDddbManager::SCNTrc() - Current Scintillator not set, returning -999.9" );
952 return -999.9;
953 }
954}

◆ SCNTzp()

double TileDddbManager::SCNTzp ( ) const

Definition at line 956 of file TileDddbManager.cxx.

957{
958 if (m_currentScin)
959 return m_currentScin->getDouble("ZP");
960 else
961 {
962 ATH_MSG_ERROR( "TileDddbManager::SCNTzp() - Current Scintillator not set, returning -999.9" );
963 return -999.9;
964 }
965}

◆ SetCurrentCuts()

int TileDddbManager::SetCurrentCuts ( const std::string & input)

Fields of CUTS structure (see also Oracle comments):

Parameters
CUTSNameCuts volume name
CutsDX1TRD shape, dX1/2
CutsDX2TRD shape, dX2/2
CutsDY1TRD shape, dY1/2
CutsDY2TRD shape, dY2/2
CutsDZ1TRD shape, dZ1/2
CutsXposX Position
CutsYposY Position

Definition at line 1014 of file TileDddbManager.cxx.

1015{
1016 if (m_buildCuts)
1017 {std::string name(input);
1018 unsigned int ind = 0;
1019
1020 while (((*m_cuts)[ind]->getString("VOLUME") != name) && (++ind < m_n_cuts))
1021 {
1022 }
1023
1024 if (ind >= m_n_cuts)
1025 { ATH_MSG_ERROR( "TileDddbManager::SetCurrentCuts() - Unable to find the m_currentCuts volume name = " << name );
1026 return 0;
1027 }
1028 else
1029 { m_currentCuts = (*m_cuts)[ind];
1030 return 1;
1031 }
1032 }
1033 ATH_MSG_WARNING( "TileDddbManager::SetCurrentCuts() - SetCuts Ext.Barrel Cuts unavailable in touched DB" );
1034 return 1;
1035}

◆ SetCurrentEnvByIndex()

int TileDddbManager::SetCurrentEnvByIndex ( unsigned int envelope)

Definition at line 175 of file TileDddbManager.cxx.

176{
180 m_modTypes.clear();
181
182 if (envelopeI < m_n_tiglob) {
183 m_currentTileGlob = (*m_tiglob)[envelopeI];
184 m_EnvNum = m_currentTileGlob->getInt("PART");
185 m_EnvSize = m_currentTileGlob->getInt("NMODULES");
186 unsigned int ind1 = 0;
187// while (((*m_timod)[ind1]->getInt("PART") != static_cast<int>(m_EnvNum)) && (++ind1 < m_n_timod))
188// {
189// }
190 // FIXME: temporary fix for wrong PART in modules table
191 for ( ; ind1 < m_n_timod; ++ind1) {
192 int part = (*m_timod)[ind1]->getInt("PART");
193 if ( m_tag == "TileCal-02" ) {
194 if (part == 3) part = 5;
195 else if (part == 2) part = 3;
196 }
197 if ( part == static_cast<int>(m_EnvNum)) break;
198 }
199 if (ind1 < m_n_timod) {
200 m_EnvBegin = ind1;
201 return 1;
202 }
203 else {
204 m_EnvSize = 0;
205 m_EnvBegin = 0;
206 ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByIndex() - Couldn't return begin of modules" );
207 return 0;
208 }
209 } else {
211 ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByIndex() - Couldn't return Envelope" );
212 return 0;
213 }
214}
const IRDBRecord * m_currentSection
unsigned int m_EnvBegin
unsigned int m_EnvSize
unsigned int m_EnvNum

◆ SetCurrentEnvByType()

int TileDddbManager::SetCurrentEnvByType ( unsigned int envelope)

Definition at line 140 of file TileDddbManager.cxx.

141{
145 m_modTypes.clear();
146
147 unsigned int ind2 = 0;
148 while (((*m_tiglob)[ind2]->getInt("PART") != static_cast<int>(envelopeT)) && (++ind2 < m_n_tiglob))
149 {
150 }
151 if (ind2 < m_n_tiglob) {
152 m_currentTileGlob = (*m_tiglob)[ind2];
153 m_EnvSize = m_currentTileGlob->getInt("NMODULES");
154 unsigned int ind3 = 0;
155 while (((*m_timod)[ind3]->getInt("PART") != static_cast<int>(envelopeT)) && (++ind3 < m_n_timod))
156 {
157 }
158 if (ind3 < m_n_timod) {
159 m_EnvBegin = ind3;
160 return 1;
161 }
162 else {
163 m_EnvSize = 0;
164 m_EnvBegin = 0;
165 ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByType() - Couldn't return begin of modules" );
166 return 0;
167 }
168 } else {
170 ATH_MSG_ERROR( "TileDddbManager::SetCurrentEnvByType() - Couldn't return Envelope" );
171 return 0;
172 }
173}

◆ SetCurrentGird()

int TileDddbManager::SetCurrentGird ( int item)

Definition at line 1171 of file TileDddbManager.cxx.

1172{
1173 unsigned int ind = 0;
1174
1175 while (((*m_tigr)[ind]->getInt("ITEM") != item) && (++ind < m_n_tigr))
1176 {
1177 }
1178
1179 if (ind >= m_n_tigr)
1180 {
1181 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentGird() - Unable to find the girder element, item= " << item );
1182 return 0;
1183 }
1184 else
1185 {
1186 m_currentGird = (*m_tigr)[ind];
1187 return 1;
1188 }
1189}
const IRDBRecord * m_currentGird

◆ SetCurrentModuleByIndex()

int TileDddbManager::SetCurrentModuleByIndex ( unsigned int Id)

Definition at line 372 of file TileDddbManager.cxx.

373{
376 m_modTypes.clear();
377
378 if (m_currentTileGlob) {
379 // Modules enumerated from zero, so SetCurrentModuleByIndex(0) gives the first module in the Envelope
380 if (Id >= m_EnvSize) {
381 ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByIndex() - Module number " << Id << " is out of range" );
382 return 0;
383 }
384 else {
385 m_currentTileMod = (*m_timod)[Id + m_EnvBegin];
386 FillModTypes();
387 return 1;
388 }
389 }
390 else {
391 ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByIndex() - Current Envelope not set, returning -999" );
392 return -999;
393 }
394}

◆ SetCurrentModuleByNumber()

int TileDddbManager::SetCurrentModuleByNumber ( unsigned int Number)

Definition at line 396 of file TileDddbManager.cxx.

397{
400 m_modTypes.clear();
401
402 if (m_currentTileGlob) {
403 // Input here number from column "MODNUM"
404 unsigned int ind4 = m_EnvBegin;
405 unsigned int EnvEnd = m_EnvBegin + m_EnvSize;
406 while (((*m_timod)[ind4]->getInt("MODNUM") != static_cast<int>(Number))&&(++ind4 < EnvEnd))
407 {
408 }
409 if (ind4 < EnvEnd) {
410 m_currentTileMod = (*m_timod)[ind4];
411 FillModTypes();
412 return 1;
413 }
414 else{
416 ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByNumber() - Couldn't return Module" );
417 return 0;
418 }
419 }
420 else {
421 ATH_MSG_ERROR( "TileDddbManager::SetCurrentModuleByNumber() - Current Envelope not set, returning -999" );
422 return -999;
423 }
424}

◆ SetCurrentSaddle()

int TileDddbManager::SetCurrentSaddle ( unsigned int index)

Fields of SADDLE structure (see also Oracle comments):

Parameters
DzSaddleSupportWidth of Saddle Support [cm]
RadiusSaddleRadius of Saddle Support [cm]

Definition at line 1126 of file TileDddbManager.cxx.

1127{
1128 if (m_buildSaddle)
1129 { if (index >= m_n_saddle)
1130 { return 0;
1131 }
1132 else
1133 { m_currentSaddle = (*m_saddle)[index];
1134 return 1;
1135 }
1136 }
1137 ATH_MSG_WARNING( "TileDddbManager::SetCurrentSaddle() - Saddle unavailable in touched DB");
1138 return 1;
1139}
str index
Definition DeMoScan.py:362

◆ SetCurrentScin()

int TileDddbManager::SetCurrentScin ( int item)

Definition at line 903 of file TileDddbManager.cxx.

904{
905 unsigned int ind = 0;
906
907 while (((*m_scnt)[ind]->getInt("ITEM") != item) && (++ind < m_n_scnt))
908 {
909 }
910
911 if (ind >= m_n_scnt)
912 {
913 ATH_MSG_ERROR( "TileDddbManager::SetCurrentScin() - Unable to find the scintillator, item = " << item );
914 return 0;
915 }
916 else
917 {
918 m_currentScin = (*m_scnt)[ind];
919 return 1;
920 }
921}

◆ SetCurrentSection()

int TileDddbManager::SetCurrentSection ( unsigned int section,
bool print = true )

Definition at line 582 of file TileDddbManager.cxx.

583{
584 unsigned int ind = 0;
585
586 while (((*m_tilb)[ind]->getInt("SECTION") != static_cast<int>(section)) && (++ind < m_n_tilb))
587 {
588 }
589
590 if (ind >= m_n_tilb) {
591 if (print) ATH_MSG_ERROR( "TileDddbManager::SetCurrentSection() - Unable to find the section" );
593 return 0;
594 }
595 else {
596 m_currentSection = (*m_tilb)[ind];
597 return 1;
598 }
599}
void print(char *figname, TCanvas *c1)
void section(const std::string &sec)

◆ SetCurrentSectionByIndex()

int TileDddbManager::SetCurrentSectionByIndex ( unsigned int IdSection)

Definition at line 564 of file TileDddbManager.cxx.

565{
566 if (IdSection < m_n_tilb) {
567 m_currentSection = (*m_tilb)[IdSection];
568 return 1;
569 }
570 else {
571 ATH_MSG_ERROR( "TileDddbManager::SetCurrentSectionByIndex() - Section index (" << IdSection << ") is out of range (" << m_n_tilb << ")" );
573 return 0;
574 }
575}

◆ SetCurrentSectionByNumber()

int TileDddbManager::SetCurrentSectionByNumber ( unsigned int section)

Definition at line 577 of file TileDddbManager.cxx.

578{
580}
int SetCurrentSection(unsigned int section, bool print=true)

◆ SetCurrentTicg()

int TileDddbManager::SetCurrentTicg ( int item)

Definition at line 1312 of file TileDddbManager.cxx.

1313{
1314 unsigned int ind = 0;
1315
1316 while (((*m_ticg)[ind]->getInt("ITEM") != item) && (++ind < m_n_ticg))
1317 {
1318 }
1319
1320 if (ind >= m_n_ticg)
1321 {
1322 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicg() - Unable to find the finger element, item = " << item );
1323 return 0;
1324 }
1325 else
1326 {
1327 m_currentTicg = (*m_ticg)[ind];
1328 return 1;
1329 }
1330}
const IRDBRecord * m_currentTicg

◆ SetCurrentTicl() [1/2]

int TileDddbManager::SetCurrentTicl ( int detector,
double sample,
double tower )

Definition at line 1448 of file TileDddbManager.cxx.

1449{
1450 unsigned int detector_ind = 0;
1451
1452 // Looking for the first cell of given detector
1453 while (((*m_ticl)[detector_ind]->getInt("DETECTOR") != detector) && (++detector_ind < m_n_ticl))
1454 {
1455 }
1456
1457 if (detector_ind >= m_n_ticl)
1458 {
1459 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - Unable to find any cell for the detector = " << detector );
1460 return 0;
1461 }
1462 else
1463 {
1464 // Looking for the first cell in given sample of given detector
1465 unsigned int sample_ind = detector_ind;
1466
1467 while (((*m_ticl)[sample_ind]->getInt("SAMPLE") != sample) && (++sample_ind < m_n_ticl))
1468 {
1469 }
1470
1471 if (sample_ind >= m_n_ticl)
1472 {
1473 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - Unable to find any cell for sample = "
1474 << sample << " in the detector = " << detector );
1475 return 0;
1476 }
1477 else
1478 {
1479 // Looking for the cell with give tower inside found sample
1480 unsigned int ind = sample_ind;
1481
1482 while (((*m_ticl)[ind]->getInt("TOWER") != tower) && (++ind < m_n_ticl))
1483 {
1484 }
1485
1486 if (ind >= m_n_ticl)
1487 {
1488 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - Unable to find any cell for tower = "
1489 << tower << " in the detector = " << detector << " and sample = " << sample );
1490 return 0;
1491 }
1492 else
1493 {
1494 m_currentTicl = (*m_ticl)[ind];
1495 m_currentTiclInd = ind;
1496 return 1;
1497 }
1498 }
1499 }
1500}
#define sample_ind(r, m, c, i)
const IRDBRecord * m_currentTicl

◆ SetCurrentTicl() [2/2]

int TileDddbManager::SetCurrentTicl ( unsigned int index)

Definition at line 1502 of file TileDddbManager.cxx.

1503{
1504 if (index >= m_n_ticl)
1505 {
1506 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTicl() - The requested index = " << index << " out of range." );
1507 return 0;
1508 }
1509 else
1510 {
1511 m_currentTicl = (*m_ticl)[index];
1513 return 1;
1514 }
1515}

◆ SetCurrentTifg()

int TileDddbManager::SetCurrentTifg ( int section)

Definition at line 1258 of file TileDddbManager.cxx.

1259{
1260 unsigned int ind = 0;
1261
1262 while (((*m_tifg)[ind]->getInt("SECTION") != section) && (++ind < m_n_tifg))
1263 {
1264 }
1265
1266 if (ind >= m_n_tifg)
1267 {
1268 ATH_MSG_DEBUG( "TileDddbManager::SetCurrentTifg() - Unable to find the finger, section = " << section );
1269 return 0;
1270 }
1271 else
1272 {
1273 m_currentTifg = (*m_tifg)[ind];
1274 return 1;
1275 }
1276}
const IRDBRecord * m_currentTifg

◆ SetCurrentTypeByIndex()

int TileDddbManager::SetCurrentTypeByIndex ( unsigned int Id)

Definition at line 516 of file TileDddbManager.cxx.

517{
518 if (Id < m_modTypes.size()) {
519 return SetCurrentSection(m_modTypes[Id]);
520 } else {
521 ATH_MSG_ERROR( "TileDddbManager::SetCurrentTypeByIndex() - Type index (" << Id << ") is out of range (" << m_modTypes.size() << ")" );
523 return 0;
524 }
525}

◆ SetCurrentTypeByNumber()

int TileDddbManager::SetCurrentTypeByNumber ( unsigned int Number)

Definition at line 527 of file TileDddbManager.cxx.

528{
529 return SetCurrentSection(Number);
530}

◆ SetFirstTiclInDet()

int TileDddbManager::SetFirstTiclInDet ( int detector)

Definition at line 1517 of file TileDddbManager.cxx.

1518{
1519 unsigned int ind = 0;
1520
1521 // Looking for the first cell of given detector
1522 while (((*m_ticl)[ind]->getInt("DETECTOR") != detector) && (++ind < m_n_ticl))
1523 {
1524 }
1525
1526 if (ind >= m_n_ticl)
1527 return 0; // FAILURE
1528
1529 m_currentTicl = (*m_ticl)[ind];
1530 m_currentTiclInd = ind;
1531 return 1; // SUCCESS
1532
1533}

◆ SetFirstTiclInDetSamp()

int TileDddbManager::SetFirstTiclInDetSamp ( int detector,
double sample )

Definition at line 1535 of file TileDddbManager.cxx.

1536{
1537 unsigned int detector_ind = 0;
1538
1539 // Looking for the first cell of given detector
1540 while (((*m_ticl)[detector_ind]->getInt("DETECTOR") != detector) && (++detector_ind < m_n_ticl))
1541 {
1542 }
1543
1544 if (detector_ind >= m_n_ticl)
1545 return 0; // FAILURE
1546 else
1547 {
1548 // Looking for the first cell in given sample of given detector
1549 unsigned int sample_ind = detector_ind;
1550
1551 while (((*m_ticl)[sample_ind]->getInt("SAMPLE") != sample) && (++sample_ind < m_n_ticl))
1552 {
1553 }
1554
1555 if (sample_ind >= m_n_ticl)
1556 return 0; // FAILURE
1557
1558 m_currentTicl = (*m_ticl)[sample_ind];
1560 return 1; // SUCCESS
1561 }
1562}

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29{
30 m_lvl = lvl;
31}

◆ SetNextTiclInDet()

int TileDddbManager::SetNextTiclInDet ( )

Definition at line 1564 of file TileDddbManager.cxx.

1565{
1566 if (m_currentTiclInd<0) return 0; // FAILURE
1567
1568 int currentDetector = (*m_ticl)[m_currentTiclInd]->getInt("DETECTOR");
1569
1570 if ((++m_currentTiclInd == static_cast<int>(m_n_ticl))||((*m_ticl)[m_currentTiclInd]->getInt("DETECTOR") != currentDetector))
1571 {
1573 return 0; // FAILURE
1574 }
1575
1576 m_currentTicl = (*m_ticl)[m_currentTiclInd];
1577 return 1;
1578}

◆ SetNextTiclInDetSamp()

int TileDddbManager::SetNextTiclInDetSamp ( )

Definition at line 1580 of file TileDddbManager.cxx.

1581{
1582 if (m_currentTiclInd<0) return 0; // FAILURE
1583
1584 int currentDetector = (*m_ticl)[m_currentTiclInd]->getInt("DETECTOR");
1585 float currentSample = (*m_ticl)[m_currentTiclInd]->getInt("SAMPLE");
1586
1587 if ((++m_currentTiclInd == static_cast<int>(m_n_ticl))||
1588 ((*m_ticl)[m_currentTiclInd]->getInt("DETECTOR") != currentDetector)||
1589 ((*m_ticl)[m_currentTiclInd]->getInt("SAMPLE") != currentSample))
1590 {
1592 return 0; // FAILURE
1593 }
1594
1595 m_currentTicl = (*m_ticl)[m_currentTiclInd];
1596 return 1;
1597}

◆ steel()

int TileDddbManager::steel ( ) const
inline

Definition at line 274 of file TileDddbManager.h.

274{ return getSwitch("STEEL",0); }

◆ TICGdr()

double TileDddbManager::TICGdr ( ) const

Definition at line 1376 of file TileDddbManager.cxx.

1377{
1378 if (m_currentTicg)
1379 return m_currentTicg->getDouble("DR");
1380 else
1381 {
1382 ATH_MSG_ERROR( "TileDddbManager::TICGdr() - Current TICG not set, returning -999.9" );
1383 return -999.9;
1384 }
1385}

◆ TICGdx1()

double TileDddbManager::TICGdx1 ( ) const

Definition at line 1387 of file TileDddbManager.cxx.

1388{
1389 if (m_currentTicg)
1390 return m_currentTicg->getDouble("DX1");
1391 else
1392 {
1393 ATH_MSG_ERROR( "TileDddbManager::TICGdx1() - Current TICG not set, returning -999.9" );
1394 return -999.9;
1395 }
1396}

◆ TICGdx2()

double TileDddbManager::TICGdx2 ( ) const

Definition at line 1398 of file TileDddbManager.cxx.

1399{
1400 if (m_currentTicg)
1401 return m_currentTicg->getDouble("DX2");
1402 else
1403 {
1404 ATH_MSG_ERROR( "TileDddbManager::TICGdx2() - Current TICG not set, returning -999.9" );
1405 return -999.9;
1406 }
1407}

◆ TICGdz()

double TileDddbManager::TICGdz ( ) const

Definition at line 1420 of file TileDddbManager.cxx.

1421{
1422 if (m_currentTicg)
1423 return m_currentTicg->getDouble("DZ");
1424 else
1425 {
1426 ATH_MSG_ERROR( "TileDddbManager::TICGdz() - Current TICG not set, returning -999.9" );
1427 return -999.9;
1428 }
1429}

◆ TICGitem()

int TileDddbManager::TICGitem ( ) const

Definition at line 1332 of file TileDddbManager.cxx.

1333{
1334 if (m_currentTicg)
1335 return m_currentTicg->getInt("ITEM");
1336 else
1337 {
1338 ATH_MSG_ERROR( "TileDddbManager::TICGitem() - Current TICG not set, returning -999" );
1339 return -999;
1340 }
1341}

◆ TICGmaterial()

int TileDddbManager::TICGmaterial ( ) const

Definition at line 1343 of file TileDddbManager.cxx.

1344{
1345 if (m_currentTicg)
1346 return m_currentTicg->getInt("MATERIAL");
1347 else
1348 {
1349 ATH_MSG_ERROR( "TileDddbManager::TICGmaterial() - Current TICG not set, returning -999" );
1350 return -999;
1351 }
1352}

◆ TICGoff()

double TileDddbManager::TICGoff ( ) const

Definition at line 1409 of file TileDddbManager.cxx.

1410{
1411 if (m_currentTicg)
1412 return m_currentTicg->getDouble("OFF");
1413 else
1414 {
1415 ATH_MSG_ERROR( "TileDddbManager::TICGoff() - Current TICG not set, returning -999.9" );
1416 return -999.9;
1417 }
1418}

◆ TICGrc()

double TileDddbManager::TICGrc ( ) const

Definition at line 1365 of file TileDddbManager.cxx.

1366{
1367 if (m_currentTicg)
1368 return m_currentTicg->getDouble("RC");
1369 else
1370 {
1371 ATH_MSG_ERROR( "TileDddbManager::TICGrc() - Current TICG not set, returning -999.9" );
1372 return -999.9;
1373 }
1374}

◆ TICGshape()

int TileDddbManager::TICGshape ( ) const

Definition at line 1354 of file TileDddbManager.cxx.

1355{
1356 if (m_currentTicg)
1357 return m_currentTicg->getInt("SHAPE");
1358 else
1359 {
1360 ATH_MSG_ERROR( "TileDddbManager::TICGshape() - Current TICG not set, returning -999" );
1361 return -999;
1362 }
1363}

◆ TICGzc()

double TileDddbManager::TICGzc ( ) const

Definition at line 1431 of file TileDddbManager.cxx.

1432{
1433 if (m_currentTicg)
1434 return m_currentTicg->getDouble("ZC");
1435 else
1436 {
1437 ATH_MSG_ERROR( "TileDddbManager::TICGzc() - Current TICG not set, returning -999.9" );
1438 return -999.9;
1439 }
1440}

◆ TICLdeta()

double TileDddbManager::TICLdeta ( ) const

Definition at line 1654 of file TileDddbManager.cxx.

1655{
1656 if (m_currentTicl)
1657 return m_currentTicl->getDouble("DETA");
1658 else
1659 {
1660 ATH_MSG_ERROR( "TileDddbManager::TICLdeta() - Current TICL not set, returning -999.9" );
1661 return -999.9;
1662 }
1663}

◆ TICLdetector()

int TileDddbManager::TICLdetector ( ) const

Definition at line 1599 of file TileDddbManager.cxx.

1600{
1601 if (m_currentTicl)
1602 return m_currentTicl->getInt("DETECTOR");
1603 else
1604 {
1605 ATH_MSG_ERROR( "TileDddbManager::TICLdetector() - Current TICL not set, returning -999" );
1606 return -999;
1607 }
1608}

◆ TICLeta()

double TileDddbManager::TICLeta ( ) const

Definition at line 1643 of file TileDddbManager.cxx.

1644{
1645 if (m_currentTicl)
1646 return m_currentTicl->getDouble("ETA");
1647 else
1648 {
1649 ATH_MSG_ERROR( "TileDddbManager::TICLeta() - Current TICL not set, returning -999.9" );
1650 return -999.9;
1651 }
1652}

◆ TICLfirstrow()

double TileDddbManager::TICLfirstrow ( ) const

Definition at line 1665 of file TileDddbManager.cxx.

1666{
1667 if (m_currentTicl)
1668 return m_currentTicl->getInt("FIRSTROW");
1669 else
1670 {
1671 ATH_MSG_ERROR( "TileDddbManager::TICLfirstrow() - Current TICL not set, returning -999.9" );
1672 return -999.9;
1673 }
1674}

◆ TICLholes()

double TileDddbManager::TICLholes ( unsigned int ind) const

Definition at line 1709 of file TileDddbManager.cxx.

1710{
1711 if (m_currentTicl)
1712 return m_currentTicl->getInt("HOLES",ind);
1713 else
1714 {
1715 ATH_MSG_ERROR( "TileDddbManager::TICLholes() - Current TICL not set, returning 9999" );
1716 return 9999;
1717 }
1718}

◆ TICLlastrow()

double TileDddbManager::TICLlastrow ( ) const

Definition at line 1676 of file TileDddbManager.cxx.

1677{
1678 if (m_currentTicl)
1679 return m_currentTicl->getInt("LASTROW");
1680 else
1681 {
1682 ATH_MSG_ERROR( "TileDddbManager::TICLlastrow() - Current TICL not set, returning -999.9" );
1683 return -999.9;
1684 }
1685}

◆ TICLncell()

double TileDddbManager::TICLncell ( ) const

Definition at line 1610 of file TileDddbManager.cxx.

1611{
1612 if (m_currentTicl)
1613 return m_currentTicl->getInt("NCELL");
1614 else
1615 {
1616 ATH_MSG_ERROR( "TileDddbManager::TICLncell() - Current TICL not set, returning -999.9" );
1617 return -999.9;
1618 }
1619}

◆ TICLnpmt()

double TileDddbManager::TICLnpmt ( ) const

Definition at line 1698 of file TileDddbManager.cxx.

1699{
1700 if (m_currentTicl)
1701 return m_currentTicl->getInt("NPMT");
1702 else
1703 {
1704 ATH_MSG_ERROR( "TileDddbManager::TICLnpmt() - Current TICL not set, returning -999.9" );
1705 return -999.9;
1706 }
1707}

◆ TICLntilesrow()

double TileDddbManager::TICLntilesrow ( unsigned int ind) const

Definition at line 1687 of file TileDddbManager.cxx.

1688{
1689 if (m_currentTicl)
1690 return m_currentTicl->getInt("NTILESROW",ind);
1691 else
1692 {
1693 ATH_MSG_ERROR( "TileDddbManager::TICLntilesrow() - Current TICL not set, returning 9999" );
1694 return 9999;
1695 }
1696}

◆ TICLsample()

double TileDddbManager::TICLsample ( ) const

Definition at line 1632 of file TileDddbManager.cxx.

1633{
1634 if (m_currentTicl)
1635 return m_currentTicl->getInt("SAMPLE");
1636 else
1637 {
1638 ATH_MSG_ERROR( "TileDddbManager::TICLsample() - Current TICL not set, returning -999.9" );
1639 return -999.9;
1640 }
1641}

◆ TICLtower()

double TileDddbManager::TICLtower ( ) const

Definition at line 1621 of file TileDddbManager.cxx.

1622{
1623 if (m_currentTicl)
1624 return m_currentTicl->getInt("TOWER");
1625 else
1626 {
1627 ATH_MSG_ERROR( "TileDddbManager::TICLtower() - Current TICL not set, returning -999.9" );
1628 return -999.9;
1629 }
1630}

◆ TIFGdz()

double TileDddbManager::TIFGdz ( ) const

Definition at line 1300 of file TileDddbManager.cxx.

1301{
1302 if (m_currentTifg)
1303 return m_currentTifg->getDouble("DZ");
1304 else
1305 {
1306 ATH_MSG_ERROR( "TileDddbManager::TIFGdz() - Current TIFG not set, returning -999.9" );
1307 return -999.9;
1308 }
1309}

◆ TIFGnelem()

int TileDddbManager::TIFGnelem ( ) const

Definition at line 1289 of file TileDddbManager.cxx.

1290{
1291 if (m_currentTifg)
1292 return m_currentTifg->getInt("NELEM");
1293 else
1294 {
1295 ATH_MSG_ERROR( "TileDddbManager::TIFGnelem() - Current TIFG not set, returning -999" );
1296 return -999;
1297 }
1298}

◆ TIFGsection()

int TileDddbManager::TIFGsection ( ) const

Definition at line 1278 of file TileDddbManager.cxx.

1279{
1280 if (m_currentTifg)
1281 return m_currentTifg->getInt("SECTION");
1282 else
1283 {
1284 ATH_MSG_ERROR( "TileDddbManager::TIFGsection() - Current TIFG not set, returning -999" );
1285 return -999;
1286 }
1287}

◆ TIGRdr()

double TileDddbManager::TIGRdr ( ) const

Definition at line 1224 of file TileDddbManager.cxx.

1225{
1226 if (m_currentGird)
1227 return m_currentGird->getDouble("DR");
1228 else
1229 {
1230 ATH_MSG_ERROR( "TileDddbManager::TIGRdr() - Current Girder element not set, returning -999.9" );
1231 return -999.9;
1232 }
1233}

◆ TIGRdw()

double TileDddbManager::TIGRdw ( ) const

Definition at line 1235 of file TileDddbManager.cxx.

1236{
1237 if (m_currentGird)
1238 return m_currentGird->getDouble("DW");
1239 else
1240 {
1241 ATH_MSG_ERROR( "TileDddbManager::TIGRdw() - Current Girder element not set, returning -999.9" );
1242 return -999.9;
1243 }
1244}

◆ TIGRitem()

int TileDddbManager::TIGRitem ( ) const

Definition at line 1191 of file TileDddbManager.cxx.

1192{
1193 if (m_currentGird)
1194 return m_currentGird->getInt("ITEM");
1195 else
1196 {
1197 ATH_MSG_ERROR( "TileDddbManager::TIGRitem() - Current Girder element not set, returning -999" );
1198 return -999;
1199 }
1200}

◆ TIGRmaterial()

int TileDddbManager::TIGRmaterial ( ) const

Definition at line 1202 of file TileDddbManager.cxx.

1203{
1204 if (m_currentGird)
1205 return m_currentGird->getInt("MATERIAL");
1206 else
1207 {
1208 ATH_MSG_ERROR( "TileDddbManager::TIGRmaterial() - Current Girder element not set, returning -999" );
1209 return -999;
1210 }
1211}

◆ TIGRoff()

double TileDddbManager::TIGRoff ( ) const

Definition at line 1246 of file TileDddbManager.cxx.

1247{
1248 if (m_currentGird)
1249 return m_currentGird->getDouble("OFF");
1250 else
1251 {
1252 ATH_MSG_ERROR( "TileDddbManager::TIGRoff() - Current Girder element not set, returning -999.9" );
1253 return -999.9;
1254 }
1255}

◆ TIGRrc()

double TileDddbManager::TIGRrc ( ) const

Definition at line 1213 of file TileDddbManager.cxx.

1214{
1215 if (m_currentGird)
1216 return m_currentGird->getDouble("RC");
1217 else
1218 {
1219 ATH_MSG_ERROR( "TileDddbManager::TIGRrc() - Current Girder element not set, returning -999.9" );
1220 return -999.9;
1221 }
1222}

◆ TILBcurscint()

int TileDddbManager::TILBcurscint ( ) const

Definition at line 877 of file TileDddbManager.cxx.

878{
879 if (m_currentSection) {
880 if (m_currentSection->isFieldNull("CURSCINT"))
881 return 0;
882 else
883 return m_currentSection->getInt("CURSCINT");
884 }
885 else {
886 ATH_MSG_ERROR( "TileDddbManager::TILBcurscint() - Current Section not set, returning -999" );
887 return -999;
888 }
889}

◆ TILBdrfront()

double TileDddbManager::TILBdrfront ( ) const

Definition at line 689 of file TileDddbManager.cxx.

690{
691 if (m_currentSection) {
692 return m_currentSection->getDouble("DRFRONT");
693 }
694 else {
695 ATH_MSG_ERROR( "TileDddbManager::TILBdrfront() - Current Section not set, returning -999.9" );
696 return -999.9;
697 }
698}

◆ TILBdzend()

double TileDddbManager::TILBdzend ( ) const

Definition at line 700 of file TileDddbManager.cxx.

701{
702 if (m_currentSection) {
703 return m_currentSection->getDouble("DZEND");
704 }
705 else {
706 ATH_MSG_ERROR( "TileDddbManager::TILBdzend() - Current Section not set, returning -999.9" );
707 return -999.9;
708 }
709}

◆ TILBdzend1()

double TileDddbManager::TILBdzend1 ( ) const

Definition at line 799 of file TileDddbManager.cxx.

800{
801 if (m_currentSection) {
802 return m_currentSection->getDouble("DZEND1");
803 }
804 else {
805 ATH_MSG_ERROR( "TileDddbManager::TILBdzend1() - Current Section not set, returning -999.9" );
806 return -999.9;
807 }
808}

◆ TILBdzend2()

double TileDddbManager::TILBdzend2 ( ) const

Definition at line 810 of file TileDddbManager.cxx.

811{
812 if (m_currentSection) {
813 return m_currentSection->getDouble("DZEND2");
814 }
815 else {
816 ATH_MSG_ERROR( "TileDddbManager::TILBdzend2() - Current Section not set, returning -999.9" );
817 return -999.9;
818 }
819}

◆ TILBdzgir()

double TileDddbManager::TILBdzgir ( ) const

Definition at line 891 of file TileDddbManager.cxx.

892{
893 if (m_currentSection) {
894 return m_currentSection->getDouble("DZGIR");
895 }
896 else {
897 ATH_MSG_ERROR( "TileDddbManager::TILBdzgir() - Current Section not set, returning -999" );
898 return -999;
899 }
900}

◆ TILBdzmast()

double TileDddbManager::TILBdzmast ( ) const

Definition at line 777 of file TileDddbManager.cxx.

778{
779 if (m_currentSection) {
780 return m_currentSection->getDouble("DZMAST");
781 }
782 else {
783 ATH_MSG_ERROR( "TileDddbManager::TILBdzmast() - Current Section not set, returning -999.9" );
784 return -999.9;
785 }
786}

◆ TILBdzmodul()

double TileDddbManager::TILBdzmodul ( ) const

Definition at line 766 of file TileDddbManager.cxx.

767{
768 if (m_currentSection) {
769 return m_currentSection->getDouble("DZMODUL");
770 }
771 else {
772 ATH_MSG_ERROR( "TileDddbManager::TILBdzmodul() - Current Section not set, returning -999.9" );
773 return -999.9;
774 }
775}

◆ TILBdzperio()

double TileDddbManager::TILBdzperio ( ) const

Definition at line 678 of file TileDddbManager.cxx.

679{
680 if (m_currentSection) {
681 return m_currentSection->getDouble("DZPERIO");
682 }
683 else {
684 ATH_MSG_ERROR( "TileDddbManager::TILBdzperio() - Current Section not set, returning -999.9" );
685 return -999.9;
686 }
687}

◆ TILBdzspac()

double TileDddbManager::TILBdzspac ( ) const

Definition at line 788 of file TileDddbManager.cxx.

789{
790 if (m_currentSection) {
791 return m_currentSection->getDouble("DZSPAC");
792 }
793 else {
794 ATH_MSG_ERROR( "TileDddbManager::TILBdzspac() - Current Section not set, returning -999.9" );
795 return -999.9;
796 }
797}

◆ TILBfingpattern()

int TileDddbManager::TILBfingpattern ( ) const

Definition at line 843 of file TileDddbManager.cxx.

844{
845 if (m_currentSection) {
846 return m_currentSection->getInt("FINGPATTERN");
847 }
848 else {
849 ATH_MSG_ERROR( "TileDddbManager::TILBfingpattern() - Current Section not set, returning -999" );
850 return -999;
851 }
852}

◆ TILBflangex()

double TileDddbManager::TILBflangex ( ) const

Definition at line 711 of file TileDddbManager.cxx.

712{
713 if (m_currentSection) {
714 return m_currentSection->getDouble("FLANGEX");
715 }
716 else {
717 ATH_MSG_ERROR( "TileDddbManager::TILBflangex() - Current Section not set, returning -999.9" );
718 return -999.9;
719 }
720}

◆ TILBflangey()

double TileDddbManager::TILBflangey ( ) const

Definition at line 722 of file TileDddbManager.cxx.

723{
724 if (m_currentSection) {
725 return m_currentSection->getDouble("FLANGEY");
726 }
727 else {
728 ATH_MSG_ERROR( "TileDddbManager::TILBflangey() - Current Section not set, returning -999.9" );
729 return -999.9;
730 }
731}

◆ TILBisci_st()

double TileDddbManager::TILBisci_st ( ) const

Definition at line 755 of file TileDddbManager.cxx.

756{
757 if (m_currentSection) {
758 return m_currentSection->getInt("ISCI_ST");
759 }
760 else {
761 ATH_MSG_ERROR( "TileDddbManager::TILBisci_st() - Current Section not set, returning -999.9" );
762 return -999.9;
763 }
764}

◆ TILBngirder()

int TileDddbManager::TILBngirder ( ) const

Definition at line 821 of file TileDddbManager.cxx.

822{
823 if (m_currentSection) {
824 return m_currentSection->getInt("NGIRDER");
825 }
826 else {
827 ATH_MSG_ERROR( "TileDddbManager::TILBngirder() - Current Section not set, returning -999" );
828 return -999;
829 }
830}

◆ TILBnmodul()

int TileDddbManager::TILBnmodul ( ) const

Definition at line 623 of file TileDddbManager.cxx.

624{
625 if (m_currentSection) {
626 return m_currentSection->getInt("NMODUL");
627 }
628 else {
629 ATH_MSG_ERROR( "TileDddbManager::TILBnmodul() - Current Section not set, returning -999" );
630 return -999;
631 }
632}

◆ TILBnpercutneg()

int TileDddbManager::TILBnpercutneg ( ) const

Definition at line 865 of file TileDddbManager.cxx.

866{
867 if (m_currentSection) {
868 return m_currentSection->getInt("NPERCUTNEG");
869 }
870 else {
871 ATH_MSG_ERROR( "TileDddbManager::TILBnpercutneg() - Current Section not set, returning -999" );
872 return -999;
873 }
874}

◆ TILBnpercutpos()

int TileDddbManager::TILBnpercutpos ( ) const

Definition at line 854 of file TileDddbManager.cxx.

855{
856 if (m_currentSection) {
857 return m_currentSection->getInt("NPERCUTPOS");
858 }
859 else {
860 ATH_MSG_ERROR( "TileDddbManager::TILBnpercutpos() - Current Section not set, returning -999" );
861 return -999;
862 }
863}

◆ TILBnperiod()

int TileDddbManager::TILBnperiod ( ) const

Definition at line 612 of file TileDddbManager.cxx.

613{
614 if (m_currentSection) {
615 return m_currentSection->getInt("NPERIOD");
616 }
617 else {
618 ATH_MSG_ERROR( "TileDddbManager::TILBnperiod() - Current Section not set, returning -999" );
619 return -999;
620 }
621}

◆ TILBnscin()

int TileDddbManager::TILBnscin ( ) const

Definition at line 832 of file TileDddbManager.cxx.

833{
834 if (m_currentSection) {
835 return m_currentSection->getInt("NSCIN");
836 }
837 else {
838 ATH_MSG_ERROR( "TileDddbManager::TILBnscin() - Current Section not set, returning -999" );
839 return -999;
840 }
841}

◆ TILBphigap()

double TileDddbManager::TILBphigap ( ) const

Definition at line 744 of file TileDddbManager.cxx.

745{
746 if (m_currentSection) {
747 return m_currentSection->getDouble("PHIGAP");
748 }
749 else {
750 ATH_MSG_ERROR( "TileDddbManager::TILBphigap() - Current Section not set, returning -999.9" );
751 return -999.9;
752 }
753}

◆ TILBrmax()

double TileDddbManager::TILBrmax ( ) const

Definition at line 645 of file TileDddbManager.cxx.

646{
647 if (m_currentSection) {
648 return m_currentSection->getDouble("RMAX");
649 }
650 else {
651 ATH_MSG_ERROR( "TileDddbManager::TILBrmax() - Current Section not set, returning -999.9" );
652 return -999.9;
653 }
654}

◆ TILBrmaximal()

double TileDddbManager::TILBrmaximal ( ) const

Definition at line 667 of file TileDddbManager.cxx.

668{
669 if (m_currentSection) {
670 return m_currentSection->getDouble("RMAXIMAL");
671 }
672 else {
673 ATH_MSG_ERROR( "TileDddbManager::TILBrmaximal() - Current Section not set, returning -999.9" );
674 return -999.9;
675 }
676}

◆ TILBrmin()

double TileDddbManager::TILBrmin ( ) const

Definition at line 634 of file TileDddbManager.cxx.

635{
636 if (m_currentSection) {
637 return m_currentSection->getDouble("RMIN");
638 }
639 else {
640 ATH_MSG_ERROR( "TileDddbManager::TILBrmin() - Current Section not set, returning -999.9" );
641 return -999.9;
642 }
643}

◆ TILBrminimal()

double TileDddbManager::TILBrminimal ( ) const

Definition at line 656 of file TileDddbManager.cxx.

657{
658 if (m_currentSection) {
659 return m_currentSection->getDouble("RMINIMAL");
660 }
661 else {
662 ATH_MSG_ERROR( "TileDddbManager::TILBrminimal() - Current Section not set, returning -999.9" );
663 return -999.9;
664 }
665}

◆ TILBsection()

int TileDddbManager::TILBsection ( ) const

Definition at line 601 of file TileDddbManager.cxx.

602{
603 if (m_currentSection) {
604 return m_currentSection->getInt("SECTION");
605 }
606 else {
607 ATH_MSG_ERROR( "TileDddbManager::TILBsection() - Current Section not set, returning -999" );
608 return -999;
609 }
610}

◆ TILBzoffset()

double TileDddbManager::TILBzoffset ( ) const

Definition at line 733 of file TileDddbManager.cxx.

734{
735 if (m_currentSection) {
736 return m_currentSection->getDouble("ZOFFSET");
737 }
738 else {
739 ATH_MSG_ERROR( "TileDddbManager::TILBzoffset() - Current Section not set, returning -999.9" );
740 return -999.9;
741 }
742}

◆ TILEnmodul()

int TileDddbManager::TILEnmodul ( ) const

Definition at line 83 of file TileDddbManager.cxx.

84{
85 return (*m_tile)[0]->getInt("NMODUL");
86}

◆ TILErmam()

double TileDddbManager::TILErmam ( ) const

Definition at line 93 of file TileDddbManager.cxx.

94{
95 return (*m_tile)[0]->getDouble("RMAM");
96}

◆ TILErmax()

double TileDddbManager::TILErmax ( ) const

Definition at line 108 of file TileDddbManager.cxx.

109{
110 return (*m_tile)[0]->getDouble("RMAX");
111}

◆ TILErmim()

double TileDddbManager::TILErmim ( ) const

Definition at line 88 of file TileDddbManager.cxx.

89{
90 return (*m_tile)[0]->getDouble("RMIM");
91}

◆ TILErmin()

double TileDddbManager::TILErmin ( ) const

Definition at line 103 of file TileDddbManager.cxx.

104{
105 return (*m_tile)[0]->getDouble("RMIN");
106}

◆ TILEzmam()

double TileDddbManager::TILEzmam ( ) const

Definition at line 98 of file TileDddbManager.cxx.

99{
100 return (*m_tile)[0]->getDouble("ZMAM");
101}

◆ TILEzshift()

double TileDddbManager::TILEzshift ( ) const

Definition at line 113 of file TileDddbManager.cxx.

114{
115 return (*m_tile)[0]->getDouble("ZSHIFT");
116}

◆ uShape()

int TileDddbManager::uShape ( ) const
inline

Definition at line 271 of file TileDddbManager.h.

271{ return getSwitch("USHAPE",0); }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_buildCuts

bool TileDddbManager::m_buildCuts {false}
private

Definition at line 329 of file TileDddbManager.h.

329{false};

◆ m_buildSaddle

bool TileDddbManager::m_buildSaddle {false}
private

Definition at line 330 of file TileDddbManager.h.

330{false};

◆ m_currentCuts

const IRDBRecord* TileDddbManager::m_currentCuts {nullptr}
private

Definition at line 316 of file TileDddbManager.h.

316{nullptr};

◆ m_currentGird

const IRDBRecord* TileDddbManager::m_currentGird {nullptr}
private

Definition at line 311 of file TileDddbManager.h.

311{nullptr};

◆ m_currentSaddle

const IRDBRecord* TileDddbManager::m_currentSaddle {nullptr}
private

Definition at line 317 of file TileDddbManager.h.

317{nullptr};

◆ m_currentScin

const IRDBRecord* TileDddbManager::m_currentScin {nullptr}
private

Definition at line 312 of file TileDddbManager.h.

312{nullptr};

◆ m_currentSection

const IRDBRecord* TileDddbManager::m_currentSection {nullptr}
private

Definition at line 310 of file TileDddbManager.h.

310{nullptr};

◆ m_currentTicg

const IRDBRecord* TileDddbManager::m_currentTicg {nullptr}
private

Definition at line 314 of file TileDddbManager.h.

314{nullptr};

◆ m_currentTicl

const IRDBRecord* TileDddbManager::m_currentTicl {nullptr}
private

Definition at line 315 of file TileDddbManager.h.

315{nullptr};

◆ m_currentTiclInd

int TileDddbManager::m_currentTiclInd {-1}
private

Definition at line 319 of file TileDddbManager.h.

319{-1}; // Index of current TICL structure

◆ m_currentTifg

const IRDBRecord* TileDddbManager::m_currentTifg {nullptr}
private

Definition at line 313 of file TileDddbManager.h.

313{nullptr};

◆ m_currentTileGlob

const IRDBRecord* TileDddbManager::m_currentTileGlob {nullptr}
private

Definition at line 308 of file TileDddbManager.h.

308{nullptr};

◆ m_currentTileMod

const IRDBRecord* TileDddbManager::m_currentTileMod {nullptr}
private

Definition at line 309 of file TileDddbManager.h.

309{nullptr};

◆ m_cuts

IRDBRecordset_ptr TileDddbManager::m_cuts
private

Definition at line 288 of file TileDddbManager.h.

◆ m_EnvBegin

unsigned int TileDddbManager::m_EnvBegin {0}
private

Definition at line 303 of file TileDddbManager.h.

303{0};

◆ m_EnvNum

unsigned int TileDddbManager::m_EnvNum {0}
private

Definition at line 301 of file TileDddbManager.h.

301{0};

◆ m_EnvSize

unsigned int TileDddbManager::m_EnvSize {0}
private

Definition at line 302 of file TileDddbManager.h.

302{0};

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

135{ nullptr };

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

138{ MSG::NIL };

◆ m_modTypes

std::vector<unsigned int> TileDddbManager::m_modTypes
private

Definition at line 326 of file TileDddbManager.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_n_cuts

unsigned int TileDddbManager::m_n_cuts {0}
private

Definition at line 304 of file TileDddbManager.h.

304{0};

◆ m_n_saddle

unsigned int TileDddbManager::m_n_saddle {0}
private

Definition at line 305 of file TileDddbManager.h.

305{0};

◆ m_n_scnt

unsigned int TileDddbManager::m_n_scnt {0}
private

Definition at line 297 of file TileDddbManager.h.

297{0};

◆ m_n_ticg

unsigned int TileDddbManager::m_n_ticg {0}
private

Definition at line 299 of file TileDddbManager.h.

299{0};

◆ m_n_ticl

unsigned int TileDddbManager::m_n_ticl {0}
private

Definition at line 300 of file TileDddbManager.h.

300{0};

◆ m_n_tifg

unsigned int TileDddbManager::m_n_tifg {0}
private

Definition at line 298 of file TileDddbManager.h.

298{0};

◆ m_n_tiglob

unsigned int TileDddbManager::m_n_tiglob {0}
private

Definition at line 293 of file TileDddbManager.h.

293{0};

◆ m_n_tigr

unsigned int TileDddbManager::m_n_tigr {0}
private

Definition at line 296 of file TileDddbManager.h.

296{0};

◆ m_n_tilb

unsigned int TileDddbManager::m_n_tilb {0}
private

Definition at line 295 of file TileDddbManager.h.

295{0};

◆ m_n_tileSwitches

unsigned int TileDddbManager::m_n_tileSwitches
private

Definition at line 306 of file TileDddbManager.h.

◆ m_n_timod

unsigned int TileDddbManager::m_n_timod {0}
private

Definition at line 294 of file TileDddbManager.h.

294{0};

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_node

std::string TileDddbManager::m_node {}
private

Definition at line 322 of file TileDddbManager.h.

322{};

◆ m_saddle

IRDBRecordset_ptr TileDddbManager::m_saddle
private

Definition at line 289 of file TileDddbManager.h.

◆ m_scnt

IRDBRecordset_ptr TileDddbManager::m_scnt
private

Definition at line 284 of file TileDddbManager.h.

◆ m_sqliteInput

bool TileDddbManager::m_sqliteInput {}
private

Definition at line 324 of file TileDddbManager.h.

324{};

◆ m_tag

std::string TileDddbManager::m_tag {}
private

Definition at line 321 of file TileDddbManager.h.

321{};

◆ m_ticg

IRDBRecordset_ptr TileDddbManager::m_ticg
private

Definition at line 286 of file TileDddbManager.h.

◆ m_ticl

IRDBRecordset_ptr TileDddbManager::m_ticl
private

Definition at line 287 of file TileDddbManager.h.

◆ m_tifg

IRDBRecordset_ptr TileDddbManager::m_tifg
private

Definition at line 285 of file TileDddbManager.h.

◆ m_tiglob

IRDBRecordset_ptr TileDddbManager::m_tiglob
private

Definition at line 279 of file TileDddbManager.h.

◆ m_tigr

IRDBRecordset_ptr TileDddbManager::m_tigr
private

Definition at line 283 of file TileDddbManager.h.

◆ m_tilb

IRDBRecordset_ptr TileDddbManager::m_tilb
private

Definition at line 282 of file TileDddbManager.h.

◆ m_tile

IRDBRecordset_ptr TileDddbManager::m_tile
private

Definition at line 281 of file TileDddbManager.h.

◆ m_tileSwitches

IRDBRecordset_ptr TileDddbManager::m_tileSwitches
private

Definition at line 290 of file TileDddbManager.h.

◆ m_timod

IRDBRecordset_ptr TileDddbManager::m_timod
private

Definition at line 280 of file TileDddbManager.h.


The documentation for this class was generated from the following files: