![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
#include "DD4hep/config.h"
#include "DD4hep/Primitives.h"
#include <string>
#include <typeinfo>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | DD4hep::Handle< T > |
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects. More... | |
class | DD4hep::DestroyHandle< T > |
Functor to destroy handles and delete the cached object. More... | |
class | DD4hep::DestroyHandles< M > |
map Functor to destroy handles and delete the cached object More... | |
class | DD4hep::ReleaseHandle< T > |
Functor to destroy handles and delete the cached object. More... | |
class | DD4hep::ReleaseHandles< M > |
map Functor to release handles More... | |
Namespaces | |
DD4hep | |
Namespace for the AIDA detector description toolkit. | |
DD4hep::Geometry | |
Namespace for the geometry part of the AIDA detector description toolkit. | |
Macros | |
#define | RAD_2_DEGREE 57.295779513082320876798154814105 |
#define | DEGREE_2_RAD 0.0174532925199432957692369076848 |
#define | CM_2_MM 10.0 |
#define | MM_2_CM 0.1 |
#define | M_PI 3.14159265358979323846 |
Typedefs | |
typedef Handle< NamedObject > | DD4hep::Ref_t |
Default Ref_t definition describing named objects. More... | |
Functions | |
long | DD4hep::num_object_validations () |
void | DD4hep::increment_object_validations () |
void | DD4hep::warning_deprecated_xml_factory (const char *name) |
Function tp print warning about deprecated factory usage. Used by Plugin mechanism. More... | |
unsigned long long int | DD4hep::magic_word () |
Access to the magic word, which is protecting some objects against memory corruptions. More... | |
template<typename T > | |
void | DD4hep::destroyHandle (T &h) |
Helper to delete objects from heap and reset the handle. More... | |
template<typename M > | |
void | DD4hep::destroyHandles (M &m) |
Functional created of map destruction functors. More... | |
template<typename T > | |
void | DD4hep::releaseHandle (T &h) |
Helper to delete objects from heap and reset the handle. More... | |
template<typename M > | |
void | DD4hep::releaseHandles (M &m) |
Functional created of map destruction functors. More... | |
std::string | DD4hep::_toString (bool value) |
String conversions: boolean value to string. More... | |
std::string | DD4hep::_toString (short value, const char *fmt="%d") |
String conversions: integer value to string. More... | |
std::string | DD4hep::_toString (int value, const char *fmt="%d") |
String conversions: integer value to string. More... | |
std::string | DD4hep::_toString (float value, const char *fmt="%.17e") |
String conversions: float value to string. More... | |
std::string | DD4hep::_toString (double value, const char *fmt="%.17e") |
String conversions: double value to string. More... | |
std::string | DD4hep::_ptrToString (const void *p, const char *fmt="%p") |
Pointer to text conversion. More... | |
template<typename T > | |
std::string | DD4hep::_toString (const T *p, const char *fmt="%p") |
Format any pointer (64 bits) to string. More... | |
bool | DD4hep::_toBool (const std::string &value) |
String conversions: string to boolean value. More... | |
short | DD4hep::_toShort (const std::string &value) |
String conversions: string to integer value. More... | |
int | DD4hep::_toInt (const std::string &value) |
String conversions: string to integer value. More... | |
long | DD4hep::_toLong (const std::string &value) |
String conversions: string to long integer value. More... | |
float | DD4hep::_toFloat (const std::string &value) |
String conversions: string to float value. More... | |
double | DD4hep::_toDouble (const std::string &value) |
String conversions: string to double value. More... | |
bool | DD4hep::_toBool (bool value) |
Void helper function to support formalisms. More... | |
short | DD4hep::_toShort (short value) |
Void helper function to support formalisms. More... | |
int | DD4hep::_toInt (int value) |
Void helper function to support formalisms. More... | |
long | DD4hep::_toLong (long value) |
Void helper function to support formalisms. More... | |
unsigned short | DD4hep::_toUShort (unsigned short value) |
Void helper function to support formalisms. More... | |
unsigned int | DD4hep::_toUInt (unsigned int value) |
Void helper function to support formalisms. More... | |
unsigned long | DD4hep::_toULong (unsigned long value) |
Void helper function to support formalisms. More... | |
float | DD4hep::_toFloat (float value) |
Void helper function to support formalisms. More... | |
double | DD4hep::_toDouble (double value) |
Void helper function to support formalisms. More... | |
template<class T > | |
T | DD4hep::_multiply (const std::string &left, T right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<class T > | |
T | DD4hep::_multiply (T left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<class T > | |
T | DD4hep::_multiply (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
char | DD4hep::_multiply< char > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
char | DD4hep::_multiply< char > (char left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
char | DD4hep::_multiply< char > (const std::string &left, char right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned char | DD4hep::_multiply< unsigned char > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned char | DD4hep::_multiply< unsigned char > (unsigned char left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned char | DD4hep::_multiply< unsigned char > (const std::string &left, unsigned char right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
short | DD4hep::_multiply< short > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
short | DD4hep::_multiply< short > (short left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
short | DD4hep::_multiply< short > (const std::string &left, short right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned short | DD4hep::_multiply< unsigned short > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned short | DD4hep::_multiply< unsigned short > (unsigned short left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned short | DD4hep::_multiply< unsigned short > (const std::string &left, unsigned short right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
int | DD4hep::_multiply< int > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
int | DD4hep::_multiply< int > (int left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
int | DD4hep::_multiply< int > (const std::string &left, int right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned int | DD4hep::_multiply< unsigned int > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned int | DD4hep::_multiply< unsigned int > (unsigned int left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned int | DD4hep::_multiply< unsigned int > (const std::string &left, unsigned int right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
long | DD4hep::_multiply< long > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
long | DD4hep::_multiply< long > (long left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
long | DD4hep::_multiply< long > (const std::string &left, long right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned long | DD4hep::_multiply< unsigned long > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned long | DD4hep::_multiply< unsigned long > (unsigned long left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
unsigned long | DD4hep::_multiply< unsigned long > (const std::string &left, unsigned long right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
float | DD4hep::_multiply< float > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
float | DD4hep::_multiply< float > (float left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
float | DD4hep::_multiply< float > (const std::string &left, float right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
double | DD4hep::_multiply< double > (const std::string &left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
double | DD4hep::_multiply< double > (const std::string &left, double right) |
Generic multiplication using the evaluator: result = left * right. More... | |
template<> | |
double | DD4hep::_multiply< double > (double left, const std::string &right) |
Generic multiplication using the evaluator: result = left * right. More... | |
void | DD4hep::_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 | DD4hep::_toDictionary (const std::string &name, const std::string &value, const std::string &typ) |
Enter name value pair to the dictionary. More... | |
#define CM_2_MM 10.0 |
Definition at line 32 of file Handle.h.
Referenced by DD4hep::Simulation::Geant4Converter::handleSolid(), and DD4hep::MCParticleCreator::operator()().
#define DEGREE_2_RAD 0.0174532925199432957692369076848 |
Definition at line 29 of file Handle.h.
Referenced by DD4hep::Simulation::Geant4Converter::handleSolid().
#define M_PI 3.14159265358979323846 |
Definition at line 39 of file Handle.h.
Referenced by DD4hep::DDSegmentation::ProjectiveCylinder::cellID(), DD4hep::DDSegmentation::PolarGridRPhi2::cellID(), create_detector(), DD4hep::Simulation::Geant4IsotropeGenerator::Geant4IsotropeGenerator(), DD4hep::Simulation::Geant4IsotropeGenerator::getParticleDirectionEta(), DD4hep::DDRec::VolCylinderImpl::globalToLocal(), DD4hep::DDRec::VolConeImpl::globalToLocal(), DD4hep::Simulation::Geant4Converter::handleSolid(), DD4hep::Geometry::LCDDImp::init(), DD4hep::DDRec::VolCylinderImpl::localToGlobal(), DD4hep::DDRec::VolConeImpl::localToGlobal(), DD4hep::DDSegmentation::ProjectiveCylinder::phi(), placeStaves(), DD4hep::DDSegmentation::PolarGridRPhi2::position(), DD4hep::DDSegmentation::ProjectiveCylinder::theta(), DD4hep::Geometry::Tube::Tube(), and DD4hep::DDRec::VolConeImpl::VolConeImpl().
#define MM_2_CM 0.1 |
Definition at line 35 of file Handle.h.
Referenced by DD4hep::Geometry::_transform(), DD4hep::Simulation::Geant4Sensitive::cellID(), DD4hep::Simulation::Geant4SensitiveDetector::getCellID(), DD4hep::EtaPhiHistogramActor::operator()(), DD4hep::MCParticleCreator::operator()(), DD4hep::PointsetCreator::operator()(), DD4hep::BoxsetCreator::operator()(), and DD4hep::TowersetCreator::operator()().
#define RAD_2_DEGREE 57.295779513082320876798154814105 |
Definition at line 26 of file Handle.h.
Referenced by DD4hep::Geometry::_rotation3D(), DD4hep::Geometry::_rotationZYX(), DD4hep::Geometry::_transform(), and DD4hep::Geometry::AlignmentEntry::align().