CMS 3D CMS Logo

Functions
DDTestVectorAlgo.cc File Reference
#include "DD4hep/DetFactoryHelper.h"
#include "DetectorDescription/DDCMS/interface/DDPlugins.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

static long algorithm (Detector &, cms::DDParsingContext &ctxt, xml_h e, SensitiveDetector &)
 
 DD4HEP_OPEN_PLUGIN (dd4hep, ddcms_det_element_DDCMS_test_DDTestVectorAlgo)
 

Function Documentation

◆ algorithm()

static long algorithm ( Detector &  ,
cms::DDParsingContext ctxt,
xml_h  e,
SensitiveDetector  
)
static

Definition at line 9 of file DDTestVectorAlgo.cc.

9  {
10  cms::DDNamespace ns(ctxt, e, true);
11  DDAlgoArguments args(ctxt, e);
12  vector<string> materials = args.vecStr("MaterialNames");
13 
14  return 1;
15 }

References writedatasetfile::args, and MillePedeFileConverter_cfg::e.

◆ DD4HEP_OPEN_PLUGIN()

DD4HEP_OPEN_PLUGIN ( dd4hep  ,
ddcms_det_element_DDCMS_test_DDTestVectorAlgo   
)

Definition at line 18 of file DDTestVectorAlgo.cc.

writedatasetfile.args
args
Definition: writedatasetfile.py:18
cms::DDNamespace
Definition: DDNamespace.h:16
cms::DDAlgoArguments
Definition: DDAlgoArguments.h:28
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37