Report problems to ATLAS LXR Team (with time and IP address indicated)

The LXR Cross Referencer

source navigation ]
diff markup ]
identifier search ]
general search ]
 
 
Architecture: linux ]
Version: head ] [ nightly ] [ GaudiDev ]
  Links to LXR source navigation pages for stable releases [ 12.*.* ]   [ 13.*.* ]   [ 14.*.* ]   [ 15.*.* ] 

001 /***************************************************************************
002  Build the Calorimeter Saddle for MuonGeoModel
003  ---------------------------------------------
004  Copyright (C) 2007 by ATLAS Collaboration
005  ***************************************************************************/
006 
007 //<doc><file>   $Id: CalorimeterSaddleBuilder.cxx,v 1.3 2008-02-27 18:55:57 stefspa Exp $
008 //<version>     $Name: not supported by cvs2svn $
009 
010 //<<<<<< INCLUDES                                                       >>>>>>
011 
012 #include "MuonGeoModel/CalorimeterSaddleBuilder.h"
013 
014 #include "StoreGate/StoreGateSvc.h"
015 #include "AthenaKernel/getMessageSvc.h"
016 
017 #include "RDBAccessSvc/IRDBRecord.h"
018 #include "RDBAccessSvc/IRDBRecordset.h"
019 #include "RDBAccessSvc/IRDBAccessSvc.h"
020 
021 #include "MuonGeoModel/SaddleBoxesBuilder.h"
022 #include "MuonGeoModel/SaddleBrepsBuilder.h"
023 #include "MuonGeoModel/SaddleTubsBuilder.h"
024 
025 //<<<<<< PRIVATE DEFINES                                                >>>>>>
026 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
027 //<<<<<< PRIVATE TYPES                                                  >>>>>>
028 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
029 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
030 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
031 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
032 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
033 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
034 
035 namespace MuonGM {
036 
037 CalorimeterSaddleBuilder::CalorimeterSaddleBuilder( StoreGateSvc  *pDetStore,
038                                     IRDBAccessSvc *pRDBAccess, 
039                                     std::string    geoTag,
040                                     std::string    geoNode)     :
041     m_pRDBAccess(pRDBAccess), 
042     m_pDetStore (pDetStore)
043 {
044   m_msgSvc = Athena::getMessageSvc();
045   MsgStream log(m_msgSvc, "MuGM:CalorimeterSaddleBuilder" );
046   log  <<  MSG::INFO  <<  "Fetching data with tag <"  <<  geoTag  <<"> node <"<<geoNode<<">" <<  endreq;
047 
048   //here should follows lines like the following, where m_Jdsh must be defined in the include 
049   //m_Jdsh = pRDBAccess->getRecordset( "JDSH",geoTag, geoNode);
050   //if (m_Jdsh->size() == 0 ) 
051   //{
052   //    log<<MSG::WARNING<<"Table JDSH not found in tag <"  <<  geoTag <<  ">"  <<" reading table JDSH-00" <<endreq;
053   //}  
054 
055 
056   m_saddleBoxesBuilder = new SaddleBoxesBuilder(pDetStore,
057                                                 pRDBAccess, 
058                                                 geoTag,
059                                                 geoNode);
060   m_saddleBrepsBuilder = new SaddleBrepsBuilder(pDetStore,
061                                                 pRDBAccess, 
062                                                 geoTag,
063                                                 geoNode);
064   m_saddleTubsBuilder = new SaddleTubsBuilder(pDetStore,
065                                               pRDBAccess, 
066                                               geoTag,
067                                               geoNode);
068   
069 }
070 
071 void 
072 CalorimeterSaddleBuilder::build( GeoPhysVol* container )
073 {
074     // here do something to build whatYouHaveBuilt
075 
076     MsgStream log(m_msgSvc, "MuGM:CalorimeterSaddleBuilder" );
077 
078     if (m_saddleBoxesBuilder->unavailableData() || m_saddleBrepsBuilder->unavailableData() || m_saddleTubsBuilder->unavailableData()) 
079     {
080         log<<MSG::WARNING<<"No Data available in the DB for the CalorimeterSaddle "<<endreq;
081         return;
082     }
083     log<<MSG::DEBUG<<"Building the CalorimeterSaddle "<<endreq;
084     m_saddleBoxesBuilder->buildSaddleBoxes(container);
085     m_saddleBrepsBuilder->buildSaddleBreps(container);
086     m_saddleTubsBuilder->buildSaddleTubs(container);
087     
088     return;
089 }
090 }

source navigation ] diff markup ] identifier search ] general search ]

Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems
This page was automatically generated by the LXR engine. Valid HTML 4.01!