![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
Basic conversion objects for handling DD4hep XML files. More...
#include <Conversions.h>
Public Types | |
typedef T | to_type |
typedef void * | user_param |
Public Member Functions | |
Converter (Geometry::LCDD &l) | |
Initializing constructor of the functor. More... | |
Converter (Geometry::LCDD &l, user_param p) | |
Initializing constructor of the functor with initialization of the user parameter. More... | |
Converter (Geometry::LCDD &l, user_param p, user_param o) | |
Initializing constructor of the functor with initialization of the user parameter. More... | |
void | operator() (ARG handle) const |
Callback operator to be specialized depending on the element type. More... | |
template<typename TYPE > | |
TYPE * | _param () const |
Typed access to the 1rst. user parameter (unchecked) More... | |
template<typename TYPE > | |
TYPE & | _object () const |
Typed object access to the 1rst. user parameter (unchecked) More... | |
template<typename TYPE > | |
TYPE * | _option () const |
Typed access to the 2nd. user parameter (unchecked) More... | |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h seq) const |
template<> | |
void | operator() (xml_h seq) const |
template<> | |
void | operator() (xml_h seq) const |
template<> | |
void | operator() (xml_h seq) const |
template<> | |
void | operator() (xml_h seq) const |
template<> | |
void | operator() (xml_h seq) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h e) const |
template<> | |
void | operator() (xml_h seq) const |
Public Attributes | |
Geometry::LCDD & | lcdd |
Reference to the detector description object. More... | |
user_param | param |
Reference to optional user defined parameter. More... | |
user_param | optional |
Basic conversion objects for handling DD4hep XML files.
Definition at line 38 of file Conversions.h.
typedef T DD4hep::Converter< T, ARG >::to_type |
Definition at line 39 of file Conversions.h.
typedef void* DD4hep::Converter< T, ARG >::user_param |
Definition at line 40 of file Conversions.h.
|
inline |
Initializing constructor of the functor.
Definition at line 47 of file Conversions.h.
|
inline |
Initializing constructor of the functor with initialization of the user parameter.
Definition at line 49 of file Conversions.h.
|
inline |
Initializing constructor of the functor with initialization of the user parameter.
Definition at line 51 of file Conversions.h.
|
inline |
Typed object access to the 1rst. user parameter (unchecked)
Definition at line 57 of file Conversions.h.
References DD4hep::Converter< T, ARG >::param.
|
inline |
Typed access to the 2nd. user parameter (unchecked)
Definition at line 59 of file Conversions.h.
References DD4hep::Converter< T, ARG >::optional.
|
inline |
Typed access to the 1rst. user parameter (unchecked)
Definition at line 55 of file Conversions.h.
References DD4hep::Converter< T, ARG >::param.
void DD4hep::Converter< ddeve >::operator() | ( | xml_h | seq | ) | const |
void DD4hep::Converter< T, ARG >::operator() | ( | ARG | handle | ) | const |
Callback operator to be specialized depending on the element type.
void DD4hep::Converter< display >::operator() | ( | xml_h | seq | ) | const |
void DD4hep::Converter< view >::operator() | ( | xml_h | seq | ) | const |
void DD4hep::Converter< panel >::operator() | ( | xml_h | seq | ) | const |
void DD4hep::Converter< include >::operator() | ( | xml_h | seq | ) | const |
void DD4hep::Converter< calodata >::operator() | ( | xml_h | e | ) | const |
void DD4hep::Converter< calodata_configs >::operator() | ( | xml_h | e | ) | const |
void DD4hep::Converter< collection >::operator() | ( | xml_h | e | ) | const |
void DD4hep::Converter< collection_configs >::operator() | ( | xml_h | e | ) | const |
void DD4hep::Converter< detelement >::operator() | ( | xml_h | seq | ) | const |
void DD4hep::Converter< Action >::operator() | ( | xml_h | e | ) | const |
<actions> <action name="Geant4PostTrackingAction/PostTrackAction" <properties name1="Value1" name2="Value2"> </action> </actions>
Definition at line 151 of file Geant4XMLSetup.cpp.
References DD4hep::Simulation::_convertAction(), DD4hep::Simulation::Geant4Kernel::instance(), and DD4hep::Simulation::Geant4Kernel::registerGlobalAction().
void DD4hep::Converter< Filter >::operator() | ( | xml_h | e | ) | const |
Note: Filters are Geant4Actions and - if global - may also receive properties!
<filters> <filter name="GeantinoRejector"> <filter name="EnergyDepositMinimumCut"> <properties cut="10*MeV"> </filter> </filters>
Definition at line 167 of file Geant4XMLSetup.cpp.
References DD4hep::Simulation::_convertAction(), DD4hep::Simulation::Geant4Kernel::instance(), and DD4hep::Simulation::Geant4Kernel::registerGlobalFilter().
void DD4hep::Converter< Phase >::operator() | ( | xml_h | e | ) | const |
<phases> <phase name="Geant4PostTrackingPhase/PostTrackPhase" <properties name1="Value1" name2="Value2"> </phase> </phases>
Definition at line 182 of file Geant4XMLSetup.cpp.
References _U, DD4hep::Simulation::Geant4Kernel::addPhase(), DD4hep::XML::Element::attr(), DD4hep::Simulation::Geant4SteppingActionSequence::call(), DD4hep::Simulation::Geant4GeneratorActionSequence::call(), DD4hep::Simulation::Geant4ActionPhase::call(), DD4hep::Simulation::Geant4TrackingActionSequence::callAtBegin(), DD4hep::Simulation::Geant4RunActionSequence::callAtBegin(), DD4hep::Simulation::Geant4EventActionSequence::callAtBegin(), DD4hep::Simulation::Geant4TrackingActionSequence::callAtEnd(), DD4hep::Simulation::Geant4RunActionSequence::callAtEnd(), DD4hep::Simulation::Geant4EventActionSequence::callAtEnd(), DD4hep::Simulation::Geant4StackingActionSequence::callAtNewStage(), DD4hep::Simulation::Geant4StackingActionSequence::callAtPrepare(), DD4hep::Simulation::Geant4ActionContainer::eventAction(), DD4hep::format(), DD4hep::Simulation::Geant4ActionContainer::generatorAction(), DD4hep::Simulation::Geant4Kernel::instance(), DD4hep::Handle< T >::isValid(), DD4hep::Simulation::Geant4ActionContainer::runAction(), DD4hep::Simulation::TypeName::split(), DD4hep::Simulation::Geant4ActionContainer::stackingAction(), DD4hep::Simulation::Geant4ActionContainer::steppingAction(), and DD4hep::Simulation::Geant4ActionContainer::trackingAction().
void DD4hep::Converter< ActionSequence >::operator() | ( | xml_h | e | ) | const |
<sequences> <sequence name="Geant4EventActionSequence/EventAction" <member name="" type="Geant4TrackerEventMonitor/TrackerEvtAction"> </sequence> <sequence name="Geant4SensdetActionSequence/SiVertexBarrel" <member type="Geant4TrackerSensitiveMonitor/TrackerHitMonitor"> <properties name1="Value1" name2="Value2"> </member> </sequence> </sequences>
Definition at line 285 of file Geant4XMLSetup.cpp.
References DD4hep::Simulation::_createAction(), DD4hep::Simulation::_setAttributes(), _U, _Unicode, DD4hep::Simulation::ACTION, DD4hep::Simulation::Geant4SteppingActionSequence::adopt(), DD4hep::Simulation::Geant4StackingActionSequence::adopt(), DD4hep::Simulation::Geant4GeneratorActionSequence::adopt(), DD4hep::Simulation::Geant4TrackingActionSequence::adopt(), DD4hep::Simulation::Geant4RunActionSequence::adopt(), DD4hep::Simulation::Geant4EventActionSequence::adopt(), DD4hep::Simulation::Geant4PhysicsListActionSequence::adopt(), DD4hep::ALWAYS, DD4hep::XML::Element::attr(), DD4hep::PropertyManager::dump(), DD4hep::Simulation::Geant4ActionContainer::eventAction(), DD4hep::Simulation::FILTER, DD4hep::format(), DD4hep::Simulation::Geant4ActionContainer::generatorAction(), DD4hep::Simulation::Geant4Handle< TYPE >::get(), DD4hep::XML::Element::hasAttr(), DD4hep::INFO, DD4hep::Simulation::installMessenger(), DD4hep::Simulation::Geant4Kernel::instance(), m, DD4hep::Simulation::Geant4ActionContainer::physicsList(), DD4hep::printout(), DD4hep::Simulation::Geant4Action::properties(), DD4hep::Simulation::Geant4ActionContainer::runAction(), DD4hep::Simulation::SENSITIVE, DD4hep::Simulation::TypeName::split(), DD4hep::Simulation::Geant4ActionContainer::stackingAction(), DD4hep::Simulation::Geant4ActionContainer::steppingAction(), and DD4hep::Simulation::Geant4ActionContainer::trackingAction().
void DD4hep::Converter< Geant4PhysicsList::ParticleProcesses >::operator() | ( | xml_h | e | ) | const |
<physicslist> <processes> <particle name="'e-'"> <process name="G4eMultipleScattering" ordatrestdoit="-1" ordalongsteptdoit="1" ordpoststepdoit="1"> <process name="G4eIonisation" ordatrestdoit="-1" ordalongsteptdoit="2" ordpoststepdoit="2"> </particle> </processes> </physicslist>
Definition at line 379 of file Geant4XMLSetup.cpp.
References _Unicode, DD4hep::XML::Element::attr(), DD4hep::INFO, DD4hep::Simulation::Geant4PhysicsList::Process::name, DD4hep::XML::Dimension::nameStr(), DD4hep::Simulation::Geant4PhysicsList::Process::ordAlongSteptDoIt, DD4hep::Simulation::Geant4PhysicsList::Process::ordAtRestDoIt, DD4hep::Simulation::Geant4PhysicsList::Process::ordPostStepDoIt, and DD4hep::printout().
void DD4hep::Converter< Geant4PhysicsList::ParticleConstructor >::operator() | ( | xml_h | e | ) | const |
<physicslist> <particles> <construct name="G4Electron"> <construct name="G4Gamma"> <construct name="G4BosonConstructor"> <construct name="G4LeptonConstructor"> <construct name="G4BaryonConstructor"> </particles> </physicslist>
Definition at line 409 of file Geant4XMLSetup.cpp.
References DD4hep::INFO, DD4hep::XML::Dimension::nameStr(), and DD4hep::printout().
void DD4hep::Converter< Geant4PhysicsList::PhysicsConstructor >::operator() | ( | xml_h | e | ) | const |
<physicslist> <physics> <construct name="G4EmStandardPhysics"> <construct name="HadronPhysicsQGSP"> </physics> </physicslist>
Definition at line 426 of file Geant4XMLSetup.cpp.
References DD4hep::INFO, DD4hep::XML::Dimension::nameStr(), and DD4hep::printout().
void DD4hep::Converter< PhysicsListExtension >::operator() | ( | xml_h | e | ) | const |
void DD4hep::Converter< PhysicsList >::operator() | ( | xml_h | e | ) | const |
Definition at line 450 of file Geant4XMLSetup.cpp.
References DD4hep::Simulation::_setAttributes(), _U, _Unicode, DD4hep::XML::Handle_t::attr(), DD4hep::XML::Collection_t::for_each(), DD4hep::Simulation::Geant4Handle< TYPE >::get(), handle(), and DD4hep::Simulation::Geant4Kernel::instance().
void DD4hep::Converter< Kernel >::operator() | ( | xml_h | e | ) | const |
Definition at line 463 of file Geant4XMLSetup.cpp.
References _Unicode, DD4hep::XML::Element::attr(), DD4hep::XML::Element::hasAttr(), DD4hep::Simulation::Geant4Kernel::instance(), DD4hep::Simulation::Geant4Kernel::property(), and DD4hep::Property::str().
void DD4hep::Converter< XMLSetup >::operator() | ( | xml_h | seq | ) | const |
Definition at line 473 of file Geant4XMLSetup.cpp.
References _Unicode, DD4hep::XML::Collection_t::for_each(), and DD4hep::XML::Handle_t::tag().
Geometry::LCDD& DD4hep::Converter< T, ARG >::lcdd |
Reference to the detector description object.
Definition at line 42 of file Conversions.h.
user_param DD4hep::Converter< T, ARG >::optional |
Definition at line 45 of file Conversions.h.
Referenced by DD4hep::Converter< T, ARG >::_option().
user_param DD4hep::Converter< T, ARG >::param |
Reference to optional user defined parameter.
Definition at line 44 of file Conversions.h.
Referenced by DD4hep::Converter< T, ARG >::_object(), and DD4hep::Converter< T, ARG >::_param().