CMS 3D CMS Logo

Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
cms Namespace Reference

Namespace of DDCMS conversion namespace. More...

Namespaces

 alpakatest
 
 alpakatools
 
 concurrency
 
 cuda
 
 cudacompat
 
 cudatest
 
 dd
 
 detail
 
 h5
 
 jeprof
 
 Ort
 
 perftools
 
 rocm
 
 rocmtest
 
 rotation_utils
 
 soa
 
 xerces
 

Classes

class  Analyzer_minbias
 
class  CaloMETProducer
 
class  CATopJetProducer
 
class  CkfDebugTrackCandidateMaker
 
class  CkfTrackCandidateMaker
 
class  CkfTrackCandidateMakerBase
 
class  CkfTrajectoryMaker
 
class  ClusterMTCCFilter
 
class  CompareTrajChi
 
class  CompareTrajLay
 
class  CompoundJetProducer
 
class  CosmicTIFTrigFilter
 
class  CosmicTrackFinder
 
class  CRC32Calculator
 
class  CSJetProducer
 
class  DDAlgoArguments
 
class  DDCMSDetElementCreator
 
class  DDCompactView
 
class  DDDetector
 
class  DDDWorld
 
struct  DDFilter
 
class  DDFilteredView
 
class  DDG4Builder
 
class  DDNamespace
 
class  DDParsingContext
 
struct  DDSolid
 
struct  DDVectorRegistry
 
class  Digest
 
class  DTGeometryBuilder
 
class  ElseMETProducer
 
class  Exception
 
struct  ExpandedNodes
 
class  FastSimDataFilter
 
class  GenMETProducer
 
class  HitReCalibrator
 
class  HTTTopJetProducer
 
class  JetVertexAssociation
 
struct  MD5Result
 
class  METSignificanceProducer
 
class  MinBias
 
class  MuonMET
 
class  MuonMETValueMapProducer
 
class  MuonNumbering
 
class  MuonTCMETValueMapProducer
 
class  PFClusterMETProducer
 
class  PFMETProducer
 
class  Phase2TrackerDigitizer
 
class  PileupJPTJetIdAlgo
 
class  PileupVertexAccumulator
 
class  ProducerAnalyzer
 
class  SiPixelCondObjAllPayloadsReader
 
class  SiPixelCondObjBuilder
 
class  SiPixelCondObjForHLTBuilder
 
class  SiPixelCondObjForHLTReader
 
class  SiPixelCondObjOfflineBuilder
 
class  SiPixelCondObjOfflineReader
 
class  SiPixelCondObjReader
 
class  SiPixelDigitizer
 
class  SiPixelPerformanceSummaryBuilder
 
class  SiPixelPerformanceSummaryReader
 
class  SiPixelRecHitConverter
 
class  SubEventGenJetProducer
 
class  SubJetProducer
 
class  TCMETProducer
 
class  TECClusterFilter
 
class  TrackMTCCFilter
 

Typedefs

using DDSpecPar = dd4hep::SpecPar
 
using DDSpecParRefs = dd4hep::SpecParRefs
 
using DDSpecParRegistry = dd4hep::SpecParRegistry
 
using DDVectorsMap = std::unordered_map< std::string, std::vector< double > >
 
using ExpandedNodes = cms::ExpandedNodes
 
using Filter = dd4hep::Filter
 
using Iterator = TGeoIterator
 
using MuonConstants = std::unordered_map< std::string_view, int >
 
using Node = TGeoNode
 
using PlacedVolume = dd4hep::PlacedVolume
 
using RotationMatrix = ROOT::Math::Rotation3D
 
using Translation = ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > >
 
using Volume = dd4hep::Volume
 

Enumerations

enum  DDSolidShape {
  DDSolidShape::dd_not_init = 0, DDSolidShape::ddbox = 1, DDSolidShape::ddtubs = 2, DDSolidShape::ddtrap = 3,
  DDSolidShape::ddcons = 4, DDSolidShape::ddpolycone = 5, DDSolidShape::ddpolyhedra = 6, DDSolidShape::ddunsupported1 = 7,
  DDSolidShape::ddunsupported2 = 8, DDSolidShape::ddtorus = 9, DDSolidShape::ddunion = 10, DDSolidShape::ddsubtraction = 11,
  DDSolidShape::ddintersection = 12, DDSolidShape::ddshapeless = 13, DDSolidShape::ddpseudotrap = 14, DDSolidShape::ddtrunctubs = 15,
  DDSolidShape::ddsphere = 16, DDSolidShape::ddellipticaltube = 17, DDSolidShape::ddcuttubs = 18, DDSolidShape::ddextrudedpolygon = 19,
  DDSolidShape::ddtrd1 = 20, DDSolidShape::ddtrd2 = 21, DDSolidShape::ddassembly = 22
}
 

Functions

void Adler32 (char const *data, size_t len, uint32_t &a, uint32_t &b)
 
uint32_t Adler32 (char const *data, size_t len)
 
def cms_error ()
 
def config (tmpl, pkg_help)
 
def config_with_parser (tmpl, args)
 
template<class NumType >
constexpr NumType convert2mm (NumType length)
 
std::string detElementName (dd4hep::PlacedVolume volume)
 
def generate (kwds)
 
template<typename T >
std::vector< TgetAllParameterValuesFromSpecParSections (const cms::DDSpecParRegistry &allSpecParSections, const std::string &nodePath, const std::string &parameterName)
 
template<typename T >
T getParameterValueFromSpecParSections (const cms::DDSpecParRegistry &allSpecParSections, const std::string &nodePath, const std::string &parameterName, const unsigned int parameterValueIndex)
 
constexpr unsigned int hash (const char *str, int h=0)
 
unsigned int hash (const std::string &str)
 
DDRotationMatrix makeRotation3D (double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
 
DDRotationMatrix makeRotation3D (DDRotationMatrix rotation, const std::string &axis, double angle)
 
DDRotationMatrix makeRotReflect (double thetaX, double phiX, double thetaY, double phiY, double thetaZ, double phiZ)
 
void openssl_init ()
 
bool operator!= (MD5Result const &a, MD5Result const &b)
 
bool operator< (MD5Result const &a, MD5Result const &b)
 
std::ostream & operator<< (std::ostream &os, MD5Result const &r)
 
std::ostream & operator<< (std::ostream &ost, Exception const &e)
 
template<typename E , typename T >
detail::exception_type< E > & operator<< (E &&e, T const &stuff)
 
template<typename E >
detail::exception_type< E > & operator<< (E &&e, std::ostream &(*f)(std::ostream &))
 
template<typename E >
detail::exception_type< E > & operator<< (E &&e, std::ios_base &(*f)(std::ios_base &))
 
bool operator== (MD5Result const &a, MD5Result const &b)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< TCMETProducer > > s_filler_0__LINE__ ("TCMETProducer")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< GenMETProducer > > s_filler_0__LINE__ ("GenMETProducer")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PFClusterMETProducer > > s_filler_0__LINE__ ("PFClusterMETProducer")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< ElseMETProducer > > s_filler_0__LINE__ ("ElseMETProducer")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< MuonMET > > s_filler_0__LINE__ ("MuonMET")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< CaloMETProducer > > s_filler_0__LINE__ ("CaloMETProducer")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< METSignificanceProducer > > s_filler_0__LINE__ ("METSignificanceProducer")
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PFMETProducer > > s_filler_0__LINE__ ("PFMETProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< TCMETProducer > > s_maker__LINE__ ("TCMETProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< GenMETProducer > > s_maker__LINE__ ("GenMETProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< PFClusterMETProducer > > s_maker__LINE__ ("PFClusterMETProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< ElseMETProducer > > s_maker__LINE__ ("ElseMETProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< MuonMET > > s_maker__LINE__ ("MuonMET")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< CaloMETProducer > > s_maker__LINE__ ("CaloMETProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< METSignificanceProducer > > s_maker__LINE__ ("METSignificanceProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< PFMETProducer > > s_maker__LINE__ ("PFMETProducer")
 
void set_to_default (MD5Result &val)
 
def test_cms_environment (tmpl)
 

Variables

const std::array< const cms::dd::NameValuePair< DDSolidShape >, 21 > DDSolidShapeMap
 
template<typename T >
constexpr bool is_bounded_array_v = is_bounded_array<T>::value
 
template<typename T >
constexpr bool is_unbounded_array_v = is_unbounded_array<T>::value
 
const std::array< const cms::dd::ValuePair< LegacySolidShape, cms::DDSolidShape >, 21 > LegacySolidShapeMap
 
static constexpr long s_executed = 1l
 
static const char * s_hexValues
 
const ::dd4hep::xml::Tag_t Unicode_Algorithm
 
const ::dd4hep::xml::Tag_t Unicode_alp1
 
const ::dd4hep::xml::Tag_t Unicode_alp2
 
const ::dd4hep::xml::Tag_t Unicode_atMinusZ
 
const ::dd4hep::xml::Tag_t Unicode_atomicNumber
 
const ::dd4hep::xml::Tag_t Unicode_atomicWeight
 
const ::dd4hep::xml::Tag_t Unicode_axis
 
const ::dd4hep::xml::Tag_t Unicode_bl1
 
const ::dd4hep::xml::Tag_t Unicode_bl2
 
const ::dd4hep::xml::Tag_t Unicode_Box
 
const ::dd4hep::xml::Tag_t Unicode_ChildName
 
const ::dd4hep::xml::Tag_t Unicode_close_geometry
 
const ::dd4hep::xml::Tag_t Unicode_CompositeMaterial
 
const ::dd4hep::xml::Tag_t Unicode_Cone
 
const ::dd4hep::xml::Tag_t Unicode_Constant
 
const ::dd4hep::xml::Tag_t Unicode_ConstantsSection
 
const ::dd4hep::xml::Tag_t Unicode_copyNumber
 
const ::dd4hep::xml::Tag_t Unicode_cutAtDelta
 
const ::dd4hep::xml::Tag_t Unicode_cutAtStart
 
const ::dd4hep::xml::Tag_t Unicode_cutInside
 
const ::dd4hep::xml::Tag_t Unicode_CutTubs
 
const ::dd4hep::xml::Tag_t Unicode_DDCMS
 
const ::dd4hep::xml::Tag_t Unicode_DDDefinition
 
const ::dd4hep::xml::Tag_t Unicode_debug_algorithms
 
const ::dd4hep::xml::Tag_t Unicode_debug_constants
 
const ::dd4hep::xml::Tag_t Unicode_debug_includes
 
const ::dd4hep::xml::Tag_t Unicode_debug_materials
 
const ::dd4hep::xml::Tag_t Unicode_debug_namespaces
 
const ::dd4hep::xml::Tag_t Unicode_debug_placements
 
const ::dd4hep::xml::Tag_t Unicode_debug_rotations
 
const ::dd4hep::xml::Tag_t Unicode_debug_shapes
 
const ::dd4hep::xml::Tag_t Unicode_debug_specpars
 
const ::dd4hep::xml::Tag_t Unicode_debug_volumes
 
const ::dd4hep::xml::Tag_t Unicode_deltaPhi
 
const ::dd4hep::xml::Tag_t Unicode_deltaTheta
 
const ::dd4hep::xml::Tag_t Unicode_density
 
const ::dd4hep::xml::Tag_t Unicode_Division
 
const ::dd4hep::xml::Tag_t Unicode_dx
 
const ::dd4hep::xml::Tag_t Unicode_dx1
 
const ::dd4hep::xml::Tag_t Unicode_dx2
 
const ::dd4hep::xml::Tag_t Unicode_dy
 
const ::dd4hep::xml::Tag_t Unicode_dy1
 
const ::dd4hep::xml::Tag_t Unicode_dy2
 
const ::dd4hep::xml::Tag_t Unicode_dz
 
const ::dd4hep::xml::Tag_t Unicode_ElementaryMaterial
 
const ::dd4hep::xml::Tag_t Unicode_Ellipsoid
 
const ::dd4hep::xml::Tag_t Unicode_EllipticalTube
 
const ::dd4hep::xml::Tag_t Unicode_firstSolid
 
const ::dd4hep::xml::Tag_t Unicode_h1
 
const ::dd4hep::xml::Tag_t Unicode_h2
 
const ::dd4hep::xml::Tag_t Unicode_Include
 
const ::dd4hep::xml::Tag_t Unicode_IncludeSection
 
const ::dd4hep::xml::Tag_t Unicode_innerRadius
 
const ::dd4hep::xml::Tag_t Unicode_LogicalPart
 
const ::dd4hep::xml::Tag_t Unicode_LogicalPartSection
 
const ::dd4hep::xml::Tag_t Unicode_lx
 
const ::dd4hep::xml::Tag_t Unicode_ly
 
const ::dd4hep::xml::Tag_t Unicode_lz
 
const ::dd4hep::xml::Tag_t Unicode_MaterialFraction
 
const ::dd4hep::xml::Tag_t Unicode_MaterialSection
 
const ::dd4hep::xml::Tag_t Unicode_nEntries
 
const ::dd4hep::xml::Tag_t Unicode_nReplicas
 
const ::dd4hep::xml::Tag_t Unicode_Numeric
 
const ::dd4hep::xml::Tag_t Unicode_numSide
 
const ::dd4hep::xml::Tag_t Unicode_offset
 
const ::dd4hep::xml::Tag_t Unicode_open_geometry
 DD4hep specific. More...
 
const ::dd4hep::xml::Tag_t Unicode_outerRadius
 
const ::dd4hep::xml::Tag_t Unicode_Parameter
 
const ::dd4hep::xml::Tag_t Unicode_parent
 
const ::dd4hep::xml::Tag_t Unicode_PartSelector
 
const ::dd4hep::xml::Tag_t Unicode_path
 
const ::dd4hep::xml::Tag_t Unicode_phiX
 
const ::dd4hep::xml::Tag_t Unicode_phiY
 
const ::dd4hep::xml::Tag_t Unicode_phiZ
 
const ::dd4hep::xml::Tag_t Unicode_Polycone
 
const ::dd4hep::xml::Tag_t Unicode_Polyhedra
 
const ::dd4hep::xml::Tag_t Unicode_PosPart
 
const ::dd4hep::xml::Tag_t Unicode_PosPartSection
 
const ::dd4hep::xml::Tag_t Unicode_PseudoTrap
 
const ::dd4hep::xml::Tag_t Unicode_rChild
 
const ::dd4hep::xml::Tag_t Unicode_ReflectionRotation
 
const ::dd4hep::xml::Tag_t Unicode_rMaterial
 
const ::dd4hep::xml::Tag_t Unicode_rMax
 
const ::dd4hep::xml::Tag_t Unicode_rMax1
 
const ::dd4hep::xml::Tag_t Unicode_rMax2
 
const ::dd4hep::xml::Tag_t Unicode_rMin
 
const ::dd4hep::xml::Tag_t Unicode_rMin1
 
const ::dd4hep::xml::Tag_t Unicode_rMin2
 
const ::dd4hep::xml::Tag_t Unicode_Rotation
 
const ::dd4hep::xml::Tag_t Unicode_RotationByAxis
 
const ::dd4hep::xml::Tag_t Unicode_RotationSection
 
const ::dd4hep::xml::Tag_t Unicode_RotationSequence
 
const ::dd4hep::xml::Tag_t Unicode_rParent
 
const ::dd4hep::xml::Tag_t Unicode_rReflectionRotation
 
const ::dd4hep::xml::Tag_t Unicode_rRotation
 
const ::dd4hep::xml::Tag_t Unicode_rSolid
 
const ::dd4hep::xml::Tag_t Unicode_RZPoint
 
const ::dd4hep::xml::Tag_t Unicode_scale
 
const ::dd4hep::xml::Tag_t Unicode_secondSolid
 
const ::dd4hep::xml::Tag_t Unicode_SolidSection
 
const ::dd4hep::xml::Tag_t Unicode_SpecPar
 
const ::dd4hep::xml::Tag_t Unicode_SpecParSection
 
const ::dd4hep::xml::Tag_t Unicode_Sphere
 
const ::dd4hep::xml::Tag_t Unicode_startPhi
 
const ::dd4hep::xml::Tag_t Unicode_startTheta
 
const ::dd4hep::xml::Tag_t Unicode_String
 
const ::dd4hep::xml::Tag_t Unicode_SubtractionSolid
 
const ::dd4hep::xml::Tag_t Unicode_symbol
 
const ::dd4hep::xml::Tag_t Unicode_thetaX
 
const ::dd4hep::xml::Tag_t Unicode_thetaY
 
const ::dd4hep::xml::Tag_t Unicode_thetaZ
 
const ::dd4hep::xml::Tag_t Unicode_tl1
 
const ::dd4hep::xml::Tag_t Unicode_tl2
 
const ::dd4hep::xml::Tag_t Unicode_Torus
 
const ::dd4hep::xml::Tag_t Unicode_torusRadius
 
const ::dd4hep::xml::Tag_t Unicode_Transformation
 
const ::dd4hep::xml::Tag_t Unicode_TransformationSection
 
const ::dd4hep::xml::Tag_t Unicode_Translation
 
const ::dd4hep::xml::Tag_t Unicode_Trapezoid
 
const ::dd4hep::xml::Tag_t Unicode_TruncTubs
 
const ::dd4hep::xml::Tag_t Unicode_Tubs
 
const ::dd4hep::xml::Tag_t Unicode_tx
 
const ::dd4hep::xml::Tag_t Unicode_ty
 
const ::dd4hep::xml::Tag_t Unicode_tz
 
const ::dd4hep::xml::Tag_t Unicode_value
 
const ::dd4hep::xml::Tag_t Unicode_Vector
 
const ::dd4hep::xml::Tag_t Unicode_width
 
const ::dd4hep::xml::Tag_t Unicode_xSemiAxis
 
const ::dd4hep::xml::Tag_t Unicode_XYPoint
 
const ::dd4hep::xml::Tag_t Unicode_ySemiAxis
 
const ::dd4hep::xml::Tag_t Unicode_zBottomCut
 
const ::dd4hep::xml::Tag_t Unicode_zHalf
 
const ::dd4hep::xml::Tag_t Unicode_zHeight
 
const ::dd4hep::xml::Tag_t Unicode_ZSection
 
const ::dd4hep::xml::Tag_t Unicode_zSemiAxis
 
const ::dd4hep::xml::Tag_t Unicode_zTopCut
 
const ::dd4hep::xml::Tag_t Unicode_ZXYSection
 

Detailed Description

Namespace of DDCMS conversion namespace.

How ParameterSets are nested inside ParameterSets The main feature is that they're made persistent using a ParameterSetID, and only reconstituted as needed, when the value_ptr = 0;

This a basic exception type expected to be thrown by developer-written code. We recommend that you use it directly. It can also be used as a base class if needed.

Each Exception is identified by a category string. This category is a short word or phrase (no spaces) that described the problem that was encountered.

Information can be added to the Exception using the stream insertion operator (as one uses cout). We recommend using it in the following manner:

Example: if ((rc=func()) < 0) { throw cms::Exception("DataCorrupt") << "I died with rc = " << rc << std::endl; }

Derived types are expected to fix the category, either by 1) passing a string literal to the base class constructor, or 2) ensuring the developer gives a category name.

Example: class InfiniteLoop : public Exception { InfiniteLoop(const std::string& msg) : Exception("InfiniteLoop",msg) { } };

ExceptionCollector is a utility class that can be used to make sure that each function or functor in a sequence of calls is invoked even if a previous function throws. Each function/functor must take no arguments and return a void. std::bind can be used to convert a function taking arguments into a function taking no arguments. The exception strings are saved in a cms::Exception for optional rethrow.

Here is an example:

ExceptionCollector c("initialMessage");

c.call(std::bind(&MyClass::myFunction, myClassPtr)); c.call(std::bind(&MyClass::myOtherFunction, myClassPtr, myArgPtr)); c.call(std::bind(&myFreeFunction, myArgPtr)); if (c.hasThrown()) c.rethrow();

This insures that all three functions will be called before any exception is thrown.

These functions are meant to be called only from unit tests.

Typedef Documentation

◆ DDSpecPar

typedef dd4hep::SpecPar cms::DDSpecPar

Definition at line 51 of file DDFilteredView.h.

◆ DDSpecParRefs

typedef dd4hep::SpecParRefs cms::DDSpecParRefs

Definition at line 29 of file DDCompactView.h.

◆ DDSpecParRegistry

typedef dd4hep::SpecParRegistry cms::DDSpecParRegistry

Definition at line 28 of file DDCompactView.h.

◆ DDVectorsMap

typedef std::unordered_map< std::string, std::vector< double > > cms::DDVectorsMap

Definition at line 20 of file DDNamespace.h.

◆ ExpandedNodes

Definition at line 49 of file DDFilteredView.h.

◆ Filter

using cms::Filter = typedef dd4hep::Filter

Definition at line 50 of file DDFilteredView.h.

◆ Iterator

using cms::Iterator = typedef TGeoIterator

Definition at line 54 of file DDFilteredView.h.

◆ MuonConstants

using cms::MuonConstants = typedef std::unordered_map<std::string_view, int>

Definition at line 35 of file DD4hep_MuonNumbering.h.

◆ Node

using cms::Node = typedef TGeoNode

Definition at line 55 of file DDFilteredView.h.

◆ PlacedVolume

using cms::PlacedVolume = typedef dd4hep::PlacedVolume

Definition at line 48 of file DDFilteredView.h.

◆ RotationMatrix

using cms::RotationMatrix = typedef ROOT::Math::Rotation3D

Definition at line 57 of file DDFilteredView.h.

◆ Translation

using cms::Translation = typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> >

Definition at line 56 of file DDFilteredView.h.

◆ Volume

using cms::Volume = typedef dd4hep::Volume

Definition at line 47 of file DDFilteredView.h.

Enumeration Type Documentation

◆ DDSolidShape

enum cms::DDSolidShape
strong
Enumerator
dd_not_init 
ddbox 
ddtubs 
ddtrap 
ddcons 
ddpolycone 
ddpolyhedra 
ddunsupported1 
ddunsupported2 
ddtorus 
ddunion 
ddsubtraction 
ddintersection 
ddshapeless 
ddpseudotrap 
ddtrunctubs 
ddsphere 
ddellipticaltube 
ddcuttubs 
ddextrudedpolygon 
ddtrd1 
ddtrd2 
ddassembly 

Definition at line 73 of file DDSolidShapes.h.

Function Documentation

◆ Adler32() [1/2]

void cms::Adler32 ( char const *  data,
size_t  len,
uint32_t &  a,
uint32_t &  b 
)

Definition at line 10 of file Adler32Calculator.cc.

References a, b, runTheMatrix::const, data, and MOD_ADLER.

Referenced by Adler32(), edm::StreamerInputSource::deserializeEvent(), edm::StreamerInputSource::deserializeRegistry(), evf::GlobalEvFOutputModule::globalBeginRun(), L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(), edm::StreamSerializer::serializeEvent(), edm::StreamSerializer::serializeRegistry(), FRDOutputModule::write(), edm::streamer::OutputFile::write(), and RawEventOutputModuleForBU< Consumer >::write().

10  {
11  /* data: Pointer to the data to be summed; len is in bytes */
12 
13 #define MOD_ADLER 65521
14 
15  unsigned char const* ptr = static_cast<unsigned char const*>(static_cast<void const*>(data));
16  while (len > 0) {
17  size_t tlen = (len > 5552 ? 5552 : len);
18  len -= tlen;
19  do {
20  a += *ptr++;
21  b += a;
22  } while (--tlen);
23 
24  a %= MOD_ADLER;
25  b %= MOD_ADLER;
26  }
27 
28 #undef MOD_ADLER
29  }
double b
Definition: hdecay.h:120
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
double a
Definition: hdecay.h:121
#define MOD_ADLER

◆ Adler32() [2/2]

uint32_t cms::Adler32 ( char const *  data,
size_t  len 
)

Definition at line 31 of file Adler32Calculator.cc.

References a, Adler32(), b, and data.

31  {
32  /* data: Pointer to the data to be summed; len is in bytes */
33  uint32_t a = 1, b = 0;
34  Adler32(data, len, a, b);
35  return (b << 16) | a;
36  }
void Adler32(char const *data, size_t len, uint32_t &a, uint32_t &b)
double b
Definition: hdecay.h:120
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
double a
Definition: hdecay.h:121

◆ cms_error()

def cms.cms_error ( )

Definition at line 71 of file cms.py.

Referenced by generate().

71 def cms_error():
72  "Standard CMS error message"
73  msg = "\nPackages must be created in a 'subsystem'."
74  msg += "\nPlease set your CMSSW environment and go to $CMSSW_BASE/src"
75  msg += "\nCreate or choose directory from there and then "
76  msg += "\nrun the script from that directory"
77  return msg
78 
def cms_error()
Definition: cms.py:71

◆ config()

def cms.config (   tmpl,
  pkg_help 
)

Definition at line 19 of file cms.py.

References input, print(), and FastTimerService_cff.range.

19 def config(tmpl, pkg_help):
20  "Parse input arguments to mk-script"
21  kwds = {'author': '', 'tmpl': tmpl,
22  'args': {}, 'debug': False,
23  'working_dir': ''}
24  etags = []
25  if len(sys.argv) >= 2: # user give us arguments
26  if sys.argv[1] in ['-h', '--help', '-help']:
27  print(pkg_help)
28  sys.exit(0)
29  kwds['pname'] = sys.argv[1]
30  for idx in range(2, len(sys.argv)):
31  opt = sys.argv[idx]
32  if opt == '-author':
33  kwds['author'] = sys.argv[idx+1]
34  continue
35  if opt.find('example') != -1:
36  etags.append('@%s' % opt)
37  continue
38  if opt in ['-h', '--help', '-help']:
39  print(pkg_help)
40  sys.exit(0)
41  if opt == '-debug':
42  kwds['debug'] = True
43  continue
44  elif len(sys.argv) == 1:
45  # need to walk
46  msg = 'Please enter %s name: ' % tmpl.lower()
47  kwds['pname'] = input(msg)
48  else:
49  print(pkg_help)
50  sys.exit(0)
51  kwds['tmpl_etags'] = etags
52  return kwds
53 
def config(tmpl, pkg_help)
Definition: cms.py:19
static std::string const input
Definition: EdmProvDump.cc:50
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

◆ config_with_parser()

def cms.config_with_parser (   tmpl,
  args 
)
Inject arguments parsed upstream into mk-scripts.
The arguments are parsed by the different front-ends(binaries)
and passed here via the args object.

Definition at line 54 of file cms.py.

54 def config_with_parser(tmpl, args):
55  """
56  Inject arguments parsed upstream into mk-scripts.
57  The arguments are parsed by the different front-ends(binaries)
58  and passed here via the args object.
59  """
60 
61  kwds = {'author': '', 'tmpl': tmpl,
62  'args': {}, 'debug': False}
63  etags = []
64  kwds['pname'] = args.subpackage_name
65  if args.author: kwds['author'] = args.author
66  if args.debug: kwds['debug'] = True
67  if args.example: etags.append('@%s' % args.example)
68  kwds['tmpl_etags'] = etags
69  return kwds
70 
def config_with_parser(tmpl, args)
Definition: cms.py:54

◆ convert2mm()

template<class NumType >
constexpr NumType cms::convert2mm ( NumType  length)
inline

Definition at line 7 of file DDutils.h.

Referenced by algorithm(), HCalEndcapAlgo::constructGeneralVolume(), HcalBarrelAlgo::constructInsideDetectors(), HcalBarrelAlgo::constructInsideLayers(), HCalEndcapModuleAlgo::constructInsideModule(), HCalEndcapAlgo::constructInsideModule(), HCalEndcapModuleAlgo::constructInsideModule0(), HCalEndcapAlgo::constructInsideModule0(), HCalEndcapAlgo::constructInsideSector(), DDHGCalGeom::constructLayers(), HGCalEEAlgo::ConstructLayers(), HcalBarrelAlgo::constructMidLayer(), HCalEndcapModuleAlgo::constructScintLayer(), HCalEndcapAlgo::constructScintLayer(), HcalBarrelAlgo::constructSideLayer(), HcalBarrelAlgo::HcalBarrelAlgo(), HCalEndcapAlgo::HCalEndcapAlgo(), HCalEndcapModuleAlgo::HCalEndcapModuleAlgo(), HGCalEEAlgo::HGCalEEAlgo(), HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEAlgo::HGCalHEAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedCassette::HGCalMixRotatedCassette(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), HGCalPassiveFull::HGCalPassiveFull(), HGCalPassivePartial::HGCalPassivePartial(), HGCalSiliconModule::HGCalSiliconModule(), HGCalSiliconRotatedCassette::HGCalSiliconRotatedCassette(), HGCalSiliconRotatedModule::HGCalSiliconRotatedModule(), HCalEndcapModuleAlgo::parameterLayer(), HCalEndcapAlgo::parameterLayer(), HCalEndcapModuleAlgo::parameterLayer0(), HCalEndcapAlgo::parameterLayer0(), HGCalHEFileAlgo::positionMix(), HGCalHEAlgo::positionMix(), HGCalMixLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), HGCalSiliconRotatedCassette::positionPassive(), HGCalEEFileAlgo::positionSensitive(), HGCalSiliconModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), HGCalEEAlgo::PositionSensitive(), HGCalSiliconRotatedCassette::positionSensitive(), HGCalHEFileAlgo::positionSensitive(), and HGCalHEAlgo::positionSensitive().

7  {
8  return (length / dd4hep::mm);
9  }

◆ detElementName()

std::string cms::detElementName ( dd4hep::PlacedVolume  volume)

Definition at line 79 of file DDCMSDetElementCreator.cc.

References Skims_PA_cff::name, NAMESPACE_SEP, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by cms::DDCMSDetElementCreator::createElement(), and cms::DDCMSDetElementCreator::createTopLevelDetectors().

79  {
80  if (volume.isValid()) {
81  std::string name = volume.name();
82  std::string nnam = name.substr(name.find(NAMESPACE_SEP) + 1);
83  return nnam;
84  }
85  except("DD4CMS", "++ Cannot deduce name from invalid PlacedVolume handle!");
86  return std::string();
87 }
#define NAMESPACE_SEP
Definition: DDNamespace.h:92

◆ generate()

def cms.generate (   kwds)

Definition at line 107 of file cms.py.

References cms_error(), utils.code_generator(), print(), and test_cms_environment().

107 def generate(kwds):
108  "Run generator code based on provided set of arguments"
109  config = dict(kwds)
110  tmpl = kwds.get('tmpl')
111  stand_alone_group = ['Record', 'Skeleton']
112  config.update({'not_in_dir': stand_alone_group})
113  if tmpl in stand_alone_group:
114  whereami, ldir = test_cms_environment(tmpl)
115  dirs = ldir.split('/')
116  config.update({'pkgname': kwds.get('pname')})
117  config.update({'subsystem': 'Subsystem'})
118  config.update({'pkgname': 'Package'})
119  if whereami:
120  if len(dirs) >= 3:
121  config.update({'subsystem': dirs[1]})
122  config.update({'pkgname': dirs[2]})
123  elif len(dirs) >= 2:
124  config.update({'subsystem': dirs[1]})
125  config.update({'pkgname': dirs[1]})
126  else:
127  whereami, ldir = test_cms_environment(tmpl)
128  dirs = ldir.split('/')
129  if not dirs or not whereami:
130  print(cms_error())
131  sys.exit(1)
132  config.update({'subsystem': dirs[1]})
133  config.update({'pkgname': kwds.get('pname')})
134  if whereami in ['src', 'plugins']:
135  config.update({'working_dir': whereami})
136  config.update({'tmpl_files': '.cc'})
137  config.update({'pkgname': dirs[2]})
138  elif whereami == 'test':
139  config.update({'working_dir': whereami})
140  config.update({'tmpl_files':'.cc'})
141  config.update({'pkgname': dirs[2]})
142  elif whereami == 'subsystem':
143  config.update({'tmpl_files': 'all'})
144  else:
145  print(cms_error())
146  sys.exit(1)
147  obj = code_generator(config)
148  obj.generate()
149 
def test_cms_environment(tmpl)
Definition: cms.py:79
def cms_error()
Definition: cms.py:71
void generate(uint32_t const nbins, float const *initValues, std::vector< float > &values)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def code_generator(kwds)
Definition: utils.py:122

◆ getAllParameterValuesFromSpecParSections()

template<typename T >
std::vector<T> cms::getAllParameterValuesFromSpecParSections ( const cms::DDSpecParRegistry allSpecParSections,
const std::string &  nodePath,
const std::string &  parameterName 
)

Definition at line 55 of file DDCompactView.h.

57  {
58  cms::DDSpecParRefs filteredSpecParSections;
59  allSpecParSections.filter(filteredSpecParSections, parameterName);
60  for (const auto& mySpecParSection : filteredSpecParSections) {
61  if (mySpecParSection.second->hasPath(nodePath)) {
62  return mySpecParSection.second->value<std::vector<T>>(parameterName);
63  }
64  }
65 
66  return std::vector<T>();
67  }
dd4hep::SpecParRefs DDSpecParRefs
Definition: DDCompactView.h:29

◆ getParameterValueFromSpecParSections()

template<typename T >
T cms::getParameterValueFromSpecParSections ( const cms::DDSpecParRegistry allSpecParSections,
const std::string &  nodePath,
const std::string &  parameterName,
const unsigned int  parameterValueIndex 
)

Definition at line 73 of file DDCompactView.h.

76  {
77  const std::vector<T>& allParameterValues =
78  getAllParameterValuesFromSpecParSections<T>(allSpecParSections, nodePath, parameterName);
79  if (parameterValueIndex < allParameterValues.size()) {
80  return allParameterValues.at(parameterValueIndex);
81  }
82  return T();
83  }
long double T

◆ hash() [1/2]

constexpr unsigned int cms::hash ( const char *  str,
int  h = 0 
)

Definition at line 18 of file DDAlgoArguments.h.

References h, and str.

Referenced by hash().

18 { return !str[h] ? 5381 : (hash(str, h + 1) * 33) ^ str[h]; }
unsigned int hash(const std::string &str)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
#define str(s)

◆ hash() [2/2]

unsigned int cms::hash ( const std::string &  str)
inline

Definition at line 20 of file DDAlgoArguments.h.

References hash(), and str.

20 { return hash(str.c_str()); }
unsigned int hash(const std::string &str)
#define str(s)

◆ makeRotation3D() [1/2]

dd4hep::Rotation3D cms::makeRotation3D ( double  thetaX,
double  phiX,
double  thetaY,
double  phiY,
double  thetaZ,
double  phiZ 
)

◆ makeRotation3D() [2/2]

DDRotationMatrix cms::makeRotation3D ( DDRotationMatrix  rotation,
const std::string &  axis,
double  angle 
)

◆ makeRotReflect()

dd4hep::Rotation3D cms::makeRotReflect ( double  thetaX,
double  phiX,
double  thetaY,
double  phiY,
double  thetaZ,
double  phiZ 
)

Definition at line 32 of file DDAlgoArguments.cc.

References funct::abs(), RPCNoise_example::check, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), funct::cos(), idealTransformation::rotation, funct::sin(), DOFs::thetaX, DOFs::thetaY, DOFs::thetaZ, and x.

33  {
34  // define 3 unit std::vectors forming the new left-handed axes
35  DD3Vector x(cos(phiX) * sin(thetaX), sin(phiX) * sin(thetaX), cos(thetaX));
36  DD3Vector y(cos(phiY) * sin(thetaY), sin(phiY) * sin(thetaY), cos(thetaY));
37  DD3Vector z(cos(phiZ) * sin(thetaZ), sin(phiZ) * sin(thetaZ), cos(thetaZ));
38 
39  constexpr double tol = 1.0e-3; // Geant4 compatible
40  double check = (x.Cross(y)).Dot(z); // in case of a LEFT-handed orthogonal system this must be -1
41  if (abs(1. + check) > tol) {
42  except("DD4CMS", "+++ FAILED to construct Rotation is not LEFT-handed!");
43  }
44 
45  dd4hep::Rotation3D rotation(x.x(), y.x(), z.x(), x.y(), y.y(), z.y(), x.z(), y.z(), z.z());
46 
47  return rotation;
48 }
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
float float float z
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
float x

◆ openssl_init()

void cms::openssl_init ( )

◆ operator!=()

bool cms::operator!= ( MD5Result const &  a,
MD5Result const &  b 
)
inline

Definition at line 38 of file Digest.h.

References a, and b.

38 { return !(a == b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<()

bool cms::operator< ( MD5Result const &  a,
MD5Result const &  b 
)

Definition at line 145 of file Digest.cc.

References a, and b.

145  {
146  return std::lexicographical_compare(a.bytes.begin(), a.bytes.end(), b.bytes.begin(), b.bytes.end());
147  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<<() [1/5]

std::ostream& cms::operator<< ( std::ostream &  os,
MD5Result const &  r 
)
inline

Definition at line 40 of file Digest.h.

40  {
41  os << r.toString();
42  return os;
43  }

◆ operator<<() [2/5]

std::ostream& cms::operator<< ( std::ostream &  ost,
Exception const &  e 
)
inline

Definition at line 148 of file Exception.h.

References MillePedeFileConverter_cfg::e.

148  {
149  ost << e.explainSelf();
150  return ost;
151  }

◆ operator<<() [3/5]

template<typename E , typename T >
detail::exception_type<E>& cms::operator<< ( E &&  e,
T const &  stuff 
)
inline

Definition at line 156 of file Exception.h.

References MillePedeFileConverter_cfg::e.

156  {
157  e.ost_ << stuff;
158  return e;
159  }

◆ operator<<() [4/5]

template<typename E >
detail::exception_type<E>& cms::operator<< ( E &&  e,
std::ostream &(*)(std::ostream &)  f 
)
inline

Definition at line 162 of file Exception.h.

References MillePedeFileConverter_cfg::e, and f.

162  {
163  f(e.ost_);
164  return e;
165  }
double f[11][100]

◆ operator<<() [5/5]

template<typename E >
detail::exception_type<E>& cms::operator<< ( E &&  e,
std::ios_base &(*)(std::ios_base &)  f 
)
inline

Definition at line 168 of file Exception.h.

References MillePedeFileConverter_cfg::e, and f.

168  {
169  f(e.ost_);
170  return e;
171  }
double f[11][100]

◆ operator==()

bool cms::operator== ( MD5Result const &  a,
MD5Result const &  b 
)

Definition at line 141 of file Digest.cc.

References a, b, and cond::serialization::equal().

141  {
142  return std::equal(a.bytes.begin(), a.bytes.end(), b.bytes.begin());
143  }
bool equal(const T &first, const T &second)
Definition: Equal.h:32
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ s_filler_0__LINE__() [1/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< TCMETProducer > > cms::s_filler_0__LINE__ ( "TCMETProducer"  )
static

◆ s_filler_0__LINE__() [2/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< GenMETProducer > > cms::s_filler_0__LINE__ ( "GenMETProducer"  )
static

◆ s_filler_0__LINE__() [3/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< PFClusterMETProducer > > cms::s_filler_0__LINE__ ( "PFClusterMETProducer"  )
static

◆ s_filler_0__LINE__() [4/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< ElseMETProducer > > cms::s_filler_0__LINE__ ( "ElseMETProducer"  )
static

◆ s_filler_0__LINE__() [5/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< MuonMET > > cms::s_filler_0__LINE__ ( "MuonMET"  )
static

◆ s_filler_0__LINE__() [6/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< CaloMETProducer > > cms::s_filler_0__LINE__ ( "CaloMETProducer"  )
static

◆ s_filler_0__LINE__() [7/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< METSignificanceProducer > > cms::s_filler_0__LINE__ ( "METSignificanceProducer"  )
static

◆ s_filler_0__LINE__() [8/8]

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< PFMETProducer > > cms::s_filler_0__LINE__ ( "PFMETProducer"  )
static

◆ s_maker__LINE__() [1/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< TCMETProducer > > cms::s_maker__LINE__ ( "TCMETProducer"  )
static

◆ s_maker__LINE__() [2/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< GenMETProducer > > cms::s_maker__LINE__ ( "GenMETProducer"  )
static

◆ s_maker__LINE__() [3/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< PFClusterMETProducer > > cms::s_maker__LINE__ ( "PFClusterMETProducer"  )
static

◆ s_maker__LINE__() [4/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< ElseMETProducer > > cms::s_maker__LINE__ ( "ElseMETProducer"  )
static

◆ s_maker__LINE__() [5/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< MuonMET > > cms::s_maker__LINE__ ( "MuonMET"  )
static

◆ s_maker__LINE__() [6/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< CaloMETProducer > > cms::s_maker__LINE__ ( "CaloMETProducer"  )
static

◆ s_maker__LINE__() [7/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< METSignificanceProducer > > cms::s_maker__LINE__ ( "METSignificanceProducer"  )
static

◆ s_maker__LINE__() [8/8]

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< PFMETProducer > > cms::s_maker__LINE__ ( "PFMETProducer"  )
static

◆ set_to_default()

void cms::set_to_default ( MD5Result val)

Definition at line 56 of file Digest.cc.

References heppy_batch::val.

Referenced by cms::MD5Result::fromHexifiedString(), and cms::MD5Result::MD5Result().

56  {
57  val.bytes[0] = 0xd4;
58  val.bytes[1] = 0x1d;
59  val.bytes[2] = 0x8c;
60  val.bytes[3] = 0xd9;
61  val.bytes[4] = 0x8f;
62  val.bytes[5] = 0x00;
63  val.bytes[6] = 0xb2;
64  val.bytes[7] = 0x04;
65  val.bytes[8] = 0xe9;
66  val.bytes[9] = 0x80;
67  val.bytes[10] = 0x09;
68  val.bytes[11] = 0x98;
69  val.bytes[12] = 0xec;
70  val.bytes[13] = 0xf8;
71  val.bytes[14] = 0x42;
72  val.bytes[15] = 0x7e;
73  }

◆ test_cms_environment()

def cms.test_cms_environment (   tmpl)
Test CMS environment and requirements to run within CMSSW_BASE.
Return True if we fullfill requirements and False otherwise.

Definition at line 79 of file cms.py.

Referenced by generate().

79 def test_cms_environment(tmpl):
80  """
81  Test CMS environment and requirements to run within CMSSW_BASE.
82  Return True if we fullfill requirements and False otherwise.
83  """
84  base = os.environ.get('CMSSW_BASE', None)
85  if not base:
86  return False, []
87  cdir = os.getcwd()
88  ldir = cdir.replace(os.path.join(base, 'src'), '')
89  dirs = ldir.split('/')
90  # test if we're within CMSSW_BASE/src/SubSystem area
91  if ldir and ldir[0] == '/' and len(dirs) == 2:
92  return 'subsystem', ldir
93  # test if we're within CMSSW_BASE/src/SubSystem/Pkg area
94  if ldir and ldir[0] == '/' and len(dirs) == 3:
95  return 'package', ldir
96  # test if we're within CMSSW_BASE/src/SubSystem/Pkg/src area
97 # if ldir and ldir[0] == '/' and len(dirs) == 4 and dirs[-1] == 'src':
98 # return 'src', ldir
99  # test if we're within CMSSW_BASE/src/SubSystem/Pkg/plugin area
100 # if ldir and ldir[0] == '/' and len(dirs) == 4 and dirs[-1] == 'plugins':
101 # return 'plugins', ldir
102  # test if we're within CMSSW_BASE/src/SubSystem/Pkg/dir area
103  if ldir and ldir[0] == '/' and len(dirs) == 4:
104  return dirs[-1], ldir
105  return False, ldir
106 
def test_cms_environment(tmpl)
Definition: cms.py:79

Variable Documentation

◆ DDSolidShapeMap

const std::array<const cms::dd::NameValuePair<DDSolidShape>, 21> cms::DDSolidShapeMap
Initial value:

Definition at line 99 of file DDSolidShapes.h.

Referenced by HcalTB02ParametersFromDD::build(), TrackerShapeToBounds::buildBounds(), DreamSD::initMap(), HcalGeomParameters::loadGeometry(), HGCalGeomParameters::loadGeometryHexagon8(), HGCalGeomParameters::loadGeometryHexagonModule(), cms::DDFilteredView::shape(), and DDCoreToDDXMLOutput::solid().

◆ is_bounded_array_v

template<typename T >
constexpr bool cms::is_bounded_array_v = is_bounded_array<T>::value
inline

Definition at line 22 of file traits.h.

◆ is_unbounded_array_v

template<typename T >
constexpr bool cms::is_unbounded_array_v = is_unbounded_array<T>::value
inline

Definition at line 25 of file traits.h.

◆ LegacySolidShapeMap

const std::array<const cms::dd::ValuePair<LegacySolidShape, cms::DDSolidShape>, 21> cms::LegacySolidShapeMap
Initial value:
{
{{LegacySolidShape::dd_not_init, cms::DDSolidShape::dd_not_init},
{LegacySolidShape::ddbox, cms::DDSolidShape::ddbox},
{LegacySolidShape::ddtubs, cms::DDSolidShape::ddtubs},
{LegacySolidShape::ddtrap, cms::DDSolidShape::ddtrap},
{LegacySolidShape::ddcons, cms::DDSolidShape::ddcons},
{LegacySolidShape::ddpolycone_rz, cms::DDSolidShape::ddpolycone},
{LegacySolidShape::ddpolycone_rrz, cms::DDSolidShape::ddpolycone},
{LegacySolidShape::ddpolyhedra_rz, cms::DDSolidShape::ddpolyhedra},
{LegacySolidShape::ddpolyhedra_rrz, cms::DDSolidShape::ddpolyhedra},
{LegacySolidShape::ddtorus, cms::DDSolidShape::ddtorus},
{LegacySolidShape::ddunion, cms::DDSolidShape::ddunion},
{LegacySolidShape::ddsubtraction, cms::DDSolidShape::ddsubtraction},
{LegacySolidShape::ddintersection, cms::DDSolidShape::ddintersection},
{LegacySolidShape::ddshapeless, cms::DDSolidShape::ddshapeless},
{LegacySolidShape::ddpseudotrap, cms::DDSolidShape::ddpseudotrap},
{LegacySolidShape::ddtrunctubs, cms::DDSolidShape::ddtrunctubs},
{LegacySolidShape::ddsphere, cms::DDSolidShape::ddsphere},
{LegacySolidShape::ddellipticaltube, cms::DDSolidShape::ddellipticaltube},
{LegacySolidShape::ddcuttubs, cms::DDSolidShape::ddcuttubs},
{LegacySolidShape::ddextrudedpolygon, cms::DDSolidShape::ddextrudedpolygon},
{LegacySolidShape::ddassembly, cms::DDSolidShape::ddassembly}}}

Definition at line 122 of file DDSolidShapes.h.

Referenced by cms::DDFilteredView::legacyShape(), GeometricTimingDet::shape(), and GeometricDet::shape().

◆ s_executed

constexpr long cms::s_executed = 1l
static

Definition at line 16 of file DDAlgoArguments.h.

Referenced by algorithm().

◆ s_hexValues

const char* cms::s_hexValues
static
Initial value:
=
"000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"
"404142434445464748494a4b4c4d4e4f"
"505152535455565758595a5b5c5d5e5f"
"606162636465666768696a6b6c6d6e6f"
"707172737475767778797a7b7c7d7e7f"
"808182838485868788898a8b8c8d8e8f"
"909192939495969798999a9b9c9d9e9f"
"a0a1a2a3a4a5a6a7a8a9aaabacadaeaf"
"b0b1b2b3b4b5b6b7b8b9babbbcbdbebf"
"c0c1c2c3c4c5c6c7c8c9cacbcccdcecf"
"d0d1d2d3d4d5d6d7d8d9dadbdcdddedf"
"e0e1e2e3e4e5e6e7e8e9eaebecedeeef"
"f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"

Definition at line 77 of file Digest.cc.

Referenced by cms::MD5Result::toString().

◆ Unicode_Algorithm

const ::dd4hep::xml::Tag_t cms::Unicode_Algorithm

◆ Unicode_alp1

const ::dd4hep::xml::Tag_t cms::Unicode_alp1

◆ Unicode_alp2

const ::dd4hep::xml::Tag_t cms::Unicode_alp2

◆ Unicode_atMinusZ

const ::dd4hep::xml::Tag_t cms::Unicode_atMinusZ

◆ Unicode_atomicNumber

const ::dd4hep::xml::Tag_t cms::Unicode_atomicNumber

◆ Unicode_atomicWeight

const ::dd4hep::xml::Tag_t cms::Unicode_atomicWeight

◆ Unicode_axis

const ::dd4hep::xml::Tag_t cms::Unicode_axis

◆ Unicode_bl1

const ::dd4hep::xml::Tag_t cms::Unicode_bl1

◆ Unicode_bl2

const ::dd4hep::xml::Tag_t cms::Unicode_bl2

◆ Unicode_Box

const ::dd4hep::xml::Tag_t cms::Unicode_Box

◆ Unicode_ChildName

const ::dd4hep::xml::Tag_t cms::Unicode_ChildName

◆ Unicode_close_geometry

const ::dd4hep::xml::Tag_t cms::Unicode_close_geometry

◆ Unicode_CompositeMaterial

const ::dd4hep::xml::Tag_t cms::Unicode_CompositeMaterial

◆ Unicode_Cone

const ::dd4hep::xml::Tag_t cms::Unicode_Cone

◆ Unicode_Constant

const ::dd4hep::xml::Tag_t cms::Unicode_Constant

◆ Unicode_ConstantsSection

const ::dd4hep::xml::Tag_t cms::Unicode_ConstantsSection

◆ Unicode_copyNumber

const ::dd4hep::xml::Tag_t cms::Unicode_copyNumber

◆ Unicode_cutAtDelta

const ::dd4hep::xml::Tag_t cms::Unicode_cutAtDelta

◆ Unicode_cutAtStart

const ::dd4hep::xml::Tag_t cms::Unicode_cutAtStart

◆ Unicode_cutInside

const ::dd4hep::xml::Tag_t cms::Unicode_cutInside

◆ Unicode_CutTubs

const ::dd4hep::xml::Tag_t cms::Unicode_CutTubs

◆ Unicode_DDCMS

const ::dd4hep::xml::Tag_t cms::Unicode_DDCMS

◆ Unicode_DDDefinition

const ::dd4hep::xml::Tag_t cms::Unicode_DDDefinition

◆ Unicode_debug_algorithms

const ::dd4hep::xml::Tag_t cms::Unicode_debug_algorithms

◆ Unicode_debug_constants

const ::dd4hep::xml::Tag_t cms::Unicode_debug_constants

◆ Unicode_debug_includes

const ::dd4hep::xml::Tag_t cms::Unicode_debug_includes

◆ Unicode_debug_materials

const ::dd4hep::xml::Tag_t cms::Unicode_debug_materials

◆ Unicode_debug_namespaces

const ::dd4hep::xml::Tag_t cms::Unicode_debug_namespaces

◆ Unicode_debug_placements

const ::dd4hep::xml::Tag_t cms::Unicode_debug_placements

◆ Unicode_debug_rotations

const ::dd4hep::xml::Tag_t cms::Unicode_debug_rotations

◆ Unicode_debug_shapes

const ::dd4hep::xml::Tag_t cms::Unicode_debug_shapes

◆ Unicode_debug_specpars

const ::dd4hep::xml::Tag_t cms::Unicode_debug_specpars

◆ Unicode_debug_volumes

const ::dd4hep::xml::Tag_t cms::Unicode_debug_volumes

◆ Unicode_deltaPhi

const ::dd4hep::xml::Tag_t cms::Unicode_deltaPhi

◆ Unicode_deltaTheta

const ::dd4hep::xml::Tag_t cms::Unicode_deltaTheta

◆ Unicode_density

const ::dd4hep::xml::Tag_t cms::Unicode_density

◆ Unicode_Division

const ::dd4hep::xml::Tag_t cms::Unicode_Division

◆ Unicode_dx

const ::dd4hep::xml::Tag_t cms::Unicode_dx

◆ Unicode_dx1

const ::dd4hep::xml::Tag_t cms::Unicode_dx1

◆ Unicode_dx2

const ::dd4hep::xml::Tag_t cms::Unicode_dx2

◆ Unicode_dy

const ::dd4hep::xml::Tag_t cms::Unicode_dy

◆ Unicode_dy1

const ::dd4hep::xml::Tag_t cms::Unicode_dy1

◆ Unicode_dy2

const ::dd4hep::xml::Tag_t cms::Unicode_dy2

◆ Unicode_dz

const ::dd4hep::xml::Tag_t cms::Unicode_dz

◆ Unicode_ElementaryMaterial

const ::dd4hep::xml::Tag_t cms::Unicode_ElementaryMaterial

◆ Unicode_Ellipsoid

const ::dd4hep::xml::Tag_t cms::Unicode_Ellipsoid

◆ Unicode_EllipticalTube

const ::dd4hep::xml::Tag_t cms::Unicode_EllipticalTube

◆ Unicode_firstSolid

const ::dd4hep::xml::Tag_t cms::Unicode_firstSolid

◆ Unicode_h1

const ::dd4hep::xml::Tag_t cms::Unicode_h1

◆ Unicode_h2

const ::dd4hep::xml::Tag_t cms::Unicode_h2

◆ Unicode_Include

const ::dd4hep::xml::Tag_t cms::Unicode_Include

◆ Unicode_IncludeSection

const ::dd4hep::xml::Tag_t cms::Unicode_IncludeSection

◆ Unicode_innerRadius

const ::dd4hep::xml::Tag_t cms::Unicode_innerRadius

◆ Unicode_LogicalPart

const ::dd4hep::xml::Tag_t cms::Unicode_LogicalPart

◆ Unicode_LogicalPartSection

const ::dd4hep::xml::Tag_t cms::Unicode_LogicalPartSection

◆ Unicode_lx

const ::dd4hep::xml::Tag_t cms::Unicode_lx

◆ Unicode_ly

const ::dd4hep::xml::Tag_t cms::Unicode_ly

◆ Unicode_lz

const ::dd4hep::xml::Tag_t cms::Unicode_lz

◆ Unicode_MaterialFraction

const ::dd4hep::xml::Tag_t cms::Unicode_MaterialFraction

◆ Unicode_MaterialSection

const ::dd4hep::xml::Tag_t cms::Unicode_MaterialSection

◆ Unicode_nEntries

const ::dd4hep::xml::Tag_t cms::Unicode_nEntries

◆ Unicode_nReplicas

const ::dd4hep::xml::Tag_t cms::Unicode_nReplicas

◆ Unicode_Numeric

const ::dd4hep::xml::Tag_t cms::Unicode_Numeric

◆ Unicode_numSide

const ::dd4hep::xml::Tag_t cms::Unicode_numSide

◆ Unicode_offset

const ::dd4hep::xml::Tag_t cms::Unicode_offset

◆ Unicode_open_geometry

const ::dd4hep::xml::Tag_t cms::Unicode_open_geometry

DD4hep specific.

◆ Unicode_outerRadius

const ::dd4hep::xml::Tag_t cms::Unicode_outerRadius

◆ Unicode_Parameter

const ::dd4hep::xml::Tag_t cms::Unicode_Parameter

◆ Unicode_parent

const ::dd4hep::xml::Tag_t cms::Unicode_parent

◆ Unicode_PartSelector

const ::dd4hep::xml::Tag_t cms::Unicode_PartSelector

◆ Unicode_path

const ::dd4hep::xml::Tag_t cms::Unicode_path

◆ Unicode_phiX

const ::dd4hep::xml::Tag_t cms::Unicode_phiX

◆ Unicode_phiY

const ::dd4hep::xml::Tag_t cms::Unicode_phiY

◆ Unicode_phiZ

const ::dd4hep::xml::Tag_t cms::Unicode_phiZ

◆ Unicode_Polycone

const ::dd4hep::xml::Tag_t cms::Unicode_Polycone

◆ Unicode_Polyhedra

const ::dd4hep::xml::Tag_t cms::Unicode_Polyhedra

◆ Unicode_PosPart

const ::dd4hep::xml::Tag_t cms::Unicode_PosPart

◆ Unicode_PosPartSection

const ::dd4hep::xml::Tag_t cms::Unicode_PosPartSection

◆ Unicode_PseudoTrap

const ::dd4hep::xml::Tag_t cms::Unicode_PseudoTrap

◆ Unicode_rChild

const ::dd4hep::xml::Tag_t cms::Unicode_rChild

◆ Unicode_ReflectionRotation

const ::dd4hep::xml::Tag_t cms::Unicode_ReflectionRotation

◆ Unicode_rMaterial

const ::dd4hep::xml::Tag_t cms::Unicode_rMaterial

◆ Unicode_rMax

const ::dd4hep::xml::Tag_t cms::Unicode_rMax

◆ Unicode_rMax1

const ::dd4hep::xml::Tag_t cms::Unicode_rMax1

◆ Unicode_rMax2

const ::dd4hep::xml::Tag_t cms::Unicode_rMax2

◆ Unicode_rMin

const ::dd4hep::xml::Tag_t cms::Unicode_rMin

◆ Unicode_rMin1

const ::dd4hep::xml::Tag_t cms::Unicode_rMin1

◆ Unicode_rMin2

const ::dd4hep::xml::Tag_t cms::Unicode_rMin2

◆ Unicode_Rotation

const ::dd4hep::xml::Tag_t cms::Unicode_Rotation

◆ Unicode_RotationByAxis

const ::dd4hep::xml::Tag_t cms::Unicode_RotationByAxis

◆ Unicode_RotationSection

const ::dd4hep::xml::Tag_t cms::Unicode_RotationSection

◆ Unicode_RotationSequence

const ::dd4hep::xml::Tag_t cms::Unicode_RotationSequence

◆ Unicode_rParent

const ::dd4hep::xml::Tag_t cms::Unicode_rParent

◆ Unicode_rReflectionRotation

const ::dd4hep::xml::Tag_t cms::Unicode_rReflectionRotation

◆ Unicode_rRotation

const ::dd4hep::xml::Tag_t cms::Unicode_rRotation

◆ Unicode_rSolid

const ::dd4hep::xml::Tag_t cms::Unicode_rSolid

◆ Unicode_RZPoint

const ::dd4hep::xml::Tag_t cms::Unicode_RZPoint

◆ Unicode_scale

const ::dd4hep::xml::Tag_t cms::Unicode_scale

◆ Unicode_secondSolid

const ::dd4hep::xml::Tag_t cms::Unicode_secondSolid

◆ Unicode_SolidSection

const ::dd4hep::xml::Tag_t cms::Unicode_SolidSection

◆ Unicode_SpecPar

const ::dd4hep::xml::Tag_t cms::Unicode_SpecPar

◆ Unicode_SpecParSection

const ::dd4hep::xml::Tag_t cms::Unicode_SpecParSection

◆ Unicode_Sphere

const ::dd4hep::xml::Tag_t cms::Unicode_Sphere

◆ Unicode_startPhi

const ::dd4hep::xml::Tag_t cms::Unicode_startPhi

◆ Unicode_startTheta

const ::dd4hep::xml::Tag_t cms::Unicode_startTheta

◆ Unicode_String

const ::dd4hep::xml::Tag_t cms::Unicode_String

◆ Unicode_SubtractionSolid

const ::dd4hep::xml::Tag_t cms::Unicode_SubtractionSolid

◆ Unicode_symbol

const ::dd4hep::xml::Tag_t cms::Unicode_symbol

◆ Unicode_thetaX

const ::dd4hep::xml::Tag_t cms::Unicode_thetaX

◆ Unicode_thetaY

const ::dd4hep::xml::Tag_t cms::Unicode_thetaY

◆ Unicode_thetaZ

const ::dd4hep::xml::Tag_t cms::Unicode_thetaZ

◆ Unicode_tl1

const ::dd4hep::xml::Tag_t cms::Unicode_tl1

◆ Unicode_tl2

const ::dd4hep::xml::Tag_t cms::Unicode_tl2

◆ Unicode_Torus

const ::dd4hep::xml::Tag_t cms::Unicode_Torus

◆ Unicode_torusRadius

const ::dd4hep::xml::Tag_t cms::Unicode_torusRadius

◆ Unicode_Transformation

const ::dd4hep::xml::Tag_t cms::Unicode_Transformation

◆ Unicode_TransformationSection

const ::dd4hep::xml::Tag_t cms::Unicode_TransformationSection

◆ Unicode_Translation

const ::dd4hep::xml::Tag_t cms::Unicode_Translation

◆ Unicode_Trapezoid

const ::dd4hep::xml::Tag_t cms::Unicode_Trapezoid

◆ Unicode_TruncTubs

const ::dd4hep::xml::Tag_t cms::Unicode_TruncTubs

◆ Unicode_Tubs

const ::dd4hep::xml::Tag_t cms::Unicode_Tubs

◆ Unicode_tx

const ::dd4hep::xml::Tag_t cms::Unicode_tx

◆ Unicode_ty

const ::dd4hep::xml::Tag_t cms::Unicode_ty

◆ Unicode_tz

const ::dd4hep::xml::Tag_t cms::Unicode_tz

◆ Unicode_value

const ::dd4hep::xml::Tag_t cms::Unicode_value

◆ Unicode_Vector

const ::dd4hep::xml::Tag_t cms::Unicode_Vector

◆ Unicode_width

const ::dd4hep::xml::Tag_t cms::Unicode_width

◆ Unicode_xSemiAxis

const ::dd4hep::xml::Tag_t cms::Unicode_xSemiAxis

◆ Unicode_XYPoint

const ::dd4hep::xml::Tag_t cms::Unicode_XYPoint

◆ Unicode_ySemiAxis

const ::dd4hep::xml::Tag_t cms::Unicode_ySemiAxis

◆ Unicode_zBottomCut

const ::dd4hep::xml::Tag_t cms::Unicode_zBottomCut

◆ Unicode_zHalf

const ::dd4hep::xml::Tag_t cms::Unicode_zHalf

◆ Unicode_zHeight

const ::dd4hep::xml::Tag_t cms::Unicode_zHeight

◆ Unicode_ZSection

const ::dd4hep::xml::Tag_t cms::Unicode_ZSection

◆ Unicode_zSemiAxis

const ::dd4hep::xml::Tag_t cms::Unicode_zSemiAxis

◆ Unicode_zTopCut

const ::dd4hep::xml::Tag_t cms::Unicode_zTopCut

◆ Unicode_ZXYSection

const ::dd4hep::xml::Tag_t cms::Unicode_ZXYSection