| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

TransportSvc.cpp File Reference

implementation of class TransportSvc More...

#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/")

Detailed Description

implementation of class TransportSvc

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu

Definition in file TransportSvc.cpp.


Function Documentation

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   }

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:02:43 2011 for DetDescSvc by doxygen 1.4.7