CMS 3D CMS Logo

Classes | Namespaces | Macros
DDPlugins.h File Reference
#include "DetectorDescription/DDCMS/interface/DDAlgoArguments.h"
#include "DD4hep/Factories.h"
#include "DD4hep/Plugins.h"

Go to the source code of this file.

Classes

class  dd4hep::DDCMSDetElementFactory< T >
 

Namespaces

 dd4hep
 

Macros

#define DECLARE_DDCMS_DETELEMENT(name, func)
 

Macro Definition Documentation

◆ DECLARE_DDCMS_DETELEMENT

#define DECLARE_DDCMS_DETELEMENT (   name,
  func 
)
Value:
DD4HEP_OPEN_PLUGIN(dd4hep, ddcms_det_element_##name) { \
typedef DDCMSDetElementFactory<ddcms_det_element_##name> _IMP; \
template <> \
long _IMP::create(dd4hep::Detector& d, cms::DDParsingContext& c, xml::Handle_t e, dd4hep::SensitiveDetector& h) { \
return func(d, c, e, h); \
} \
DD4HEP_PLUGINSVC_FACTORY(ddcms_det_element_##name, \
name, \
long(dd4hep::Detector*, cms::DDParsingContext*, ns::xml_h*, dd4hep::SensitiveDetector*), \
__LINE__) \
}

Definition at line 30 of file DDPlugins.h.

DD4HEP_OPEN_PLUGIN
DD4HEP_OPEN_PLUGIN(dd4hep, ddcms_det_element_DDCMS_global_DDAngular)
Definition: DDAngular.cc:104
cms::DDParsingContext
Definition: DDParsingContext.h:14
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition: beamerCreator.py:44
h
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
TrackCollections2monitor_cff.func
func
Definition: TrackCollections2monitor_cff.py:359
align::Detector
Definition: StructureType.h:86
dd4hep
Definition: DDPlugins.h:8
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
ztail.d
d
Definition: ztail.py:151
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37