DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
DD4hep Namespace Reference

Namespace for the AIDA detector description toolkit. More...

Namespaces

 Alignments
 Namespace for the alignment part of the AIDA detector description toolkit.
 
 Conditions
 Namespace for the conditions part of the AIDA detector description toolkit.
 
 DDAlign
 Namespace for the AIDA detector description toolkit supporting XML utilities.
 
 DDEve
 Namespace for the DD4hep event display specializations.
 
 DDRec
 Namespace for the reconstruction part of the AIDA detector description toolkit.
 
 DDSegmentation
 Namespace for base segmentations.
 
 Errors
 Utility namespace: Errors.
 
 Geometry
 Namespace for the geometry part of the AIDA detector description toolkit.
 
 Parsers
 Namespace for the AIDA detector for utilities using boost::spirit parsers.
 
 Simulation
 Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
 
 Utilities
 
 Utils
 Utility namespace to support boost::spirit.
 
 XML
 Namespace containing utilities to parse XML files using XercesC or TinyXML.
 

Classes

class  BasicGrammar
 Base class describing string evaluation to C++ objects using boost::spirit. More...
 
class  Grammar
 Concrete type dependent grammar definition. More...
 
class  Callback
 Definition of the generic callback structure for member functions. More...
 
struct  CallbackSequence
 Definition of an actor on sequences of callbacks. More...
 
class  PropertyConfigurator
 Heler class to configure properties. More...
 
class  PropertyGrammar
 Class describing the grammar representation of a given data type. More...
 
class  Property
 The property class to assign options to actions. More...
 
class  PropertyValue
 Concrete template instantiation of a combined property value pair. More...
 
class  PropertyManager
 Manager to ease the handling of groups of properties. More...
 
class  PropertyConfigurable
 Property object as base class for all objects supporting properties. More...
 
class  DD4hepUI
 ROOT interactive UI for DD4hep applications. More...
 
class  DetType
 
struct  unrelated_type_error
 Exception class to signal operations on unrelated classes. More...
 
struct  unrelated_value_error
 Exception class to signal operations on unrelated types of values. More...
 
class  ConstructionFactory
 Template class with a generic constructor signature. More...
 
class  LCDDConstructionFactory
 
class  SegmentationFactory
 
class  ApplyFactory
 Template class with a generic signature to apply LCDD plugins. More...
 
class  TranslationFactory
 Specialized factory to translate objects, which can be retrieved from LCDD. More...
 
class  XMLElementFactory
 Create an arbitrary object from it's XML representation. More...
 
class  XMLDocumentReaderFactory
 Read an arbitrary XML document and analyze it's content. More...
 
class  XMLConversionFactory
 Read an arbitrary XML document and analyze it's content. More...
 
class  DetElementFactory
 Standard factory to create Detector elements from the compact XML representation. More...
 
class  Handle
 Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects. More...
 
class  DestroyHandle
 Functor to destroy handles and delete the cached object. More...
 
class  DestroyHandles
 map Functor to destroy handles and delete the cached object More...
 
class  ReleaseHandle
 Functor to destroy handles and delete the cached object. More...
 
class  ReleaseHandles
 map Functor to release handles More...
 
struct  InstanceCount
 Helper to support object counting when debugging memory leaks. More...
 
struct  Increment
 Helper class to count call stack depths of certain functions. More...
 
class  IOVType
 Class describing the interval of validty type. More...
 
class  IOV
 Class describing the interval of validty. More...
 
class  LCDDLoad
 Data implementation class of the LCDD interface. More...
 
class  dd4hep_ptr
 Out version of the std auto_ptr implementation base either on auto_ptr or unique_ptr. More...
 
struct  dd4hep_mutex_t
 
struct  dd4hep_lock_t
 
class  NamedObject
 Implementation of a named object. More...
 
class  ObjectExtensions
 Implementation of an object supporting arbitrary user extensions. More...
 
class  OpaqueData
 Class describing an opaque data block. More...
 
class  OpaqueDataBlock
 Class describing an opaque conditions data block. More...
 
struct  ValueBinder
 Helper class to bind string values to C++ data objects (primitive or complex) More...
 
struct  VectorBinder
 Helper class to bind string values to a STL vector of data objects (primitive or complex) More...
 
struct  ListBinder
 Helper class to bind string values to a STL list of data objects (primitive or complex) More...
 
struct  SetBinder
 Helper class to bind string values to a STL set of data objects (primitive or complex) More...
 
struct  MapBinder
 Helper class to bind STL map objects. More...
 
class  OpaqueDataBinder
 Helper class to bind string values to C++ data items. More...
 
class  ByName
 Helper functor to select elements by name (using name() member method) More...
 
class  ByNameAttr
 Helper functor to select elements by name (using name member variable) More...
 
class  Path
 Path handling class. More...
 
struct  PluginFactoryBase
 Factory base class implementing some utilities. More...
 
struct  PluginDebug
 Helper to debug plugin manager calls. More...
 
class  PluginService
 Factory template for the plugin mechanism. More...
 
class  PluginRegistry
 Factory template for the plugin mechanism. More...
 
class  PluginTester
 
class  invalid_handle_exception
 Specialized exception to be thrown if invalid handles are accessed. More...
 
struct  Primitive
 A bit of support for printing primitives. More...
 
class  ComponentCast
 Class to perform dynamic casts using unknown pointers. More...
 
class  DestroyObject
 Functor to delete objects from heap and reset the pointer. More...
 
class  Select2nd
 Operator to select second element of a pair. More...
 
class  Select1st
 Operator to select the first element of a pair. More...
 
class  DestroyObjects
 map Functor to delete objects from heap More...
 
class  DestroyFirst
 map Functor to delete objects from heap More...
 
class  ReleaseObject
 Functor to release objects from heap and reset the pointer. More...
 
class  ReleaseObjects
 Map Functor to release objects from heap. More...
 
class  ReferenceObject
 Functor to delete objects from heap and reset the pointer. More...
 
class  ReferenceObjects
 Functor to delete objects from heap and reset the pointer. More...
 
struct  ApplyMemFunc
 Member function call-functor with no arguments. More...
 
struct  ApplyMemFunc1
 Member function call-functor with 1 argument. More...
 
struct  ApplyMemFunc2
 Member function call-functor with 2 arguments. More...
 
struct  ApplyMemFuncConst
 Member function call-functor with no arguments (const version) More...
 
struct  ApplyMemFuncConst1
 Member function call-functor with 1 argument (const version) More...
 
struct  ApplyMemFuncConst2
 Member function call-functor with 2 arguments (const version) More...
 
class  Apply1rst
 Generic map Functor to act on first element (key) More...
 
class  Apply2nd
 Generic map Functor to act on second element (mapped type) More...
 
class  ReferenceBitMask
 Data structure to manipulate a bitmask held by reference and represented by an integer. More...
 
class  Printer
 Helper class template to implement ASCII object dumps. More...
 
class  PrintMap
 Helper class template to implement ASCII dumps of named objects maps. More...
 
class  SurfaceInstaller
 
struct  Converter
 Basic conversion objects for handling DD4hep XML files. More...
 
class  LayerSlice
 Class to describe the slice of one layer in a layering stack. More...
 
class  Layer
 Class to describe one layer in a layering stack. More...
 
class  LayerStack
 Class to describe a layering stack. More...
 
class  Layering
 Class to convert a layering object from the compact notation. More...
 
class  Geant4SetupAction
 Templated factory method to invoke setup action. More...
 
class  Geant4SensitiveDetectorFactory
 Deprecated: Templated factory method to create sensitive detector. More...
 
class  dd4hep_file_source
 DD4hep file source extension to boost::iostreams. More...
 
class  dd4hep_file_sink
 DD4hep file sink extension to boost::iostreams. More...
 
class  dd4hep_file
 DD4hep file handling extension to boost::iostreams. More...
 
class  Annotation
 Class to add annotations to eve viewers. More...
 
class  Calo2DProjection
 2D projection operator for calorimeters More...
 
class  Calo3DProjection
 3D projection for calorimeters More...
 
class  CaloLego
 Lego plot for calorimeter energy deposits. More...
 
class  ContextMenuHandler
 
class  ContextMenu
 
class  DD4hepMenu
 DD4hep Menu for the ROOT browser. More...
 
class  DDEveHit
 DDEve event classes: Basic hit. More...
 
class  DDEveParticle
 Data structure to store the MC particle information. More...
 
class  DDG4EventHandler
 
struct  DDEve
 
class  Display
 The main class of the DDEve display. More...
 
class  DisplayConfiguration
 DisplayConfiguration DisplayConfiguration.h DDEve/DisplayConfiguration.h. More...
 
class  ElementList
 Local implementation with overrides of the TEveElementList. More...
 
class  ElementListContextMenu
 DDEve context menu class. More...
 
class  EventControl
 
struct  DDEveHitActor
 Event data actor base class for hits. Used to extract data from concrete classes. More...
 
struct  DDEveParticleActor
 Event data actor base class for particles. Used to extract data from concrete classes. More...
 
class  EventHandler
 Event handler base class. Interface to all DDEve I/O actions. More...
 
class  EventConsumer
 
class  EvePgonSetProjectedContextMenu
 class EvePgonSetProjectedContextMenu EvePgonSetProjectedContextMenu.h DDEve/EvePgonSetProjectedContextMenu.h More...
 
class  EveShapeContextMenu
 class EveShapeContextMenu EveShapeContextMenu.h DDEve/EveShapeContextMenu.h More...
 
class  EveUserContextMenu
 class EveUserContextMenu EveUserContextMenu.h DDEve/EveUserContextMenu.h More...
 
class  FrameControl
 class FrameControl FrameControl.h DDEve/FrameControl.h More...
 
class  GenericEventHandler
 Event handler base class. Interface to all DDEve I/O actions. More...
 
struct  EtaPhiHistogramActor
 Fill EtaPhi histograms from a hit collection. More...
 
struct  PointsetCreator
 Fill a 3D pointset from a hit collection. More...
 
struct  BoxsetCreator
 Fill a 3D box set from a hit collection. More...
 
struct  TowersetCreator
 Fill a 3D tower set from a hit collection. More...
 
class  MultiView
 class MultiView MultiView.h DDEve/MultiView.h More...
 
struct  MCParticleCreator
 Fill eve particles from a MC particle collection. More...
 
class  PopupMenu
 class PopupMenu PopupMenu.h DDEve/PopupMenu.h More...
 
class  Projection
 class Projection Projection.h DDEve/Projection.h More...
 
class  RhoPhiProjection
 class RhoPhiProjection RhoPhiProjection.h DDEve/RhoPhiProjection.h More...
 
class  RhoZProjection
 class RhoZProjection RhoZProjection.h DDEve/RhoZProjection.h More...
 
class  View
 class View View.h DDEve/View.h More...
 
class  View3D
 class View3D View3D.h DDEve/View3D.h More...
 
class  ViewMenu
 class ViewMenu ViewMenu.h DDEve/ViewMenu.h More...
 
class  LCIOEventHandler
 
class  GearHandle
 
class  OutsideGeometryException
 

Typedefs

typedef map< string, int > map_string_int
 
typedef map< string, string > map_string_string
 
typedef Handle< NamedObjectRef_t
 Default Ref_t definition describing named objects. More...
 
typedef size_t(* output_function1_t )(void *, PrintLevel severity, const char *, const char *)
 
typedef size_t(* output_function2_t )(void *, PrintLevel severity, const char *, const char *, va_list &args)
 
typedef DD4hep::Geometry::LCDD lcdd_t
 
typedef
DD4hep::Geometry::DetElement 
DetElement
 
typedef
DD4hep::Geometry::SensitiveDetector 
SensitiveDetector
 
typedef std::vector< DDEveHitDDEveHits
 
typedef std::vector
< DDEveParticle
DDEveParticles
 
typedef
DisplayConfiguration::Configurations 
Configurations
 
typedef
DisplayConfiguration::ViewConfigurations 
ViewConfigurations
 
typedef long long int long64
 
typedef unsigned long long ulong64
 

Enumerations

enum  LCDDBuildType {
  BUILD_NONE = 0, BUILD_DEFAULT = 1, BUILD_SIMU = BUILD_DEFAULT, BUILD_RECO,
  BUILD_DISPLAY, BUILD_ENVELOPE
}
 Detector description build types. More...
 
enum  PrintLevel {
  NOLOG = 0, VERBOSE = 1, DEBUG = 2, INFO = 3,
  WARNING = 4, ERROR = 5, FATAL = 6, ALWAYS = 7
}
 
enum  dd4hep_file_flags { never_close_handle = 0, close_handle = 3 }
 

Functions

 DD4HEP_DEFINE_PROPERTY_CONT (bool)
 
 DD4HEP_DEFINE_PROPERTY_U_CONT (int)
 
 DD4HEP_DEFINE_PROPERTY_U_CONT (long)
 
 DD4HEP_DEFINE_PROPERTY_CONT (float)
 
 DD4HEP_DEFINE_PROPERTY_CONT (double)
 
 DD4HEP_DEFINE_PROPERTY_CONT (string)
 
 DD4HEP_DEFINE_PROPERTY_TYPE (map_string_int)
 
 DD4HEP_DEFINE_PROPERTY_TYPE (map_string_string)
 
 DD4HEP_DEFINE_PROPERTY_TYPE (ROOT::Math::XYZPoint)
 
 DD4HEP_DEFINE_PROPERTY_TYPE (ROOT::Math::XYZVector)
 
 DD4HEP_DEFINE_PROPERTY_TYPE (ROOT::Math::PxPyPzEVector)
 
XmlTools::Evaluatorevaluator ()
 
long num_object_validations ()
 
void increment_object_validations ()
 
void warning_deprecated_xml_factory (const char *name)
 Function tp print warning about deprecated factory usage. Used by Plugin mechanism. More...
 
template bool OpaqueDataBinder::bind< ValueBinder, Conditions::Condition > (const ValueBinder &b, Conditions::Condition &object, const string &typ, const string &val)
 
template bool OpaqueDataBinder::bind< VectorBinder, Conditions::Condition > (const VectorBinder &b, Conditions::Condition &object, const string &typ, const string &val)
 
template bool OpaqueDataBinder::bind< ListBinder, Conditions::Condition > (const ListBinder &b, Conditions::Condition &object, const string &typ, const string &val)
 
template bool OpaqueDataBinder::bind< SetBinder, Conditions::Condition > (const SetBinder &b, Conditions::Condition &object, const string &typ, const string &val)
 
template<typename BINDER , typename OBJECT , typename KEY , typename VAL >
static void insert_map_item (const BINDER &, OBJECT &object, const KEY &k, const string &val, const VAL *)
 
template<typename BINDER , typename OBJECT , typename KEY >
static void insert_map_key (const BINDER &b, OBJECT &object, const string &key_val, const string &val_type, const string &val, const KEY *)
 
template<typename BINDER , typename OBJECT , typename KEY , typename VAL >
static void insert_map_pair (const BINDER &, OBJECT &object, const string &data, const KEY *, const VAL *)
 
template<typename BINDER , typename OBJECT , typename KEY >
static void insert_map_data (const BINDER &b, OBJECT &object, const string &val_type, const string &pair_data, const KEY *)
 
template<typename BINDER , typename OBJECT , typename KEY >
static void bind_mapping (const BINDER &b, const string &val_type, OBJECT &object, const KEY *)
 
template bool OpaqueDataBinder::bind_sequence< Conditions::Condition > (Conditions::Condition &object, const string &typ, const string &val)
 Instantiation for Conditions: More...
 
static ComponentCastcomponent (void *p)
 
void * createProcessor (Geometry::LCDD &lcdd, int argc, char **argv, void *(*cast)(void *))
 
void * createPlugin (const std::string &factory, Geometry::LCDD &lcdd, int argc, char **argv, void *(*cast)(void *))
 
void * createPlugin (const std::string &factory, Geometry::LCDD &lcdd, void *(*cast)(void *))
 Handler for factories of type: ConstructionFactory. More...
 
void * createPlugin (const std::string &factory, Geometry::LCDD &lcdd, const std::string &arg, void *(*cast)(void *))
 Handler for factories of type: ConstructionFactory. More...
 
static std::string pre_parse_obj (const std::string &in)
 Helper function to parse data type. More...
 
template<typename TYPE >
static int fill_data (std::vector< TYPE > *p, const std::vector< std::string > &temp)
 Insertion function for std vectors. More...
 
template<typename TYPE >
static int fill_data (std::list< TYPE > *p, const std::vector< std::string > &temp)
 Insertion function for std lists. More...
 
template<typename TYPE >
static int fill_data (std::set< TYPE > *p, const std::vector< std::string > &temp)
 Insertion function for std sets. More...
 
template<typename TYPE >
static int fill_data (std::deque< TYPE > *p, const std::vector< std::string > &temp)
 Insertion function for std sets. More...
 
template<typename KEY , typename TYPE >
static int fill_data (std::map< KEY, TYPE > *p, const std::vector< std::string > &temp)
 Insertion function for std sets. More...
 
template<typename TYPE >
static int eval_container (TYPE *p, const std::string &str)
 Container evaluator. More...
 
template<typename T >
int eval_item (T *p, std::string s)
 Item evaluator. More...
 
template<>
int eval_item< std::string > (std::string *p, std::string s)
 String evaluator. More...
 
template<typename T , typename Q >
int eval_pair (std::pair< T, Q > *p, std::string s)
 Item evaluator. More...
 
template<typename T >
int eval_obj (T *p, const std::string &str)
 Object evaluator. More...
 
template<typename T >
int eval_none (T *, const std::string &)
 
template<typename T >
int parse_none (T &, const std::string &)
 
LCDDBuildType buildType (const char *value)
 Translate string representation of the geometry build type to value. More...
 
LCDDBuildType buildType (const std::string &value)
 Translate string representation of the geometry build type to value. More...
 
std::ostream & operator<< (std::ostream &os, const DetType &t)
 
void run_interpreter (const std::string &name)
 
XmlTools::Evaluatorg4Evaluator ()
 
unsigned long long int magic_word ()
 Access to the magic word, which is protecting some objects against memory corruptions. More...
 
template<typename T >
void destroyHandle (T &h)
 Helper to delete objects from heap and reset the handle. More...
 
template<typename M >
void destroyHandles (M &m)
 Functional created of map destruction functors. More...
 
template<typename T >
void releaseHandle (T &h)
 Helper to delete objects from heap and reset the handle. More...
 
template<typename M >
void releaseHandles (M &m)
 Functional created of map destruction functors. More...
 
std::string _toString (bool value)
 String conversions: boolean value to string. More...
 
std::string _toString (short value, const char *fmt="%d")
 String conversions: integer value to string. More...
 
std::string _toString (int value, const char *fmt="%d")
 String conversions: integer value to string. More...
 
std::string _toString (float value, const char *fmt="%.17e")
 String conversions: float value to string. More...
 
std::string _toString (double value, const char *fmt="%.17e")
 String conversions: double value to string. More...
 
std::string _ptrToString (const void *p, const char *fmt="%p")
 Pointer to text conversion. More...
 
template<typename T >
std::string _toString (const T *p, const char *fmt="%p")
 Format any pointer (64 bits) to string. More...
 
bool _toBool (const std::string &value)
 String conversions: string to boolean value. More...
 
short _toShort (const std::string &value)
 String conversions: string to integer value. More...
 
int _toInt (const std::string &value)
 String conversions: string to integer value. More...
 
long _toLong (const std::string &value)
 String conversions: string to long integer value. More...
 
float _toFloat (const std::string &value)
 String conversions: string to float value. More...
 
double _toDouble (const std::string &value)
 String conversions: string to double value. More...
 
bool _toBool (bool value)
 Void helper function to support formalisms. More...
 
short _toShort (short value)
 Void helper function to support formalisms. More...
 
int _toInt (int value)
 Void helper function to support formalisms. More...
 
long _toLong (long value)
 Void helper function to support formalisms. More...
 
unsigned short _toUShort (unsigned short value)
 Void helper function to support formalisms. More...
 
unsigned int _toUInt (unsigned int value)
 Void helper function to support formalisms. More...
 
unsigned long _toULong (unsigned long value)
 Void helper function to support formalisms. More...
 
float _toFloat (float value)
 Void helper function to support formalisms. More...
 
double _toDouble (double value)
 Void helper function to support formalisms. More...
 
template<class T >
T _multiply (const std::string &left, T right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<class T >
T _multiply (T left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<class T >
T _multiply (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
char _multiply< char > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
char _multiply< char > (char left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
char _multiply< char > (const std::string &left, char right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned char _multiply< unsigned char > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned char _multiply< unsigned char > (unsigned char left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned char _multiply< unsigned char > (const std::string &left, unsigned char right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
short _multiply< short > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
short _multiply< short > (short left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
short _multiply< short > (const std::string &left, short right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned short _multiply< unsigned short > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned short _multiply< unsigned short > (unsigned short left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned short _multiply< unsigned short > (const std::string &left, unsigned short right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
int _multiply< int > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
int _multiply< int > (int left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
int _multiply< int > (const std::string &left, int right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned int _multiply< unsigned int > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned int _multiply< unsigned int > (unsigned int left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned int _multiply< unsigned int > (const std::string &left, unsigned int right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
long _multiply< long > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
long _multiply< long > (long left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
long _multiply< long > (const std::string &left, long right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned long _multiply< unsigned long > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned long _multiply< unsigned long > (unsigned long left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
unsigned long _multiply< unsigned long > (const std::string &left, unsigned long right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
float _multiply< float > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
float _multiply< float > (float left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
float _multiply< float > (const std::string &left, float right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
double _multiply< double > (const std::string &left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
double _multiply< double > (const std::string &left, double right)
 Generic multiplication using the evaluator: result = left * right. More...
 
template<>
double _multiply< double > (double left, const std::string &right)
 Generic multiplication using the evaluator: result = left * right. More...
 
void _toDictionary (const std::string &name, const std::string &value)
 Enter name value pair to the dictionary. "value" must be a numerical expression, which is evaluated. More...
 
void _toDictionary (const std::string &name, const std::string &value, const std::string &typ)
 Enter name value pair to the dictionary. More...
 
std::string versionString ()
 return a string with the current DD4hep version in the form vXX-YY. More...
 
template<typename T >
ByName< TbyName (const std::string &n)
 
template<typename T >
ByName< TbyName (const T *o)
 
template<typename T >
ByName< TbyName (const T &o)
 
template<typename T >
ByNameAttr< TbyNameAttr (const std::string &nam)
 
template<typename T >
ByNameAttr< TbyNameAttr (const T *o)
 
template<typename T >
ByNameAttr< TbyNameAttr (const T &o)
 
template<typename T >
TcreatePlugin (const std::string &factory, Geometry::LCDD &lcdd)
 Handler for factories of type: ConstructionFactory with casted return type. More...
 
template<typename T >
TcreatePlugin (const std::string &factory, Geometry::LCDD &lcdd, const std::string &arg)
 Handler for factories of type: ConstructionFactory with casted return type. More...
 
template<typename T >
TcreatePlugin (const std::string &factory, Geometry::LCDD &lcdd, int argc, const void **argv)
 Handler for factories of type: ConstructionFactory with casted return type. More...
 
template<typename T >
TcreateProcessor (Geometry::LCDD &lcdd, int argc, char **argv)
 Handler for factories of type: ConstructionFactory with casted return type. More...
 
template<typename T >
TcreateProcessor (Geometry::LCDD &lcdd, int argc, const void **argv)
 Handler for factories of type: ConstructionFactory with casted return type. More...
 
template<>
std::string PluginFactoryBase::value< std::string > (const void *p)
 
template<>
const std::string & PluginFactoryBase::value< const std::string & > (const void *p)
 
unsigned int hash32 (const char *key)
 We need it so often: one-at-time 32 bit hash function. More...
 
unsigned int hash32 (const std::string &key)
 
long int makeTime (int year, int month, int day, int hour=0, int minutes=0, int seconds=0)
 Convert date into epoch time (seconds since 1970) More...
 
long int makeTime (const std::string &date, const char *fmt="%d-%m-%Y %H:%M:%S")
 Convert date into epoch time (seconds since 1970) More...
 
std::string typeName (const std::type_info &type)
 ABI information about type names. More...
 
void typeinfoCheck (const std::type_info &typ1, const std::type_info &typ2, const std::string &text="")
 Check type infos for equivalence (dynamic casts) using ABI information. More...
 
void invalidHandleError (const std::type_info &type)
 Throw exception when handles are check for validity. More...
 
void invalidHandleAssignmentError (const std::type_info &from, const std::type_info &to)
 Throw exception when handles are badly assigned. More...
 
template<typename T >
void invalidHandleError ()
 Throw exception when handles are check for validity. More...
 
void notImplemented (const std::string &msg)
 Throw exception when handles are check for validity. More...
 
template<typename T >
void copyObject (void *target, const void *source)
 Helper to copy objects. More...
 
template<typename T >
void destructObject (T *p)
 Helper to destruct objects. Note: The memory is NOT released! More...
 
template<typename T >
void deletePtr (T *&p)
 Helper to delete objects from heap and reset the pointer. Saves many many lines of code. More...
 
template<typename T >
void deleteObject (T *p)
 Helper to delete objects from heap and reset the pointer. Saves many many lines of code. More...
 
template<typename T >
void destroyObject (T *&p)
 Helper to delete objects from heap and reset the pointer. More...
 
template<typename T >
Select2nd< typename T::value_type > select2nd (const T &)
 Generator to create Operator to select value elements of a map. More...
 
template<typename T >
Select1st< typename T::value_type > select1st (const T &)
 Generator to create Operator to select key values of a map. More...
 
template<typename M >
void destroyObjects (M &m)
 
template<typename M >
DestroyObjects< M > destroy2nd (M &m)
 
template<typename M >
void destroyFirst (M &m)
 
template<typename M >
void destroy1st (M &m)
 
template<typename T >
void releasePtr (T &p)
 Helper to delete objects from heap and reset the pointer. Saves many many lines of code. More...
 
template<typename M >
ReleaseObject< typename
M::value_type > 
releaseObject (M &)
 
template<typename M >
void releaseObjects (M &m)
 
template<typename M >
void release2nd (M &m)
 
template<typename M >
ReferenceObject< M > referenceObject (M &)
 
template<typename M >
ReferenceObjects< typename
M::value_type > 
reference2nd (M &)
 
template<typename C , typename R , typename T >
void call_member_func (C &object, R(T::*pmf)())
 
template<typename C , typename R , typename T , typename A1 >
void call_member_func (C &object, R(T::*pmf)(A1 a1), A1 a1)
 
template<typename C , typename R , typename T , typename A1 , typename A2 >
void call_member_func (C &object, R(T::*pmf)(A1 a1, A2 a2), A1 a1, A2 a2)
 
template<typename C , typename FCN >
Apply1rst< C, FCN > apply__1rst_value (C &, const FCN &func)
 
template<typename C , typename FCN >
void apply1rst (C &object, const FCN &func)
 
template<typename C , typename R , typename T >
void apply1rst (C &object, R(T::*pmf)())
 
template<typename C , typename R , typename T , typename A1 >
void apply1rst (C object, R(T::*pmf)(A1 a1), A1 a1)
 
template<typename C , typename FCN >
Apply2nd< C, FCN > apply__2nd_value (C &, const FCN &func)
 
template<typename C , typename FCN >
void apply2nd (C &object, const FCN &func)
 
template<typename C , typename R , typename T >
void apply2nd (C &object, R(T::*pmf)())
 
template<typename C , typename R , typename T , typename A1 >
void apply2nd (C object, R(T::*pmf)(A1 a1), A1 a1)
 
std::string arguments (int argc, char **argv)
 Helper function to serialize argument list to a single string. More...
 
int printout (PrintLevel severity, const char *src, const char *fmt,...)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const std::string &src, const char *fmt,...)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const std::string &src, const std::string &fmt,...)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const char *src, const std::string &fmt,...)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const char *src, const char *fmt, va_list &args)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const std::string &src, const char *fmt, va_list &args)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const std::string &src, const std::string &fmt, va_list &args)
 Calls the display action with a given severity level. More...
 
int printout (PrintLevel severity, const char *src, const std::string &fmt, va_list &args)
 Calls the display action with a given severity level. More...
 
int except (const std::string &src, const std::string &fmt,...)
 Calls the display action with ERROR and throws an std::runtime_error exception. More...
 
int except (const char *src, const char *fmt,...)
 Calls the display action with ERROR and throws an std::runtime_error exception. More...
 
int except (const std::string &src, const std::string &fmt, va_list &args)
 Calls the display action with ERROR and throws an std::runtime_error exception. More...
 
int except (const char *src, const char *fmt, va_list &args)
 Calls the display action with ERROR and throws an std::runtime_error exception. More...
 
std::string format (const std::string &src, const std::string &fmt,...)
 Build formatted string. More...
 
std::string format (const char *src, const char *fmt,...)
 Build exception string. More...
 
std::string format (const std::string &src, const std::string &fmt, va_list &args)
 Build formatted string. More...
 
std::string format (const char *src, const char *fmt, va_list &args)
 Build formatted string. More...
 
void setPrinter (void *print_arg, output_function1_t fcn)
 Customize printer function. More...
 
void setPrinter2 (void *print_arg, output_function2_t fcn)
 Customize printer function. More...
 
std::string setPrintFormat (const std::string &new_format)
 Set new printout format for the 3 fields: source-level-message. All 3 are strings. More...
 
PrintLevel setPrintLevel (PrintLevel new_level)
 Set new print level. Returns the old print level. More...
 
PrintLevel printLevel ()
 Access the current printer level. More...
 
PrintLevel printLevel (const char *value)
 Translate the printer level from string to value. More...
 
PrintLevel printLevel (const std::string &value)
 Translate the printer level from string to value. More...
 
template<typename T >
std::ostream & print (const T &object, std::ostream &os=std::cout, const std::string &indent="")
 
const char * yes_no (bool value)
 Helper function to print booleans in format YES/NO. More...
 
const char * true_false (bool value)
 Helper function to print booleans in format true/false. More...
 
void EveDisplay (const char *xmlFile, const char *eventFileName)
 
gear::GearMgr * createGearMgr (Geometry::LCDD &lcdd, const std::string &pluginName)
 

Variables

static long s_numVerifies = 0
 

Detailed Description

Namespace for the AIDA detector description toolkit.

Main handle class to hold a TGeo alignment object of type TGeoPhysicalNode.

Geant 4 forward declarations.

DD4hep namespace declaration.

Namespace for the AIDA detector description toolkit

Typedef Documentation

Definition at line 48 of file DisplayConfigurationParser.cpp.

typedef std::vector<DDEveHit> DD4hep::DDEveHits

Definition at line 50 of file DDEveEventData.h.

typedef std::vector<DDEveParticle> DD4hep::DDEveParticles

Definition at line 74 of file DDEveEventData.h.

Definition at line 32 of file Geant4XMLSetup.cpp.

Definition at line 31 of file Geant4XMLSetup.cpp.

typedef long long int DD4hep::long64

Definition at line 15 of file BitField64.h.

typedef map<string, int> DD4hep::map_string_int

Definition at line 265 of file ComponentProperties.cpp.

typedef map<string, string> DD4hep::map_string_string

Definition at line 268 of file ComponentProperties.cpp.

typedef size_t(* DD4hep::output_function1_t)(void *, PrintLevel severity, const char *, const char *)

Definition at line 59 of file Printout.h.

typedef size_t(* DD4hep::output_function2_t)(void *, PrintLevel severity, const char *, const char *, va_list &args)

Definition at line 60 of file Printout.h.

Definition at line 33 of file Geant4XMLSetup.cpp.

typedef unsigned long long DD4hep::ulong64

Definition at line 16 of file BitField64.h.

Definition at line 49 of file DisplayConfigurationParser.cpp.

Enumeration Type Documentation

Enumerator
never_close_handle 
close_handle 

Definition at line 51 of file IoStreams.h.

Detector description build types.

enum LCDDBuildType LCDD.h DD4hep/LCDD.h The corresponding flag is ONLY valid while parsing the compact description. If no eometry, ie. at all other times the accessor to the flag returns BUILD_NONE.

Enumerator
BUILD_NONE 
BUILD_DEFAULT 
BUILD_SIMU 
BUILD_RECO 
BUILD_DISPLAY 
BUILD_ENVELOPE 

Definition at line 31 of file BuildType.h.

Enumerator
NOLOG 
VERBOSE 
DEBUG 
INFO 
WARNING 
ERROR 
FATAL 
ALWAYS 

Definition at line 47 of file Printout.h.

Function Documentation

string DD4hep::_ptrToString ( const void *  p,
const char *  fmt = "%p" 
)

Pointer to text conversion.

Definition at line 233 of file Handle.cpp.

References __to_string().

Referenced by _toString().

template<typename C , typename FCN >
void DD4hep::apply1rst ( C &  object,
const FCN &  func 
)

Definition at line 469 of file Primitives.h.

References apply__1rst_value().

template<typename C , typename R , typename T >
void DD4hep::apply1rst ( C &  object,
R(T::*)()  pmf 
)

Definition at line 473 of file Primitives.h.

References apply__1rst_value().

template<typename C , typename R , typename T , typename A1 >
void DD4hep::apply1rst ( object,
R(T::*)(A1 a1)  pmf,
A1  a1 
)

Definition at line 477 of file Primitives.h.

References apply__1rst_value().

template<typename C , typename FCN >
void DD4hep::apply2nd ( C &  object,
const FCN &  func 
)

Definition at line 502 of file Primitives.h.

References apply__2nd_value().

template<typename C , typename R , typename T >
void DD4hep::apply2nd ( C &  object,
R(T::*)()  pmf 
)

Definition at line 506 of file Primitives.h.

References apply__2nd_value().

template<typename C , typename R , typename T , typename A1 >
void DD4hep::apply2nd ( object,
R(T::*)(A1 a1)  pmf,
A1  a1 
)

Definition at line 510 of file Primitives.h.

References apply__2nd_value().

template<typename C , typename FCN >
Apply1rst<C,FCN> DD4hep::apply__1rst_value ( C &  ,
const FCN &  func 
)

Definition at line 466 of file Primitives.h.

Referenced by apply1rst().

template<typename C , typename FCN >
Apply2nd<C,FCN> DD4hep::apply__2nd_value ( C &  ,
const FCN &  func 
)

Definition at line 499 of file Primitives.h.

Referenced by apply2nd().

string DD4hep::arguments ( int  argc,
char **  argv 
)

Helper function to serialize argument list to a single string.

  • argc [int,read-only] Number of arguments.
  • argv [char**,read-only] Argument strings
    Returns
    String containing the concatenated arguments
  • argc [int,read-only] Number of arguments.
  • argv [char**,read-only] Argument strings
    Returns
    String containing the concatenated arguments

Definition at line 96 of file Printout.cpp.

Referenced by createProcessor().

template<typename BINDER , typename OBJECT , typename KEY >
static void DD4hep::bind_mapping ( const BINDER &  b,
const string &  val_type,
OBJECT &  object,
const KEY *   
)
static

Definition at line 247 of file OpaqueDataBinder.cpp.

Referenced by DD4hep::OpaqueDataBinder::bind_map().

DD4hep::LCDDBuildType DD4hep::buildType ( const char *  value)

Translate string representation of the geometry build type to value.

Definition at line 23 of file BuildType.cpp.

References BUILD_DEFAULT, BUILD_DISPLAY, BUILD_ENVELOPE, BUILD_RECO, and BUILD_SIMU.

Referenced by buildType().

DD4hep::LCDDBuildType DD4hep::buildType ( const std::string &  value)

Translate string representation of the geometry build type to value.

Definition at line 48 of file BuildType.cpp.

References buildType().

template<typename T >
ByName<T> DD4hep::byName ( const std::string &  n)

Definition at line 40 of file Operators.h.

template<typename T >
ByName<T> DD4hep::byName ( const T o)

Definition at line 41 of file Operators.h.

template<typename T >
ByName<T> DD4hep::byName ( const T o)

Definition at line 42 of file Operators.h.

template<typename T >
ByNameAttr<T> DD4hep::byNameAttr ( const std::string &  nam)

Definition at line 62 of file Operators.h.

template<typename T >
ByNameAttr<T> DD4hep::byNameAttr ( const T o)

Definition at line 63 of file Operators.h.

template<typename T >
ByNameAttr<T> DD4hep::byNameAttr ( const T o)

Definition at line 64 of file Operators.h.

template<typename C , typename R , typename T >
void DD4hep::call_member_func ( C &  object,
R(T::*)()  pmf 
)

Definition at line 430 of file Primitives.h.

template<typename C , typename R , typename T , typename A1 >
void DD4hep::call_member_func ( C &  object,
R(T::*)(A1 a1)  pmf,
A1  a1 
)

Definition at line 438 of file Primitives.h.

template<typename C , typename R , typename T , typename A1 , typename A2 >
void DD4hep::call_member_func ( C &  object,
R(T::*)(A1 a1, A2 a2)  pmf,
A1  a1,
A2  a2 
)

Definition at line 447 of file Primitives.h.

static ComponentCast* DD4hep::component ( void *  p)
inlinestatic

Definition at line 26 of file PluginCreators.cpp.

Referenced by create_element(), createPlugin(), and createProcessor().

template<typename T >
void DD4hep::copyObject ( void *  target,
const void *  source 
)
inline

Helper to copy objects.

Definition at line 225 of file Primitives.h.

References s.

gear::GearMgr * DD4hep::createGearMgr ( Geometry::LCDD &  lcdd,
const std::string &  pluginName = "GearForILD" 
)

Factory method that creates a GearMgr object pobulated with the GearParametersImpl objects from all (top level) DetElements in the lcdd object

Author
F.Gaede, DESY
Version
$Id$

register any materials assigned to the handle:

Definition at line 28 of file DDGear.cpp.

References DD4hep::Geometry::LCDD::apply(), DD4hep::Geometry::DetElement::children(), e, DD4hep::Geometry::LCDD::field(), DD4hep::Geometry::LCDD::header(), DD4hep::Geometry::OverlayedField::magneticField(), DD4hep::GearHandle::materials(), DD4hep::GearHandle::name(), DD4hep::Geometry::Header::name(), DD4hep::GearHandle::takeGearObject(), dd4hep::tesla, DD4hep::Geometry::DetElement::volume(), and DD4hep::Geometry::LCDD::world().

Referenced by main().

template<typename T >
T* DD4hep::createPlugin ( const std::string &  factory,
Geometry::LCDD &  lcdd 
)

Handler for factories of type: ConstructionFactory with casted return type.

Definition at line 45 of file PluginCreators.h.

References createPlugin().

template<typename T >
T* DD4hep::createPlugin ( const std::string &  factory,
Geometry::LCDD &  lcdd,
const std::string &  arg 
)

Handler for factories of type: ConstructionFactory with casted return type.

Definition at line 51 of file PluginCreators.h.

References createPlugin().

template<typename T >
T* DD4hep::createPlugin ( const std::string &  factory,
Geometry::LCDD &  lcdd,
int  argc,
const void **  argv 
)

Handler for factories of type: ConstructionFactory with casted return type.

Definition at line 57 of file PluginCreators.h.

References createPlugin().

void * DD4hep::createPlugin ( const std::string &  factory,
Geometry::LCDD &  lcdd,
int  argc,
char **  argv,
void *(*)(void *)  cast 
)
void * DD4hep::createPlugin ( const std::string &  factory,
Geometry::LCDD &  lcdd,
void *(*)(void *)  cast 
)

Handler for factories of type: ConstructionFactory.

Signature: void* create(const char* arg);

An exception is thrown in the event the object cannot be created. The object is properly casted before given to the caller.

Definition at line 88 of file PluginCreators.cpp.

References createPlugin().

void * DD4hep::createPlugin ( const std::string &  factory,
Geometry::LCDD &  lcdd,
const std::string &  arg,
void *(*)(void *)  cast 
)

Handler for factories of type: ConstructionFactory.

Definition at line 94 of file PluginCreators.cpp.

References createPlugin().

void * DD4hep::createProcessor ( Geometry::LCDD &  lcdd,
int  argc,
char **  argv,
void *(*)(void *)  cast 
)
template<typename T >
T* DD4hep::createProcessor ( Geometry::LCDD &  lcdd,
int  argc,
char **  argv 
)

Handler for factories of type: ConstructionFactory with casted return type.

Definition at line 64 of file PluginCreators.h.

References createProcessor().

template<typename T >
T* DD4hep::createProcessor ( Geometry::LCDD &  lcdd,
int  argc,
const void **  argv 
)

Handler for factories of type: ConstructionFactory with casted return type.

Definition at line 71 of file PluginCreators.h.

References createProcessor().

DD4hep::DD4HEP_DEFINE_PROPERTY_CONT ( bool  )
DD4hep::DD4HEP_DEFINE_PROPERTY_CONT ( float  )
DD4hep::DD4HEP_DEFINE_PROPERTY_CONT ( double  )
DD4hep::DD4HEP_DEFINE_PROPERTY_CONT ( string  )
DD4hep::DD4HEP_DEFINE_PROPERTY_TYPE ( map_string_int  )
DD4hep::DD4HEP_DEFINE_PROPERTY_TYPE ( map_string_string  )
DD4hep::DD4HEP_DEFINE_PROPERTY_TYPE ( ROOT::Math::XYZPoint  )
DD4hep::DD4HEP_DEFINE_PROPERTY_TYPE ( ROOT::Math::XYZVector  )
DD4hep::DD4HEP_DEFINE_PROPERTY_TYPE ( ROOT::Math::PxPyPzEVector  )
DD4hep::DD4HEP_DEFINE_PROPERTY_U_CONT ( int  )
DD4hep::DD4HEP_DEFINE_PROPERTY_U_CONT ( long  )
template<typename T >
void DD4hep::deleteObject ( T p)
inline

Helper to delete objects from heap and reset the pointer. Saves many many lines of code.

Definition at line 240 of file Primitives.h.

template<typename T >
void DD4hep::deletePtr ( T *&  p)
inline
template<typename M >
void DD4hep::destroy1st ( M &  m)

Definition at line 312 of file Primitives.h.

template<typename M >
DestroyObjects<M> DD4hep::destroy2nd ( M &  m)

Definition at line 295 of file Primitives.h.

template<typename M >
void DD4hep::destroyFirst ( M &  m)
template<typename M >
void DD4hep::destroyHandles ( M &  m)

Functional created of map destruction functors.

Definition at line 199 of file Handle.h.

References m.

Referenced by DD4hep::Geometry::LCDDData::destroyData(), DD4hep::Geometry::DetElementObject::~DetElementObject(), and DD4hep::Geometry::VolumeManagerObject::~VolumeManagerObject().

template<typename T >
void DD4hep::destroyObject ( T *&  p)
inline

Helper to delete objects from heap and reset the pointer.

Definition at line 245 of file Primitives.h.

References deletePtr().

Referenced by DD4hep::DestroyObject< T >::operator()().

template<typename M >
void DD4hep::destroyObjects ( M &  m)
template<typename T >
void DD4hep::destructObject ( T p)
inline

Helper to destruct objects. Note: The memory is NOT released!

Definition at line 230 of file Primitives.h.

template<typename TYPE >
static int DD4hep::eval_container ( TYPE *  p,
const std::string &  str 
)
static

Container evaluator.

Definition at line 245 of file BasicGrammar_inl.h.

References fill_data(), DD4hep::Parsers::parse(), and pre_parse_obj().

template<typename T >
int DD4hep::eval_item ( T p,
std::string  s 
)
inline

Item evaluator.

Definition at line 273 of file BasicGrammar_inl.h.

References XmlTools::Evaluator::OK.

template<>
int DD4hep::eval_item< std::string > ( std::string *  p,
std::string  s 
)
inline

String evaluator.

Definition at line 292 of file BasicGrammar_inl.h.

References s.

template<typename T >
int DD4hep::eval_none ( T ,
const std::string &   
)
inline

User object evaluator Do NOTHING version! Function present to formally satisfy code. User implementation required

Definition at line 311 of file BasicGrammar_inl.h.

template<typename T >
int DD4hep::eval_obj ( T p,
const std::string &  str 
)
inline

Object evaluator.

Definition at line 305 of file BasicGrammar_inl.h.

References pre_parse_obj().

template<typename T , typename Q >
int DD4hep::eval_pair ( std::pair< T, Q > *  p,
std::string  s 
)
inline

Item evaluator.

Definition at line 298 of file BasicGrammar_inl.h.

References DD4hep::BasicGrammar::fromString(), and dd4hep::g.

XmlTools::Evaluator & DD4hep::evaluator ( )
void DD4hep::EveDisplay ( const char *  xmlFile,
const char *  eventFileName 
)

Referenced by ClassImp(), and DD4hep::DDEve::run().

int DD4hep::except ( const std::string &  src,
const std::string &  fmt,
  ... 
)

Calls the display action with ERROR and throws an std::runtime_error exception.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Calls the display action with ERROR and throws an std::runtime_error exception
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 217 of file Printout.cpp.

Referenced by DD4hep::Conditions::ConditionsManagerObject::__get_checked_pool(), _multiply< char >(), _multiply< short >(), _multiply< unsigned char >(), _multiply< unsigned short >(), DD4hep::Conditions::DependencyBuilder::add(), DD4hep::Alignments::Interna::AlignmentContainer::addKey(), DD4hep::Conditions::Interna::ConditionContainer::addKey(), DD4hep::DD4hepUI::alignmentMgr(), DD4hep::Geometry::World::alignmentsLoader(), DD4hep::OpaqueDataBlock::assign(), DD4hep::OpaqueDataBlock::bind(), DD4hep::Conditions::Test::check_discrete_condition(), DD4hep::XML::Element::child(), DD4hep::Simulation::Geant4Output2LCIO::commit(), DD4hep::Conditions::ConditionDependency::ConditionDependency(), DD4hep::Conditions::ConditionsDataLoader::ConditionsDataLoader(), DD4hep::Geometry::World::conditionsLoader(), DD4hep::DD4hepUI::conditionsMgr(), createPlugin(), createProcessor(), DD4hep::XML::createShape(), DD4hep::Simulation::Geant4SensitiveAction< T >::defineReadoutCollection(), DD4hep::Conditions::ConditionsDependencyHandler::do_callback(), except(), DD4hep::Conditions::ConditionsManager::from(), DD4hep::Alignments::AlignmentsManager::from(), DD4hep::Conditions::ConditionsManagerObject::fromString(), DD4hep::Conditions::ConditionsManagerObject::get(), DD4hep::Conditions::ConditionsManagerObject::getRange(), DD4hep::Conditions::ConditionsManagerObject::initialize(), insert_map_item(), insert_map_pair(), DD4hep::Conditions::ConditionsManagerObject::iovType(), makeTime(), DD4hep::Conditions::ConditionsPrinter::operator()(), DD4hep::Alignments::AlignmentsProcessor::operator()(), DD4hep::Conditions::ConditionsProcessor::operator()(), DD4hep::OpaqueDataBlock::operator=(), DD4hep::Conditions::ConditionDependency::operator=(), DD4hep::Alignments::printContainer(), DD4hep::Alignments::printElement(), DD4hep::Alignments::printElementPlacement(), printLevel(), DD4hep::Simulation::Geant4SensitiveAction< T >::process(), DD4hep::Alignments::AlignmentsProcessor::processElement(), DD4hep::Conditions::ConditionsProcessor::processElement(), DD4hep::Conditions::Condition::rebind(), DD4hep::Conditions::ConditionsManagerObject::registerCondition(), DD4hep::Conditions::ConditionsManagerObject::registerIOVType(), DD4hep::Conditions::ConditionsManagerObject::registerUnlocked(), DD4hep::Conditions::DependencyBuilder::release(), and DD4hep::Geometry::Segmentation::Segmentation().

int DD4hep::except ( const char *  src,
const char *  fmt,
  ... 
)

Calls the display action with ERROR and throws an std::runtime_error exception.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Calls the display action with ERROR and throws an std::runtime_error exception
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 228 of file Printout.cpp.

References except().

int DD4hep::except ( const std::string &  src,
const std::string &  fmt,
va_list &  args 
)

Calls the display action with ERROR and throws an std::runtime_error exception.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Calls the display action with ERROR and throws an std::runtime_error exception
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure

Definition at line 240 of file Printout.cpp.

References ERROR, and printout().

int DD4hep::except ( const char *  src,
const char *  fmt,
va_list &  args 
)

Calls the display action with ERROR and throws an std::runtime_error exception.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Calls the display action with ERROR and throws an std::runtime_error exception
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure

Definition at line 254 of file Printout.cpp.

References ERROR, and printout().

template<typename TYPE >
static int DD4hep::fill_data ( std::vector< TYPE > *  p,
const std::vector< std::string > &  temp 
)
static

Insertion function for std vectors.

Definition at line 185 of file BasicGrammar_inl.h.

References DD4hep::BasicGrammar::fromString(), and dd4hep::g.

Referenced by eval_container().

template<typename TYPE >
static int DD4hep::fill_data ( std::list< TYPE > *  p,
const std::vector< std::string > &  temp 
)
static

Insertion function for std lists.

Definition at line 197 of file BasicGrammar_inl.h.

References DD4hep::BasicGrammar::fromString(), and dd4hep::g.

template<typename TYPE >
static int DD4hep::fill_data ( std::set< TYPE > *  p,
const std::vector< std::string > &  temp 
)
static

Insertion function for std sets.

Definition at line 209 of file BasicGrammar_inl.h.

References DD4hep::BasicGrammar::fromString(), and dd4hep::g.

template<typename TYPE >
static int DD4hep::fill_data ( std::deque< TYPE > *  p,
const std::vector< std::string > &  temp 
)
static

Insertion function for std sets.

Definition at line 221 of file BasicGrammar_inl.h.

References DD4hep::BasicGrammar::fromString(), and dd4hep::g.

template<typename KEY , typename TYPE >
static int DD4hep::fill_data ( std::map< KEY, TYPE > *  p,
const std::vector< std::string > &  temp 
)
static

Insertion function for std sets.

Definition at line 233 of file BasicGrammar_inl.h.

References DD4hep::BasicGrammar::fromString(), and dd4hep::g.

string DD4hep::format ( const std::string &  src,
const std::string &  fmt,
  ... 
)

Build formatted string.

Build exception string

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 267 of file Printout.cpp.

Referenced by DD4hep::Simulation::_create_object(), DD4hep::Simulation::_createAction(), DD4hep::Simulation::Geant4Action::abortRun(), DD4hep::Simulation::checked_value(), DD4hep::Simulation::Geant4VolumeManager::checkValidity(), DD4hep::Simulation::Geant4Context::createTrajectory(), DD4hep::Simulation::Geant4Kernel::createWorker(), DD4hep::Simulation::Geant4Sensitive::detector(), DD4hep::Simulation::Geant4Action::except(), format(), DD4hep::Simulation::Geant4Handle< TYPE >::Geant4Handle(), DD4hep::Simulation::Geant4Sensitive::Geant4Sensitive(), DD4hep::Simulation::Geant4VolumeManager::Geant4VolumeManager(), DD4hep::Simulation::Geant4Kernel::getPhase(), DD4hep::Simulation::Geant4Kernel::globalAction(), DD4hep::Simulation::Geant4Kernel::globalFilter(), DD4hep::Simulation::Geant4SensDetSequences::insert(), DD4hep::Converter< T, ARG >::operator()(), DD4hep::Simulation::Geant4Kernel::PhaseSelector::operator[](), DD4hep::Simulation::Geant4Kernel::registerGlobalAction(), DD4hep::Simulation::Geant4Kernel::registerGlobalFilter(), DD4hep::Simulation::Geant4ActionContainer::registerSequence(), DD4hep::Simulation::Geant4Exec::run(), DD4hep::Simulation::Geant4Kernel::runManager(), DD4hep::Simulation::Geant4Mapping::volumeManager(), DD4hep::Simulation::KernelHandle::worker(), DD4hep::Simulation::Geant4Kernel::worker(), and DD4hep::Simulation::Geant4ActionContainer::workerContext().

string DD4hep::format ( const char *  src,
const char *  fmt,
  ... 
)

Build exception string.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Build exception string
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 280 of file Printout.cpp.

References format().

string DD4hep::format ( const std::string &  src,
const std::string &  fmt,
va_list &  args 
)

Build formatted string.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Build exception string and throw std::runtime_error
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure

Definition at line 294 of file Printout.cpp.

References format().

string DD4hep::format ( const char *  src,
const char *  fmt,
va_list &  args 
)

Build formatted string.

  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Build exception string and throw std::runtime_error
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure

Definition at line 304 of file Printout.cpp.

XmlTools::Evaluator& DD4hep::g4Evaluator ( )
unsigned int DD4hep::hash32 ( const char *  key)
inline
unsigned int DD4hep::hash32 ( const std::string &  key)
inline

Definition at line 51 of file Primitives.h.

References hash32().

void DD4hep::increment_object_validations ( )

Definition at line 243 of file Handle.cpp.

References s_numVerifies.

template<typename BINDER , typename OBJECT , typename KEY >
static void DD4hep::insert_map_data ( const BINDER &  b,
OBJECT &  object,
const string &  val_type,
const string &  pair_data,
const KEY *   
)
static

Definition at line 216 of file OpaqueDataBinder.cpp.

References INFO, insert_map_pair(), and printout().

Referenced by DD4hep::OpaqueDataBinder::insert_map().

template<typename BINDER , typename OBJECT , typename KEY , typename VAL >
static void DD4hep::insert_map_item ( const BINDER &  ,
OBJECT &  object,
const KEY &  k,
const string &  val,
const VAL *   
)
static

Definition at line 150 of file OpaqueDataBinder.cpp.

References except(), m, and v.

Referenced by insert_map_key().

template<typename BINDER , typename OBJECT , typename KEY >
static void DD4hep::insert_map_key ( const BINDER &  b,
OBJECT &  object,
const string &  key_val,
const string &  val_type,
const string &  val,
const KEY *   
)
static

Definition at line 166 of file OpaqueDataBinder.cpp.

References INFO, insert_map_item(), and printout().

Referenced by DD4hep::OpaqueDataBinder::insert_map().

template<typename BINDER , typename OBJECT , typename KEY , typename VAL >
static void DD4hep::insert_map_pair ( const BINDER &  ,
OBJECT &  object,
const string &  data,
const KEY *  ,
const VAL *   
)
static

Definition at line 200 of file OpaqueDataBinder.cpp.

References except(), and m.

Referenced by insert_map_data().

void DD4hep::invalidHandleAssignmentError ( const std::type_info &  from,
const std::type_info &  to 
)

Throw exception when handles are badly assigned.

Definition at line 195 of file Primitives.cpp.

References typeName().

Referenced by DD4hep::Handle< T >::bad_assignment(), createPlugin(), and createProcessor().

void DD4hep::invalidHandleError ( const std::type_info &  type)

Throw exception when handles are check for validity.

Definition at line 190 of file Primitives.cpp.

References typeName().

Referenced by DD4hep::Handle< T >::access(), and invalidHandleError().

template<typename T >
void DD4hep::invalidHandleError ( )

Throw exception when handles are check for validity.

Definition at line 87 of file Primitives.h.

References invalidHandleError().

long int DD4hep::makeTime ( int  year,
int  month,
int  day,
int  hour = 0,
int  minutes = 0,
int  seconds = 0 
)

Convert date into epoch time (seconds since 1970)

Definition at line 32 of file Primitives.cpp.

References except().

long int DD4hep::makeTime ( const std::string &  date,
const char *  fmt = "%d-%m-%Y %H:%M:%S" 
)

Convert date into epoch time (seconds since 1970)

Definition at line 52 of file Primitives.cpp.

References except().

void DD4hep::notImplemented ( const std::string &  msg)

Throw exception when handles are check for validity.

Definition at line 207 of file Primitives.cpp.

References m.

long DD4hep::num_object_validations ( )

Definition at line 240 of file Handle.cpp.

References s_numVerifies.

template bool DD4hep::OpaqueDataBinder::bind< ListBinder, Conditions::Condition > ( const ListBinder b,
Conditions::Condition object,
const string &  typ,
const string &  val 
)
template bool DD4hep::OpaqueDataBinder::bind< SetBinder, Conditions::Condition > ( const SetBinder b,
Conditions::Condition object,
const string &  typ,
const string &  val 
)
template bool DD4hep::OpaqueDataBinder::bind< ValueBinder, Conditions::Condition > ( const ValueBinder b,
Conditions::Condition object,
const string &  typ,
const string &  val 
)
template bool DD4hep::OpaqueDataBinder::bind< VectorBinder, Conditions::Condition > ( const VectorBinder b,
Conditions::Condition object,
const string &  typ,
const string &  val 
)
template bool DD4hep::OpaqueDataBinder::bind_sequence< Conditions::Condition > ( Conditions::Condition object,
const string &  typ,
const string &  val 
)

Instantiation for Conditions:

std::ostream& DD4hep::operator<< ( std::ostream &  os,
const DetType &  t 
)
inline
template<typename T >
int DD4hep::parse_none ( T ,
const std::string &   
)
inline

Definition at line 314 of file BasicGrammar_inl.h.

template<>
const std::string& DD4hep::PluginFactoryBase::value< const std::string & > ( const void *  p)
inline

Definition at line 65 of file Plugins.h.

template<>
std::string DD4hep::PluginFactoryBase::value< std::string > ( const void *  p)
inline

Definition at line 64 of file Plugins.h.

static std::string DD4hep::pre_parse_obj ( const std::string &  in)
inlinestatic

Helper function to parse data type.

Definition at line 157 of file BasicGrammar_inl.h.

Referenced by eval_container(), and eval_obj().

template<typename T >
std::ostream& DD4hep::print ( const T object,
std::ostream &  os = std::cout,
const std::string &  indent = "" 
)
inline
DD4hep::PrintLevel DD4hep::printLevel ( )
DD4hep::PrintLevel DD4hep::printLevel ( const char *  value)

Translate the printer level from string to value.

Definition at line 328 of file Printout.cpp.

References ALWAYS, DEBUG, ERROR, except(), FATAL, INFO, NOLOG, VERBOSE, and WARNING.

DD4hep::PrintLevel DD4hep::printLevel ( const std::string &  value)

Translate the printer level from string to value.

Definition at line 353 of file Printout.cpp.

References printLevel().

int DD4hep::printout ( PrintLevel  severity,
const char *  src,
const char *  fmt,
  ... 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 111 of file Printout.cpp.

Referenced by DD4hep::Conditions::Test::__print_bound_container(), DD4hep::Conditions::Test::__print_bound_val(), DD4hep::Conditions::Test::__print_bound_val< string >(), DD4hep::Conditions::ConditionsManagerObject::__queue_update(), DD4hep::Simulation::_convertAction(), DD4hep::Simulation::_convertSensitive(), DD4hep::Simulation::_create_object(), DD4hep::Alignments::AlignmentStack::add(), DD4hep::Geometry::LCDDImp::addDetector(), DD4hep::PluginService::addFactory(), DD4hep::Alignments::GlobalAlignmentWriter::addNode(), DD4hep::Geometry::VolumeManager::adoptPlacement(), DD4hep::Alignments::GlobalAlignmentCache::apply(), DD4hep::XML::DocumentHolder::assign(), DD4hep::Simulation::Geant4EventSeed::begin(), DD4hep::Simulation::Geant4EventSeed::beginEvent(), DD4hep::OpaqueDataBinder::bind(), DD4hep::OpaqueDataBinder::bind_map(), Geant4Compatibility::buildDefaultDetectorConstruction(), DD4hep::Alignments::AlignmentsManagerObject::compute(), DD4hep::Simulation::Geant4Exec::configure(), DD4hep::CaloLego::ConfigureEvent(), DD4hep::View::ConfigureEvent(), DD4hep::View::ConfigureEventFromInfo(), DD4hep::Calo2DProjection::ConfigureGeometry(), DD4hep::View::ConfigureGeometry(), DD4hep::View::ConfigureGeometryFromInfo(), DD4hep::Simulation::Geant4Converter::create(), create_detector(), create_element(), DD4hep::Utilities::createEveShape(), DD4hep::DDRec::createSurfaceManager(), DD4hep::Simulation::Geant4Context::createTrajectory(), DD4hep::Simulation::Geant4Kernel::createWorker(), DD4hep::Simulation::Geant4Action::debug(), DD4hep::Geometry::DetElementObject::DetElementObject(), DD4hep::Conditions::ConditionsDependencyHandler::do_callback(), DD4hep::Simulation::Geant4HierarchyDump::dump(), DD4hep::Simulation::Geant4PhysicsList::dump(), DD4hep::Simulation::Geant4PhysicsListActionSequence::dump(), DD4hep::PropertyManager::dump(), DD4hep::Simulation::Geant4ParticleHandle::dump1(), DD4hep::Simulation::Geant4ParticleHandle::dump2(), DD4hep::Simulation::Geant4ParticleHandle::dump4(), DD4hep::Conditions::Test::TestEnv::dump_conditions_pools(), DD4hep::Conditions::Test::TestEnv::dump_conditions_tree(), DD4hep::Conditions::Test::TestEnv::dump_detector_element(), dump_root(), DD4hep::Simulation::Geant4SensitiveDetector::dumpStep(), DD4hep::XML::dumpTree(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithMomentum(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithMomentumAndVertex(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithVertex(), DD4hep::Simulation::Geant4OutputAction::end(), DD4hep::XML::DocumentErrorHandler::error(), DD4hep::Simulation::Geant4Action::error(), except(), DD4hep::Simulation::Geant4Action::except(), DD4hep::Simulation::Geant4Action::fatal(), DD4hep::XML::DocumentErrorHandler::fatalError(), DD4hep::Simulation::Geant4Handle< TYPE >::Geant4Handle(), DD4hep::Simulation::Geant4UIMessenger::Geant4UIMessenger(), DD4hep::Conditions::ConditionsManagerObject::get(), DD4hep::Simulation::Geant4UIMessenger::GetCurrentValue(), DD4hep::Simulation::Geant4Converter::handleAssembly(), DD4hep::Simulation::Geant4Converter::handleElement(), DD4hep::XML::DocumentErrorHandler::handleError(), DD4hep::Simulation::Geant4Converter::handleMaterial(), DD4hep::PopupMenu::HandleMenu(), DD4hep::Simulation::Geant4Converter::handlePlacement(), DD4hep::Simulation::Geant4Converter::handleProperties(), DD4hep::Simulation::Geant4Converter::handleRegion(), DD4hep::Simulation::Geant4Converter::handleVolume(), DD4hep::Projection::ImportElement(), DD4hep::View::ImportEventElement(), DD4hep::View::ImportGeoTopics(), DD4hep::Simulation::Geant4Action::info(), DD4hep::Geometry::LCDDImp::init(), DD4hep::Alignments::GlobalAlignmentCache::insert(), DD4hep::OpaqueDataBinder::insert_map(), insert_map_data(), insert_map_key(), DD4hep::SurfaceInstaller::install(), DD4hep::Alignments::AlignmentUpdateCall::invalidDataType(), DD4hep::SurfaceInstaller::invalidInstaller(), DD4hepRootPersistency::load(), DD4hep::XML::DocumentHandler::load(), DD4hep::Display::LoadGeoChildren(), DD4hep::FrameControl::LoadPicture(), DD4hep::Display::MakeNodesVisible(), DD4hep::Simulation::LCIOStdHepReader::moveToEvent(), DD4hep::Simulation::Geant4EventReaderHepEvt::moveToEvent(), DD4hep::Simulation::Geant4EventReaderHepMC::moveToEvent(), DD4hep::Simulation::LCIOFileReader::moveToEvent(), DD4hep::DD4hepMenu::OnExit(), DD4hep::Display::OnNewEvent(), DD4hep::DDG4EventHandler::Open(), DD4hep::Alignments::DDAlignForwardCall::operator()(), DD4hep::Alignments::DDAlignUpdateCall::operator()(), DD4hep::Printer< T >::operator()(), DD4hep::Conditions::ConditionsPrinter::operator()(), DD4hep::Simulation::Geant4ParticleGenerator::operator()(), DD4hep::Simulation::Geant4FieldTrackingSetupAction::operator()(), DD4hep::Simulation::Geant4FieldTrackingConstruction::operator()(), DD4hep::Converter< T, ARG >::operator()(), operator<<(), DD4hep::Simulation::Geant4ParticleMap::particleID(), DD4hep::Simulation::Geant4DataDump::print(), DD4hep::Conditions::ConditionsPool::print(), DD4hep::Simulation::Geant4Action::print(), DD4hep::Conditions::Test::print_condition< void >(), DD4hep::Alignments::printAlignment(), printAlignmentEx(), DD4hep::Alignments::printContainer(), DD4hep::Alignments::printElement(), DD4hep::Alignments::printElementPlacement(), DD4hep::Simulation::Geant4Action::printM1(), DD4hep::Simulation::Geant4Action::printM2(), printout(), DD4hep::Simulation::Geant4Action::printP1(), DD4hep::Simulation::Geant4Action::printP2(), DD4hep::Simulation::Geant4Converter::printPlacement(), DD4hep::Simulation::Geant4Kernel::printProperties(), DD4hep::Simulation::Geant4Converter::printSensitive(), Tests::Geant4SensitiveAction< T >::process(), DD4hep::Simulation::HepMC::EventStream::read(), DD4hep::DDG4EventHandler::ReadEvent(), DD4hep::Simulation::LCIOFileReader::readParticleCollection(), DD4hep::Simulation::Geant4EventReaderHepMC::readParticles(), DD4hep::Conditions::Condition::rebind(), DD4hep::Simulation::Geant4Kernel::registerGlobalAction(), DD4hep::Simulation::Geant4Action::return_error(), DD4hep::Geometry::DetElementObject::revalidate(), DD4hep::Simulation::Geant4Kernel::run(), DD4hep::Simulation::Geant4Kernel::runManager(), DD4hepRootPersistency::save(), DD4hep::Simulation::Geant4Output2ROOT::saveCollection(), DD4hep::Simulation::Geant4Output2LCIO::saveParticles(), DD4hep::Geometry::SensitiveDetectorObject::SensitiveDetectorObject(), DD4hep::XML::setDetectorTypeFlag(), DD4hep::Simulation::Geant4UIMessenger::SetNewValue(), DD4hep::Geometry::Volume::setVisAttributes(), DD4hep::Simulation::Geant4UIManager::start(), DD4hep::Simulation::Geant4UIManager::startUI(), DD4hep::Simulation::Geant4UIManager::startVis(), DD4hep::SurfaceInstaller::SurfaceInstaller(), DD4hep::Simulation::Geant4Kernel::terminate(), DD4hep::Geometry::VolumeManagerObject::update(), DD4hep::Geometry::DetElementObject::update(), usage(), DD4hep::Simulation::Geant4VolumeManager::volumeID(), DD4hep::Geometry::VolumeManager::VolumeManager(), DD4hep::Simulation::Geant4Action::warning(), DD4hep::XML::DocumentErrorHandler::~DocumentErrorHandler(), and DD4hep::Alignments::GlobalAlignmentCache::~GlobalAlignmentCache().

int DD4hep::printout ( PrintLevel  severity,
const std::string &  src,
const char *  fmt,
  ... 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 127 of file Printout.cpp.

References printout().

int DD4hep::printout ( PrintLevel  severity,
const std::string &  src,
const std::string &  fmt,
  ... 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 159 of file Printout.cpp.

References printout().

int DD4hep::printout ( PrintLevel  severity,
const char *  src,
const std::string &  fmt,
  ... 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 143 of file Printout.cpp.

References printout().

int DD4hep::printout ( PrintLevel  severity,
const char *  src,
const char *  fmt,
va_list &  args 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 175 of file Printout.cpp.

int DD4hep::printout ( PrintLevel  severity,
const std::string &  src,
const char *  fmt,
va_list &  args 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 188 of file Printout.cpp.

References printout().

int DD4hep::printout ( PrintLevel  severity,
const std::string &  src,
const std::string &  fmt,
va_list &  args 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 208 of file Printout.cpp.

References printout().

int DD4hep::printout ( PrintLevel  severity,
const char *  src,
const std::string &  fmt,
va_list &  args 
)

Calls the display action with a given severity level.

  • severity [int,read-only] Display severity flag (see enum)
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
  • args [ap_list,read-only] List with variable number of arguments to fill format string.
    Returns
    Status code indicating success or failure
    Calls the display action
  • severity [int,read-only] Display severity flag
  • src [string,read-only] Information source (component, etc.)
  • fmt [string,read-only] Format string for ellipsis args
    Returns
    Status code indicating success or failure

Definition at line 198 of file Printout.cpp.

References printout().

template<typename M >
ReferenceObjects<typename M::value_type> DD4hep::reference2nd ( M &  )
template<typename M >
ReferenceObject<M> DD4hep::referenceObject ( M &  )

Definition at line 368 of file Primitives.h.

template<typename M >
void DD4hep::release2nd ( M &  m)

Definition at line 347 of file Primitives.h.

template<typename M >
void DD4hep::releaseHandles ( M &  m)

Functional created of map destruction functors.

Definition at line 225 of file Handle.h.

References m.

template<typename M >
ReleaseObject<typename M::value_type> DD4hep::releaseObject ( M &  )

Definition at line 341 of file Primitives.h.

template<typename M >
void DD4hep::releaseObjects ( M &  m)
template<typename T >
void DD4hep::releasePtr ( T p)
inline
void DD4hep::run_interpreter ( const std::string &  name)

Definition at line 54 of file Dictionary.h.

template<typename T >
Select1st<typename T::value_type> DD4hep::select1st ( const T )

Generator to create Operator to select key values of a map.

Definition at line 277 of file Primitives.h.

template<typename T >
Select2nd<typename T::value_type> DD4hep::select2nd ( const T )

Generator to create Operator to select value elements of a map.

Definition at line 265 of file Primitives.h.

void DD4hep::setPrinter ( void *  print_arg,
output_function1_t  fcn 
)

Customize printer function.

Definition at line 365 of file Printout.cpp.

void DD4hep::setPrinter2 ( void *  print_arg,
output_function2_t  fcn 
)

Customize printer function.

Definition at line 371 of file Printout.cpp.

string DD4hep::setPrintFormat ( const std::string &  new_format)

Set new printout format for the 3 fields: source-level-message. All 3 are strings.

Definition at line 358 of file Printout.cpp.

DD4hep::PrintLevel DD4hep::setPrintLevel ( PrintLevel  new_level)

Set new print level. Returns the old print level.

Definition at line 316 of file Printout.cpp.

const char* DD4hep::true_false ( bool  value)
inline

Helper function to print booleans in format true/false.

Definition at line 299 of file Printout.h.

void DD4hep::typeinfoCheck ( const std::type_info &  typ1,
const std::type_info &  typ2,
const std::string &  text = "" 
)

Check type infos for equivalence (dynamic casts) using ABI information.

Definition at line 213 of file Primitives.cpp.

Referenced by DD4hep::Simulation::Geant4ActionPhase::add(), and DD4hep::OpaqueDataBlock::bind().

std::string DD4hep::typeName ( const std::type_info &  type)
std::string DD4hep::versionString ( )
inline

return a string with the current DD4hep version in the form vXX-YY.

Definition at line 51 of file LCDD.h.

References DD4HEP_MAJOR_VERSION, and DD4HEP_MINOR_VERSION.

Referenced by DD4hep::Simulation::Geant4Output2LCIO::saveRun().

void DD4hep::warning_deprecated_xml_factory ( const char *  name)

Function tp print warning about deprecated factory usage. Used by Plugin mechanism.

Definition at line 246 of file Handle.cpp.

const char* DD4hep::yes_no ( bool  value)
inline

Variable Documentation

long DD4hep::s_numVerifies = 0
static

Definition at line 238 of file Handle.cpp.

Referenced by increment_object_validations(), and num_object_validations().