#include "GaudiKernel/SvcFactory.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/IMessageSvc.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "GaudiKernel/MsgStream.h"
#include "DetDesc/IGeometryInfo.h"
#include "DetDesc/IDetectorElement.h"
#include "DetDesc/IntersectionErrors.h"
#include "TransportSvc.h"
#include "boost/format.hpp"
#include "TransportSvcDistanceInRadUnits.h"
#include "TransportSvcFindLocalGI.h"
#include "TransportSvcGoodLocalGI.h"
#include "TransportSvcIntersections.h"
Include dependency graph for TransportSvc.cpp:
Go to the source code of this file.
Functions | |
std::string | logVol (const std::string &name, const unsigned int len, const std::string &prefix="/dd/Geometry/") |
Definition in file TransportSvc.cpp.
std::string @1::logVol | ( | const std::string & | name, | |
const unsigned int | len, | |||
const std::string & | prefix = "/dd/Geometry/" | |||
) | [inline, static] |
Definition at line 39 of file TransportSvc.cpp.
00042 { 00043 std::string::size_type pos = name.find ( prefix ) ; 00044 if ( 0 == pos ) 00045 { return logVol ( std::string ( name , pos + prefix.size() ) , len , prefix ) ; } 00046 if ( len < name.size () ) 00047 { 00048 const unsigned int p = name.size() - len ; 00049 return std::string ( name , p ) ; 00050 } 00051 return name ; 00052 }