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

#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__) \
}
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
def create(alignables, pedeDump, additionalData, outputFile, config)
d
Definition: ztail.py:151
DD4HEP_OPEN_PLUGIN(dd4hep, ddcms_det_element_DDCMS_global_DDAngular)
Definition: DDAngular.cc:105

Definition at line 30 of file DDPlugins.h.