|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   25         std::unique_lock 
l (
ptr.m_mutex);
 
   28         if (
ptr.m_ptr == 
this)
 
   34         const EventContext& ctx = Gaudi::Hive::currentContext();
 
   35         if (ctx.slot() == EventContext::INVALID_CONTEXT_ID) {
 
   36           EventContext ctx2 (0, 0);
 
   37           return *ptrs.get(ctx2);
 
   39         return *ptrs.get(ctx);
 
   44         std::unique_lock 
l (
ptr.m_mutex);
 
   56             return it->second.get();
 
   66             return it->second.get();
 
   79             p = (*(
st->FindPosition(zi, fi))).second;
 
   80                 ATH_MSG_VERBOSE( 
" at p.fi,zi " << 
p.phiindex << 
" " << 
p.zindex << 
" shift/z " << 
p.shift << 
" " << 
p.z );
 
  109             return it->second.get();
 
  119             return it->second.get();
 
  126         ATH_MSG_VERBOSE( 
"MYSQL::StoreTechnology /// techn. named " << 
t->GetName() );
 
  130             ATH_MSG_ERROR( 
"MYSQL::StoreTechnology ERROR /// This place is already taken !!! for " << 
t->GetName() );
 
  142         ATH_MSG_VERBOSE( 
"MYSQL::StoreTgcRPars named " << 
s->GetName() << 
" located @ " << 
s << 
" jsta = " << 
s->chamberType() );
 
  167             return it->second.get();
 
  170         for (
unsigned int i = 1; 
i <= 20; 
i++) {
 
  172             sprintf(chindex, 
"%u", 
i);
 
  178                 return it->second.get();
 
  185         std::ostringstream mystream;
 
  187         ATH_MSG_VERBOSE(__FILE__<<
":"<<__LINE__<<
" from " << statType << 
" fi " << fi << 
" zi " << zi << 
" we get as key " << mystream.str() );
 
  188         return mystream.str();
 
  222            throw std::runtime_error(
"AllocPosFIndName() -- Bad key");
 
  249         int value = (*it).second;
 
  250         int cutout = 
static_cast<int>(
value % 100);
 
  278                             << 
" resetting to <" << 
s << 
">" );
 
  294                 << 
" resetting to <" << 
s << 
">" );
 
  311         ATH_MSG_ERROR(
"MYSQL::allocPosFindCutout for key  " << 
key << 
" no element found" );
 
  321         ATH_MSG_ERROR(
"MYSQL::allocPosFindSubtype for key  " << 
key << 
" no element found" );
 
  
void setLayoutName(const std::string &s)
Technology * GetTechnology(const std::string &name)
AllocposIterator AllocposBegin() const
Ensure that the Athena extensions are properly loaded.
int getNovaReadVersion() const
std::map< std::string, int >::const_iterator allocPosIterator
std::map< std::string, int > m_allocPos
CxxUtils::LockedPointer< MYSQL > LockedMYSQL
allocPosIterator allocPosEnd() const
A pointer together with a movable lock.
int allocPosFindSubtype(const std::string &statType, int fi, int zi) const
void setNovaVersion(int i)
const Station * GetStation(const std::string &name) const
const TgcReadParsMap & tgcReadParsMap() const
AllocposIterator AllocposEnd() const
const std::string & getLayoutName() const
TgcReadParsMap m_tgcReadouts
#define ATH_MSG_VERBOSE(x)
int allocPosFindCutout(const std::string &statType, int fi, int zi) const
Position GetStationPosition(const std::string &nameType, int fi, int zi) const
std::atomic_flag m_initialized ATLAS_THREAD_SAFE
Messaging initialized (initMessaging)
std::string m_layout_name
std::string m_geometry_version
void setGeometryVersion(const std::string &s)
Maintain a set of objects, one per slot.
void StoreTgcRPars(GeoModel::TransientConstSharedPtr< TgcReadoutParams > t)
void PrintAllStations() const
void addAllocpos(int i, const std::string &str)
const std::string & getGeometryVersion() const
allocPosIterator allocPosBegin() const
int allocPosBuildValue(int subtype, int cutout) const
Class to provide easy MsgStream access and capabilities.
int NTgcReadTypes() const
void set_amdb_from_RDB(bool)
std::map< int, std::string >::const_iterator AllocposIterator
TechnologyMap m_technologies
std::map< int, std::string > m_allocatedpos
bool amdb_from_RDB() const
AllocposIterator AllocposFind(int) const
static LockedMYSQL GetPointer()
void addallocPos(const std::string &key, int value)
std::array< GeoModel::TransientConstSharedPtr< TgcReadoutParams >, NTgcReadouts > m_tgcReadout
void setNovaReadVersion(int i)
std::map< std::string, GeoModel::TransientConstSharedPtr< TgcReadoutParams > > TgcReadParsMap
void StoreTechnology(Technology *t)
std::map< std::string, std::unique_ptr< Station > > StationMap
#define ATH_MSG_WARNING(x)
const Technology * GetATechnology(const std::string &name) const
allocPosIterator allocPosFind(const std::string &key) const
void StoreStation(Station *s)
int getNovaVersion() const
Maintain a set of objects, one per slot.
GeoModel::TransientConstSharedPtr< TgcReadoutParams > GetTgcRPars(const std::string &name) const
std::string allocPosBuildKey(const std::string &statType, int fi, int zi) const
Define macros for attributes used to control the static checker.
TechnologyMap::const_iterator TechnologyIterator
std::string buildString(int i, int ncha)
static MYSQLPtr & GetMYSQLPtr()
std::string AllocposFindName(int) const
const StationMap & stationMap() const
TgcReadParsMap::const_iterator TgcReadParsIterator
StationMap::const_iterator StationIterator