CMS 3D CMS Logo

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

HLT enums. More...

Namespaces

 cfi
 
 clonehelper
 
 cmspybind11
 
 convertException
 
 core
 
 detail
 
 details
 
 detailsTrie
 
 dqh
 
 dsrvdetail
 
 edmmltest
 
 errors
 
 es
 
 esvhhelper
 
 eventsetup
 
 evetnsetup
 
 evtSel
 
 exception_actions
 
 fillDetails
 
 friendlyname
 
 gen
 
 global
 
 handleimpl
 
 hash_detail
 
 helper
 
 helpers
 
 hlt
 
 impl
 
 level
 
 limited
 
 maker
 
 messagedrop
 
 messagelogger
 
 MixingCache
 
 module
 
 moduleAlloc
 
 mpl
 
 multicore
 
 one
 
 path_configuration
 
 pathStatusExpression
 
 pdtentry
 
 poolNames
 
 principal_get_adapter_detail
 
 producerbasehelper
 
 productholderindexhelper
 
 pset
 
 python
 
 refcore
 
 refcoreimpl
 
 refhelper
 
 refitem
 
 reftobase
 
 releaseversion
 
 root
 
 roottree
 
 service
 
 serviceregistry
 
 shared_memory
 
 signalslot
 
 soa
 
 soahelper
 
 storage
 
 stream
 
 streamer
 
 test
 
 testprocessor
 
 threadLocalException
 
 typelookup
 
 vhhelper
 
 waiting_task
 
 workerhelper
 
 workerimpl
 
 writeParameterValue
 

Classes

struct  Accumulator
 
class  ActivityRegistry
 
class  Adjuster
 
class  AdjusterBase
 
class  AliasProductResolver
 
class  AllowedLabelsDescription
 
class  AllowedLabelsDescription< ParameterSetDescription >
 
class  AllowedLabelsDescription< std::vector< ParameterSet > >
 
class  AllowedLabelsDescriptionBase
 
class  AnalyzerWrapper
 
class  ANDGroupDescription
 
class  AsciiOutputModule
 
class  AssertHandler
 
class  Association
 
class  AssociationMap
 
class  AssociationMapAnalyzer
 
class  AssociationMapProducer
 
class  AssociationVector
 
class  AssociativeIterator
 
class  Async
 
class  atomic_value_ptr
 
struct  atomic_value_ptr_traits
 
class  AtomicPtrCache
 
class  BaseFlatGunProducer
 
class  BaseRandomtXiGunProducer
 
class  BaseWithDict
 
class  BasicAnalyzer
 
class  BasicHandle
 
class  BeamHaloProducer
 
class  BeamMomentumGunProducer
 
struct  BeginLuminosityBlockProducer
 
struct  BeginProcessBlockProducer
 
struct  BeginRunProducer
 
class  BMixingModule
 
class  BoolCache
 
class  BooleanFilter
 
class  BooleanProducer
 
class  BranchChildren
 
class  BranchDescription
 
class  BranchID
 
class  BranchIDListHelper
 
class  BranchKey
 
struct  BranchToCount
 
struct  BranchTypeForContainerType
 
struct  BranchTypeForContainerType< LuminosityBlock >
 
struct  BranchTypeForContainerType< LuminosityBlockForOutput >
 
struct  BranchTypeForContainerType< ProcessBlock >
 
struct  BranchTypeForContainerType< ProcessBlockForOutput >
 
struct  BranchTypeForContainerType< Run >
 
struct  BranchTypeForContainerType< RunForOutput >
 
class  BunchCrossingFilter
 
class  CacheHandle
 
class  CallNTimesNoWait
 
class  CallOnceNoWait
 
struct  CatalogAttributes
 
class  CFWriter
 
struct  CheckAbility
 
struct  CheckAbility< ABILITY >
 
struct  CheckAbility< ABILITY, T, VArgs... >
 
class  ChildrenCPUTimer
 
struct  ClonePolicy
 
class  CloningPtr
 
class  CloseByParticleGunProducer
 
class  CmsRunParser
 
class  Comment
 
struct  CommonParams
 
class  CompactEventAuxiliaryVector
 
class  Compare_Index
 
class  Compare_Index_Run
 
class  Compare_Run_Lumi_EventEntry
 
struct  CompareRefDetSet
 
class  ConcurrentGeneratorFilter
 
class  ConcurrentHadronizerFilter
 
class  ConditionalTaskHelper
 
class  ConditionsInEventBlock
 
class  ConditionsInLumiBlock
 
class  ConditionsInRunBlock
 
class  ConfigurationDescriptions
 
struct  ConfigurationHandshake
 
class  ConstProductRegistry
 
class  ConstPtrCache
 
class  ConstRespectingPtr
 
class  ConsumesCollector
 
class  ConsumesCollectorAdaptor
 
class  ConsumesCollectorESAdaptor
 
class  ConsumesCollectorWithTagESAdaptor
 
class  ConsumesInfo
 
class  ContainerMask
 
class  ContainerMaskTraits
 
class  ContainerMaskTraits< edmNew::DetSetVector< T > >
 
struct  CopyPolicy
 
class  CosMuoGenProducer
 
class  CountAndLimit
 
class  CPUServiceBase
 
class  CPUTimer
 
class  CurrentModuleOnThread
 
struct  DaqProvenanceHelper
 
class  DataFrame
 
class  DataFrameContainer
 
class  DataManagingOrAliasProductResolver
 
class  DataManagingProductResolver
 
class  DataMixingEMDigiWorker
 
class  DataMixingEMWorker
 
class  DataMixingGeneralTrackWorker
 
class  DataMixingHcalDigiWorker
 
class  DataMixingHcalDigiWorkerProd
 
class  DataMixingHcalWorker
 
class  DataMixingModule
 
class  DataMixingMuonWorker
 
class  DataMixingPileupCopy
 
class  DataMixingSiPixelWorker
 
class  DataMixingSiStripRawWorker
 
class  DataMixingSiStripWorker
 
struct  debugvalue
 
struct  DefaultRecord
 
class  DefaultRunHelper
 
class  DelayedReader
 
class  DelayedReaderInputProductResolver
 
class  DelayedReaderThrowingSource
 
class  DescriptionFillerForEDLoopers
 
class  DescriptionFillerForESProducers
 
class  DescriptionFillerForESSources
 
class  DescriptionFillerForServices
 
struct  DetSet
 
class  DetSetRefVector
 
class  DetSetVector
 
class  DeviceProduct
 
class  DeviceProductBase
 
class  DigiAccumulatorMixModFactory
 
struct  do_nothing_deleter
 
class  DocFormatHelper
 
struct  DoNotRecordParents
 
struct  DoNotSortUponInsertion
 
class  DummyProvenanceReader
 
class  DummyVT
 
class  DuplicateChecker
 
class  DuplicateTreeSentry
 
class  EarlyDeleteHelper
 
class  EcalNoiseStorage
 
class  EDCollection
 
class  EDConsumerBase
 
class  EDConsumerBaseAdaptor
 
class  EDConsumerBaseESAdaptor
 
class  EDConsumerBaseWithTagESAdaptor
 
class  EDGetToken
 
class  EDGetTokenT
 
class  EDLooper
 
class  EDLooperBase
 
class  EDProductGetter
 
class  EDPutToken
 
class  EDPutTokenT
 
class  ElementID
 
class  ELextendedID
 
class  ELseverityLevel
 
class  EmbeddedRootSource
 
class  EmptyESSource
 
class  EmptyGroupDescription
 
class  EmptySource
 
struct  EndLuminosityBlockProducer
 
class  EndPathStatus
 
class  EndPathStatusInserter
 
struct  EndProcessBlockProducer
 
struct  EndRunProducer
 
class  Entry
 
class  ErrorObj
 
struct  ErrorSummaryEntry
 
class  ESConsumesCollector
 
class  ESConsumesCollectorAdaptor
 
class  ESConsumesCollectorT
 
class  ESConsumesCollectorWithTagAdaptor
 
struct  ESConsumesInfoEntry
 
struct  ESFillDirectly
 
class  ESGetToken
 
class  ESGetToken< fwliteeswriter::DummyType, fwliteeswriter::FWLWEventSetupRecord >
 
class  ESGetTokenGeneric
 
class  ESHandle
 
class  ESHandle< fwliteeswriter::DummyType >
 
struct  ESHandleAdapter
 
class  ESHandleBase
 
class  ESHandleExceptionFactory
 
class  ESInputTag
 
class  ESModuleCallingContext
 
class  ESParentContext
 
class  ESProducer
 
class  ESProducerExternalWork
 
class  ESProducerLooper
 
class  ESProductHost
 
class  ESProductResolverFactoryProducer
 
struct  ESProducts
 
class  ESProductTag
 
class  ESRecordAuxiliary
 
class  ESRecordIndex
 
class  ESResolverIndex
 
class  ESSharedResourceNames
 
class  ESTagGetter
 
class  ESTokenIndex
 
class  ESTransientHandle
 
class  ESValidHandle
 
class  ESWatcher
 
class  Event
 
class  EventAcquireSignalsSentry
 
class  EventAux
 
class  EventAuxiliary
 
class  EventAuxiliaryHistoryProducer
 
class  EventBase
 
class  EventContentAnalyzer
 
class  EventEntryDescription
 
class  EventEntryInfo
 
class  EventForOutput
 
class  EventForTransformer
 
class  EventID
 
class  EventItemGetter
 Helper class that fetches some type of Ref given ProductID and index, using the edm::Event. More...
 
class  EventPrincipal
 
class  EventProcessHistoryID
 
class  EventProcessor
 
class  EventRange
 
class  EventSelector
 
class  EventSetup
 
class  EventSetupCacheIdentifierChecker
 
class  EventSetupImpl
 
class  EventSetupRecordDataGetter
 
class  EventSetupRecordDetails
 
class  EventSetupRecordIntervalFinder
 
class  EventSignalsSentry
 
class  EventSkipperByID
 
struct  EventSummary
 
class  EventTime
 
struct  EventTimingSummary
 
class  EventToProcessBlockIndexes
 
class  EventTransitionInfo
 
class  Exception
 
class  ExceptionCollector
 
class  ExceptionToActionTable
 
class  ExpoRandomPGunProducer
 
class  ExpoRandomPtGunProducer
 
class  ExternalRandomNumberGenerator
 
class  ExternalRandomNumberGeneratorService
 
struct  ExternalWork
 
class  Factory
 
class  FileBlock
 
class  FileCatalogItem
 
class  FileFormatVersion
 
class  FileID
 
class  FileIndex
 
class  FileInPath
 
class  FileLocator
 
class  FileRandomKEThetaGunProducer
 
class  FileRandomMultiParticlePGunProducer
 
struct  FilledProductPtr
 
class  FilterObjectWrapper
 
class  FilterValueMapWrapper
 
class  FilterWrapper
 
class  FinalWaitingTask
 
class  FirstLuminosityBlockForEachRunHelper
 
class  FlatBaseThetaGunProducer
 
class  FlatRandomEGunProducer
 
class  FlatRandomEThetaGunProducer
 
class  FlatRandomMultiParticlePGunProducer
 
class  FlatRandomOneOverPtGunProducer
 
class  FlatRandomPtAndDxyGunProducer
 
class  FlatRandomPtGunProducer
 
class  FlatRandomPtThetaGunProducer
 
class  FromFiles
 
class  FullProvenanceReader
 
class  FunctionWithDict
 
class  FunctorESHandleExceptionFactory
 
class  FunctorHandleExceptionFactory
 
class  FunctorTask
 
class  FunctorWaitingTask
 
class  FwdPtr
 
class  FwdPtrCollectionFilter
 Selects a list of FwdPtr's to a product T (templated) that satisfy a method S(T) (templated). Can also handle input as View<T>. Can also have a factory class to create new instances of clones if desired. More...
 
struct  FwdPtrFromProductFactory
 
class  FwdPtrProducer
 Produces a list of FwdPtr's to an input collection. More...
 
class  FwdRef
 
struct  FWGenericObject
 This class is just a 'tag' used to allow a specialization of edm::Handle. More...
 
class  GaussRandomPThetaGunProducer
 
class  GeneratorFilter
 
class  GenericConsumer
 
struct  GenericObject
 This class is just a 'tag' used to allow a specialization of edm::Handle. More...
 
class  GenericSelectorByValueMap
 
class  GenHIEvent
 
class  GetProductCheckerOutputModule
 
class  GetterOfProducts
 
struct  GlobalCache
 
class  GlobalContext
 
class  GlobalSchedule
 
class  Guid
 
class  HadronizerFilter
 
class  Handle
 
class  Handle< FWGenericObject >
 
class  Handle< GenericObject >
 
class  HandleBase
 
class  HandleExceptionFactory
 
struct  has_fillView
 
struct  has_fillView< AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > >
 
struct  has_fillView< edm::DetSetVector< T > >
 
struct  has_fillView< edm::OwnVector< T, P > >
 
struct  has_fillView< edm::SortedCollection< T, SORT > >
 
struct  has_fillView< PtrVector< T > >
 
struct  has_fillView< RefToBaseVector< T > >
 
struct  has_fillView< RefVector< C, T, F > >
 
struct  has_fillView< std::deque< T, A > >
 
struct  has_fillView< std::list< T, A > >
 
struct  has_fillView< std::set< T, A > >
 
struct  has_fillView< std::vector< bool, A > >
 
struct  has_fillView< std::vector< T, A > >
 
struct  has_setPtr
 
struct  has_setPtr< edm::OwnVector< T, P > >
 
struct  has_setPtr< edm::SortedCollection< T, SORT > >
 
struct  has_setPtr< std::deque< T, A > >
 
struct  has_setPtr< std::list< T, A > >
 
struct  has_setPtr< std::set< T, A > >
 
struct  has_setPtr< std::vector< bool, A > >
 
struct  has_setPtr< std::vector< T, A > >
 
struct  HasAbilityToProduceInBeginLumis
 
struct  HasAbilityToProduceInBeginProcessBlocks
 
struct  HasAbilityToProduceInBeginRuns
 
struct  HasAbilityToProduceInEndLumis
 
struct  HasAbilityToProduceInEndProcessBlocks
 
struct  HasAbilityToProduceInEndRuns
 
class  Hash
 
class  HcalNoiseStorage
 
class  HepMC3Product
 
class  HepMCProduct
 
class  HiMixingModule
 
class  HiMixingWorker
 
class  HiMixingWorkerBase
 
class  History
 
class  HistoryAppender
 
class  HLTGlobalStatus
 
class  HLTPathStatus
 
class  IDGeneratorSourceBase
 
class  IfExistsDescription
 
class  IllegalParameters
 
class  IndexIntoFile
 
class  IndexIntoFileItrHolder
 
class  IndexSet
 
class  InputAnalyzer
 
class  InputFile
 
class  InputFileCatalog
 
struct  InputProcessBlockCache
 
class  InputSource
 
struct  InputSourceDescription
 
class  InputSourceFactory
 
class  InputTag
 
class  InputTagMatch
 
class  InternalContext
 
class  IntSource
 
class  IOVSyncValue
 
class  IterateNTimesLooper
 
class  IterWithDict
 
class  IterWithDictBase
 
class  JobReport
 
struct  key_traits
 
struct  key_traits< std::pair< U, V > >
 
struct  key_traits< std::string >
 
struct  LHEProvenanceHelper
 
class  LimitAndTimespan
 
class  LimitedTaskQueue
 
class  Log
 
class  LogDebug_
 
class  LogErrorHarvester
 
class  LogTrace_
 
class  Lumi3DReWeighting
 
class  LuminosityBlock
 
class  LuminosityBlockAux
 
class  LuminosityBlockAuxiliary
 
class  LuminosityBlockBase
 
struct  LuminosityBlockCache
 
class  LuminosityBlockForOutput
 
class  LuminosityBlockID
 
class  LuminosityBlockIndex
 
class  LuminosityBlockPrincipal
 
class  LuminosityBlockProcessingStatus
 
class  LuminosityBlockRange
 
struct  LuminosityBlockSummaryCache
 
class  LumiReWeighting
 
class  LumiTransitionInfo
 
struct  MainParameterSet
 
class  MakeDummyProvenanceReader
 
class  MakeFullProvenanceReader
 
class  MakeModuleHelper
 
class  MakeModuleHelper< edm::stream::EDAnalyzerAdaptorBase >
 
class  MakeModuleHelper< edm::stream::EDFilterAdaptorBase >
 
class  MakeModuleHelper< edm::stream::EDProducerAdaptorBase >
 
struct  MakeModuleParams
 
class  MakeOldProvenanceReader
 
class  MakeProvenanceReader
 
class  Maker
 
class  MakeReducedProvenanceReader
 
class  MapOfVectors
 
class  MCFileSource
 
class  MemberWithDict
 
struct  MergeableCounter
 
class  MergeableInputProductResolver
 
class  MergeableRunProductMetadata
 
class  MergeableRunProductMetadataBase
 
class  MergeableRunProductProcesses
 
struct  MessageDrop
 
class  MessageLogger
 
class  MessageLoggerQ
 
class  MessageSender
 
class  MixingModule
 
class  MixingWorker
 
class  MixingWorkerBase
 
class  ModelFilter
 
class  ModuleCallingContext
 
class  ModuleChanger
 
class  ModuleContextSentry
 
class  ModuleDescription
 
struct  ModuleInPathSummary
 
struct  ModuleInPathTimingSummary
 
class  ModuleLabelMatch
 
class  ModuleProcessName
 
class  ModuleRegistry
 
class  ModuleTime
 
class  ModuleTypeResolverBase
 
class  ModuleTypeResolverMaker
 
class  ModuloEventIDFilter
 
class  ModuloStreamIDFilter
 
class  MultiAssociation
 
class  MultiParticleInConeGunProducer
 
class  MultipleException
 
class  NavigateEventsLooper
 
class  NoProcessProductResolver
 
class  ObjectWithDict
 
class  OccurrenceForOutput
 
class  OccurrenceTraits
 
class  OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >
 
class  OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >
 
class  OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >
 
class  OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >
 
class  OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >
 
class  OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalBegin >
 
class  OccurrenceTraits< ProcessBlockPrincipal, BranchActionGlobalEnd >
 
class  OccurrenceTraits< ProcessBlockPrincipal, BranchActionProcessBlockInput >
 
class  OccurrenceTraits< RunPrincipal, BranchActionGlobalBegin >
 
class  OccurrenceTraits< RunPrincipal, BranchActionGlobalEnd >
 
class  OccurrenceTraits< RunPrincipal, BranchActionStreamBegin >
 
class  OccurrenceTraits< RunPrincipal, BranchActionStreamEnd >
 
class  OffsetToBase
 
class  OldProvenanceReader
 
class  OneLumiPoolSource
 
class  OneToMany
 
class  OneToManyWithQuality
 
class  OneToManyWithQualityGeneric
 
class  OneToOne
 
class  OneToOneGeneric
 
class  OneToValue
 
class  ORGroupDescription
 
class  OrphanHandle
 
class  OrphanHandleBase
 
class  OStreamColumn
 
struct  OStreamColumnEntry
 
struct  Other
 
class  OutputModuleCommunicator
 
class  OutputModuleCommunicatorT
 
struct  OutputModuleDescription
 
class  OutputProcessBlockHelper
 
class  OwnVector
 
class  ParameterDescription
 
class  ParameterDescription< ParameterSetDescription >
 
class  ParameterDescription< std::vector< ParameterSet > >
 
class  ParameterDescriptionBase
 
class  ParameterDescriptionCases
 
class  ParameterDescriptionNode
 
class  ParameterSet
 
class  ParameterSetBlob
 
class  ParameterSetConverter
 
class  ParameterSetDescription
 
class  ParameterSetDescriptionFiller
 
class  ParameterSetDescriptionFillerBase
 
class  ParameterSetEntry
 
class  ParameterSwitch
 
class  ParameterSwitchBase
 
struct  ParameterTypeToEnum
 
struct  ParameterTypeTraits
 
struct  ParameterTypeTraits< std::array< T, N > >
 
struct  ParameterTypeTraits< std::vector< std::pair< std::string, T > > >
 
class  ParameterWildcard
 
class  ParameterWildcard< ParameterSetDescription >
 
class  ParameterWildcard< std::vector< ParameterSet > >
 
class  ParameterWildcardBase
 
class  ParameterWildcardWithSpecifics
 
class  Parentage
 
class  ParentageRegistry
 
class  ParentContext
 
class  ParentProcessProductResolver
 
class  Path
 
class  PathContext
 
class  PathsAndConsumesOfModules
 
class  PathsAndConsumesOfModulesBase
 
class  PathStatusFilter
 
class  PathStatusInserter
 
struct  PathSummary
 
struct  PathTimingSummary
 
class  PauseMaxMemoryPreloadSentry
 
class  PileUp
 
struct  PileUpConfig
 
class  PlaceInPathContext
 
class  PluginDescription
 
class  PluginDescriptionAdaptor
 
class  PluginDescriptionAdaptorBase
 
class  PoolOutputModule
 
class  PoolSource
 
class  PreallocationConfiguration
 
class  PreMixingCrossingFrameWorker
 
class  PreMixingModule
 
class  PreMixingPileupCopy
 
class  Prescaler
 
class  Presence
 
class  PresenceFactory
 
class  Principal
 
class  PrincipalCache
 
class  PrincipalGetAdapter
 
class  PrintEventSetupContent
 
class  PrintEventSetupDataRetrieval
 
class  ProblemTracker
 
class  ProcessBlock
 
class  ProcessBlockForOutput
 
class  ProcessBlockHelper
 
class  ProcessBlockHelperBase
 
class  ProcessBlockIndex
 
class  ProcessBlockPrincipal
 
class  ProcessBlockTransitionInfo
 
class  ProcessConfiguration
 
class  ProcessContext
 
class  ProcessDesc
 
class  ProcessHistory
 
class  ProcessHistoryRegistry
 
class  ProcessingController
 
class  ProcessMatch
 
class  ProducedProductResolver
 
class  ProducerBase
 
class  ProducerSourceBase
 
class  ProducerSourceFromFiles
 
class  ProducesCollector
 
class  ProducesCollectorAdaptor
 
class  ProductData
 
class  ProductDeletedException
 
struct  ProductFromFwdPtrFactory
 
class  ProductFromFwdPtrProducer
 Produces a list of objects "by value" that correspond to the FwdPtr's from an input collection. More...
 
class  ProductID
 
struct  ProductLabels
 
class  ProductProvenance
 
class  ProductProvenanceLookup
 
class  ProductProvenanceRetriever
 
class  ProductPutOrMergerBase
 
class  ProductPutterBase
 
class  ProductRegistry
 
class  ProductRegistryHelper
 
class  ProductRegistryHelperAdaptor
 
class  ProductResolverBase
 
class  ProductResolverIndexAndSkipBit
 
class  ProductResolverIndexHelper
 
class  ProductSelector
 
class  ProductSelectorRules
 
class  propagate_const
 
class  propagate_const_array
 
class  Provenance
 
class  ProvenanceAdaptor
 
class  ProvenanceCheckerOutputModule
 
class  ProvenanceReaderBase
 
class  Ptr
 
class  PtrHolder
 
class  PtrVector
 
class  PtrVectorBase
 
class  PtrVectorItr
 
class  PutOnReadInputProductResolver
 
class  PuttableProductResolver
 
class  PuttableSourceBase
 
class  RandomEngineSentry
 
class  RandomEngineStates
 
class  RandomFilter
 
class  RandomMultiParticlePGunProducer
 
class  RandomNumberGenerator
 
struct  RandomNumberGeneratorState
 
class  RandomtXiGunProducer
 
class  RandomXiThetaGunProducer
 
class  Range
 
class  RangeMap
 
class  RawInputSource
 
class  RawInputSourceFromFiles
 
class  RecordEventID
 
class  ReducedProvenanceReader
 
class  Ref
 
class  Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >
 
class  RefBase
 
class  RefCore
 
class  RefCoreStreamer
 
class  RefCoreWithIndex
 
class  RefCoreWithIndexStreamer
 
class  RefProd
 
class  RefToBase
 
class  RefToBaseProd
 
class  RefToBaseVector
 
class  RefVector
 
class  RefVectorBase
 
class  RefVectorIterator
 
class  RefVectorMemberPointersHolder
 
class  RepeatingCachedRootSource
 
class  ResourceInformation
 
class  ReusableObjectHolder
 
class  RootDelayedReader
 
class  RootEmbeddedFileSequence
 
class  RootFile
 
class  RootFileEventFinder
 
class  RootHandlers
 
class  RootInputFileSequence
 
class  RootOutputFile
 
class  RootOutputTree
 
class  RootPrimaryFileSequence
 
class  RootSecondaryFileSequence
 
class  RootServiceChecker
 
class  RootTree
 
class  Run
 
class  RunAux
 
class  RunAuxiliary
 
class  RunBase
 
struct  RunCache
 
class  RunForOutput
 
class  RunHelperBase
 
class  RunID
 
class  RunIndex
 
class  RunLumiEntryInfo
 
class  RunningAverage
 
class  RunPrincipal
 
class  RunProcessingStatus
 
struct  RunSummaryCache
 
class  RunTransitionInfo
 
class  Schedule
 
class  ScheduleInfo
 
struct  ScheduleItems
 
class  SecondaryEventIDAndFileInfo
 
class  SecondaryEventProvider
 
class  SecSourceAnalyzer
 
class  SendEvent
 
class  SendJobHeader
 
class  SendSourceTerminationSignalIfException
 
class  SerialTaskQueue
 
class  SerialTaskQueueChain
 
class  Service
 
class  ServiceRegistry
 
class  ServiceToken
 
class  ServiceWeakToken
 
class  SetClassParsing
 
class  SetRunForEachLumiHelper
 
class  SetRunHelper
 
class  SharedResourceNames
 
class  SharedResourcesAcquirer
 
class  SharedResourcesRegistry
 
class  SignallingProductRegistry
 
class  SingleChoiceNoProcessProductResolver
 
class  SingleConsumerQ
 
class  SiteLocalConfig
 
class  SoATuple
 
class  SortedCollection
 
class  Span
 
class  StableProvenance
 
class  StatsCount
 
class  StdArray
 
struct  StdPairHasher
 
class  StoredMergeableRunProductMetadata
 
class  StoredProcessBlockHelper
 
struct  StoredProductProvenance
 
struct  StreamCache
 
class  StreamContext
 
class  StreamedProduct
 
class  StreamID
 
class  StreamSchedule
 
struct  StrictWeakOrdering
 
class  SubProcess
 
class  SubProcessBlockHelper
 
class  SubProcessParentageHelper
 
class  Suppress_LogDebug_
 
class  SwitchAliasProductResolver
 
class  SwitchBaseProductResolver
 
class  SwitchProducer
 
class  SwitchProducerProductResolver
 
class  SystemTimeKeeper
 
class  TaskBase
 
class  TaskSentry
 
class  TerminationOrigin
 
class  TestGlobalOutput
 
class  TestHandle
 
class  TestLimitedOutput
 
class  TestMix
 
class  TestMixedSource
 
class  TestOneOutput
 
class  TestOutputWithGetterOfProducts
 
class  TestOutputWithGetterOfProductsGlobal
 
class  TestOutputWithGetterOfProductsLimited
 
class  TestSource
 
class  ThinnedAssociation
 
class  ThinnedAssociationBranches
 
class  ThinnedAssociationsHelper
 
class  ThinnedRefSet
 
class  ThinningProducer
 
class  ThinningThingSelector
 
class  ThreadSafeAddOnlyContainer
 
class  ThreadSafeOutputFileStream
 
class  ThreadsController
 
struct  ThreadsInfo
 
class  ThrowingSource
 
struct  TimeOfDay
 
class  TimeoutPoolOutputModule
 
class  Timestamp
 
class  TimingServiceBase
 
class  TRandomAdaptor
 
struct  Transformer
 
class  TransformerBase
 
class  TransformingProductResolver
 
class  Trie
 
class  TrieFactory
 
class  TrieNode
 this class represent the node of a trie, it contains a link to a sub node and a link to a brother (node which have the same father) More...
 
class  TrieNodeIter
 
class  TriggerNames
 
struct  TriggerPath
 
struct  TriggerReport
 
class  TriggerResultInserter
 
class  TriggerResults
 
class  TriggerResultsByName
 
struct  TriggerTimingReport
 
class  TypeBases
 
class  TypeDataMembers
 
class  TypeFunctionMembers
 
class  TypeID
 
class  TypeIDBase
 
struct  TypeIDHasher
 
class  TypeMatch
 
class  TypeToGet
 
class  TypeWithDict
 
class  UnscheduledAuxiliary
 
class  UnscheduledCallProducer
 
class  UnscheduledConfigurator
 
class  UnscheduledProductResolver
 
class  ValidHandle
 
class  ValidityInterval
 
class  value_ptr
 
struct  value_ptr_traits
 
struct  value_ptr_traits< IndexIntoFile::IndexIntoFileItrImpl >
 
struct  value_ptr_traits< ParameterDescriptionNode >
 
struct  value_ptr_traits< ParameterSetDescription >
 
class  ValueMap
 
class  VecArray
 
class  VectorInputSource
 
struct  VectorInputSourceDescription
 
class  VectorInputSourceFactory
 
class  View
 
class  View< T >
 
class  ViewBase
 
class  ViewTypeChecker
 
class  VInputTagMatch
 
class  VParameterSetEntry
 
class  WaitingTask
 
class  WaitingTaskHolder
 
class  WaitingTaskList
 
class  WaitingTaskWithArenaHolder
 
class  WaitingThreadPool
 
class  WallclockTimer
 
struct  WantsGlobalLuminosityBlockTransitions
 
struct  WantsGlobalRunTransitions
 
struct  WantsInputProcessBlockTransitions
 
struct  WantsProcessBlockTransitions
 
struct  WantsStreamLuminosityBlockTransitions
 
struct  WantsStreamRunTransitions
 
struct  WatchInputFiles
 
struct  WatchProcessBlock
 
class  WillGetIfMatch
 
class  Worker
 
class  WorkerInPath
 
class  WorkerMaker
 
class  WorkerManager
 
struct  WorkerParams
 
class  WorkerRegistry
 The Registry of all workers that where requested Holds all instances of workers. In this implementation, Workers are owned. More...
 
struct  WorkerSummary
 
class  WorkerT
 
struct  WorkerTimingSummary
 
class  Wrapper
 
class  WrapperBase
 
class  XORGroupDescription
 
class  zero_allocator
 
class  ZombieKillerService
 

Typedefs

template<typename T >
using AlignedVec = Aligned< T, 16 >
 
typedef std::vector< BranchID::value_typeBranchIDList
 
typedef std::vector< BranchIDListBranchIDLists
 
typedef unsigned short BranchListIndex
 
typedef std::vector< BranchListIndexBranchListIndexes
 
using CfiOptions = cfi::CfiOptions
 
typedef void(* CFUNC) (int, siginfo_t *, void *)
 
using CPUInfoType = std::vector< std::pair< std::string, std::string > >
 
typedef std::vector< CTPPSFastRecHitCTPPSFastRecHitContainer
 
typedef std::vector< CTPPSFastTrackCTPPSFastTrackContainer
 
typedef DigiAccumulatorMixMod *() DAFunc(ParameterSet const &, ProducesCollector, ConsumesCollector &)
 
typedef uint32_t det_id_type
 
typedef edmplugin::PluginFactory< DAFuncDigiAccumulatorMixModPluginFactory
 
typedef std::list< ELdestination * > ELlist_dest
 
typedef std::list< std::string > ELlist_string
 
typedef std::map< ELextendedID, CountAndLimitELmap_counts
 
typedef std::map< std::string, LimitAndTimespanELmap_limits
 
typedef std::map< ELextendedID, StatsCountELmap_stats
 
typedef Hash< EntryDescriptionTypeEntryDescriptionID
 
using EntryDescriptionMap = std::map< EntryDescriptionID, EventEntryDescription >
 
using ESConsumesInfo = std::vector< ESConsumesInfoEntry >
 
typedef std::vector< EventEntryInfoEventEntryInfoVector
 
typedef unsigned long long EventNumber_t
 
typedef ParameterSetID EventSelectionID
 
typedef std::vector< EventSelectionIDEventSelectionIDVector
 
typedef std::vector< std::pair< edm::ProductID, unsigned long > > FillViewHelperVector
 
typedef Handle< FWGenericObjectFWGenericHandle
 
typedef Handle< GenericObjectGenericHandle
 
typedef long long int HRTimeDiffType
 
typedef unsigned long long int HRTimeType
 
typedef edmplugin::PluginFactory< ISFuncInputSourcePluginFactory
 
typedef InputSource *() ISFunc(ParameterSet const &, InputSourceDescription const &)
 
typedef VectorInputSource *() ISVecFunc(ParameterSet const &, VectorInputSourceDescription const &)
 
typedef std::vector< LHCTransportLinkLHCTransportLinkContainer
 
using LogAbsolute = Log< level::System, true >
 
using LogError = Log< level::Error, false >
 
using LogFwkInfo = Log< level::FwkInfo, false >
 
using LogFwkVerbatim = Log< level::FwkInfo, true >
 
using LogImportant = Log< level::Error, true >
 
using LogInfo = Log< level::Info, false >
 
using LogPrint = Log< level::Warning, true >
 
using LogProblem = Log< level::Error, true >
 
using LogSystem = Log< level::System, false >
 
using LogVerbatim = Log< level::Info, true >
 
using LogWarning = Log< level::Warning, false >
 
typedef RunLumiEntryInfo LumiEntryInfo
 
typedef unsigned int LuminosityBlockNumber_t
 
using MakerPluginFactory = edmplugin::PluginFactory< Maker *()>
 
typedef std::vector< MaterialInformationMaterialInformationContainer
 
typedef Hash< ModuleDescriptionTypeModuleDescriptionID
 
using ModuleTypeResolverMakerFactory = edmplugin::PluginFactory< ModuleTypeResolverMaker const *()>
 
using OptionalThinnedKey = std::variant< unsigned int, detail::GetThinnedKeyFromExceptionFactory, std::monostate >
 
typedef edmplugin::PluginFactory< ParameterSetDescriptionFillerBase *(void)> ParameterSetDescriptionFillerPluginFactory
 
typedef Hash< ParameterSetTypeParameterSetID
 
typedef std::map< ParameterSetID, ParameterSetBlobParameterSetMap
 
typedef Hash< ParentageTypeParentageID
 
typedef std::string PassID
 
typedef std::vector< PassiveHitPassiveHitContainer
 
using PathStatus = HLTPathStatus
 
typedef std::vector< PCaloHitPCaloHitContainer
 
typedef std::shared_ptr< Pointer_to_new_exception_on_heapPlace_for_passing_exception_ptr
 
typedef std::shared_ptr< edm::ExceptionPointer_to_new_exception_on_heap
 
typedef Presence *() PresenceFunc()
 
typedef edmplugin::PluginFactory< Presence *()> PresencePluginFactory
 
typedef Hash< ProcessConfigurationTypeProcessConfigurationID
 
typedef std::vector< ProcessConfigurationProcessConfigurationVector
 
typedef Hash< ProcessHistoryTypeProcessHistoryID
 
typedef std::map< ProcessHistoryID, ProcessHistoryProcessHistoryMap
 
typedef std::vector< ProcessHistoryProcessHistoryVector
 
typedef unsigned short ProcessIndex
 
typedef std::string ProcessingTask
 
typedef unsigned short ProductIndex
 
typedef std::vector< ProductProvenanceProductProvenanceVector
 
typedef unsigned int ProductResolverIndex
 
typedef std::vector< PSimHitPSimHitContainer
 
using Record2Factories = std::multimap< EventSetupRecordKey, FactoryInfo >
 
typedef std::string ReleaseVersion
 
typedef RunLumiEntryInfo RunEntryInfo
 
typedef unsigned int RunNumber_t
 
typedef std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
 
typedef std::array< SelectedProducts, NumBranchTypesSelectedProductsForBranchType
 
typedef std::vector< BranchDescriptionSendDescs
 
typedef std::vector< StreamedProductSendProds
 
typedef std::vector< SimTrackSimTrackContainer
 
typedef std::vector< SimVertexSimVertexContainer
 
typedef edm::Ref< std::vector< SimVertex > > SimVertexRef
 
typedef edm::RefProd< std::vector< SimVertex > > SimVertexRefProd
 
typedef edm::RefVector< std::vector< SimVertex > > SimVertexRefVector
 
typedef std::vector< StoredProductProvenanceStoredProductProvenanceVector
 
using Strings = EventSelector::Strings
 
typedef std::vector< std::string > StringVector
 
typedef unsigned long long TimeValue_t
 
typedef detail::TriggerResultsBasedEventSelector::handle_t Trig
 
typedef std::vector< edm::BranchDescription const * > VCBDP
 
typedef edmplugin::PluginFactory< ISVecFuncVectorInputSourcePluginFactory
 
typedef std::vector< ParameterSetVParameterSet
 
typedef std::vector< std::string > vstring
 

Enumerations

enum  BranchActionType {
  BranchActionGlobalBegin = 0, BranchActionStreamBegin = 1, BranchActionStreamEnd = 2, BranchActionGlobalEnd = 3,
  BranchActionProcessBlockInput = 4
}
 
enum  BranchType {
  InEvent = 0, InLumi = 1, InRun = 2, InProcess = 3,
  NumBranchTypes
}
 
enum  CatalogType { CatalogType::TrivialCatalog, CatalogType::RucioCatalog }
 
enum  EDMModuleType {
  EDMModuleType::kUnknown, EDMModuleType::kSource, EDMModuleType::kESSource, EDMModuleType::kESProducer,
  EDMModuleType::kEDAnalyzer, EDMModuleType::kEDProducer, EDMModuleType::kEDFilter, EDMModuleType::kOutputModule
}
 
enum  HashedTypes {
  ModuleDescriptionType, ParameterSetType, ProcessHistoryType, ProcessConfigurationType,
  EntryDescriptionType, ParentageType
}
 
enum  InputType { InputType::Primary, InputType::SecondaryFile, InputType::SecondarySource }
 
enum  JobMode { GridJobMode, ReleaseValidationJobMode, AnalysisJobMode, NilJobMode }
 
enum  KindOfType { PRODUCT_TYPE, ELEMENT_TYPE }
 
enum  ParameterTypes {
  k_int32 = 'I', k_vint32 = 'i', k_uint32 = 'U', k_vuint32 = 'u',
  k_int64 = 'L', k_vint64 = 'l', k_uint64 = 'X', k_vuint64 = 'x',
  k_double = 'D', k_vdouble = 'd', k_bool = 'B', k_stringRaw = 'Z',
  k_vstringRaw = 'z', k_stringHex = 'S', k_vstringHex = 's', k_EventID = 'E',
  k_VEventID = 'e', k_LuminosityBlockID = 'M', k_VLuminosityBlockID = 'm', k_InputTag = 't',
  k_VInputTag = 'v', k_ESInputTag = 'g', k_VESInputTag = 'G', k_FileInPath = 'F',
  k_LuminosityBlockRange = 'A', k_VLuminosityBlockRange = 'a', k_EventRange = 'R', k_VEventRange = 'r',
  k_PSet = 'Q', k_VPSet = 'q'
}
 
enum  ProductResolverIndexValues { ProductResolverIndexValuesBit = 1U << 30, ProductResolverIndexInvalid = std::numeric_limits<unsigned int>::max(), ProductResolverIndexInitializing = std::numeric_limits<unsigned int>::max() - 1, ProductResolverIndexAmbiguous = std::numeric_limits<unsigned int>::max() - 2 }
 
enum  TerminationOrigin { TerminationOrigin::ExceptionFromThisContext, TerminationOrigin::ExceptionFromAnotherContext, TerminationOrigin::ExternalSignal }
 
enum  ThinnedRefSetMode { ThinnedRefSetMode::throwOnInvalidParentRef, ThinnedRefSetMode::ignoreInvalidParentRef }
 
enum  Transition {
  Transition::Event, Transition::BeginLuminosityBlock, Transition::EndLuminosityBlock, Transition::BeginRun,
  Transition::EndRun, Transition::BeginProcessBlock, Transition::EndProcessBlock, Transition::AccessInputProcessBlock,
  Transition::NumberOfTransitions, Transition::NumberOfEventSetupTransitions = BeginProcessBlock
}
 
enum  WildcardValidationCriteria { RequireZeroOrMore, RequireAtLeastOne, RequireExactlyOne }
 

Functions

void addContextAndPrintException (char const *context, cms::Exception &ex, bool disablePrint)
 
void addToMissingDictionariesException (edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)
 
template<typename T , typename... ARGS>
std::unique_ptr< edm::ParameterDescriptionCases< T > > allowedValues (ARGS &&... args)
 
static std::string appendCurrentProcessIfAlias (std::string const &processFromInputTag, std::string const &currentProcess)
 
template<typename Traits >
void beginGlobalTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, typename Traits::TransitionInfoType &transitionInfo, ServiceToken const &token, std::vector< SubProcess > &iSubProcesses, bool cleaningUpAfterException=false)
 
template<typename Traits >
void beginStreamsTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iNStreams, typename Traits::TransitionInfoType &transitionInfo, ServiceToken const &token, std::vector< SubProcess > &iSubProcesses)
 
template<typename Traits >
void beginStreamTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iStreamIndex, typename Traits::TransitionInfoType &transitionInfo, ServiceToken const &token, std::vector< SubProcess > &iSubProcesses)
 
template<typename ForwardSequence , typename Datum >
bool binary_search_all (ForwardSequence const &s, Datum const &d)
 wrappers for std::binary_search More...
 
template<typename ForwardSequence , typename Datum , typename Predicate >
bool binary_search_all (ForwardSequence const &s, Datum const &d, Predicate p)
 
ProductID branchIDToProductID (BranchID const &bid, BranchIDListHelper const &branchIDListHelper, std::vector< ProcessIndex > const &branchListIndexToProcessIndex)
 
std::string const & BranchTypeToAuxBranchName (BranchType const &branchType)
 
std::string const & BranchTypeToAuxiliaryBranchName (BranchType const &branchType)
 
std::string const & BranchTypeToBranchEntryInfoBranchName (BranchType const &branchType)
 
std::string const & BranchTypeToInfoTreeName (BranchType const &branchType)
 
std::string const & BranchTypeToMetaDataTreeName (BranchType const &branchType)
 
std::string const & BranchTypeToProductProvenanceBranchName (BranchType const &BranchType)
 
std::string const & BranchTypeToProductStatusBranchName (BranchType const &branchType)
 
std::string const & BranchTypeToProductTreeName (BranchType const &branchType)
 
std::string BranchTypeToProductTreeName (BranchType const &branchType, std::string const &processName)
 
std::string const & BranchTypeToString (BranchType const &branchType)
 
template<typename TReturn >
TReturn callWithTryCatchAndPrint (std::function< TReturn(void)> iFunc, char const *context=nullptr, bool disablePrint=false)
 
template<typename T >
static void check (T const &p, std::string const &id, SelectedProducts const &iProducts, bool iVerbose)
 
bool checkClassDictionaries (std::vector< std::string > &missingDictionaries, TypeID const &typeID)
 
bool checkClassDictionaries (std::vector< std::string > &missingDictionaries, std::string const &name, TypeWithDict const &typeWithDict)
 
bool checkDictionary (std::vector< std::string > &missingDictionaries, TypeID const &typeID)
 
bool checkDictionary (std::vector< std::string > &missingDictionaries, std::string const &name, TypeWithDict const &typeWithDict)
 
bool checkDictionaryOfWrappedType (std::vector< std::string > &missingDictionaries, TypeID const &unwrappedTypeID)
 
bool checkDictionaryOfWrappedType (std::vector< std::string > &missingDictionaries, std::string const &unwrappedName)
 
void checkForModuleDependencyCorrectness (edm::PathsAndConsumesOfModulesBase const &iPnC, bool iPrintDependencies)
 
void checkForWrongProduct (ProductID const &keyID, ProductID const &refID)
 
void clearLoggedErrorsSummary (unsigned int iStreamID)
 
void clearMessageLog ()
 
std::unique_ptr< CLHEP::HepRandomEngine > cloneEngine (CLHEP::HepRandomEngine const &)
 
bool combinable (BranchDescription const &a, BranchDescription const &b)
 
template<typename C , typename K >
bool compare_key (K const &lhs, K const &rhs)
 
bool contains (EventRange const &lh, EventID const &rh)
 
bool contains (LuminosityBlockRange const &lh, LuminosityBlockID const &rh)
 
bool contains (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool contains (EventRange const &lh, EventRange const &rh)
 
bool contains_ (EventRange const &lh, EventID const &rh)
 
template<class FwdIter >
FwdIter contextual_find (FwdIter b, FwdIter e, char first, char sep, char last)
 
template<class FwdIter >
FwdIter contextual_find_not (FwdIter b, FwdIter e, char first, char sep, char last)
 
void conversion (LuminosityBlockAux const &from, LuminosityBlockAuxiliary &to)
 
void conversion (RunAux const &from, RunAuxiliary &to)
 
void conversion (EventAux const &from, EventAuxiliary &to)
 
void convert_handle (BasicHandle const &orig, Handle< FWGenericObject > &result)
 specialize this function forFWGenericHandle More...
 
template<typename T >
Handle< Tconvert_handle (BasicHandle &&bh) noexcept(true)
 
void convert_handle (BasicHandle &&orig, Handle< GenericObject > &result)
 specialize this function for GenericHandle More...
 
template<typename T >
Handle< Tconvert_handle_check_type (BasicHandle &&bh)
 
constexpr BranchType convertToBranchType (Transition iValue)
 
constexpr Transition convertToTransition (BranchType iValue)
 
template<typename ForwardSequence , typename Func >
Func copy_all (ForwardSequence &s, Func f)
 wrappers for copy More...
 
std::string createGlobalIdentifier (bool binary=false)
 
bool decode (bool &, std::string_view)
 
bool decode (std::vector< bool > &, std::string_view)
 
bool decode (int &, std::string_view)
 
bool decode (std::vector< int > &, std::string_view)
 
bool decode (unsigned int &, std::string_view)
 
bool decode (std::vector< unsigned int > &, std::string_view)
 
bool decode (long long &, std::string_view)
 
bool decode (std::vector< long long > &, std::string_view)
 
bool decode (unsigned long long &, std::string_view)
 
bool decode (std::vector< unsigned long long > &, std::string_view)
 
bool decode (double &, std::string_view)
 
bool decode (std::vector< double > &, std::string_view)
 
bool decode (std::string &, std::string_view)
 
bool decode (std::vector< std::string > &, std::string_view)
 
bool decode (edm::FileInPath &, std::string_view)
 
bool decode (edm::InputTag &, std::string_view)
 
bool decode (std::vector< edm::InputTag > &, std::string_view)
 
bool decode (edm::ESInputTag &, std::string_view)
 
bool decode (std::vector< edm::ESInputTag > &, std::string_view)
 
bool decode (edm::EventID &, std::string_view)
 
bool decode (std::vector< edm::EventID > &, std::string_view)
 
bool decode (edm::LuminosityBlockID &, std::string_view)
 
bool decode (std::vector< edm::LuminosityBlockID > &, std::string_view)
 
bool decode (edm::LuminosityBlockRange &, std::string_view)
 
bool decode (std::vector< edm::LuminosityBlockRange > &, std::string_view)
 
bool decode (edm::EventRange &, std::string_view)
 
bool decode (std::vector< edm::EventRange > &, std::string_view)
 
bool decode (ParameterSet &, std::string_view)
 
bool decode (std::vector< ParameterSet > &, std::string_view)
 
bool decode_deprecated (std::string &, std::string_view)
 
bool decode_deprecated (std::vector< std::string > &, std::string_view)
 
bool decode_element (std::string &, std::string_view)
 
std::optional< std::string_view > decode_pset_extent (std::string_view from)
 
std::optional< std::string_view > decode_string_extent (std::string_view from)
 
std::optional< std::string_view > decode_vpset_extent (std::string_view from)
 
std::optional< std::string_view > decode_vstring_extent (std::string_view from)
 
std::vector< std::string > defaultCmsRunServices ()
 
std::string defaultModuleLabel (std::string label)
 
void disableAllSigs (sigset_t *oldset)
 
bool DisableLoggedErrorsSummary ()
 
void disableRTSigs ()
 
void disableSignal (sigset_t *newset, int signum)
 
bool distinct (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool distinct (EventRange const &lh, EventRange const &rh)
 
void dumpOptionsToLogFile (unsigned int nThreads, unsigned int nStreams, unsigned int nConcurrentLumis, unsigned int nConcurrentRuns)
 
const char * edmModuleType (edm::ModuleDescription const &module)
 
EDMModuleType edmModuleTypeEnum (edm::ModuleDescription const &module)
 
void edmodule_mightGet_config (ConfigurationDescriptions &iDesc)
 
bool EnableLoggedErrorsSummary ()
 
void enableSignal (sigset_t *newset, int signum)
 
bool encode (std::string &, bool)
 
bool encode (std::string &, std::vector< bool > const &)
 
bool encode (std::string &, int)
 
bool encode (std::string &, std::vector< int > const &)
 
bool encode (std::string &, unsigned int)
 
bool encode (std::string &, std::vector< unsigned int > const &)
 
bool encode (std::string &, long long)
 
bool encode (std::string &, std::vector< long long > const &)
 
bool encode (std::string &, unsigned long long)
 
bool encode (std::string &, std::vector< unsigned long long > const &)
 
bool encode (std::string &, double)
 
bool encode (std::string &, std::vector< double > const &)
 
bool encode (std::string &, std::string const &)
 
bool encode (std::string &, std::vector< std::string > const &)
 
bool encode (std::string &, edm::FileInPath const &)
 
bool encode (std::string &, edm::InputTag const &)
 
bool encode (std::string &, std::vector< edm::InputTag > const &)
 
bool encode (std::string &, edm::ESInputTag const &)
 
bool encode (std::string &, std::vector< edm::ESInputTag > const &)
 
bool encode (std::string &, edm::EventID const &)
 
bool encode (std::string &, std::vector< edm::EventID > const &)
 
bool encode (std::string &, edm::LuminosityBlockID const &)
 
bool encode (std::string &, std::vector< edm::LuminosityBlockID > const &)
 
bool encode (std::string &, edm::LuminosityBlockRange const &)
 
bool encode (std::string &, std::vector< edm::LuminosityBlockRange > const &)
 
bool encode (std::string &, edm::EventRange const &)
 
bool encode (std::string &, std::vector< edm::EventRange > const &)
 
bool encode (std::string &, ParameterSet const &)
 
bool encode (std::string &, std::vector< ParameterSet > const &)
 
bool encode_deprecated (std::string &, std::string const &)
 
bool encode_deprecated (std::string &, std::vector< std::string > const &)
 
bool encode_element (std::string &, std::string const &)
 
template<typename Traits >
void endGlobalTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, typename Traits::TransitionInfoType &transitionInfo, ServiceToken const &token, std::vector< SubProcess > &iSubProcesses, bool cleaningUpAfterException)
 
template<typename Traits >
void endStreamsTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iNStreams, typename Traits::TransitionInfoType &transitionInfo, ServiceToken const &iToken, std::vector< SubProcess > &iSubProcesses, bool cleaningUpAfterException)
 
template<typename Traits >
void endStreamTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iStreamIndex, typename Traits::TransitionInfoType &transitionInfo, ServiceToken const &token, std::vector< SubProcess > &iSubProcesses, bool cleaningUpAfterException)
 
void ensureAvailableAccelerators (edm::ParameterSet const &parameterSet)
 
void ep_sigusr2 (int, siginfo_t *, void *)
 
unsigned int eventProcessBlockIndex (Event const &event, std::string const &processName)
 
void exceptionContext (cms::Exception &, ESModuleCallingContext const &)
 
void exceptionContext (std::ostream &, GlobalContext const &)
 
void exceptionContext (std::ostream &, StreamContext const &)
 
void exceptionContext (cms::Exception &, GlobalContext const &, char const *context)
 
void exceptionContext (cms::Exception &, ModuleCallingContext const &)
 
void fillDescriptionFromPSet (ParameterSet const &pset, ParameterSetDescription &desc)
 
std::shared_ptr< EDLooperBasefillLooper (eventsetup::EventSetupsController &esController, eventsetup::EventSetupProvider &cp, ParameterSet &params, std::vector< std::string > const &loopers)
 
void fillMaxEventsDescription (ParameterSetDescription &description)
 
void fillMaxLuminosityBlocksDescription (ParameterSetDescription &description)
 
void fillMaxSecondsUntilRampdownDescription (ParameterSetDescription &description)
 
static void fillModuleInPathSummary (Path const &path, size_t which, ModuleInPathSummary &sum)
 
void fillOptionsDescription (ParameterSetDescription &description)
 
void fillParameterSetBranch (TTree *parameterSetsTree, int basketSize)
 
static void fillPathSummary (Path const &path, PathSummary &sum)
 
void fillProcessHistoryBranch (TTree *metaDataTree, int basketSize, ProcessHistoryRegistry const &processHistoryRegistry)
 
template<typename T , typename A >
void fillPtrVector (std::vector< T, A > const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
 
template<typename T , typename A >
void fillPtrVector (std::list< T, A > const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
 
template<typename T , typename A >
void fillPtrVector (std::deque< T, A > const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
 
template<typename T , typename A , typename Comp >
void fillPtrVector (std::set< T, A, Comp > const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
 
template<typename T , typename SORT >
void fillPtrVector (SortedCollection< T, SORT > const &obj, std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const *> &ptrs)
 
template<typename T , typename P >
void fillPtrVector (OwnVector< T, P > const &obj, std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const *> &ptrs)
 
template<class T , class A >
void fillView (std::vector< T, A > const &obj, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
 
template<class T , class A >
void fillView (std::list< T, A > const &obj, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
 
template<class T , class A >
void fillView (std::deque< T, A > const &obj, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
 
template<class T , class A , class Comp >
void fillView (std::set< T, A, Comp > const &obj, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
 
template<typename C , typename T , typename F >
void fillView (RefVector< C, T, F > const &obj, ProductID const &id, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<typename T >
void fillView (PtrVector< T > const &obj, ProductID const &, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<typename T >
void fillView (RefToBaseVector< T > const &obj, ProductID const &, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<typename T >
void fillView (std::vector< edm::Ptr< T > > const &obj, ProductID const &id, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<typename KeyRefProd , typename CVal , typename KeyRef , typename SizeType , typename KeyReferenceHelper >
void fillView (AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > const &obj, ProductID const &id, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<class T >
void fillView (DetSetVector< T > const &obj, ProductID const &id, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<typename T , typename SORT >
void fillView (SortedCollection< T, SORT > const &obj, ProductID const &id, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
template<typename T , typename P >
void fillView (OwnVector< T, P > const &obj, ProductID const &id, std::vector< void const *> &pointers, FillViewHelperVector &helpers)
 
static void fillWorkerSummary (Worker const *pw, WorkerSummary &sum)
 
static void fillWorkerSummaryAux (Worker const &w, WorkerSummary &sum)
 
template<typename ForwardSequence , typename Predicate >
ForwardSequence::const_iterator find_if_in_all (ForwardSequence const &s, Predicate const &p)
 wrappers for std::find More...
 
template<typename ForwardSequence , typename Predicate >
ForwardSequence::iterator find_if_in_all (ForwardSequence &s, Predicate const &p)
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator find_in_all (ForwardSequence const &s, Datum const &d)
 wrappers for std::find More...
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator find_in_all (ForwardSequence &s, Datum const &d)
 
template<typename Key , typename Value >
Value const & findOrAssert (std::map< Key, Value > const &m, Key const &k)
 
template<typename Key , typename Value >
Value & findOrAssert (std::map< Key, Value > &m, Key const &k)
 
template<typename Key , typename Value >
Value const & findOrDefault (std::map< Key, Value > const &m, Key const &k, Value const &defaultValue)
 
template<typename Key , typename Value >
Value & findOrDefault (std::map< Key, Value > &m, Key const &k, Value &defaultValue)
 
template<typename Key , typename Value >
Value findOrDefault (std::map< Key, Value > const &m, Key const &k)
 
template<typename Key , typename Value >
Value & findOrInsert (std::map< Key, Value > &m, Key const &k)
 
template<typename T , typename U >
T first (std::pair< T, U > const &p)
 
void FlushMessageLog ()
 
template<typename ForwardSequence , typename Func >
Func for_all (ForwardSequence &s, Func f)
 wrapper for std::for_each More...
 
template<typename S , typename T >
SformatFile (T const &f, S &os)
 
bool FreshErrorsExist (unsigned int iStreamID)
 
template<typename T >
T const & get (ProcessBlock const &processBlock, EDGetToken const &token)
 
template<typename T >
T const & get (ProcessBlock const &processBlock, EDGetTokenT< T > const &token)
 
template<typename T >
T const & get (Run const &event, InputTag const &tag)
 
template<typename T >
T const & get (LuminosityBlock const &event, InputTag const &tag)
 
template<typename T >
T const & get (Run const &event, EDGetToken const &token)
 
template<typename T >
T const & get (LuminosityBlock const &event, EDGetToken const &token)
 
template<typename T >
T const & get (Run const &event, EDGetTokenT< T > const &token)
 
template<typename T >
T const & get (LuminosityBlock const &event, EDGetTokenT< T > const &token)
 
template<typename T >
T const & get (Event const &event, InputTag const &tag) noexcept(false)
 
template<typename T >
T const & get (Event const &event, EDGetToken const &token) noexcept(false)
 
template<typename T >
T const & get (Event const &event, EDGetTokenT< T > const &token) noexcept(false)
 
template<typename T >
constexpr Tget_underlying (propagate_const< T > &)
 
template<typename T >
constexpr T const & get_underlying (propagate_const< T > const &)
 
template<typename T >
constexpr std::decay_t< T > & get_underlying (propagate_const_array< T > &)
 
template<typename T >
constexpr std::decay_t< T > const & get_underlying (propagate_const_array< T > const &)
 
template<typename T >
constexpr std::shared_ptr< T > & get_underlying_safe (propagate_const< std::shared_ptr< T >> &iP)
 
template<typename T >
constexpr std::shared_ptr< T const > get_underlying_safe (propagate_const< std::shared_ptr< T >> const &iP)
 
template<typename T >
constexpr std::shared_ptr< T[]> & get_underlying_safe (propagate_const_array< std::shared_ptr< T[]>> &iP)
 
template<typename T >
constexpr std::shared_ptr< T const []> get_underlying_safe (propagate_const_array< std::shared_ptr< T[]>> const &iP)
 
template<typename T >
constexpr T *& get_underlying_safe (propagate_const< T *> &iP)
 
template<typename T >
constexpr T const * get_underlying_safe (propagate_const< T *> const &iP)
 
template<typename T >
constexpr Tget_underlying_safe (propagate_const_array< T[]> &iP)
 
template<typename T >
constexpr T const * get_underlying_safe (propagate_const_array< T[]> const &iP)
 
template<typename T >
constexpr std::unique_ptr< T > & get_underlying_safe (propagate_const< std::unique_ptr< T >> &iP)
 
template<typename T >
constexpr std::unique_ptr< T const > get_underlying_safe (propagate_const< std::unique_ptr< T >> const &iP)
 
template<typename T >
constexpr std::unique_ptr< T[]> & get_underlying_safe (propagate_const_array< std::unique_ptr< T[]>> &iP)
 
template<typename T >
constexpr std::unique_ptr< T const []> get_underlying_safe (propagate_const_array< std::unique_ptr< T[]>> const &iP)
 
std::vector< std::string > const & getAllTriggerNames ()
 
template<typename T >
std::unique_ptr< TgetAnyPtr (void *p, int offset)
 
std::string getEnvironmentVariable (std::string const &name, std::string const &defaultValue=std::string())
 
int getFileFormatVersion ()
 
ParameterSet const & getParameterSet (ParameterSetID const &id)
 
std::string getPassID ()
 
ParameterSet const & getProcessParameterSetContainingModule (ModuleDescription const &moduleDescription)
 
ParameterSet const * getProducerParameterSet (Provenance const &provenance, ProcessHistory const &)
 
template<typename T >
T const * getProduct (RefCore const &ref)
 
template<typename PROD >
std::shared_ptr< Wrapper< PROD > const > getProductByTag (Principal const &ep, InputTag const &tag, ModuleCallingContext const *mcc)
 
template<typename T >
T const * getProductWithCoreFromRef (RefCore const &ref, EDProductGetter const *prodGetter)
 
std::unique_ptr< edm::ParameterSetgetPSetFromConfig (const std::string &config)
 
template<typename C >
helper::MatcherGetRef< C >::ref_type getRef (const Handle< C > &c, size_t k)
 
template<typename C , typename T , typename F , typename KEY >
T const * getRefPtr (RefCore const &product, KEY const &iKey)
 
std::string getReleaseVersion ()
 
template<typename T >
std::tuple< T const *, unsigned int > getThinnedProduct (RefCore const &ref, unsigned int key, EDProductGetter const *prodGetter)
 
std::string getUuid (TTree *uuidTree)
 
std::unique_ptr< WrapperBasegetWrapperBasePtr (void *p, int offset)
 
std::string glob2reg (std::string const &pattern)
 
void GroupLogStatistics (std::string_view category)
 
void HaltMessageLogging ()
 
bool hasDictionary (std::type_info const &)
 
template<typename T >
void hash_combine (std::size_t &seed, const T &val)
 
template<typename T , typename... Types>
void hash_combine (std::size_t &seed, const T &val, const Types &... args)
 
template<typename... Types>
std::size_t hash_value (const Types &... args)
 
HRTimeType hrRealTime ()
 
void insertSelectedProcesses (BranchDescription const &desc, std::set< std::string > &processes, std::set< std::string > &processesWithKeptProcessBlockProducts)
 
void installCustomHandler (int signum, CFUNC func)
 
void installSig (int signum, CFUNC func)
 
bool is_glob (std::string const &pattern)
 
bool isAncestor (ProcessHistory const &a, ProcessHistory const &b)
 
bool isDebugEnabled ()
 
bool isDescendant (ProcessHistory const &a, ProcessHistory const &b)
 
constexpr bool isEndTransition (Transition iValue)
 
bool isErrorEnabled ()
 
template<typename T >
constexpr bool isFinite (T x)
 
template<>
constexpr bool isFinite (float x)
 
template<>
constexpr bool isFinite (double x)
 
template<>
constexpr bool isFinite (long double x)
 
bool isFwkInfoEnabled ()
 
bool isInfoEnabled ()
 
bool isMessageProcessingSetUp ()
 
template<typename T >
constexpr bool isNotFinite (T x)
 
bool isSameEvent (EventAuxiliary const &a, EventAuxiliary const &b)
 
bool isSameEvent (EventPrincipal const &a, EventPrincipal const &b)
 
template<typename C , typename KEY >
bool isThinnedAvailable (RefCore const &product, KEY const &iKey)
 
bool isTransientEqual (ParameterSet const &a, ParameterSet const &b)
 
bool isValidGlobalIdentifier (std::string const &guid)
 
bool isWarningEnabled ()
 
template<typename V , typename T >
bool iterateTrieLeaves (V &v, TrieNode< T > const &n, std::string const &label="")
 visits only leaf nodes More...
 
static std::string const kBaseType ("Source")
 
bool lessThan (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool lessThan (EventRange const &lh, EventRange const &rh)
 
bool lessThanSpecial (EventRange const &lh, EventRange const &rh)
 
std::vector< messagelogger::ErrorSummaryEntryLoggedErrorsOnlySummary (unsigned int iStreamID)
 
std::vector< messagelogger::ErrorSummaryEntryLoggedErrorsSummary (unsigned int iStreamID)
 
void LogStatistics ()
 
void longBranchPrint (TTree *tr)
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator lower_bound_all (ForwardSequence const &s, Datum const &d)
 wrappers for std::lower_bound More...
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator lower_bound_all (ForwardSequence &s, Datum const &d)
 
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::const_iterator lower_bound_all (ForwardSequence const &s, Datum const &d, Predicate p)
 
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::iterator lower_bound_all (ForwardSequence &s, Datum const &d, Predicate p)
 
template<typename F >
FunctorTask< F > * make_functor_task (F f)
 
template<typename F >
auto make_lambda_with_holder (WaitingTaskWithArenaHolder h, F &&f)
 
template<typename T , typename F >
std::unique_ptr< T, Fmake_sentry (T *iObject, F iFunc)
 NOTE: if iObject is null, then iFunc will not be called. More...
 
template<typename T , typename... Args>
std::shared_ptr< Tmake_shared_noexcept_false (Args &&... args)
 
template<typename F >
FunctorWaitingTask< F > * make_waiting_task (F f)
 
template<typename F >
auto make_waiting_task_with_holder (WaitingTaskWithArenaHolder h, F &&f)
 
template<typename KeyRefType , typename AC , typename EventType >
AssociativeIterator< KeyRefType, AC, edm::EventItemGetter< KeyRefType, EventType > > makeAssociativeIterator (const AC &map, const EventType &event)
 
std::vector< ProcessIndexmakeBranchListIndexToProcessIndex (BranchListIndexes const &branchListIndexes)
 
template<typename T >
std::shared_ptr< ESHandleExceptionFactorymakeESHandleExceptionFactory (T &&iFunctor)
 
template<typename U >
auto makeESValid (const U &iOtherHandleType) noexcept(false)
 
template<typename T >
std::shared_ptr< HandleExceptionFactorymakeHandleExceptionFactory (T &&iFunctor)
 
std::unique_ptr< InputSourcemakeInput (unsigned int moduleIndex, ParameterSet &params, CommonParams const &common, std::shared_ptr< ProductRegistry > preg, std::shared_ptr< BranchIDListHelper > branchIDListHelper, std::shared_ptr< ProcessBlockHelper > const &processBlockHelper, std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper, std::shared_ptr< ActivityRegistry > areg, std::shared_ptr< ProcessConfiguration const > processConfiguration, PreallocationConfiguration const &allocations)
 
std::unique_ptr< edm::ModuleTypeResolverMaker const > makeModuleTypeResolverMaker (edm::ParameterSet const &pset)
 
static std::shared_ptr< cms::ExceptionmakeNotFoundException (char const *where, KindOfType kindOfType, TypeID const &productType, std::string const &label, std::string const &instance, std::string const &process)
 
void makeParameterSets (std::string const &configtext, std::unique_ptr< ParameterSet > &main)
 essentially the same as the previous method More...
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
 
template<typename T >
RefToBaseProd< TmakeRefToBaseProdFrom (RefToBase< T > const &iRef, Event const &iEvent)
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetRefVector (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetRefVector (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::iterator itIter)
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetVector (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::iterator itIter)
 
std::unique_ptr< RunHelperBasemakeRunHelper (ParameterSet const &pset)
 
template<typename U >
auto makeValid (const U &iOtherHandleType) noexcept(false)
 
std::string match (BranchDescription const &a, BranchDescription const &b, std::string const &fileName)
 
LuminosityBlockID const & max (LuminosityBlockID const &lh, LuminosityBlockID const &rh)
 
EventID const & max (EventID const &lh, EventID const &rh)
 
const unsigned int maxIDlength (200)
 
bool merge (LuminosityBlockRange &lh, LuminosityBlockRange &rh)
 
LuminosityBlockID const & min (LuminosityBlockID const &lh, LuminosityBlockID const &rh)
 
EventID const & min (EventID const &lh, EventID const &rh)
 
std::string moduleName (StableProvenance const &provenance, ProcessHistory const &history)
 
template<typename... TArgs, typename ToT >
void moveFromTo (ESProducts< TArgs... > &iFrom, ToT &iTo)
 
EDProductGetter const * mustBeNonZero (EDProductGetter const *prodGetter, std::string refType, ProductID const &productID)
 
static Principal::CacheIdentifier_t nextIdentifier ()
 
std::vector< ModuleDescription const * > nonConsumedUnscheduledModules (edm::PathsAndConsumesOfModulesBase const &iPnC, std::vector< ModuleProcessName > &consumedByChildren)
 
Long64_t numEntries (TFile *hdl, std::string const &trname)
 
TFile * openFileHdl (std::string const &fname)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator && (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
bool operator!= (FileID const &lh, FileID const &rh)
 
bool operator!= (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator!= (ElementID const &lh, ElementID const &rh)
 
bool operator!= (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator!= (ProductID const &lh, ProductID const &rh)
 
bool operator!= (BranchKey const &a, BranchKey const &b)
 
bool operator!= (TypeID const &a, TypeID const &b)
 
bool operator!= (EventEntryDescription const &a, EventEntryDescription const &b)
 
template<typename T1 , template< typename X1 > class B1, typename T2 , template< typename X2 > class B2>
bool operator!= (const zero_allocator< T1, B1 > &a, const zero_allocator< T2, B2 > &b)
 
bool operator!= (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator!= (const TypeIDBase &a, const TypeIDBase &b)
 
bool operator!= (Parentage const &a, Parentage const &b)
 
bool operator!= (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
constexpr bool operator!= (ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
 
bool operator!= (ProcessHistory const &a, ProcessHistory const &b)
 
template<typename T >
bool operator!= (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
bool operator!= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
bool operator!= (TypeWithDict const &a, TypeWithDict const &b)
 
bool operator!= (RefCore const &lhs, RefCore const &rhs)
 
template<typename KEY >
bool operator!= (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Inequality operator. More...
 
bool operator!= (TypeWithDict const &a, std::type_info const &b)
 
template<typename T >
bool operator!= (View< T > const &, View< T > const &)
 
bool operator!= (std::type_info const &a, TypeWithDict const &b)
 
template<typename T >
bool operator!= (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
template<typename T , typename U >
bool operator!= (atomic_value_ptr< T > const &lhs, U const &rhs)
 
template<typename T , typename U >
bool operator!= (U const &lhs, atomic_value_ptr< T > const &rhs)
 
template<typename C >
bool operator!= (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<typename T , typename U >
bool operator!= (value_ptr< T > const &lhs, U const &rhs)
 
bool operator!= (ProductRegistry const &a, ProductRegistry const &b)
 
bool operator!= (Entry const &a, Entry const &b)
 
template<typename T , typename U >
bool operator!= (U const &lhs, value_ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (RefVector< C, T, F > const &lhs, RefVector< C, T, F > const &rhs)
 
template<typename T >
bool operator!= (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (FwdRef< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (Ref< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (FwdRef< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
bool operator!= (ParameterSet const &a, ParameterSet const &b)
 
template<typename C , typename T , typename F >
bool operator!= (Ref< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
template<typename C >
Association< C > operator+ (const Association< C > &a1, const Association< C > &a2)
 
template<typename C , typename T , typename F >
RefVectorIterator< C, T, Foperator+ (typename RefVectorIterator< C, T, F >::difference n, RefVectorIterator< C, T, F > const &iter)
 
template<typename T >
ValueMap< Toperator+ (const ValueMap< T > &a1, const ValueMap< T > &a2)
 
bool operator< (EventProcessHistoryID const &lh, EventProcessHistoryID const &rh)
 
bool operator< (ModuleProcessName const &a, ModuleProcessName const &b)
 
bool operator< (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator< (StoredProductProvenance const &a, StoredProductProvenance const &b)
 
bool operator< (BranchKey const &a, BranchKey const &b)
 
bool operator< (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator< (ElementID const &lh, ElementID const &rh)
 
bool operator< (WorkerTimingSummary const &a, WorkerTimingSummary const &b)
 
bool operator< (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator< (ProductID const &lh, ProductID const &rh)
 
bool operator< (WorkerSummary const &a, WorkerSummary const &b)
 
bool operator< (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
template<class T >
bool operator< (DetSet< T > const &x, DetSet< T > const &y)
 
template<class T >
bool operator< (DetSet< T > const &x, det_id_type y)
 
template<class T >
bool operator< (det_id_type x, DetSet< T > const &y)
 
constexpr bool operator< (ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
 
bool operator< (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
bool operator< (TypeWithDict const &a, TypeWithDict const &b)
 
template<typename T >
bool operator< (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
bool operator< (RefCore const &lhs, RefCore const &rhs)
 
template<typename T >
bool operator< (View< T > const &, View< T > const &)
 
template<typename T >
bool operator< (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
template<typename C >
bool operator< (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
bool operator< (BranchDescription const &a, BranchDescription const &b)
 
template<typename T >
bool operator< (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (FwdRef< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (Ref< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (FwdRef< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (Ref< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
std::ostream & operator<< (std::ostream &os, TimeOfDay const &tod)
 
std::ostream & operator<< (std::ostream &os, ParameterSetBlob const &blob)
 
std::ostream & operator<< (std::ostream &os, FileID const &id)
 
std::ostream & operator<< (std::ostream &, PlaceInPathContext const &)
 
std::ostream & operator<< (std::ostream &os, BranchType const &branchType)
 
std::ostream & operator<< (std::ostream &os, BranchID const &id)
 
std::ostream & operator<< (std::ostream &os, RunLumiEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &, InternalContext const &)
 
std::ostream & operator<< (std::ostream &out, const reco::GenParticleRef &genRef)
 
std::ostream & operator<< (std::ostream &os, FileFormatVersion const &ff)
 
std::ostream & operator<< (std::ostream &os, EventEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &, PathContext const &)
 
std::ostream & operator<< (std::ostream &, ProcessContext const &)
 
std::ostream & operator<< (std::ostream &os, EventEntryDescription const &p)
 
std::ostream & operator<< (std::ostream &os, ElementID const &id)
 
std::ostream & operator<< (std::ostream &os, ProductProvenance const &p)
 
std::ostream & operator<< (std::ostream &os, BranchKey const &bk)
 
std::ostream & operator<< (std::ostream &os, ProductID const &id)
 
std::ostream & operator<< (std::ostream &oStream, RunID const &iID)
 
std::ostream & operator<< (std::ostream &os, const RunAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, TypeID const &id)
 
std::ostream & operator<< (std::ostream &iOS, ESResolverIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &, ParentContext const &)
 
std::ostream & operator<< (std::ostream &os, const ProductSelector &gs)
 
std::ostream & operator<< (std::ostream &os, const LuminosityBlockAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, Parentage const &p)
 
std::ostream & operator<< (std::ostream &os, StableProvenance const &p)
 
std::ostream & operator<< (std::ostream &oStream, EventRange const &iID)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockRange const &iID)
 
std::ostream & operator<< (std::ostream &ost, InputTag const &tag)
 
std::ostream & operator<< (std::ostream &os, ProcessConfiguration const &pc)
 
std::ostream & operator<< (std::ostream &t, OStreamColumn const &c)
 
template<typename E >
std::ostream & operator<< (std::ostream &t, OStreamColumnEntry< E > const &ce)
 
std::ostream & operator<< (std::ostream &, GlobalContext const &)
 
std::ostream & operator<< (std::ostream &iOS, ESTokenIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &, StreamContext const &)
 
std::ostream & operator<< (std::ostream &os, ModuleDescription const &p)
 
std::ostream & operator<< (std::ostream &os, ParameterSetEntry const &psetEntry)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockID const &iID)
 
std::ostream & operator<< (std::ostream &, ModuleCallingContext const &)
 
std::ostream & operator<< (std::ostream &os, Provenance const &p)
 
std::ostream & operator<< (std::ostream &ost, const HLTGlobalStatus &hlt)
 Formatted printout of trigger table. More...
 
std::ostream & operator<< (std::ostream &os, JobReport::RunReport const &f)
 
std::ostream & operator<< (std::ostream &os, const EventAuxiliary &p)
 
std::ostream & operator<< (std::ostream &iOS, ESRecordIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &oStream, EventID const &iID)
 
template<class T >
ErrorObjoperator<< (ErrorObj &e, const T &t)
 
std::ostream & operator<< (std::ostream &, ESInputTag const &)
 
std::ostream & operator<< (std::ostream &ost, ProcessHistory const &ph)
 
ErrorObjoperator<< (ErrorObj &e, const char s[])
 
std::ostream & operator<< (std::ostream &os, const edm::FileInPath &fip)
 
std::ostream & operator<< (std::ostream &os, VParameterSetEntry const &vpsetEntry)
 
std::ostream & operator<< (std::ostream &os, FileIndex const &fileIndex)
 
std::ostream & operator<< (std::ostream &os, TypeWithDict const &id)
 
std::ostream & operator<< (std::ostream &os, const CompactEventAuxiliaryVector::CompactEventAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, const CompactEventAuxiliaryVector::CompactEventAuxiliaryExtra &p)
 
std::ostream & operator<< (std::ostream &os, ProductResolverBase const &phb)
 
std::ostream & operator<< (std::ostream &os, ProductRegistry const &pr)
 
template<int I>
std::ostream & operator<< (std::ostream &os, Hash< I > const &h)
 
std::ostream & operator<< (std::ostream &os, BranchDescription const &p)
 
template<typename T , std::size_t N>
std::ostream & operator<< (std::ostream &out, edm::StdArray< T, N > const &array)
 
template<typename PROD >
std::ostream & operator<< (std::ostream &os, Handle< PROD > const &h)
 
template<typename C , typename T , typename F >
std::ostream & operator<< (std::ostream &os, RefVector< C, T, F > const &r)
 
std::ostream & operator<< (std::ostream &os, JobReport::InputFile const &f)
 
std::ostream & operator<< (std::ostream &os, JobReport::OutputFile const &f)
 
std::ostream & operator<< (std::ostream &os, ParameterSet const &pset)
 
std::ostream & operator<< (std::ostream &os, Entry const &entry)
 
constexpr bool operator<= (ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
 
bool operator<= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator<= (View< T > const &, View< T > const &)
 
bool operator== (FileID const &lh, FileID const &rh)
 
bool operator== (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator== (ElementID const &lh, ElementID const &rh)
 
bool operator== (ProductID const &lh, ProductID const &rh)
 
bool operator== (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator== (BranchKey const &a, BranchKey const &b)
 
template<typename T1 , template< typename X1 > class B1, typename T2 , template< typename X2 > class B2>
bool operator== (const zero_allocator< T1, B1 > &a, const zero_allocator< T2, B2 > &b)
 
bool operator== (EventEntryDescription const &a, EventEntryDescription const &b)
 
bool operator== (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator== (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
bool operator== (Parentage const &a, Parentage const &b)
 
bool operator== (StableProvenance const &a, StableProvenance const &b)
 
template<class T >
bool operator== (RefToBaseVector< T > const &a, RefToBaseVector< T > const &b)
 
constexpr bool operator== (ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
 
bool operator== (Provenance const &a, Provenance const &b)
 
bool operator== (ProcessHistory const &a, ProcessHistory const &b)
 
template<typename T >
bool operator== (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
bool operator== (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
bool operator== (RefCore const &lhs, RefCore const &rhs)
 
template<typename KEY >
bool operator== (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Equality operator. More...
 
bool operator== (TypeWithDict const &a, TypeWithDict const &b)
 
bool operator== (edm::FileInPath const &a, edm::FileInPath const &b)
 
bool operator== (TypeWithDict const &a, std::type_info const &b)
 
template<typename T >
bool operator== (View< T > const &, View< T > const &)
 
bool operator== (std::type_info const &a, TypeWithDict const &b)
 
template<typename T >
bool operator== (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
template<typename T , typename U >
bool operator== (atomic_value_ptr< T > const &lhs, U const &rhs)
 
template<typename T , typename U >
bool operator== (U const &lhs, atomic_value_ptr< T > const &rhs)
 
template<typename C >
bool operator== (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<typename T , typename U >
bool operator== (value_ptr< T > const &lhs, U const &rhs)
 
bool operator== (ProductRegistry const &a, ProductRegistry const &b)
 
bool operator== (Entry const &a, Entry const &b)
 
template<typename T , typename U >
bool operator== (U const &lhs, value_ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (RefVector< C, T, F > const &lhs, RefVector< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (FwdRef< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (Ref< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<class T , class U , std::size_t N>
constexpr bool operator== (StdArray< T, N > const &lhs, StdArray< U, N > const &rhs)
 
template<typename T >
bool operator== (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (FwdRef< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
bool operator== (BranchDescription const &a, BranchDescription const &b)
 
bool operator== (ParameterSet const &a, ParameterSet const &b)
 
template<typename T , typename SORT , typename ALLOC >
bool operator== (SortedCollection< T, SORT > const &c, std::vector< T, ALLOC > const &v)
 
template<typename T , typename SORT >
bool operator== (SortedCollection< T, SORT > const &a, SortedCollection< T, SORT > const &b)
 
template<typename C , typename T , typename F >
bool operator== (Ref< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
bool operator> (TypeID const &a, TypeID const &b)
 
bool operator> (const TypeIDBase &a, const TypeIDBase &b)
 
constexpr bool operator> (ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
 
bool operator> (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator> (View< T > const &, View< T > const &)
 
constexpr bool operator>= (ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
 
bool operator>= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator>= (View< T > const &, View< T > const &)
 
std::istream & operator>> (std::istream &is, FileInPath &fip)
 
std::unique_ptr< ParameterDescriptionCases< bool > > operator>> (bool caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< int > > operator>> (int caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (std::string const &caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (char const *caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< bool > > operator>> (bool caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionCases< int > > operator>> (int caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (std::string const &caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (char const *caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionCases< bool > > operator|| (std::unique_ptr< ParameterDescriptionCases< bool > >, std::unique_ptr< ParameterDescriptionCases< bool > >)
 
std::unique_ptr< ParameterDescriptionCases< int > > operator|| (std::unique_ptr< ParameterDescriptionCases< int > >, std::unique_ptr< ParameterDescriptionCases< int > >)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator|| (std::unique_ptr< ParameterDescriptionCases< std::string > >, std::unique_ptr< ParameterDescriptionCases< std::string > >)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
static std::atomic< int > ourSerial (0)
 
bool overlaps (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool overlaps (EventRange const &lh, EventRange const &rh)
 
ParameterSet const & parameterSet (StableProvenance const &provenance, ProcessHistory const &history)
 
template<>
std::string ParameterSet::getParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getParameter< std::vector< double > > (char const *name) const
 
template<>
std::vector< ESInputTagParameterSet::getParameter< std::vector< ESInputTag > > (std::string const &name) const
 
template<>
std::vector< ESInputTagParameterSet::getParameter< std::vector< ESInputTag > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getParameter< std::vector< EventID > > (std::string const &name) const
 
template<>
std::vector< EventIDParameterSet::getParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventRangeParameterSet::getParameter< std::vector< EventRange > > (std::string const &name) const
 
template<>
std::vector< EventRangeParameterSet::getParameter< std::vector< EventRange > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getParameter< std::vector< InputTag > > (std::string const &name) const
 
template<>
std::vector< InputTagParameterSet::getParameter< std::vector< InputTag > > (char const *name) const
 
template<>
std::vector< int > ParameterSet::getParameter< std::vector< int > > (std::string const &name) const
 
template<>
std::vector< int > ParameterSet::getParameter< std::vector< int > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getParameter< std::vector< long long > > (std::string const &name) const
 
template<>
std::vector< long long > ParameterSet::getParameter< std::vector< long long > > (char const *name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getParameter< std::vector< LuminosityBlockID > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getParameter< std::vector< LuminosityBlockID > > (char const *name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getParameter< std::vector< LuminosityBlockRange > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getParameter< std::vector< LuminosityBlockRange > > (char const *name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (std::string const &name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > (bool trackiness) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (std::string const &name) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (std::string const &name, std::vector< ESInputTag > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (char const *name, std::vector< ESInputTag > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (std::string const &name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (std::string const &name, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string const &name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string const &name) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name, std::vector< InputTag > const &defaultValue) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (char const *name, std::vector< InputTag > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (std::string const &name, std::vector< int > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (std::string const &name) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (char const *name) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (char const *name, std::vector< int > const &defaultValue) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (std::string const &name, std::vector< LuminosityBlockID > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (char const *name, std::vector< LuminosityBlockID > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (char const *name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > (std::string const &name, std::vector< LuminosityBlockRange > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > (char const *name, std::vector< LuminosityBlockRange > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > (char const *name) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (std::string const &name, std::vector< PdtEntry > const &defaultValue) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (char const *name) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (char const *name, std::vector< PdtEntry > const &defaultValue) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (std::string const &name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name, std::vector< unsigned long long > const &defaultValue) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name, std::vector< unsigned long long > const &defaultValue) const
 
std::string parameterTypeEnumToString (ParameterTypes iType)
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::string > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< double > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< ESInputTag > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< EventID > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< EventRange > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< InputTag > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< int > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< long long > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< LuminosityBlockID > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< LuminosityBlockRange > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< std::string > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< unsigned > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< unsigned long long > > ()
 
template<typename T >
void const * pointerToBase (std::type_info const &baseTypeInfo, T const *address)
 
std::vector< ParameterSetpopSubProcessVParameterSet (ParameterSet &parameterSet)
 
static void postIndexIntoFilePrintEventLists (TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void postIndexIntoFilePrintEventsInLumis (TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void preIndexIntoFilePrintEventLists (TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void preIndexIntoFilePrintEventsInLumis (TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
template<typename S >
Sprint (S &os, JobReport::InputFile const &f)
 
template<typename S >
Sprint (S &os, JobReport::OutputFile const &f)
 
template<typename S >
Sprint (S &os, JobReport::RunReport const &rep)
 
void printBranchNames (TTree *tree)
 
void printCmsException (cms::Exception &e, edm::JobReport *jobRep=nullptr, int rc=-1)
 
void printCmsExceptionWarning (char const *behavior, cms::Exception const &e)
 
void printEventLists (TFile *tfl)
 
void printEventsInLumis (TFile *tfl)
 
void printTrees (TFile *hdl)
 
void printUuids (TTree *uuidTree)
 
Guid const & processGUID ()
 
BranchID productIDToBranchID (ProductID const &pid, BranchIDLists const &lists, BranchListIndexes const &indexes)
 
bool public_base_classes (std::vector< std::string > &missingDictionaries, TypeID const &typeID, std::vector< TypeID > &baseTypes)
 
void pythonToCppException (const std::string &iType, const std::string &error)
 
void read_from_cin (std::string &output)
 
std::string read_whole_file (std::string const &filename)
 only does the yacc interpretation More...
 
std::unique_ptr< edm::ParameterSetreadConfig (std::string const &config, const std::vector< std::string > &args)
 same, but with arguments More...
 
std::unique_ptr< edm::ParameterSetreadConfig (std::string const &config)
 
std::unique_ptr< edm::ParameterSetreadPSetsFrom (std::string const &fileOrString)
 
void reenableSigs (sigset_t *oldset)
 
template<typename C >
Ptr< typename C::value_type > refToPtr (Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
 
std::vector< std::vector< std::string >::const_iterator > regexMatch (std::vector< std::string > const &strings, std::regex const &regexp)
 
std::vector< std::vector< std::string >::const_iterator > regexMatch (std::vector< std::string > const &strings, std::string const &pattern)
 
void replaceString (std::string &demangledName, std::string const &from, std::string const &to)
 
void resolveSymbolicLinks (std::string &fullPath)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< HiMixingModule > > s_filler_0__LINE__ ("HiMixingModule")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HiMixingModule > > s_maker__LINE__ ("HiMixingModule")
 
template<typename ForwardSequence , typename Datum >
bool search_all (ForwardSequence const &s, Datum const &d)
 
template<typename ForwardSequence , typename Predicate >
bool search_if_in_all (ForwardSequence const &s, Predicate const &p)
 
template<typename T , typename U >
second (std::pair< T, U > const &p)
 
static std::string const separator (":")
 
void setIsMergeable (BranchDescription &)
 
void setMaxLoggedErrorsSummaryIndicies (unsigned int iMax)
 
unsigned int setNThreads (unsigned int iNThreads, unsigned int iStackSize, std::unique_ptr< ThreadsController > &oPtr)
 
template<typename T , typename A >
void setPtr (std::vector< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
 
template<typename T , typename A >
void setPtr (std::list< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
 
template<typename T , typename A >
void setPtr (std::deque< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
 
template<typename T , typename A , typename Comp >
void setPtr (std::set< T, A, Comp > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
 
template<typename T , typename SORT >
void setPtr (SortedCollection< T, SORT > const &obj, std::type_info const &toType, unsigned long index, void const *&ptr)
 
template<typename T , typename P >
void setPtr (OwnVector< T, P > const &obj, std::type_info const &toType, unsigned long index, void const *&ptr)
 
void setRefCoreStreamer (bool resetAll=false)
 
EDProductGetter const * setRefCoreStreamer (EDProductGetter const *ep)
 
void setRefCoreStreamerInTClass ()
 
void setStandAloneMessageThreshold (edm::messagelogger::ELseverityLevel const &severity)
 
void setThreadOptions (ThreadsInfo const &threadsInfo, edm::ParameterSet &pset)
 
ServiceRegistry::Operate setupSiteLocalConfig ()
 
void sigInventory ()
 
template<typename RandomAccessSequence >
void sort_all (RandomAccessSequence &s)
 wrappers for std::sort More...
 
template<typename RandomAccessSequence , typename Predicate >
void sort_all (RandomAccessSequence &s, Predicate p)
 
std::vector< LuminosityBlockRange > & sortAndRemoveOverlaps (std::vector< LuminosityBlockRange > &lumiRange)
 
std::vector< EventRange > & sortAndRemoveOverlaps (std::vector< EventRange > &eventRange)
 
static std::string const source ("source")
 
template<class OutIter >
bool split (OutIter result, std::string_view string_to_split, char first, char sep, char last)
 
template<typename FUNC >
bool split (std::string_view string_to_split, char first, char sep, char last, FUNC f)
 
void squelchStandAloneMessageCategory (std::string const &category)
 
template<typename RandomAccessSequence >
void stable_sort_all (RandomAccessSequence &s)
 wrappers for std::stable_sort More...
 
template<typename RandomAccessSequence , typename Predicate >
void stable_sort_all (RandomAccessSequence &s, Predicate p)
 
std::string_view stemFromPath (std::string_view path)
 
std::string stripNamespace (std::string const &theName)
 
bool stripTemplate (std::string &theName)
 
template<typename T >
void subProcessDoGlobalBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, LumiTransitionInfo const &iTransitionInfo, bool)
 
template<typename T >
void subProcessDoGlobalBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, RunTransitionInfo const &iTransitionInfo, bool)
 
template<typename Traits >
void subProcessDoGlobalBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, ProcessBlockTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
 
void subProcessDoGlobalEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, LumiTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
 
void subProcessDoGlobalEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, RunTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
 
void subProcessDoGlobalEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, ProcessBlockTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
 
void subProcessDoStreamBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LumiTransitionInfo const &iTransitionInfo)
 
void subProcessDoStreamBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, RunTransitionInfo const &iTransitionInfo)
 
void subProcessDoStreamEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LumiTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
 
void subProcessDoStreamEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, RunTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
 
void swap (ElementID &a, ElementID &b)
 
void swap (ProductID &a, ProductID &b)
 
void swap (OrphanHandleBase &a, OrphanHandleBase &b)
 
void swap (Parentage &a, Parentage &b)
 
template<class T , class P >
void swap (CloningPtr< T, P > &a, CloningPtr< T, P > &b)
 
void swap (ProductData &a, ProductData &b)
 
void swap (TriggerResults &lhs, TriggerResults &rhs)
 
template<class T >
void swap (RefToBaseVector< T > &a, RefToBaseVector< T > &b)
 
void swap (HLTGlobalStatus &lhs, HLTGlobalStatus &rhs)
 Free swap function. More...
 
void swap (ESHandleBase &a, ESHandleBase &b)
 
void swap (BasicHandle &a, BasicHandle &b) noexcept(true)
 
void swap (ProcessHistory &a, ProcessHistory &b)
 
template<class T >
void swap (DetSet< T > &a, DetSet< T > &b)
 
template<typename C >
void swap (Association< C > &lhs, Association< C > &rhs)
 
void swap (HandleBase &a, HandleBase &b)
 
void swap (ErrorObj &a, ErrorObj &b)
 
void swap (FileInPath &a, FileInPath &b)
 
template<class T >
void swap (EDCollection< T > &a, EDCollection< T > &b)
 
template<typename K , typename T >
void swap (MapOfVectors< K, T > &lhs, MapOfVectors< K, T > &rhs)
 
template<typename KEY >
void swap (RefVectorBase< KEY > &a, RefVectorBase< KEY > &b)
 swap two vectors More...
 
void swap (edm::RefCore &lhs, edm::RefCore &rhs)
 
void swap (edm::RefCoreWithIndex &lhs, edm::RefCoreWithIndex &rhs)
 
template<typename C , typename T , typename F >
void swap (RefVector< C, T, F > &a, RefVector< C, T, F > &b) noexcept
 
template<typename T >
void swap (edm::RefToBaseProd< T > const &lhs, edm::RefToBaseProd< T > const &rhs)
 
template<typename T >
void swap (value_ptr< T > &vp1, value_ptr< T > &vp2)
 
void swap (DataFrameContainer &lhs, DataFrameContainer &rhs)
 
template<typename C >
void swap (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<int I>
void swap (Hash< I > &a, Hash< I > &b)
 
template<typename T >
void swap (PtrVector< T > &lhs, PtrVector< T > &rhs)
 
template<typename ID , typename C , typename P >
void swap (RangeMap< ID, C, P > &a, RangeMap< ID, C, P > &b)
 
template<typename T , typename C >
void swap (DetSetRefVector< T, C > &a, DetSetRefVector< T, C > &b)
 
template<typename T >
void swap (ValueMap< T > &lhs, ValueMap< T > &rhs)
 
template<typename KeyRefProd , typename CVal , typename KeyRef , typename SizeType , typename KeyReferenceHelper >
void swap (AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &a, AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &b)
 
void swap (ParameterSet &a, ParameterSet &b)
 
template<typename C >
void swap (MultiAssociation< C > &lhs, MultiAssociation< C > &rhs)
 
template<typename T >
void swap (View< T > &lhs, View< T > &rhs)
 
template<class T >
void swap (RefToBase< T > &a, RefToBase< T > &b)
 
template<typename T , typename SORT >
void swap (SortedCollection< T, SORT > &a, SortedCollection< T, SORT > &b)
 
template<class T >
void swap (DetSetVector< T > &a, DetSetVector< T > &b)
 
template<typename T , typename P >
void swap (OwnVector< T, P > &a, OwnVector< T, P > &b) noexcept
 
template<typename F >
std::exception_ptr syncWait (F &&iFunc)
 
template<typename C , typename T , typename F >
Ref< C, T, FthinnedRefFrom (Ref< C, T, F > const &parent, RefProd< C > const &thinned, edm::EDProductGetter const &prodGetter)
 Return a Ref to thinned collection corresponding to an element of the Ref to parent collection. More...
 
ThreadsInfo threadOptions (edm::ParameterSet const &pset)
 
static void throwAmbiguousException (const char *where, TypeID const &productType, std::string const &label, std::string const &instance, std::string const &process)
 
void throwExceptionWithText (char const *txt)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context, std::vector< std::string > &producedTypes)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context, std::vector< std::string > &producedTypes, std::vector< std::string > &branchNames, bool fromStreamerSource=false)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context, std::set< std::string > &producedTypes, bool consumedWithView)
 
static void throwProductDeletedException (ProductID const &pid, edm::EventPrincipal::ConstProductResolverPtr const phb)
 
static void throwProductNotFoundException (char const *where, errors::ErrorCodes error, BranchID const &bid)
 
static void throwTypeException (std::string const &function, std::string const &typeName)
 
std::vector< std::string > tokenize (std::string const &input, std::string const &separator)
 breaks the input string into tokens, delimited by the separator More...
 
template<typename T >
pybind11::list toPython11List (const std::vector< T > &v)
 
template<typename T >
std::vector< TtoVector (pybind11::list &l)
 
std::string_view transitionName (GlobalContext::Transition)
 
std::string_view transitionName (StreamContext::Transition)
 
static std::string const triggerResults ("TriggerResults")
 
static std::string const triggerResultsInserter ("TriggerResultsInserter")
 
template<typename C , typename T , typename F >
Ref< C, T, FtryThinnedRefFrom (Ref< C, T, F > const &parent, RefProd< C > const &thinned, edm::EDProductGetter const &prodGetter)
 Return a Ref to thinned collection corresponding to an element of the Ref to parent collection. More...
 
template<typename T >
T const * tryToGetProductWithCoreFromRef (RefCore const &ref, EDProductGetter const *prodGetter)
 
std::string typeDemangle (char const *mangledName)
 
std::string uniqueSharedResourceName ()
 
bool untaintString (char const *pattern, char const *regexp)
 
void validateTopLevelParameterSets (ParameterSet *processParameterSet)
 
template<typename InputType , typename Function >
auto vector_transform (std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
 
template<typename V , typename T >
void walkTrie (V &v, TrieNode< T > const &n, std::string const &label="")
 visit each node of the trie More...
 
std::string withoutQuotes (std::string const &from)
 
std::string wrappedClassName (std::string const &iFullName)
 

Variables

debugvalue debugit
 
constexpr const ELseverityLevel ELdebug {ELseverityLevel::ELsev_success}
 
constexpr const ELseverityLevel ELerror {ELseverityLevel::ELsev_error}
 
constexpr const ELseverityLevel ELfwkInfo {ELseverityLevel::ELsev_fwkInfo}
 
constexpr const ELseverityLevel ELhighestSeverity {ELseverityLevel::ELsev_highestSeverity}
 
constexpr const ELseverityLevel ELinfo {ELseverityLevel::ELsev_info}
 
constexpr const ELseverityLevel ELsevere {ELseverityLevel::ELsev_severe}
 
constexpr const ELseverityLevel ELunspecified {ELseverityLevel::ELsev_unspecified}
 
constexpr const ELseverityLevel ELwarning {ELseverityLevel::ELsev_warning}
 
constexpr const ELseverityLevel ELzeroSeverity {ELseverityLevel::ELsev_zeroSeverity}
 
EventNumber_t const invalidEventNumber = 0U
 
LuminosityBlockNumber_t const invalidLuminosityBlockNumber = 0U
 
RunNumber_t const invalidRunNumber = 0U
 
static unsigned long long constexpr kAveEventPerSec = 200ULL
 
static constexpr std::string_view kJobReportEndElement = "</FrameworkJobReport>\n"
 
static constexpr int kMinSizeOfComment = 8
 
static unsigned long long constexpr kNanoSecPerSec = 1000000000ULL
 
static const unsigned char MLSCRIBE_RUNNING_INDICATOR = 29
 
constexpr const char * module_type_desc []
 
constexpr unsigned int numberOfRunLumiEventProductTrees = 3
 
template<class REF >
requires requires
 
constexpr unsigned int s_defaultNumberOfThreads = 1
 
constexpr unsigned int s_defaultSizeOfStackForThreadsInKB = 10 * 1024
 
static const std::vector< void const * > s_emptyCache {}
 
static ProcessHistory const s_emptyProcessHistory
 
static std::atomic< Principal::CacheIdentifier_ts_nextIdentifier {1}
 
thread_local EDProductGetter const * s_productGetter = nullptr
 
static unsigned int const shift = 8 * sizeof(unsigned int)
 
volatile std::atomic< bool > shutdown_flag {false}
 

Detailed Description

HLT enums.

why defined in namespace edm:: ?? (L.L.)

classes declaration

Register the record.

Find a non-event-data file, given a relative path.

This class manages the storage and retrieval of correlations between Alignables for the AlignmentParameterStore. This implementation does not stores the entries of the "big covariance matrix" itself, but the statistical correlations, i.e. R_ij=C_ij/sqrt(C_ii*C_jj) rather than C_ij.

If a correlation exceeds a certain value (especially corrupted correlations with an absolute value bigger than 1) it is downweighted.

Description: Forward declare standard edm::fillPtrVector functions

Usage:

Description: Forward declare the standard setPtr functions

Usage:

Summary

The edm::FwdRef<> is a storable reference to an item in a stored "forward" container, which also contains a reference to an item in a "backward" container that the "forward" container is derived from.

For example, you could use one to hold a reference back to one particular track within a derived std::vector<> of tracks, but you want to keep the original Ref's to the original std::vector<> of tracks (for instance, if you've made a selection on the tracks in the list and want to remove the unnecessary ones from the event).

Usage

The edm::FwdRef<> works just like a pointer

edm::FwdRef<Foo> fooPtr = ... //set the value
functionTakingConstFoo(*fooPtr); //get the Foo object
fooPtr->bar(); //call a method of the held Foo object

The main purpose of an edm::FwdRef<> is it can be used as a member datum for a class that is to be stored in the edm::Event where the user can simultaneously check the "backwards" ref as well as the default "forward" ref.

Customization

The edm::FwdRef<> takes three template parameters, and both "forward" and "backward" refs must be the same types:

1) C: The type of the container which is holding the item

2) T: The type of the item. This defaults to C::value_type

3) F: A helper class (a functor) which knows how to find a particular 'T' within the container given an appropriate key. The type of the key is deduced from F::second_argument. The default for F is refhelper::FindTrait<C,T>::value. If no specialization of FindTrait<> is available for the combination (C,T) then it defaults to getting the iterator to be beginning of the container and using std::advance() to move to the appropriate key in the container.

It is possible to customize the 'lookup' algorithm used.
1) The helper class F must provide value_type, first_argument_type and second_argument_type typedefs.

2) The helper class F must define the function call operator in such a way that the following call is well-formed: f is an instance of type F coll is an instance of type C k is an instance of type F::key_type

     result_type r = f(coll,k);     

 If one wishes to make a specialized lookup the default lookup for
 the container/type pair then one needs to partially specialize
 the templated class edm::refhelper::FindTrait<C,T> such that it
 has a typedef named 'value' which refers to the specialized
 helper class (i.e., F)

 The class template FwdRef<C,T,F> supports 'null' references.

 -- a default-constructed FwdRef is 'null'; furthermore, it also
    has an invalid (or 'null') ProductID.
 -- a FwdRef constructed through the single-arguement constructor
    that takes a ProductID is also null.        

Definition of common HLT enums

Author
Martin Grunewald

Summary

The edm::Ref<> is a storable reference to an item in a stored container. For example, you could use one to hold a reference back to one particular track within an std::vector<> of tracks.

Usage

The edm::Ref<> works just like a pointer

edm::Ref<FooCollection> fooPtr = ... //set the value
functionTakingConstFoo(*fooPtr); //get the Foo object
fooPtr->bar(); //call a method of the held Foo object

The main purpose of an edm::Ref<> is it can be used as a member datum for a class that is to be stored in the edm::Event.

Customization

The edm::Ref<> takes three template parameters

1) C: The type of the container which is holding the item

2) T: The type of the item. This defaults to C::value_type

3) F: A helper class (a functor) which knows how to find a particular 'T' within the container given an appropriate key. The type of the key is deduced from F::second_argument. The default for F is refhelper::FindTrait<C, T>::value. If no specialization of FindTrait<> is available for the combination (C, T) then it defaults to getting the iterator to be beginning of the container and using std::advance() to move to the appropriate key in the container.

It is possible to customize the 'lookup' algorithm used.
1) The helper class F must provide value_type, first_argument_type and second_argument_type typedefs.

2) The helper class F must define the function call operator in such a way that the following call is well-formed: f is an instance of type F coll is an instance of type C k is an instance of type F::key_type

     result_type r = f(coll, k);     

 If one wishes to make a specialized lookup the default lookup for
 the container/type pair then one needs to partially specialize
 the templated class edm::refhelper::FindTrait<C, T> such that it
 has a typedef named 'value' which refers to the specialized
 helper class (i.e., F)

 The class template Ref<C, T, F> supports 'null' references.

 -- a default-constructed Ref is 'null'; furthermore, it also
    has an invalid (or 'null') ProductID.
 -- a Ref constructed through the single-arguement constructor
    that takes a ProductID is also null.        
Author
W. David Dagenhart, created 5 January, 2021

Declaration of the enum HashedTypes, used in defining several "id" classes.

Author
W. David Dagenhart, created 1 August, 2014

Functions to return atomic properties of the material A_eff and Z_eff are computed as the A-weighted sums of the A's and the Z's of Pb, W and O

Author
Patrick Janot
Date
: 25-Jan-2004

Functions to return atomic properties of the material A_eff and Z_eff are computed as the A-weighted sums of the A's and the Z's of Cu and Zn (brass) - For now assume it is all Copper, and it'll be good enough.

Author
Patrick Janot
Date
: 25-Jan-2004

Parameters used in the hadron fast simulation

chain_first

Description: Handles creation of a chain of WaitingTasks

Usage: Use the function to begin constructing a chain of waiting tasks. Once the chain is declared, call lastTask() with a WaitingTaskHolder to get back a new WaitingTaskHolder or runLast() to schedule the chain to run.

findDependentRecordsFor findDependentRecordsFor.h "findDependentRecordsFor.h"

Description: [one line class summary]

Usage: <usage>

getAllTriggerNames getAllTriggerNames.h "FWCore/Framework/interface/getAllTriggerNames.h"

Description: Returns a list of all the trigger names in the current process Usage: <usage>

edm::getProducerParameterSet

Description: Returns the ParameterSet of the module that produced the product corresponding to the Provenance.

This shouldn't ever fail if the Provenance and other objects it uses have been properly initialized, which should always be the case when called from a module using the Provenance from a Handle returned by a function like getByToken. If it does fail it will throw an exception.

globalTransitionAsync globalTransitionAsync.h "globalTransitionAsync.h"

Description: Helper functions for handling asynchronous global transitions

Usage: <usage>


This struct is used to communication parameters into the module factory.



This struct is used to communication parameters into the worker factory.


Author
W. David Dagenhart, created 13 January, 2021

Helper functions for making stream modules

Description: [one line class summary]

Usage: <usage>

streamTransitionAsync streamTransitionAsync.h "streamTransitionAsync.h"

Description: Helper functions for handling asynchronous stream transitions

Usage: <usage>

Description: The types here are used to pass information down to the Worker class from the EventProcessor.

-------------------------------------------------------------------—

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

allowedValues allowedValues.h FWCore/ParameterSet/interface/allowedValues.h

Description: Used to describe the allowed values in a ParameterSet

Usage: The function is used in conjunction with ParameterSetDescription::ifValue to just constrain the allowed values and not add additional dependent ParameterSet nodes (which is allowed by ifValue).

psetDesc.ifValue(edm::ParameterDescription<std::string>("sswitch", "a", true),
edm::allowedValues<std::string>("a", "h", "z") );

Implementation Details: The node associated with each allowed value is the EmptyGroupDescription which is just a dummy place holder.

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;

A singleton for managing the plugin feedback function and assert hook function. It is unclear how this will react in a multithreaded application.

It is possible that in the future this object will allow arbitrary state object to be pushed in and pulled out so that when asserts occur, good state information can be printed.

connect_but_block_self connect_but_block_self.h FWCore/ServiceRegistry/interface/connect_but_block_self.h

Description: Connects a functional object to a signal, but guarantees that the functional object will never see a signal caused by its own action.

Usage: <usage>

edm::setupSiteLocalConfig

Description: Setups up the SiteLocalConfig service.

Usage:

Description: classes and functions used by edm::soa::Table

Usage: These are internal details of Table's implementation

This is the basic exception that is thrown by the framework code. It exists primarily to distinguish framework thrown exception types from developer thrown exception types. As such there is very little interface other than constructors specific to this derived type.

FileInPath knows how to take a string, interpreted as a relative path to a file, and to interpret using the "standard CMS non-event-data file searching mechanism".

The mechanism using the environment variables: CMSSW_SEARCH_PATH: may be set by the end-user CMSSW_RELEASE_BASE: should be set by a site administrator CMSSW_DATA_PATH: should be set by a site administrator

CMSSW_SEARCH_PATH is a 'search path' limited to 1 to 3 components. The legal values are:

  "." or "LOCAL", which means to search for files under
       the top level of the "local working area", which is
       defined as ${SCRAMRT_LOCALRT}/src

  "CMSSW_RELEASE_BASE", which means search the "official place",
        defined by the value of the CMSSW_RELEASE_BASE environment
        variable, for files.

  "CMSSW_DATA_PATH", which means search the "official place",
        defined by the value of the CMSSW_DATA_PATH environment
        variable, for files.

  ".:CMSSW_RELEASE_BASE" or "LOCAL:CMSSW_RELEASE_BASE",
         which means look first in the current working
         directory, then in the "official place", for files.

  ".:CMSSW_DATA_PATH" or "LOCAL:CMSSW_DATA_PATH",
         which means look first in the current working
         directory, then in the "official place", for files.

  ".:CMSSW_RELEASE_BASE:CMSSW_DATA_PATH" or "LOCAL:CMSSW_RELEASE_BASE:CMSSW_DATA_PATH",
         which means look first in the current working
         directory, then in both "official places", for files.

hash_combine hash_combine.h "FWCore/Utilities/interface/hash_combine.h"

Description: Convenience Functions to Combine Hash Values

Based on http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3876.pdf Combination algorithm is the same as boost::hash_combine

Usage: <usage>

make_sentry make_sentry.h "FWCore/Utilities/interface/make_sentry.h"

Description: Creates a std::unique_ptr from a lambda to be used as a sentry

Usage: <usage>

A ThreadSafeRegistry is used to keep track of the instances of some type 'value_typed'. These objects are each associated with a given 'key_type' object, which must be retrievable from the value_type object, and which must uniquely identify the value_type's value.

This class is sufficiently thread-safe to be usable in a thread-safe manner. Don't let the name mislead you into thinking it provides more guarantee than that!

If 'm' is of type 'value_type const&', the expression

key_type k = m.id();

must be legal, and must return the unique key associated with the value of 'm'.

//////////////////////////////////////// Stacked Tracker Simulations /// Written by: /// Andrew W. Rose /// 2008 /// ////////////////////////////////////////

class HLTJetPairDzMatchFilter an HLT filter which picks up a JetCollection (supposedly, of L2 tau jets) and passes only events with at least one pair of non-overlapping jets with vertices within some dz

HLT filter by muon+track mass (taken from two RecoChargedCandidate collections). Tracks are subject to quality and momentum cuts. The match with previous muon (and possibly track, if run after another mass filter) candidates is checked.

Description: Producer for EcalRecHits to be used for pi0/eta ECAL calibration.

Implementation: <Notes on="" implementation>="">

See header file for a description of this class.

Author
Jo. Weng - CERN, Ph Division & Uni Karlsruhe
F.Moortgat - CERN, Ph Division

StreamerInputSource.h

Base class for translating streamer message objects into framework objects (e.g. ProductRegistry and EventPrincipal)

StreamSerializer.h

Utility class for translating framework objects (e.g. ProductRegistry and EventForOutput) into streamer message objects.

Classes for calorimetric re-clustering

Author
Andrew W. Rose
Date
2013, Jul 12
Author
Andrew W. Rose
Date
2013, Jul 18

The ModelFilter class will select events in a "soup" MC (like the SUSY signal MC) from the comments of LHEEventProduct that match "modelTag". The user can require the value of that parameter to lie between a min and max value.

This is derived from EDFilterValueMapWrapper but rather than filtering it just stores a valuemap with the result

A HitTripletGenerator from HitPairGenerator and vector of Layers. The HitPairGenerator provides a set of hit pairs. For each pair the search for compatible hit(s) is done among provided Layers

A MultiHitGenerator from HitPairGenerator and vector of Layers. The HitPairGenerator provides a set of hit pairs. For each pair the search for compatible hit(s) is done among provided Layers


class: BeamFitter.h package: RecoVertex/BeamSpotProducer

author: Francisco Yumiceva, Fermilab (yumic.nosp@m.eva@.nosp@m.fnal..nosp@m.gov) Geng-Yuan Jeng, UC Riverside (Geng-.nosp@m.Yuan.nosp@m..Jeng.nosp@m.@cer.nosp@m.n.ch)



class: PVFitter.h package: RecoVertex/BeamSpotProducer

author: Francisco Yumiceva, Fermilab (yumic.nosp@m.eva@.nosp@m.fnal..nosp@m.gov) Geng-Yuan Jeng, UC Riverside (Geng-.nosp@m.Yuan.nosp@m..Jeng.nosp@m.@cer.nosp@m.n.ch)


Converts digis back into analog signals, to be used as noise

sensitiveDetectorMakers

Description: Makes it easy to find what SensitiveDetectorMakerBase are available

Usage: <usage>

Typedef Documentation

◆ AlignedVec

template<typename T >
using edm::AlignedVec = typedef Aligned<T, 16>

Definition at line 105 of file SoATuple.h.

◆ BranchIDList

Definition at line 18 of file BranchIDList.h.

◆ BranchIDLists

typedef std::vector<BranchIDList> edm::BranchIDLists

Definition at line 19 of file BranchIDList.h.

◆ BranchListIndex

typedef unsigned short edm::BranchListIndex

Definition at line 17 of file BranchListIndex.h.

◆ BranchListIndexes

Definition at line 18 of file BranchListIndex.h.

◆ CfiOptions

Definition at line 187 of file ParameterDescriptionNode.h.

◆ CFUNC

typedef void(* edm::CFUNC) (int, siginfo_t *, void *)

Definition at line 20 of file UnixSignalHandlers.h.

◆ CPUInfoType

using edm::CPUInfoType = typedef std::vector<std::pair<std::string, std::string> >

Definition at line 51 of file CPU.cc.

◆ CTPPSFastRecHitContainer

Definition at line 13 of file CTPPSFastRecHitContainer.h.

◆ CTPPSFastTrackContainer

Definition at line 11 of file CTPPSFastTrackContainer.h.

◆ DAFunc

Definition at line 12 of file DigiAccumulatorMixModFactory.h.

◆ det_id_type

typedef uint32_t edm::det_id_type

Definition at line 20 of file DetSet.h.

◆ DigiAccumulatorMixModPluginFactory

Definition at line 13 of file DigiAccumulatorMixModFactory.h.

◆ ELlist_dest

typedef std::list<ELdestination *> edm::ELlist_dest

Definition at line 30 of file ELlist.h.

◆ ELlist_string

typedef std::list<std::string> edm::ELlist_string

Definition at line 33 of file ELlist.h.

◆ ELmap_counts

Definition at line 86 of file ELmap.h.

◆ ELmap_limits

typedef std::map<std::string, LimitAndTimespan> edm::ELmap_limits

Definition at line 84 of file ELmap.h.

◆ ELmap_stats

Definition at line 88 of file ELmap.h.

◆ EntryDescriptionID

Definition at line 8 of file EntryDescriptionID.h.

◆ EntryDescriptionMap

Definition at line 62 of file RootFile.h.

◆ ESConsumesInfo

using edm::ESConsumesInfo = typedef std::vector<ESConsumesInfoEntry>

Definition at line 62 of file ESConsumesCollector.h.

◆ EventEntryInfoVector

Definition at line 50 of file EventEntryInfo.h.

◆ EventNumber_t

typedef unsigned long long edm::EventNumber_t

Definition at line 12 of file RunLumiEventNumber.h.

◆ EventSelectionID

Definition at line 15 of file EventSelectionID.h.

◆ EventSelectionIDVector

Definition at line 16 of file EventSelectionID.h.

◆ FillViewHelperVector

typedef std::vector<std::pair<edm::ProductID, unsigned long> > edm::FillViewHelperVector

Definition at line 30 of file FillViewHelperVector.h.

◆ FWGenericHandle

Definition at line 125 of file FWGenericHandle.h.

◆ GenericHandle

Definition at line 121 of file GenericHandle.h.

◆ HRTimeDiffType

typedef long long int edm::HRTimeDiffType

Definition at line 93 of file HRRealTime.h.

◆ HRTimeType

typedef unsigned long long int edm::HRTimeType

Definition at line 94 of file HRRealTime.h.

◆ InputSourcePluginFactory

Definition at line 14 of file InputSourceFactory.h.

◆ ISFunc

typedef InputSource*() edm::ISFunc(ParameterSet const &, InputSourceDescription const &)

Definition at line 12 of file InputSourceFactory.h.

◆ ISVecFunc

typedef VectorInputSource*() edm::ISVecFunc(ParameterSet const &, VectorInputSourceDescription const &)

Definition at line 14 of file VectorInputSourceFactory.h.

◆ LHCTransportLinkContainer

Definition at line 8 of file LHCTransportLinkContainer.h.

◆ LogAbsolute

using edm::LogAbsolute = typedef Log<level::System, true>

Definition at line 140 of file MessageLogger.h.

◆ LogError

using edm::LogError = typedef Log<level::Error, false>

Definition at line 129 of file MessageLogger.h.

◆ LogFwkInfo

using edm::LogFwkInfo = typedef Log<level::FwkInfo, false>

Definition at line 132 of file MessageLogger.h.

◆ LogFwkVerbatim

using edm::LogFwkVerbatim = typedef Log<level::FwkInfo, true>

Definition at line 135 of file MessageLogger.h.

◆ LogImportant

using edm::LogImportant = typedef Log<level::Error, true>

Definition at line 139 of file MessageLogger.h.

◆ LogInfo

using edm::LogInfo = typedef Log<level::Info, false>

Definition at line 131 of file MessageLogger.h.

◆ LogPrint

using edm::LogPrint = typedef Log<level::Warning, true>

Definition at line 136 of file MessageLogger.h.

◆ LogProblem

using edm::LogProblem = typedef Log<level::Error, true>

Definition at line 137 of file MessageLogger.h.

◆ LogSystem

using edm::LogSystem = typedef Log<level::System, false>

Definition at line 130 of file MessageLogger.h.

◆ LogVerbatim

using edm::LogVerbatim = typedef Log<level::Info, true>

Definition at line 134 of file MessageLogger.h.

◆ LogWarning

using edm::LogWarning = typedef Log<level::Warning, false>

Definition at line 128 of file MessageLogger.h.

◆ LumiEntryInfo

Definition at line 43 of file RunLumiEntryInfo.h.

◆ LuminosityBlockNumber_t

typedef unsigned int edm::LuminosityBlockNumber_t

Definition at line 13 of file RunLumiEventNumber.h.

◆ MakerPluginFactory

Definition at line 9 of file MakerPluginFactory.h.

◆ MaterialInformationContainer

Definition at line 48 of file MaterialInformation.h.

◆ ModuleDescriptionID

Definition at line 62 of file classes.h.

◆ ModuleTypeResolverMakerFactory

Definition at line 12 of file ModuleTypeResolverMakerFactory.h.

◆ OptionalThinnedKey

using edm::OptionalThinnedKey = typedef std::variant<unsigned int, detail::GetThinnedKeyFromExceptionFactory, std::monostate>

Definition at line 39 of file EDProductGetter.h.

◆ ParameterSetDescriptionFillerPluginFactory

Definition at line 30 of file ParameterSetDescriptionFillerPluginFactory.h.

◆ ParameterSetID

Definition at line 21 of file ParameterSetID.h.

◆ ParameterSetMap

Definition at line 39 of file ParameterSetConverter.h.

◆ ParentageID

Definition at line 8 of file ParentageID.h.

◆ PassID

typedef std::string edm::PassID

Definition at line 7 of file PassID.h.

◆ PassiveHitContainer

typedef std::vector<PassiveHit> edm::PassiveHitContainer

Definition at line 100 of file PassiveHit.h.

◆ PathStatus

using edm::PathStatus = typedef HLTPathStatus

Definition at line 7 of file PathStatus.h.

◆ PCaloHitContainer

typedef std::vector<PCaloHit> edm::PCaloHitContainer

Definition at line 8 of file PCaloHitContainer.h.

◆ Place_for_passing_exception_ptr

Definition at line 13 of file ConfigurationHandshake.h.

◆ Pointer_to_new_exception_on_heap

Definition at line 10 of file ConfigurationHandshake.h.

◆ PresenceFunc

typedef Presence*() edm::PresenceFunc()

Definition at line 13 of file PresenceFactory.h.

◆ PresencePluginFactory

Definition at line 11 of file PresenceFactory.h.

◆ ProcessConfigurationID

Definition at line 8 of file ProcessConfigurationID.h.

◆ ProcessConfigurationVector

Definition at line 62 of file ProcessConfiguration.h.

◆ ProcessHistoryID

Definition at line 8 of file ProcessHistoryID.h.

◆ ProcessHistoryMap

Definition at line 15 of file ProcessHistoryRegistry.h.

◆ ProcessHistoryVector

Definition at line 16 of file ProcessHistoryRegistry.h.

◆ ProcessIndex

typedef unsigned short edm::ProcessIndex

Definition at line 25 of file ProductID.h.

◆ ProcessingTask

typedef std::string edm::ProcessingTask

Definition at line 7 of file ProcessingTask.h.

◆ ProductIndex

typedef unsigned short edm::ProductIndex

Definition at line 26 of file ProductID.h.

◆ ProductProvenanceVector

Definition at line 60 of file ProductProvenance.h.

◆ ProductResolverIndex

typedef unsigned int edm::ProductResolverIndex

Definition at line 8 of file ProductResolverIndex.h.

◆ PSimHitContainer

typedef std::vector<PSimHit> edm::PSimHitContainer

Definition at line 11 of file PSimHitContainer.h.

◆ Record2Factories

using edm::Record2Factories = typedef std::multimap<EventSetupRecordKey, FactoryInfo>

Definition at line 28 of file ESProductResolverFactoryProducer.cc.

◆ ReleaseVersion

typedef std::string edm::ReleaseVersion

Definition at line 6 of file ReleaseVersion.h.

◆ RunEntryInfo

Definition at line 44 of file RunLumiEntryInfo.h.

◆ RunNumber_t

typedef unsigned int edm::RunNumber_t

Definition at line 14 of file RunLumiEventNumber.h.

◆ SelectedProducts

typedef std::vector<std::pair<BranchDescription const *, EDGetToken> > edm::SelectedProducts

Definition at line 11 of file SelectedProducts.h.

◆ SelectedProductsForBranchType

Definition at line 13 of file SelectedProducts.h.

◆ SendDescs

typedef std::vector<BranchDescription> edm::SendDescs

Definition at line 118 of file StreamedProducts.h.

◆ SendProds

typedef std::vector<StreamedProduct> edm::SendProds

Definition at line 67 of file StreamedProducts.h.

◆ SimTrackContainer

typedef std::vector<SimTrack> edm::SimTrackContainer

Definition at line 12 of file SimTrackContainer.h.

◆ SimVertexContainer

typedef std::vector<SimVertex> edm::SimVertexContainer

Definition at line 12 of file SimVertexContainer.h.

◆ SimVertexRef

typedef edm::Ref<std::vector<SimVertex> > edm::SimVertexRef

Definition at line 13 of file SimVertexContainer.h.

◆ SimVertexRefProd

Definition at line 14 of file SimVertexContainer.h.

◆ SimVertexRefVector

Definition at line 15 of file SimVertexContainer.h.

◆ StoredProductProvenanceVector

Definition at line 34 of file StoredProductProvenance.h.

◆ Strings

using edm::Strings = typedef EventSelector::Strings

Definition at line 48 of file EventSelector.cc.

◆ StringVector

typedef std::vector<std::string> edm::StringVector

Definition at line 16 of file ParameterSetConverter.h.

◆ TimeValue_t

typedef unsigned long long edm::TimeValue_t

Definition at line 21 of file Timestamp.h.

◆ Trig

Definition at line 14 of file StreamerOutputModuleBase.h.

◆ VCBDP

typedef std::vector< edm::BranchDescription const * > edm::VCBDP

Definition at line 16 of file ProductSelector.cc.

◆ VectorInputSourcePluginFactory

Definition at line 15 of file VectorInputSourceFactory.h.

◆ VParameterSet

typedef std::vector<ParameterSet> edm::VParameterSet

Definition at line 35 of file ParameterSet.h.

◆ vstring

typedef std::vector< std::string > edm::vstring

Definition at line 482 of file Schedule.cc.

Enumeration Type Documentation

◆ BranchActionType

Enumerator
BranchActionGlobalBegin 
BranchActionStreamBegin 
BranchActionStreamEnd 
BranchActionGlobalEnd 
BranchActionProcessBlockInput 

Definition at line 11 of file BranchActionType.h.

◆ BranchType

Enumerator
InEvent 
InLumi 
InRun 
InProcess 
NumBranchTypes 

Definition at line 11 of file BranchType.h.

◆ CatalogType

enum edm::CatalogType
strong
Enumerator
TrivialCatalog 
RucioCatalog 

Definition at line 47 of file SiteLocalConfig.h.

◆ EDMModuleType

enum edm::EDMModuleType
strong
Enumerator
kUnknown 
kSource 
kESSource 
kESProducer 
kEDAnalyzer 
kEDProducer 
kEDFilter 
kOutputModule 

Definition at line 8 of file EDMModuleType.h.

◆ HashedTypes

Enumerator
ModuleDescriptionType 
ParameterSetType 
ProcessHistoryType 
ProcessConfigurationType 
EntryDescriptionType 
ParentageType 

Definition at line 8 of file HashedTypes.h.

◆ InputType

enum edm::InputType
strong
Enumerator
Primary 
SecondaryFile 
SecondarySource 

Definition at line 5 of file InputType.h.

◆ JobMode

Enumerator
GridJobMode 
ReleaseValidationJobMode 
AnalysisJobMode 
NilJobMode 

Definition at line 15 of file JobMode.h.

◆ KindOfType

Enumerator
PRODUCT_TYPE 
ELEMENT_TYPE 

Definition at line 5 of file ProductKindOfType.h.

◆ ParameterTypes

Enumerator
k_int32 
k_vint32 
k_uint32 
k_vuint32 
k_int64 
k_vint64 
k_uint64 
k_vuint64 
k_double 
k_vdouble 
k_bool 
k_stringRaw 
k_vstringRaw 
k_stringHex 
k_vstringHex 
k_EventID 
k_VEventID 
k_LuminosityBlockID 
k_VLuminosityBlockID 
k_InputTag 
k_VInputTag 
k_ESInputTag 
k_VESInputTag 
k_FileInPath 
k_LuminosityBlockRange 
k_VLuminosityBlockRange 
k_EventRange 
k_VEventRange 
k_PSet 
k_VPSet 

Definition at line 38 of file ParameterDescriptionNode.h.

38  {
39  k_int32 = 'I',
40  k_vint32 = 'i',
41  k_uint32 = 'U',
42  k_vuint32 = 'u',
43  k_int64 = 'L',
44  k_vint64 = 'l',
45  k_uint64 = 'X',
46  k_vuint64 = 'x',
47  k_double = 'D',
48  k_vdouble = 'd',
49  k_bool = 'B',
50  k_stringRaw = 'Z',
51  k_vstringRaw = 'z',
52  k_stringHex = 'S',
53  k_vstringHex = 's',
54  k_EventID = 'E',
55  k_VEventID = 'e',
56  k_LuminosityBlockID = 'M',
58  k_InputTag = 't',
59  k_VInputTag = 'v',
60  k_ESInputTag = 'g',
61  k_VESInputTag = 'G',
62  k_FileInPath = 'F',
65  k_EventRange = 'R',
66  k_VEventRange = 'r',
67  k_PSet = 'Q',
68  k_VPSet = 'q'
69  };

◆ ProductResolverIndexValues

Enumerator
ProductResolverIndexValuesBit 
ProductResolverIndexInvalid 
ProductResolverIndexInitializing 
ProductResolverIndexAmbiguous 

Definition at line 10 of file ProductResolverIndex.h.

◆ TerminationOrigin

◆ ThinnedRefSetMode

Enumerator
throwOnInvalidParentRef 
ignoreInvalidParentRef 

Definition at line 54 of file ThinnedRefSet.h.

◆ Transition

enum edm::Transition
strong

◆ WildcardValidationCriteria

Enumerator
RequireZeroOrMore 
RequireAtLeastOne 
RequireExactlyOne 

Definition at line 17 of file ParameterWildcardBase.h.

Function Documentation

◆ addContextAndPrintException()

void edm::addContextAndPrintException ( char const *  context,
cms::Exception ex,
bool  disablePrint 
)

Definition at line 11 of file ExceptionHelpers.cc.

References cms::Exception::addContext(), visDQMUpload::context, edm::Service< T >::isAvailable(), printCmsException(), cms::Exception::returnCode(), cms::Exception::setAlreadyPrinted(), and mitigatedMETSequence_cff::U.

Referenced by callWithTryCatchAndPrint(), edm::StreamSchedule::finishProcessOneEvent(), edm::GlobalSchedule::handleException(), edm::StreamSchedule::handleException(), and edm::SecondaryEventProvider::setupPileUpEvent().

11  {
12  if (context != nullptr && strlen(context) != 0U) {
13  ex.addContext(context);
14  }
15  if (!disablePrint) {
16  Service<JobReport> jobReportSvc;
17  if (jobReportSvc.isAvailable()) {
18  JobReport* jobRep = jobReportSvc.operator->();
19  edm::printCmsException(ex, jobRep, ex.returnCode());
20  } else {
22  }
23  ex.setAlreadyPrinted();
24  }
25  }
void setAlreadyPrinted()
Definition: Exception.cc:183
void printCmsException(cms::Exception &e, edm::JobReport *jobRep=nullptr, int rc=-1)
int returnCode() const
Definition: Exception.cc:155
void addContext(std::string const &context)
Definition: Exception.cc:169

◆ addToMissingDictionariesException()

void edm::addToMissingDictionariesException ( edm::Exception exception,
std::vector< std::string > &  missingDictionaries,
std::string const &  context 
)

Definition at line 168 of file DictionaryTools.cc.

References visDQMUpload::context, cppFunctionSkipper::exception, B2GTnPMonitor_cfi::item, jetUpdater_cfi::sort, and tier0::unique().

Referenced by throwMissingDictionariesException().

170  {
171  std::sort(missingDictionaries.begin(), missingDictionaries.end());
172  missingDictionaries.erase(std::unique(missingDictionaries.begin(), missingDictionaries.end()),
173  missingDictionaries.end());
174 
175  std::ostringstream ostr;
176  for (auto const& item : missingDictionaries) {
177  ostr << " " << item << "\n";
178  }
179  exception << "No data dictionary found for the following classes:\n\n"
180  << ostr.str() << "\n"
181  << "Most likely each dictionary was never generated, but it may\n"
182  << "be that it was generated in the wrong package. Please add\n"
183  << "(or move) the specification \'<class name=\"whatever\"/>\' to\n"
184  << "the appropriate classes_def.xml file along with any other\n"
185  << "information needed there. For example, if this class has any\n"
186  << "transient members, you need to specify them in classes_def.xml.\n"
187  << "Also include the class header in classes.h\n";
188 
189  if (!context.empty()) {
190  exception.addContext(context);
191  }
192  }
def unique(seq, keepstr=True)
Definition: tier0.py:24

◆ allowedValues()

template<typename T , typename... ARGS>
std::unique_ptr<edm::ParameterDescriptionCases<T> > edm::allowedValues ( ARGS &&...  args)

Definition at line 38 of file allowedValues.h.

References writedatasetfile::args.

38  {
39  return (... || (std::forward<ARGS>(args) >> edm::EmptyGroupDescription()));
40  }

◆ appendCurrentProcessIfAlias()

static std::string edm::appendCurrentProcessIfAlias ( std::string const &  processFromInputTag,
std::string const &  currentProcess 
)
static

Definition at line 39 of file Principal.cc.

References edm::InputTag::kCurrentProcess, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::Principal::findProductByLabel(), and edm::Principal::getByLabel().

40  {
41  if (processFromInputTag == InputTag::kCurrentProcess) {
42  std::string returnValue = processFromInputTag;
43  returnValue += " (";
44  returnValue += currentProcess;
45  returnValue += ")";
46  return returnValue;
47  }
48  return processFromInputTag;
49  }

◆ beginGlobalTransitionAsync()

template<typename Traits >
void edm::beginGlobalTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
typename Traits::TransitionInfoType &  transitionInfo,
ServiceToken const &  token,
std::vector< SubProcess > &  iSubProcesses,
bool  cleaningUpAfterException = false 
)

Definition at line 81 of file globalTransitionAsync.h.

References edm::waiting_task::chain::first(), info(), eostools::move(), edm::Schedule::processOneGlobalAsync(), edm::waiting_task::chain::runLast(), edm::waiting_task::chain::then(), and unpackBuffers-CaloStage2::token.

86  {
87  // When we are done processing the global for this process,
88  // we need to run the global for all SubProcesses
89  using namespace edm::waiting_task;
90 
91  chain::first([&](auto nextTask) {
92  iSchedule.processOneGlobalAsync<Traits>(std::move(nextTask), transitionInfo, token, cleaningUpAfterException);
93  }) |
94  chain::then([&iSubProcesses, info = transitionInfo, cleaningUpAfterException](std::exception_ptr const* iPtr,
95  auto nextTask) {
96  if (iPtr) {
97  //delay handling exception until after subProcesses run
98  chain::first([&](auto nextTask) {
99  for (auto& subProcess : iSubProcesses) {
100  subProcessDoGlobalBeginTransitionAsync<Traits>(nextTask, subProcess, info, cleaningUpAfterException);
101  }
102  }) | chain::then([excpt = *iPtr](std::exception_ptr const*, auto nextTask) {
103  nextTask.doneWaiting(excpt);
104  }) | chain::runLast(nextTask);
105  } else {
106  for (auto& subProcess : iSubProcesses) {
107  subProcessDoGlobalBeginTransitionAsync<Traits>(nextTask, subProcess, info, cleaningUpAfterException);
108  }
109  }
110  }) |
111  chain::runLast(iWait);
112  }
static const TGPicture * info(bool iBackgroundIsBlack)
constexpr auto first(F &&iF)
Definition: chain_first.h:260
constexpr auto then(O &&iO)
Definition: chain_first.h:277
auto runLast(edm::WaitingTaskHolder iTask)
Definition: chain_first.h:297
def move(src, dest)
Definition: eostools.py:511

◆ beginStreamsTransitionAsync()

template<typename Traits >
void edm::beginStreamsTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iNStreams,
typename Traits::TransitionInfoType &  transitionInfo,
ServiceToken const &  token,
std::vector< SubProcess > &  iSubProcesses 
)

Definition at line 98 of file streamTransitionAsync.h.

References mps_fire::i, and unpackBuffers-CaloStage2::token.

103  {
104  for (unsigned int i = 0; i < iNStreams; ++i) {
105  beginStreamTransitionAsync<Traits>(iWait, iSchedule, i, transitionInfo, token, iSubProcesses);
106  }
107  }

◆ beginStreamTransitionAsync()

template<typename Traits >
void edm::beginStreamTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iStreamIndex,
typename Traits::TransitionInfoType &  transitionInfo,
ServiceToken const &  token,
std::vector< SubProcess > &  iSubProcesses 
)

Definition at line 64 of file streamTransitionAsync.h.

References edm::waiting_task::chain::first(), info(), eostools::move(), edm::Schedule::processOneStreamAsync(), edm::waiting_task::chain::runLast(), subProcessDoStreamBeginTransitionAsync(), edm::waiting_task::chain::then(), and unpackBuffers-CaloStage2::token.

69  {
70  //When we are done processing the stream for this process,
71  // we need to run the stream for all SubProcesses
72  //NOTE: The subprocesses set their own service tokens
73  using namespace edm::waiting_task;
74  chain::first([&](auto nextTask) {
75  iSchedule.processOneStreamAsync<Traits>(std::move(nextTask), iStreamIndex, transitionInfo, token);
76  }) |
78  [&iSubProcesses, iStreamIndex, info = transitionInfo](std::exception_ptr const* iPtr, auto nextTask) {
79  if (iPtr) {
80  auto excpt = *iPtr;
81  //defer handling exception until after sub processes run
82  chain::first([&](std::exception_ptr const*, auto nextTask) {
83  for (auto& subProcess : iSubProcesses) {
84  subProcessDoStreamBeginTransitionAsync(nextTask, subProcess, iStreamIndex, info);
85  };
86  }) | chain::then([excpt](std::exception_ptr const*, auto nextTask) { nextTask.doneWaiting(excpt); }) |
87  chain::runLast(nextTask);
88  } else {
89  for (auto& subProcess : iSubProcesses) {
90  subProcessDoStreamBeginTransitionAsync(nextTask, subProcess, iStreamIndex, info);
91  };
92  }
93  }) |
94  chain::runLast(iWait);
95  }
static const TGPicture * info(bool iBackgroundIsBlack)
constexpr auto first(F &&iF)
Definition: chain_first.h:260
constexpr auto then(O &&iO)
Definition: chain_first.h:277
auto runLast(edm::WaitingTaskHolder iTask)
Definition: chain_first.h:297
void subProcessDoStreamBeginTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LumiTransitionInfo const &iTransitionInfo)
def move(src, dest)
Definition: eostools.py:511

◆ binary_search_all() [1/2]

template<typename ForwardSequence , typename Datum >
bool edm::binary_search_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

wrappers for std::binary_search

Definition at line 58 of file Algorithms.h.

References ALPAKA_ACCELERATOR_NAMESPACE::lst::binary_search(), ztail::d, and alignCSCRings::s.

Referenced by edm::EventContentAnalyzer::analyze(), CaloVNoiseSignalGenerator::contains(), edm::MixingModule::MixingModule(), edm::ProductSelector::selected(), and edm::EventSkipperByID::skipIt().

58  {
59  return std::binary_search(s.begin(), s.end(), d);
60  }
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE int binary_search(const unsigned int *data, unsigned int search_val, unsigned int ndata)
Definition: Hit.h:59
d
Definition: ztail.py:151

◆ binary_search_all() [2/2]

template<typename ForwardSequence , typename Datum , typename Predicate >
bool edm::binary_search_all ( ForwardSequence const &  s,
Datum const &  d,
Predicate  p 
)
inline

Definition at line 63 of file Algorithms.h.

References ALPAKA_ACCELERATOR_NAMESPACE::lst::binary_search(), ztail::d, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

63  {
64  return std::binary_search(s.begin(), s.end(), d, p);
65  }
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE int binary_search(const unsigned int *data, unsigned int search_val, unsigned int ndata)
Definition: Hit.h:59
d
Definition: ztail.py:151

◆ branchIDToProductID()

ProductID edm::branchIDToProductID ( BranchID const &  bid,
BranchIDListHelper const &  branchIDListHelper,
std::vector< ProcessIndex > const &  branchListIndexToProcessIndex 
)

Definition at line 18 of file branchIDToProductID.cc.

References edm::BranchIDListHelper::branchIDToIndexMap(), Exception, edm::BranchID::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, WZElectronSkims53X_cff::max, edm::errors::NotFound, isotrackApplyRegressor::range, and findQualityFiles::v.

Referenced by edm::EventPrincipal::branchIDToProductID(), and ProvenanceDumper::work_().

20  {
21  if (not bid.isValid()) {
22  throw Exception(errors::NotFound, "InvalidID") << "branchIDToProductID: invalid BranchID supplied\n";
23  }
24 
25  auto range = branchIDListHelper.branchIDToIndexMap().equal_range(bid);
26  for (auto it = range.first; it != range.second; ++it) {
27  edm::BranchListIndex blix = it->second.first;
28  if (blix < branchListIndexToProcessIndex.size()) {
29  auto v = branchListIndexToProcessIndex[blix];
31  edm::ProductIndex productIndex = it->second.second;
32  edm::ProcessIndex processIndex = v;
33  return edm::ProductID(processIndex + 1, productIndex + 1);
34  }
35  }
36  }
37  // cannot throw, because some products may legitimately not have product ID's (e.g. pile-up).
38  return edm::ProductID();
39  }
unsigned short BranchListIndex
unsigned short ProcessIndex
Definition: ProductID.h:25
unsigned short ProductIndex
Definition: ProductID.h:26

◆ BranchTypeToAuxBranchName()

std::string const & edm::BranchTypeToAuxBranchName ( BranchType const &  branchType)

Definition at line 122 of file BranchType.cc.

References cms::cuda::assert().

Referenced by fwlite::Event::Event().

122  {
123  assert(branchType < eventLumiRunSize);
124  return auxNames[branchType];
125  }
assert(be >=bs)

◆ BranchTypeToAuxiliaryBranchName()

std::string const & edm::BranchTypeToAuxiliaryBranchName ( BranchType const &  branchType)

◆ BranchTypeToBranchEntryInfoBranchName()

std::string const & edm::BranchTypeToBranchEntryInfoBranchName ( BranchType const &  branchType)

Definition at line 134 of file BranchType.cc.

References cms::cuda::assert().

Referenced by fwlite::internal::BranchMapReaderStrategyV8::updateFile(), and ProvenanceDumper::work_().

134  {
135  assert(branchType < eventLumiRunSize);
136  return eventEntryInfoNames[branchType];
137  }
assert(be >=bs)

◆ BranchTypeToInfoTreeName()

std::string const & edm::BranchTypeToInfoTreeName ( BranchType const &  branchType)

Definition at line 111 of file BranchType.cc.

References cms::cuda::assert().

Referenced by edm::RootTree::RootTree().

111  {
112  assert(branchType < eventLumiRunSize);
113  return infoNames[branchType];
114  }
assert(be >=bs)

◆ BranchTypeToMetaDataTreeName()

std::string const & edm::BranchTypeToMetaDataTreeName ( BranchType const &  branchType)

Definition at line 105 of file BranchType.cc.

References cms::cuda::assert().

Referenced by edm::RootTree::RootTree(), and ProvenanceDumper::work_().

105  {
106  assert(branchType < eventLumiRunSize);
107  return metaTreeNames[branchType];
108  }
assert(be >=bs)

◆ BranchTypeToProductProvenanceBranchName()

std::string const & edm::BranchTypeToProductProvenanceBranchName ( BranchType const &  BranchType)

Definition at line 139 of file BranchType.cc.

References cms::cuda::assert().

Referenced by edm::ReducedProvenanceReader::ReducedProvenanceReader(), edm::RootOutputFile::RootOutputFile(), and ProvenanceDumper::work_().

139  {
140  assert(branchType < eventLumiRunSize);
141  return productProvenanceNames[branchType];
142  }
assert(be >=bs)

◆ BranchTypeToProductStatusBranchName()

std::string const & edm::BranchTypeToProductStatusBranchName ( BranchType const &  branchType)

Definition at line 128 of file BranchType.cc.

References cms::cuda::assert().

128  {
129  assert(branchType < eventLumiRunSize);
130  return productStatusNames[branchType];
131  }
assert(be >=bs)

◆ BranchTypeToProductTreeName() [1/2]

std::string const & edm::BranchTypeToProductTreeName ( BranchType const &  branchType)

Definition at line 95 of file BranchType.cc.

References cms::cuda::assert().

Referenced by edm::RootTree::RootTree(), and ProvenanceDumper::work_().

95  {
96  assert(branchType < eventLumiRunSize);
97  return treeNames[branchType];
98  }
assert(be >=bs)

◆ BranchTypeToProductTreeName() [2/2]

std::string edm::BranchTypeToProductTreeName ( BranchType const &  branchType,
std::string const &  processName 
)

Definition at line 100 of file BranchType.cc.

References cms::cuda::assert(), InProcess, and SimL1EmulatorRepack_CalouGT_cff::processName.

100  {
101  assert(branchType == InProcess);
102  return branchTypeNames[InProcess] + "s" + processName;
103  }
assert(be >=bs)

◆ BranchTypeToString()

std::string const & edm::BranchTypeToString ( BranchType const &  branchType)

Definition at line 93 of file BranchType.cc.

Referenced by operator<<(), and edm::EDConsumerBase::throwBranchMismatch().

93 { return branchTypeNames[branchType]; }

◆ callWithTryCatchAndPrint()

template<typename TReturn >
TReturn edm::callWithTryCatchAndPrint ( std::function< TReturn(void)>  iFunc,
char const *  context = nullptr,
bool  disablePrint = false 
)

Definition at line 49 of file ExceptionHelpers.h.

References addContextAndPrintException(), visDQMUpload::context, and edm::convertException::wrap().

51  {
52  try {
53  return convertException::wrap([iFunc]() { return iFunc(); });
54  } catch (cms::Exception& ex) {
55  addContextAndPrintException(context, ex, disablePrint);
56  throw;
57  }
58  return TReturn();
59  }
void addContextAndPrintException(char const *context, cms::Exception &ex, bool disablePrint)
auto wrap(F iFunc) -> decltype(iFunc())

◆ check()

template<typename T >
static void edm::check ( T const &  p,
std::string const &  id,
SelectedProducts const &  iProducts,
bool  iVerbose 
)
static

Definition at line 86 of file GetProductCheckerOutputModule.cc.

References edm::Provenance::branchDescription(), edm::BranchDescription::branchID(), Exception, edm::BasicHandle::isValid(), edm::BranchDescription::moduleLabel(), AlCaHLTBitMon_ParallelJobs::p, edm::BranchDescription::processName(), edm::BranchDescription::productInstanceName(), edm::BasicHandle::provenance(), unpackBuffers-CaloStage2::token, and edm::BranchDescription::unwrappedTypeID().

Referenced by SegmentsTrackAssociator::associate(), edm::ProductSelector::checkForDuplicateKeptBranch(), DDDWorld::DDDWorld(), L1TMenuHelper::getLUSOTrigger(), edm::streamer::StreamerInputFile::openStreamerFile(), edm::DataMixingMuonWorker::putMuon(), edm::GetProductCheckerOutputModule::write(), edm::ParameterDescriptionBase::writeCfi_(), edm::GetProductCheckerOutputModule::writeLuminosityBlock(), and edm::GetProductCheckerOutputModule::writeRun().

86  {
87  for (auto const& product : iProducts) {
88  BranchDescription const* branchDescription = product.first;
89  TypeID const& tid = branchDescription->unwrappedTypeID();
90  EDGetToken const& token = product.second;
91  BasicHandle bh = p.getByToken(token, tid);
92  if (iVerbose) {
93  if (bh.isValid()) {
94  edm::LogInfo("FoundProduct") << "found " << branchDescription->moduleLabel() << " '"
95  << branchDescription->productInstanceName() << "' "
96  << branchDescription->processName();
97  } else {
98  edm::LogInfo("DidNotFindProduct")
99  << "did not find " << branchDescription->moduleLabel() << " '" << branchDescription->productInstanceName()
100  << "' " << branchDescription->processName();
101  }
102  }
103  if (nullptr != bh.provenance() &&
104  bh.provenance()->branchDescription().branchID() != branchDescription->branchID()) {
105  throw cms::Exception("BranchIDMissMatch")
106  << "While processing " << id << " getByToken request for " << branchDescription->moduleLabel() << " '"
107  << branchDescription->productInstanceName() << "' " << branchDescription->processName()
108  << "\n should have returned BranchID " << branchDescription->branchID() << " but returned BranchID "
109  << bh.provenance()->branchDescription().branchID() << "\n";
110  }
111  }
112  }
Log< level::Info, false > LogInfo

◆ checkClassDictionaries() [1/2]

bool edm::checkClassDictionaries ( std::vector< std::string > &  missingDictionaries,
TypeID const &  typeID 
)

Definition at line 103 of file DictionaryTools.cc.

References edm::TypeWithDict::byName(), haddnano::cl, edm::TypeID::className(), Options::const, hasDictionary(), B2GTnPMonitor_cfi::item, mps_fire::result, and edm::TypeID::typeInfo().

Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::ProductRegistry::checkDictionariesOfConsumedTypes(), edm::ProductRegistry::initializeLookupTables(), and edm::streamer::loadCap().

103  {
104  // For a class type with a dictionary the TClass* will be
105  // non-null and hasDictionary will return true.
106  // For a type like "int", the TClass* pointer will be a
107  // nullptr and hasDictionary will return true.
108  // For a class type without a dictionary it is possible for
109  // TClass* to be non-null and hasDictionary to return false.
110 
111  TClass* tClass = TClass::GetClass(typeID.typeInfo());
112  if (!hasDictionary(typeID.typeInfo())) {
113  // a second attempt to load
114  TypeWithDict::byName(typeID.className());
115  tClass = TClass::GetClass(typeID.typeInfo());
116  }
117  if (!hasDictionary(typeID.typeInfo())) {
118  missingDictionaries.emplace_back(typeID.className());
119  return false;
120  }
121 
122  if (tClass == nullptr) {
123  return true;
124  }
125 
126  bool result = true;
127 
128  THashTable hashTable;
129  bool recursive = true;
130  tClass->GetMissingDictionaries(hashTable, recursive);
131 
132  for (auto const& item : hashTable) {
133  TClass const* cl = static_cast<TClass const*>(item);
134  missingDictionaries.emplace_back(cl->GetName());
135  result = false;
136  }
137  return result;
138  }
bool hasDictionary(std::type_info const &)

◆ checkClassDictionaries() [2/2]

bool edm::checkClassDictionaries ( std::vector< std::string > &  missingDictionaries,
std::string const &  name,
TypeWithDict const &  typeWithDict 
)

Definition at line 140 of file DictionaryTools.cc.

References haddnano::cl, Options::const, edm::TypeWithDict::getClass(), edm::TypeWithDict::invalidTypeInfo(), B2GTnPMonitor_cfi::item, mergeVDriftHistosByStation::name, and mps_fire::result.

142  {
143  if (!bool(typeWithDict) || typeWithDict.invalidTypeInfo()) {
144  missingDictionaries.emplace_back(name);
145  return false;
146  }
147 
148  TClass* tClass = typeWithDict.getClass();
149  if (tClass == nullptr) {
150  missingDictionaries.emplace_back(name);
151  return false;
152  }
153 
154  THashTable hashTable;
155  bool recursive = true;
156  tClass->GetMissingDictionaries(hashTable, recursive);
157 
158  bool result = true;
159 
160  for (auto const& item : hashTable) {
161  TClass const* cl = static_cast<TClass const*>(item);
162  missingDictionaries.emplace_back(cl->GetName());
163  result = false;
164  }
165  return result;
166  }

◆ checkDictionary() [1/2]

bool edm::checkDictionary ( std::vector< std::string > &  missingDictionaries,
TypeID const &  typeID 
)

Definition at line 68 of file DictionaryTools.cc.

References edm::TypeWithDict::byName(), edm::TypeID::className(), hasDictionary(), and edm::TypeID::typeInfo().

Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::ProductRegistry::checkDictionariesOfConsumedTypes(), checkDictionaryOfWrappedType(), edm::ProductRegistry::initializeLookupTables(), edm::core::OutputModuleCore::keepThisBranch(), and public_base_classes().

68  {
69  TClass::GetClass(typeID.typeInfo());
70  if (!hasDictionary(typeID.typeInfo())) {
71  // a second attempt to load
72  TypeWithDict::byName(typeID.className());
73  }
74  if (!hasDictionary(typeID.typeInfo())) {
75  missingDictionaries.emplace_back(typeID.className());
76  return false;
77  }
78  return true;
79  }
bool hasDictionary(std::type_info const &)

◆ checkDictionary() [2/2]

bool edm::checkDictionary ( std::vector< std::string > &  missingDictionaries,
std::string const &  name,
TypeWithDict const &  typeWithDict 
)

Definition at line 93 of file DictionaryTools.cc.

References edm::TypeWithDict::invalidTypeInfo(), and mergeVDriftHistosByStation::name.

95  {
96  if (!bool(typeWithDict) || typeWithDict.invalidTypeInfo()) {
97  missingDictionaries.emplace_back(name);
98  return false;
99  }
100  return true;
101  }

◆ checkDictionaryOfWrappedType() [1/2]

bool edm::checkDictionaryOfWrappedType ( std::vector< std::string > &  missingDictionaries,
TypeID const &  unwrappedTypeID 
)

Definition at line 81 of file DictionaryTools.cc.

References edm::TypeWithDict::byName(), checkDictionary(), edm::TypeID::className(), AlCaHLTBitMon_QueryRunRegistry::string, and wrappedClassName().

Referenced by edm::ProductRegistryHelper::addToRegistry(), and edm::ProductRegistry::initializeLookupTables().

81  {
82  std::string wrappedName = wrappedClassName(unwrappedTypeID.className());
83  TypeWithDict wrappedTypeWithDict = TypeWithDict::byName(wrappedName);
84  return checkDictionary(missingDictionaries, wrappedName, wrappedTypeWithDict);
85  }
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
std::string wrappedClassName(std::string const &iFullName)

◆ checkDictionaryOfWrappedType() [2/2]

bool edm::checkDictionaryOfWrappedType ( std::vector< std::string > &  missingDictionaries,
std::string const &  unwrappedName 
)

Definition at line 87 of file DictionaryTools.cc.

References edm::TypeWithDict::byName(), checkDictionary(), AlCaHLTBitMon_QueryRunRegistry::string, and wrappedClassName().

87  {
88  std::string wrappedName = wrappedClassName(unwrappedName);
89  TypeWithDict wrappedTypeWithDict = TypeWithDict::byName(wrappedName);
90  return checkDictionary(missingDictionaries, wrappedName, wrappedTypeWithDict);
91  }
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
std::string wrappedClassName(std::string const &iFullName)

◆ checkForModuleDependencyCorrectness()

void edm::checkForModuleDependencyCorrectness ( edm::PathsAndConsumesOfModulesBase const &  iPnC,
bool  iPrintDependencies 
)

Definition at line 354 of file PathsAndConsumesOfModules.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), submitPVResolutionJobs::count, symbols::deps, makeListRunsInFiles::description, relativeConstraints::empty, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, spr::find(), newFWLiteAna::found, mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, dqmiolumiharvest::j, kInvalidIndex, lastIndex, WZElectronSkims53X_cff::max, mod(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), eostools::move(), HLT_IsoTrack_cff::offset, operator==(), AlCaHLTBitMon_ParallelJobs::p, hltMonBTagIPClient_cfi::pathName, Skims_PA_cff::paths, edm::PathsAndConsumesOfModulesBase::paths(), alignCSCRings::s, edm::errors::ScheduleExecutionFailure, second(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::EventProcessor::beginJob(), and edm::SubProcess::keepOnlyConsumedUnscheduledModules().

354  {
356 
357  //Need to lookup ids to names quickly
358  std::unordered_map<unsigned int, std::string> moduleIndexToNames;
359 
360  std::unordered_map<std::string, unsigned int> pathStatusInserterModuleLabelToModuleID;
361 
362  //for testing, state that TriggerResults is at the end of all paths
363  const std::string kTriggerResults("TriggerResults");
364  const std::string kPathStatusInserter("PathStatusInserter");
365  const std::string kEndPathStatusInserter("EndPathStatusInserter");
366  unsigned int kTriggerResultsIndex = kInvalidIndex;
367  ModuleStatus triggerResultsStatus;
368  unsigned int largestIndex = 0;
369  for (auto const& description : iPnC.allModules()) {
370  moduleIndexToNames.insert(std::make_pair(description->id(), description->moduleLabel()));
371  if (kTriggerResults == description->moduleLabel()) {
372  kTriggerResultsIndex = description->id();
373  }
374  if (description->id() > largestIndex) {
375  largestIndex = description->id();
376  }
377  if (description->moduleName() == kPathStatusInserter) {
378  triggerResultsStatus.dependsOn_.push_back(description->id());
379  }
380  if (description->moduleName() == kPathStatusInserter || description->moduleName() == kEndPathStatusInserter) {
381  pathStatusInserterModuleLabelToModuleID[description->moduleLabel()] = description->id();
382  }
383  }
384 
385  std::vector<ModuleStatus> statusOfModules(largestIndex + 1);
386  for (auto const& nameID : pathStatusInserterModuleLabelToModuleID) {
387  statusOfModules[nameID.second].onPath_ = true;
388  unsigned int pathIndex;
389  auto const& paths = iPnC.paths();
390  auto itFound = std::find(paths.begin(), paths.end(), nameID.first);
391  if (itFound != paths.end()) {
392  pathIndex = itFound - paths.begin();
393  } else {
394  auto const& endPaths = iPnC.endPaths();
395  itFound = std::find(endPaths.begin(), endPaths.end(), nameID.first);
396  assert(itFound != endPaths.end());
397  pathIndex = itFound - endPaths.begin() + iPnC.paths().size();
398  }
399  statusOfModules[nameID.second].pathsOn_.push_back(pathIndex);
400  }
401  if (kTriggerResultsIndex != kInvalidIndex) {
402  statusOfModules[kTriggerResultsIndex] = std::move(triggerResultsStatus);
403  }
404 
405  std::vector<PathStatus> statusOfPaths(iPnC.paths().size() + iPnC.endPaths().size());
406 
407  //If there are no paths, no modules will run so nothing to check
408  if (statusOfPaths.empty()) {
409  return;
410  }
411 
412  {
413  auto nPaths = iPnC.paths().size();
414  for (unsigned int p = 0; p < nPaths; ++p) {
415  auto& status = statusOfPaths[p];
416  status.index_ = p;
417  status.modulesOnPath_.reserve(iPnC.modulesOnPath(p).size() + 1);
418  std::unordered_set<unsigned int> uniqueModules;
419  for (auto const& mod : iPnC.modulesOnPath(p)) {
420  if (uniqueModules.insert(mod->id()).second) {
421  status.modulesOnPath_.push_back(mod->id());
422  statusOfModules[mod->id()].onPath_ = true;
423  statusOfModules[mod->id()].pathsOn_.push_back(p);
424  }
425  }
426  status.nModules_ = uniqueModules.size() + 1;
427 
428  //add the PathStatusInserter at the end
429  auto found = pathStatusInserterModuleLabelToModuleID.find(iPnC.paths()[p]);
430  assert(found != pathStatusInserterModuleLabelToModuleID.end());
431  status.modulesOnPath_.push_back(found->second);
432  }
433  }
434  {
435  auto offset = iPnC.paths().size();
436  auto nPaths = iPnC.endPaths().size();
437  for (unsigned int p = 0; p < nPaths; ++p) {
438  auto& status = statusOfPaths[p + offset];
439  status.endPath_ = true;
440  status.index_ = p;
441  status.modulesOnPath_.reserve(iPnC.modulesOnEndPath(p).size() + 1);
442  std::unordered_set<unsigned int> uniqueModules;
443  for (auto const& mod : iPnC.modulesOnEndPath(p)) {
444  if (uniqueModules.insert(mod->id()).second) {
445  status.modulesOnPath_.push_back(mod->id());
446  statusOfModules[mod->id()].onPath_ = true;
447  statusOfModules[mod->id()].pathsOn_.push_back(p + offset);
448  }
449  }
450  status.nModules_ = uniqueModules.size();
451 
452  //add the EndPathStatusInserter at the end
453  auto found = pathStatusInserterModuleLabelToModuleID.find(iPnC.endPaths()[p]);
454  if (found != pathStatusInserterModuleLabelToModuleID.end()) {
455  status.modulesOnPath_.push_back(found->second);
456  ++status.nModules_;
457  }
458  }
459  }
460 
461  for (auto const& description : iPnC.allModules()) {
462  unsigned int const moduleIndex = description->id();
463  auto const& dependentModules = iPnC.modulesWhoseProductsAreConsumedBy(moduleIndex);
464  auto& deps = statusOfModules[moduleIndex];
465  deps.dependsOn_.reserve(dependentModules.size());
466  for (auto const& depDescription : dependentModules) {
467  if (iPrintDependencies) {
468  edm::LogAbsolute("ModuleDependency")
469  << "ModuleDependency '" << description->moduleLabel() << "' depends on data products from module '"
470  << depDescription->moduleLabel() << "'";
471  }
472  deps.dependsOn_.push_back(depDescription->id());
473  }
474  }
475 
476  unsigned int nPathsFinished = 0;
477  for (auto const& status : statusOfPaths) {
478  if (status.nModules_ == 0) {
479  ++nPathsFinished;
480  }
481  }
482 
483  //if a circular dependency exception happens, stackTrace has the info
484  std::vector<unsigned int> stackTrace;
485  bool madeForwardProgress = true;
486  try {
487  //'simulate' the running of the paths. On each step mark each module as 'run'
488  // if all the module's dependencies were fulfilled in a previous step
489  unsigned long long searchIndex = 0;
490  while (madeForwardProgress and nPathsFinished != statusOfPaths.size()) {
491  madeForwardProgress = false;
492  for (auto& p : statusOfPaths) {
493  //the path has already completed in an earlier pass
494  if (p.activeModuleSlot_ == p.nModules_) {
495  continue;
496  }
497  ++searchIndex;
498  bool didRun = checkIfCanRun(searchIndex, p.modulesOnPath_[p.activeModuleSlot_], statusOfModules, stackTrace);
499  if (didRun) {
500  madeForwardProgress = true;
501  ++p.activeModuleSlot_;
502  if (p.activeModuleSlot_ == p.nModules_) {
503  ++nPathsFinished;
504  }
505  }
506  }
507  }
508  } catch (CircularDependencyException const&) {
509  //the last element in stackTrace must appear somewhere earlier in stackTrace
510  std::ostringstream oStr;
511 
512  unsigned int lastIndex = stackTrace.front();
513  bool firstSkipped = false;
514  for (auto id : stackTrace) {
515  if (firstSkipped) {
516  oStr << " module '" << moduleIndexToNames[lastIndex] << "' depends on " << moduleIndexToNames[id] << "\n";
517  } else {
518  firstSkipped = true;
519  }
520  lastIndex = id;
521  }
522  throw edm::Exception(edm::errors::ScheduleExecutionFailure, "Unrunnable schedule\n")
523  << "Circular module dependency found in configuration\n"
524  << oStr.str();
525  }
526 
527  auto pathName = [&](PathStatus const& iP) {
528  if (iP.endPath_) {
529  return iPnC.endPaths()[iP.index_];
530  }
531  return iPnC.paths()[iP.index_];
532  };
533 
534  //The program would deadlock
535  if (not madeForwardProgress) {
536  std::ostringstream oStr;
537  auto modIndex = std::numeric_limits<unsigned int>::max();
538  unsigned int presentPath;
539  for (auto itP = statusOfPaths.begin(); itP != statusOfPaths.end(); ++itP) {
540  auto const& p = *itP;
541  if (p.activeModuleSlot_ == p.nModules_) {
542  continue;
543  }
544  //this path is stuck
545  modIndex = p.modulesOnPath_[p.activeModuleSlot_];
546  presentPath = itP - statusOfPaths.begin();
547  break;
548  }
549  //NOTE the following should always be true as at least 1 path should be stuc.
550  // I've added the condition just to be paranoid.
551  if (modIndex != std::numeric_limits<unsigned int>::max()) {
552  struct ProgressInfo {
553  ProgressInfo(unsigned int iMod, unsigned int iPath, bool iPreceeds = false)
554  : moduleIndex_(iMod), pathIndex_(iPath), preceeds_(iPreceeds) {}
555 
556  ProgressInfo(unsigned int iMod) : moduleIndex_(iMod), pathIndex_{}, preceeds_(false) {}
557 
558  unsigned int moduleIndex_ = std::numeric_limits<unsigned int>::max();
559  std::optional<unsigned int> pathIndex_;
560  bool preceeds_;
561 
562  bool operator==(ProgressInfo const& iOther) const {
563  return moduleIndex_ == iOther.moduleIndex_ and pathIndex_ == iOther.pathIndex_;
564  }
565  };
566 
567  std::vector<ProgressInfo> progressTrace;
568  progressTrace.emplace_back(modIndex, presentPath);
569 
570  //The following starts from the first found unrun module on a path. It then finds
571  // the first modules it depends on that was not run. If that module is on a Task
572  // it then repeats the check for that module's dependencies. If that module is on
573  // a path, it checks to see if that module is the first unrun module of a path
574  // and if so it repeats the check for that module's dependencies, if not it
575  // checks the dependencies of the stuck module on that path.
576  // Eventually, all these checks should allow us to find a cycle of modules.
577 
578  //NOTE: the only way foundUnrunModule should ever by false by the end of the
579  // do{}while loop is if there is a bug in the algorithm. I've included it to
580  // try to avoid that case causing an infinite loop in the program.
581  bool foundUnrunModule;
582  do {
583  //check dependencies looking for stuff not run and on a path
584  foundUnrunModule = false;
585  for (auto depMod : statusOfModules[modIndex].dependsOn_) {
586  auto const& depStatus = statusOfModules[depMod];
587  if (not depStatus.wasRun_ and depStatus.onPath_) {
588  foundUnrunModule = true;
589  //last run on a path?
590  bool lastOnPath = false;
591  unsigned int foundPath;
592  for (auto pathOn : depStatus.pathsOn_) {
593  auto const& depPaths = statusOfPaths[pathOn];
594  if (depPaths.modulesOnPath_[depPaths.activeModuleSlot_] == depMod) {
595  lastOnPath = true;
596  foundPath = pathOn;
597  break;
598  }
599  }
600  if (lastOnPath) {
601  modIndex = depMod;
602  progressTrace.emplace_back(modIndex, foundPath);
603  } else {
604  //some earlier module on the same path is stuck
605  progressTrace.emplace_back(depMod, depStatus.pathsOn_[0]);
606  auto const& depPath = statusOfPaths[depStatus.pathsOn_[0]];
607  modIndex = depPath.modulesOnPath_[depPath.activeModuleSlot_];
608  progressTrace.emplace_back(modIndex, depStatus.pathsOn_[0], true);
609  }
610  break;
611  }
612  }
613  if (not foundUnrunModule) {
614  //check unscheduled modules
615  for (auto depMod : statusOfModules[modIndex].dependsOn_) {
616  auto const& depStatus = statusOfModules[depMod];
617  if (not depStatus.wasRun_ and not depStatus.onPath_) {
618  foundUnrunModule = true;
619  progressTrace.emplace_back(depMod);
620  modIndex = depMod;
621  break;
622  }
623  }
624  }
625  } while (foundUnrunModule and (0 == std::count(progressTrace.begin(),
626  progressTrace.begin() + progressTrace.size() - 1,
627  progressTrace.back())));
628 
629  auto printTrace = [&](auto& oStr, auto itBegin, auto itEnd) {
630  for (auto itTrace = itBegin; itTrace != itEnd; ++itTrace) {
631  if (itTrace != itBegin) {
632  if (itTrace->preceeds_) {
633  oStr << " and follows module '" << moduleIndexToNames[itTrace->moduleIndex_] << "' on the path\n";
634  } else {
635  oStr << " and depends on module '" << moduleIndexToNames[itTrace->moduleIndex_] << "'\n";
636  }
637  }
638  if (itTrace + 1 != itEnd) {
639  if (itTrace->pathIndex_) {
640  oStr << " module '" << moduleIndexToNames[itTrace->moduleIndex_] << "' is on path '"
641  << pathName(statusOfPaths[*itTrace->pathIndex_]) << "'";
642  } else {
643  oStr << " module '" << moduleIndexToNames[itTrace->moduleIndex_] << "' is in a task";
644  }
645  }
646  }
647  };
648 
649  if (not foundUnrunModule) {
650  //If we get here, this suggests a problem with either the algorithm that finds problems or the algorithm
651  // that attempts to report the problem
652  oStr << "Algorithm Error, unable to find problem. Contact framework group.\n Traced problem this far\n";
653  printTrace(oStr, progressTrace.begin(), progressTrace.end());
654  } else {
655  printTrace(
656  oStr, std::find(progressTrace.begin(), progressTrace.end(), progressTrace.back()), progressTrace.end());
657  }
658  }
659  //the schedule deadlocked
660  throw edm::Exception(edm::errors::ScheduleExecutionFailure, "Unrunnable schedule\n")
661  << "The Path/EndPath configuration could cause the job to deadlock\n"
662  << oStr.str();
663  }
664 
665  //NOTE: although the following conditions are not needed for safe running, they are
666  // policy choices the collaboration has made.
667 
668  //HLT wants all paths to be equivalent. If a path has a module A that needs data from module B and module B appears on one path
669  // as module A then B must appear on ALL paths that have A.
670  unsigned int modIndex = 0;
671  for (auto& mod : statusOfModules) {
672  for (auto& depIndex : mod.dependsOn_) {
673  std::size_t count = 0;
674  std::size_t nonEndPaths = 0;
675  for (auto modPathID : mod.pathsOn_) {
676  if (statusOfPaths[modPathID].endPath_) {
677  continue;
678  }
679  ++nonEndPaths;
680  for (auto depPathID : statusOfModules[depIndex].pathsOn_) {
681  if (depPathID == modPathID) {
682  ++count;
683  break;
684  }
685  }
686  }
687  if (count != 0 and count != nonEndPaths) {
688  std::ostringstream onStr;
689  std::ostringstream missingStr;
690 
691  for (auto modPathID : mod.pathsOn_) {
692  if (statusOfPaths[modPathID].endPath_) {
693  continue;
694  }
695  bool found = false;
696  for (auto depPathID : statusOfModules[depIndex].pathsOn_) {
697  if (depPathID == modPathID) {
698  found = true;
699  }
700  }
701  auto& s = statusOfPaths[modPathID];
702  if (found) {
703  onStr << pathName(s) << " ";
704  } else {
705  missingStr << pathName(s) << " ";
706  }
707  }
708  throw edm::Exception(edm::errors::ScheduleExecutionFailure, "Unrunnable schedule\n")
709  << "Paths are non consistent\n"
710  << " module '" << moduleIndexToNames[modIndex] << "' depends on '" << moduleIndexToNames[depIndex]
711  << "' which appears on paths\n " << onStr.str() << "\nbut is missing from\n " << missingStr.str();
712  }
713  }
714  ++modIndex;
715  }
716 
717  //Check to see if for each path if the order of the modules is correct based on dependencies
718  auto allDependencies = findAllDependenciesForModules(statusOfModules);
719  for (auto& p : statusOfPaths) {
720  for (unsigned long int i = 0; p.nModules_ > 0 and i < p.nModules_ - 1; ++i) {
721  auto moduleID = p.modulesOnPath_[i];
722  if (not allDependencies[moduleID].empty()) {
723  for (unsigned long int j = i + 1; j < p.nModules_; ++j) {
724  auto testModuleID = p.modulesOnPath_[j];
725  if (allDependencies[moduleID].find(testModuleID) != allDependencies[moduleID].end()) {
726  throw edm::Exception(edm::errors::ScheduleExecutionFailure, "Unrunnable schedule\n")
727  << "Dependent module later on Path\n"
728  << " module '" << moduleIndexToNames[moduleID] << "' depends on '"
729  << moduleIndexToNames[testModuleID] << "' which is later on path " << pathName(p);
730  }
731  }
732  }
733  }
734  }
735  }
constexpr auto kInvalidIndex
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
assert(be >=bs)
U second(std::pair< T, U > const &p)
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
static std::atomic< unsigned int > lastIndex
Definition: DDValue.cc:12
HLTPathStatus PathStatus
Definition: PathStatus.h:7
Log< level::System, true > LogAbsolute
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
def move(src, dest)
Definition: eostools.py:511

◆ checkForWrongProduct()

void edm::checkForWrongProduct ( ProductID const &  keyID,
ProductID const &  refID 
)

Definition at line 5 of file CommonExceptions.cc.

References Exception, and edm::errors::InvalidReference.

Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[]().

5  {
6  if (keyID != refID) {
8  << "AssociationVector: trying to use [] operator passing a reference\n"
9  << " with the wrong product id (i.e.: pointing to the wrong collection)\n"
10  << " keyRef.id = " << keyID << ", ref.id = " << refID << "\n";
11  }
12  }

◆ clearLoggedErrorsSummary()

void edm::clearLoggedErrorsSummary ( unsigned int  iStreamID)

Definition at line 182 of file MessageSender.cc.

References cms::cuda::assert(), and errorSummaryMaps.

Referenced by edm::service::MessageLogger::postEvent().

182  {
183  assert(iStreamID < errorSummaryMaps.size());
184  errorSummaryMaps[iStreamID].clear();
185  }
assert(be >=bs)
static std::vector< oneapi::tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps

◆ clearMessageLog()

void edm::clearMessageLog ( )

Definition at line 40 of file MessageLogger.cc.

References edm::MessageDrop::clear(), and edm::MessageDrop::instance().

40 { MessageDrop::instance()->clear(); }
static PFTauRenderPlugin instance

◆ cloneEngine()

std::unique_ptr< CLHEP::HepRandomEngine > edm::cloneEngine ( CLHEP::HepRandomEngine const &  existingEngine)

Definition at line 27 of file cloneEngine.cc.

References Exception, and edm::errors::Unknown.

Referenced by PileupRandomNumberGenerator::cloneEngine(), edm::service::RandomNumberGeneratorService::cloneEngine(), and PileupRandomNumberGenerator::setEngine().

27  {
28  std::vector<unsigned long> stateL = existingEngine.put();
29  long seedL = existingEngine.getSeed();
30  std::unique_ptr<CLHEP::HepRandomEngine> newEngine;
31  if (stateL[0] == CLHEP::engineIDulong<CLHEP::HepJamesRandom>()) {
32  newEngine = std::make_unique<CLHEP::HepJamesRandom>(seedL);
33  } else if (stateL[0] == CLHEP::engineIDulong<CLHEP::RanecuEngine>()) {
34  newEngine = std::make_unique<CLHEP::RanecuEngine>();
35  } else if (stateL[0] == CLHEP::engineIDulong<CLHEP::MixMaxRng>()) {
36  newEngine = std::make_unique<CLHEP::MixMaxRng>(seedL);
37  } else if (stateL[0] == CLHEP::engineIDulong<TRandomAdaptor>()) {
38  newEngine = std::make_unique<TRandomAdaptor>(seedL);
39  } else {
40  // Sanity check, it should not be possible for this to happen.
41  throw Exception(errors::Unknown) << "The RandomNumberGeneratorService is trying to clone unknown engine type\n";
42  }
43  newEngine->get(stateL);
44  return newEngine;
45  }

◆ combinable()

bool edm::combinable ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 341 of file BranchDescription.cc.

References a, and b.

Referenced by edm::ProductRegistry::addFromInput(), edm::ProductRegistry::copyProduct(), and operator==().

341  {
342  return (a.branchType() == b.branchType()) && (a.processName() == b.processName()) &&
343  (a.fullClassName() == b.fullClassName()) && (a.friendlyClassName() == b.friendlyClassName()) &&
344  (a.productInstanceName() == b.productInstanceName()) && (a.moduleLabel() == b.moduleLabel()) &&
345  (a.branchID() == b.branchID());
346  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ compare_key()

template<typename C , typename K >
bool edm::compare_key ( K const &  lhs,
K const &  rhs 
)

Definition at line 124 of file Ref.h.

References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and requires.

124  {
125  if constexpr (requires { typename C::key_compare; }) {
126  using comparison_functor = typename C::key_compare;
127  return comparison_functor()(lhs, rhs);
128  } else {
129  return lhs < rhs;
130  }
131  }
requires requires
Definition: RefToBase.h:238

◆ contains() [1/4]

bool edm::contains ( EventRange const &  lh,
EventID const &  rh 
)

◆ contains() [2/4]

bool edm::contains ( LuminosityBlockRange const &  lh,
LuminosityBlockID const &  rh 
)

Definition at line 48 of file LuminosityBlockRange.cc.

References mathSSE::lh.

48  {
49  if (rh >= lh.startLumiID() && rh <= lh.endLumiID()) {
50  return true;
51  }
52  return false;
53  }
bool int lh
Definition: SIMDVec.h:27

◆ contains() [3/4]

bool edm::contains ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 55 of file LuminosityBlockRange.cc.

References contains(), edm::LuminosityBlockRange::endLumiID(), mathSSE::lh, and edm::LuminosityBlockRange::startLumiID().

55  {
56  if (contains(lh, rh.startLumiID()) && contains(lh, rh.endLumiID())) {
57  return true;
58  }
59  return false;
60  }
bool contains(EventRange const &lh, EventID const &rh)
Definition: EventRange.cc:37
bool int lh
Definition: SIMDVec.h:27

◆ contains() [4/4]

bool edm::contains ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 46 of file EventRange.cc.

References cms::cuda::assert(), contains(), edm::EventRange::endEventID(), mathSSE::lh, edm::EventRange::startEventID(), and edm::EventRange::startLumi().

46  {
47  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
48  return (contains(lh, rh.startEventID()) && contains(lh, rh.endEventID()));
49  }
bool contains(EventRange const &lh, EventID const &rh)
Definition: EventRange.cc:37
bool int lh
Definition: SIMDVec.h:27
assert(be >=bs)

◆ contains_()

bool edm::contains_ ( EventRange const &  lh,
EventID const &  rh 
)

Definition at line 44 of file EventRange.cc.

References mathSSE::lh.

Referenced by contains().

44 { return (rh >= lh.startEventID() && rh <= lh.endEventID()); }
bool int lh
Definition: SIMDVec.h:27

◆ contextual_find()

template<class FwdIter >
FwdIter edm::contextual_find ( FwdIter  b,
FwdIter  e,
char  first,
char  sep,
char  last 
)

Definition at line 38 of file split.h.

References b, MillePedeFileConverter_cfg::e, dqmdumpme::first, and dqmdumpme::last.

Referenced by split().

38  {
39  for (int nested = 0; b != e; ++b) {
40  if (*b == first)
41  ++nested;
42  else if (*b == last)
43  --nested;
44  else if (*b == sep && nested == 0)
45  return b;
46  }
47 
48  return e;
49 
50 } // contextual_find()
double b
Definition: hdecay.h:120

◆ contextual_find_not()

template<class FwdIter >
FwdIter edm::contextual_find_not ( FwdIter  b,
FwdIter  e,
char  first,
char  sep,
char  last 
)

Definition at line 56 of file split.h.

References b, and MillePedeFileConverter_cfg::e.

Referenced by split().

56  {
57  for (; b != e; ++b) {
58  if (*b != sep)
59  return b;
60  }
61 
62  return e;
63 
64 } // contextual_find_not()
double b
Definition: hdecay.h:120

◆ conversion() [1/3]

void edm::conversion ( LuminosityBlockAux const &  from,
LuminosityBlockAuxiliary to 
)

Definition at line 11 of file LuminosityBlockAux.cc.

References edm::LuminosityBlockAux::id_, edm::Timestamp::invalidTimestamp(), edm::LuminosityBlockAux::processHistoryID_, and edm::LuminosityBlockAux::runID_.

11  {
12  to.processHistoryID_ = from.processHistoryID_;
13  to.id_ = LuminosityBlockID(from.runID_, from.id_);
14  to.beginTime_ = to.endTime_ = Timestamp::invalidTimestamp();
15  }

◆ conversion() [2/3]

void edm::conversion ( RunAux const &  from,
RunAuxiliary to 
)

Definition at line 11 of file RunAux.cc.

References edm::RunAux::id_, edm::Timestamp::invalidTimestamp(), and edm::RunAux::processHistoryID_.

11  {
12  to.processHistoryID_ = from.processHistoryID_;
13  to.id_ = RunID(from.id_);
14  to.beginTime_ = to.endTime_ = Timestamp::invalidTimestamp();
15  }

◆ conversion() [3/3]

void edm::conversion ( EventAux const &  from,
EventAuxiliary to 
)

◆ convert_handle() [1/3]

void edm::convert_handle ( BasicHandle const &  orig,
Handle< FWGenericObject > &  result 
)

specialize this function forFWGenericHandle

Definition at line 20 of file FWGenericHandle.cc.

References cms::cuda::assert(), DMR_cfg::cerr, Exception, edm::BasicHandle::failedToGet(), h, edm::BasicHandle::id(), edm::errors::InvalidReference, edm::errors::LogicError, edm::BasicHandle::provenance(), mps_fire::result, edm::BasicHandle::whyFailed(), edm::convertException::wrap(), edm::WrapperBase::wrappedTypeInfo(), and edm::BasicHandle::wrapper().

20  {
21  if (orig.failedToGet()) {
22  result.setWhyFailed(orig.whyFailed());
23  return;
24  }
25 
26  WrapperBase const* originalWrap = orig.wrapper();
27  if (originalWrap == nullptr) {
28  throw edm::Exception(edm::errors::InvalidReference, "NullPointer")
29  << "edm::BasicHandle has null pointer to Wrapper";
30  }
31 
32  edm::ObjectWithDict wrap(edm::TypeWithDict(originalWrap->wrappedTypeInfo()),
33  const_cast<void*>(static_cast<void const*>(originalWrap)));
34  assert(bool(wrap));
35 
36  edm::ObjectWithDict product(wrap.get("obj"));
37 
38  if (!product) {
39  throw edm::Exception(edm::errors::LogicError) << "FWGenericObject could not find 'obj' member";
40  }
41  if (product.typeOf() != result.type()) {
42  std::cerr << "FWGenericObject asked for " << result.type().name() << " but was given a "
43  << product.typeOf().name();
45  << "FWGenericObject asked for " << result.type().name() << " but was given a " << product.typeOf().name();
46  }
47 
48  Handle<FWGenericObject> h(product, orig.provenance(), orig.id());
49  h.swap(result);
50  }
assert(be >=bs)
auto wrap(F iFunc) -> decltype(iFunc())
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

◆ convert_handle() [2/3]

template<typename T >
Handle<T> edm::convert_handle ( BasicHandle &&  bh)
noexcept

Definition at line 22 of file ConvertHandle.h.

References Options::const, edm::handleimpl::makeInvalidReferenceException(), eostools::move(), UNLIKELY, and wrapper.

Referenced by edm::Event::getByLabel(), edm::EventBase::getByLabel(), and edm::Event::getByToken().

22  {
23  if UNLIKELY (bh.failedToGet()) {
24  return Handle<T>(std::move(bh.whyFailedFactory()));
25  }
26  void const* basicWrapper = bh.wrapper();
27  if UNLIKELY (nullptr == basicWrapper) {
29  }
30  auto wrapper = static_cast<Wrapper<T> const*>(basicWrapper);
31 
32  return Handle<T>(wrapper->product(), bh.provenance());
33  }
#define UNLIKELY(x)
Definition: Likely.h:21
def move(src, dest)
Definition: eostools.py:511
std::shared_ptr< edm::HandleExceptionFactory const > makeInvalidReferenceException()
static HepMC::HEPEVT_Wrapper wrapper

◆ convert_handle() [3/3]

void edm::convert_handle ( BasicHandle &&  orig,
Handle< GenericObject > &  result 
)

specialize this function for GenericHandle

Definition at line 19 of file GenericHandle.cc.

References cms::cuda::assert(), Exception, h, edm::errors::InvalidReference, edm::errors::LogicError, mps_fire::result, edm::convertException::wrap(), and edm::WrapperBase::wrappedTypeInfo().

19  {
20  if (orig.failedToGet()) {
21  result.setWhyFailedFactory(orig.whyFailedFactory());
22  return;
23  }
24  WrapperBase const* originalWrap = orig.wrapper();
25  if (originalWrap == nullptr) {
26  throw Exception(errors::InvalidReference, "NullPointer") << "edm::BasicHandle has null pointer to Wrapper";
27  }
28 
29  ObjectWithDict wrap(originalWrap->wrappedTypeInfo(), const_cast<WrapperBase*>(originalWrap));
30  assert(bool(wrap));
31 
32  ObjectWithDict product(wrap.get("obj"));
33  if (!product) {
34  throw Exception(errors::LogicError) << "GenericObject could not find 'obj' member";
35  }
36  if (product.typeOf() != result.type()) {
38  << "GenericObject asked for " << result.type().name() << " but was given a " << product.typeOf().name();
39  }
40 
41  Handle<GenericObject> h(product, orig.provenance(), orig.id());
42  h.swap(result);
43  }
assert(be >=bs)
auto wrap(F iFunc) -> decltype(iFunc())
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

◆ convert_handle_check_type()

template<typename T >
Handle<T> edm::convert_handle_check_type ( BasicHandle &&  bh)

Definition at line 36 of file ConvertHandle.h.

References Options::const, edm::handleimpl::makeInvalidReferenceException(), eostools::move(), edm::handleimpl::throwConvertTypeError(), UNLIKELY, and wrapper.

36  {
37  if UNLIKELY (bh.failedToGet()) {
38  return Handle<T>(std::move(bh.whyFailedFactory()));
39  }
40  void const* basicWrapper = bh.wrapper();
41  if UNLIKELY (basicWrapper == nullptr) {
43  }
44  if UNLIKELY (!(bh.wrapper()->dynamicTypeInfo() == typeid(T))) {
45  handleimpl::throwConvertTypeError(typeid(T), bh.wrapper()->dynamicTypeInfo());
46  }
47  Wrapper<T> const* wrapper = static_cast<Wrapper<T> const*>(basicWrapper);
48 
49  return Handle<T>(wrapper->product(), bh.provenance());
50  }
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
#define UNLIKELY(x)
Definition: Likely.h:21
long double T
def move(src, dest)
Definition: eostools.py:511
std::shared_ptr< edm::HandleExceptionFactory const > makeInvalidReferenceException()
static HepMC::HEPEVT_Wrapper wrapper

◆ convertToBranchType()

constexpr BranchType edm::convertToBranchType ( Transition  iValue)

◆ convertToTransition()

constexpr Transition edm::convertToTransition ( BranchType  iValue)

Definition at line 31 of file Transition.h.

References BeginLuminosityBlock, BeginProcessBlock, BeginRun, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and Event.

Referenced by edm::ProducerBase< edm::global::EDProducer, Args... >::produces().

31  {
32  constexpr Transition trans[] = {
33  Transition::Event, Transition::BeginLuminosityBlock, Transition::BeginRun, Transition::BeginProcessBlock};
34  return trans[iValue];
35  }
Transition
Definition: Transition.h:12

◆ copy_all()

template<typename ForwardSequence , typename Func >
Func edm::copy_all ( ForwardSequence &  s,
Func  f 
)
inline

◆ createGlobalIdentifier()

std::string edm::createGlobalIdentifier ( bool  binary = false)

◆ decode() [1/29]

bool edm::decode ( bool &  to,
std::string_view  from 
)

Definition at line 72 of file types.cc.

Referenced by compareDQMOutput::compare(), das-up-to-nevents::das_do_command(), decode(), decode_element(), cmsswSequenceInfo::formatsequenceinfo(), Types.string::formatValueForConfig(), mps_fire::forward_proxy(), condformats_serialization_generate::get_clang_version(), condformats_serialization_generate::get_statement(), edm::Entry::getBool(), edm::Entry::getDouble(), edm::Entry::getESInputTag(), edm::Entry::getEventID(), edm::Entry::getEventRange(), edm::Entry::getFileInPath(), edm::Entry::getInputTag(), edm::Entry::getInt32(), edm::Entry::getInt64(), edm::Entry::getLuminosityBlockID(), edm::Entry::getLuminosityBlockRange(), cmsswSequenceInfo::getplugininfo(), edm::Entry::getPSet(), edm::Entry::getString(), uploadConditions.HTTP::getToken(), edm::Entry::getUInt32(), edm::Entry::getUInt64(), edm::Entry::getVDouble(), edm::Entry::getVESInputTag(), edm::Entry::getVEventID(), edm::Entry::getVEventRange(), edm::Entry::getVInputTag(), edm::Entry::getVInt32(), edm::Entry::getVInt64(), edm::Entry::getVLuminosityBlockID(), edm::Entry::getVLuminosityBlockRange(), edm::Entry::getVPSet(), edm::Entry::getVString(), edm::Entry::getVUInt32(), edm::Entry::getVUInt64(), cmsswSequenceInfo::inspectsequence(), cmsswSequenceInfo::inspectworkflows(), uploadConditions::re_upload(), o2oRun_SiStripDAQ::run(), postprocessor.PostProcessor::run(), edm::Entry::validate(), and mps_fire::write_HTCondor_submit_file_pede().

72  {
73  if (from == "true") {
74  to = true;
75  return true;
76  } else if (from == "false") {
77  to = false;
78  return true;
79  } else {
80  return false;
81  }
82 } // decode to bool

◆ decode() [2/29]

bool edm::decode ( std::vector< bool > &  to,
std::string_view  from 
)

Definition at line 95 of file types.cc.

References submitPVResolutionJobs::count, decode(), split(), submitPVValidationJobs::t, and heppy_batch::val.

95  {
96  to.clear();
97  to.reserve(std::count(from.begin(), from.end(), ','));
98  return split(from, '{', ',', '}', [&to](auto t) {
99  bool val = false;
100  if (!decode(val, t)) {
101  return false;
102  }
103  to.push_back(val);
104  return true;
105  });
106 } // decode to vector<bool>
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [3/29]

bool edm::decode ( int &  to,
std::string_view  from 
)

Definition at line 131 of file types.cc.

References b, MillePedeFileConverter_cfg::e, and Validation_hcalonly_cfi::sign.

131  {
132  std::string_view::const_iterator b = from.begin(), e = from.end();
133 
134  if (*b != '+' && *b != '-') {
135  return false;
136  }
137  int sign = (*b == '+') ? +1 : -1;
138 
139  to = 0;
140  while (++b != e) {
141  if (!std::isdigit(*b)) {
142  return false;
143  }
144  to = 10 * to + (*b - '0');
145  }
146  to *= sign;
147 
148  return true;
149 } // decode to int
double b
Definition: hdecay.h:120

◆ decode() [4/29]

bool edm::decode ( std::vector< int > &  to,
std::string_view  from 
)

Definition at line 214 of file types.cc.

References submitPVResolutionJobs::count, decode(), split(), submitPVValidationJobs::t, and heppy_batch::val.

214  {
215  to.clear();
216  to.reserve(std::count(from.begin(), from.end(), ','));
217  return split(from, '{', ',', '}', [&to](auto t) {
218  int val = 0;
219  if (!decode(val, t)) {
220  return false;
221  }
222  to.push_back(val);
223  return true;
224  });
225 } // decode to vector<int>
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [5/29]

bool edm::decode ( unsigned int &  to,
std::string_view  from 
)

Definition at line 293 of file types.cc.

References b, and MillePedeFileConverter_cfg::e.

293  {
294  std::string_view::const_iterator b = from.begin(), e = from.end();
295 
296  to = 0u;
297  for (; b != e; ++b) {
298  if (*b == 'u' || *b == 'U') {
299  return true;
300  }
301  if (!std::isdigit(*b)) {
302  return false;
303  }
304  to = 10u * to + (*b - '0');
305  }
306  return true;
307 } // decode to unsigned
double b
Definition: hdecay.h:120

◆ decode() [6/29]

bool edm::decode ( std::vector< unsigned int > &  to,
std::string_view  from 
)

Definition at line 356 of file types.cc.

References submitPVResolutionJobs::count, decode(), split(), submitPVValidationJobs::t, and heppy_batch::val.

356  {
357  to.clear();
358  to.reserve(std::count(from.begin(), from.end(), ','));
359  return split(from, '{', ',', '}', [&to](auto t) {
360  unsigned int val = 0;
361  if (!decode(val, t)) {
362  return false;
363  }
364  to.push_back(val);
365  return true;
366  });
367 } // decode to vector<unsigned int>
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [7/29]

bool edm::decode ( long long &  to,
std::string_view  from 
)

Definition at line 172 of file types.cc.

References b, MillePedeFileConverter_cfg::e, and Validation_hcalonly_cfi::sign.

172  {
173  std::string_view::const_iterator b = from.begin(), e = from.end();
174 
175  if (*b != '+' && *b != '-') {
176  return false;
177  }
178  int sign = (*b == '+') ? +1 : -1;
179 
180  to = 0;
181  while (++b != e) {
182  if (!std::isdigit(*b)) {
183  return false;
184  }
185  to = 10 * to + (*b - '0');
186  }
187  to *= sign;
188 
189  return true;
190 } // decode to int
double b
Definition: hdecay.h:120

◆ decode() [8/29]

bool edm::decode ( std::vector< long long > &  to,
std::string_view  from 
)

Definition at line 252 of file types.cc.

References decode(), L1DTConfigBti_cff::LL, split(), submitPVValidationJobs::t, groupFilesInBlocks::temp, and heppy_batch::val.

252  {
253  std::vector<std::string_view> temp;
254  if (!split(std::back_inserter(temp), from, '{', ',', '}')) {
255  return false;
256  }
257 
258  to.clear();
259  for (auto t : temp) {
260  long long val = 0LL;
261  if (!decode(val, t)) {
262  return false;
263  }
264  to.push_back(val);
265  }
266 
267  return true;
268 } // decode to vector<int>
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [9/29]

bool edm::decode ( unsigned long long &  to,
std::string_view  from 
)

Definition at line 325 of file types.cc.

References b, and MillePedeFileConverter_cfg::e.

325  {
326  std::string_view::const_iterator b = from.begin(), e = from.end();
327  to = 0u;
328  for (; b != e; ++b) {
329  if (*b == 'u' || *b == 'U') {
330  return true;
331  }
332  if (!std::isdigit(*b)) {
333  return false;
334  }
335  to = 10u * to + (*b - '0');
336  }
337  return true;
338 } // decode to unsigned
double b
Definition: hdecay.h:120

◆ decode() [10/29]

bool edm::decode ( std::vector< unsigned long long > &  to,
std::string_view  from 
)

Definition at line 393 of file types.cc.

References submitPVResolutionJobs::count, decode(), split(), submitPVValidationJobs::t, and heppy_batch::val.

393  {
394  to.clear();
395  to.reserve(std::count(from.begin(), from.end(), ','));
396  return split(from, '{', ',', '}', [&to](auto t) {
397  unsigned long long val = 0ULL;
398  if (!decode(val, t)) {
399  return false;
400  }
401  to.push_back(val);
402  return true;
403  });
404 } // decode to vector<unsigned int>
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [11/29]

bool edm::decode ( double &  to,
std::string_view  from 
)

Definition at line 431 of file types.cc.

References cppFunctionSkipper::exception, infinity, WZElectronSkims53X_cff::max, and AlCaHLTBitMon_QueryRunRegistry::string.

431  {
432  if (from == "NaN") {
433  to = std::numeric_limits<double>::quiet_NaN();
434  } else if (from == "+inf" || from == "inf") {
435  to = std::numeric_limits<double>::has_infinity ? std::numeric_limits<double>::infinity()
436  : std::numeric_limits<double>::max();
437  } else if (from == "-inf") {
438  to = std::numeric_limits<double>::has_infinity ? -std::numeric_limits<double>::infinity()
439  : -std::numeric_limits<double>::max();
440  }
441 
442  else {
443  try {
444  // std::cerr << "from:" << from << std::endl;
445  to = std::stod(std::string(from));
446  // std::cerr << "to:" << to << std::endl;
447  } catch (const std::exception&) {
448  return false;
449  }
450  }
451  return true;
452 }
const double infinity

◆ decode() [12/29]

bool edm::decode ( std::vector< double > &  to,
std::string_view  from 
)

Definition at line 470 of file types.cc.

References submitPVResolutionJobs::count, decode(), split(), submitPVValidationJobs::t, and heppy_batch::val.

470  {
471  to.clear();
472  to.reserve(std::count(from.begin(), from.end(), ','));
473  return split(from, '{', ',', '}', [&to](auto t) {
474  double val;
475  if (!decode(val, t))
476  return false;
477  to.push_back(val);
478  return true;
479  });
480 } // decode to vector<double>
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [13/29]

bool edm::decode ( std::string &  to,
std::string_view  from 
)

Definition at line 521 of file types.cc.

References or.

521  {
522  if (from.empty() or from.back() != '\0') {
523  return false;
524  }
525  to = from.substr(0, from.size() - 1);
526 
527  std::size_t searchIndex = 0;
528  while (std::string::npos != (searchIndex = to.find_first_of('\0', searchIndex))) {
529  if (searchIndex == to.size() - 1 or to[searchIndex + 1] != '\0') {
530  //unpaired string
531  return false;
532  }
533  to.erase(searchIndex, 1);
534  ++searchIndex;
535  }
536  return true;
537 }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12

◆ decode() [14/29]

bool edm::decode ( std::vector< std::string > &  to,
std::string_view  from 
)

Definition at line 1097 of file types.cc.

References decode_element(), decode_string_extent(), eostools::move(), AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.

1097  {
1098  if (from.size() < 2) {
1099  return false;
1100  }
1101  if (from.front() != '{') {
1102  return false;
1103  }
1104  if (from.back() != '}') {
1105  return false;
1106  }
1107  to.clear();
1108  if (from.size() == 2) {
1109  //an empty vector
1110  return true;
1111  }
1112  if (from[1] != '\0') {
1113  return false;
1114  }
1115  auto remaining = from.substr(2, from.size() - 2 /*leading {/0*/ - 1 /*trailing } */);
1116  while (not remaining.empty()) {
1117  auto strng = decode_string_extent(remaining);
1118  if (not strng) {
1119  return false;
1120  }
1121  std::string val;
1122  if (!decode_element(val, *strng)) {
1123  return false;
1124  }
1125  to.emplace_back(std::move(val));
1126 
1127  remaining = remaining.substr(strng->size());
1128  if (remaining.empty())
1129  break;
1130  if (remaining.front() == ',') {
1131  remaining = remaining.substr(1);
1132  } else {
1133  return false;
1134  }
1135  }
1136  return true;
1137 } // decode to vector<string>
std::optional< std::string_view > decode_string_extent(std::string_view from)
Definition: types.cc:504
def move(src, dest)
Definition: eostools.py:511
bool decode_element(std::string &, std::string_view)
Definition: types.cc:1139

◆ decode() [15/29]

bool edm::decode ( edm::FileInPath to,
std::string_view  from 
)

Definition at line 579 of file types.cc.

References AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.

579  {
580  std::string sfrom{from};
581  std::istringstream is(sfrom);
583  temp.readFromParameterSetBlob(is);
584  if (!is)
585  return false;
586  to = temp;
587  return true;
588 } // decode to FileInPath

◆ decode() [16/29]

bool edm::decode ( edm::InputTag to,
std::string_view  from 
)

Definition at line 603 of file types.cc.

References ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

603  {
604  to = InputTag(std::string(from));
605  return true;
606 } // decode to InputTag

◆ decode() [17/29]

bool edm::decode ( std::vector< edm::InputTag > &  to,
std::string_view  from 
)

Definition at line 617 of file types.cc.

References decode(), ProducerED_cfi::InputTag, and makeListRunsInFiles::strings.

617  {
618  std::vector<std::string> strings;
619  decode(strings, from);
620 
621  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
622  stringItr != stringItrEnd;
623  ++stringItr) {
624  to.push_back(InputTag(*stringItr));
625  }
626  return true;
627 } // decode to VInputTag
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [18/29]

bool edm::decode ( edm::ESInputTag to,
std::string_view  from 
)

Definition at line 643 of file types.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

643  {
644  if (not from.empty() and from.npos == from.find(':')) {
645  to = ESInputTag(std::string(from), "");
646  } else {
647  to = ESInputTag(std::string(from));
648  }
649  return true;
650 } // decode to InputTag

◆ decode() [19/29]

bool edm::decode ( std::vector< edm::ESInputTag > &  to,
std::string_view  from 
)

Definition at line 664 of file types.cc.

References decode(), and makeListRunsInFiles::strings.

664  {
665  std::vector<std::string> strings;
666  decode(strings, from);
667 
668  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
669  stringItr != stringItrEnd;
670  ++stringItr) {
671  to.push_back(ESInputTag(*stringItr));
672  }
673  return true;
674 } // decode to VInputTag
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [20/29]

bool edm::decode ( edm::EventID to,
std::string_view  from 
)

Definition at line 690 of file types.cc.

References cms::cuda::assert(), writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, and tokenize().

690  {
691  std::vector<std::string> tokens = edm::tokenize(std::string(from), ":");
692  assert(tokens.size() == 2 || tokens.size() == 3);
693  unsigned int run = strtoul(tokens[0].c_str(), nullptr, 0);
694  unsigned int lumi = (tokens.size() == 2 ? 0 : strtoul(tokens[1].c_str(), nullptr, 0));
695  unsigned long long event = strtoull(tokens[tokens.size() - 1].c_str(), nullptr, 0);
697 
698  return true;
699 } // decode to EventID
assert(be >=bs)
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:52
Definition: event.py:1

◆ decode() [21/29]

bool edm::decode ( std::vector< edm::EventID > &  to,
std::string_view  from 
)

Definition at line 716 of file types.cc.

References decode(), and makeListRunsInFiles::strings.

716  {
717  std::vector<std::string> strings;
718  decode(strings, from);
719 
720  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
721  stringItr != stringItrEnd;
722  ++stringItr) {
723  edm::EventID eventID;
724  decode(eventID, *stringItr);
725  to.push_back(eventID);
726  }
727  return true;
728 } // decode to VInputTag
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [22/29]

bool edm::decode ( edm::LuminosityBlockID to,
std::string_view  from 
)

Definition at line 746 of file types.cc.

References cms::cuda::assert(), writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, and tokenize().

746  {
747  std::vector<std::string> tokens = edm::tokenize(std::string(from), ":");
748  assert(tokens.size() == 2);
749  unsigned int run = strtoul(tokens[0].c_str(), nullptr, 0);
750  unsigned int lumi = strtoul(tokens[1].c_str(), nullptr, 0);
752  return true;
753 } // decode to LuminosityBlockID
assert(be >=bs)
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:52

◆ decode() [23/29]

bool edm::decode ( std::vector< edm::LuminosityBlockID > &  to,
std::string_view  from 
)

Definition at line 766 of file types.cc.

References decode(), and makeListRunsInFiles::strings.

766  {
767  std::vector<std::string> strings;
768  decode(strings, from);
769 
770  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
771  stringItr != stringItrEnd;
772  ++stringItr) {
773  edm::LuminosityBlockID lumiID;
774  decode(lumiID, *stringItr);
775  to.push_back(lumiID);
776  }
777  return true;
778 } // decode to VInputTag
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [24/29]

bool edm::decode ( edm::LuminosityBlockRange to,
std::string_view  from 
)

Definition at line 797 of file types.cc.

References cms::cuda::assert(), decode(), AlCaHLTBitMon_QueryRunRegistry::string, and tokenize().

797  {
798  std::vector<std::string> tokens = edm::tokenize(std::string(from), "-");
799  assert(tokens.size() == 2);
802  edm::decode(begin, tokens[0]);
803  edm::decode(end, tokens[1]);
804  to = edm::LuminosityBlockRange(begin.run(), begin.luminosityBlock(), end.run(), end.luminosityBlock());
805  return true;
806 } // decode to LuminosityBlockRange
assert(be >=bs)
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:52
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [25/29]

bool edm::decode ( std::vector< edm::LuminosityBlockRange > &  to,
std::string_view  from 
)

Definition at line 819 of file types.cc.

References decode(), beamSpotPI::lumiRange, and makeListRunsInFiles::strings.

819  {
820  std::vector<std::string> strings;
821  decode(strings, from);
822 
823  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
824  stringItr != stringItrEnd;
825  ++stringItr) {
827  decode(lumiRange, *stringItr);
828  to.push_back(lumiRange);
829  }
830  return true;
831 } // decode to VInputTag
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [26/29]

bool edm::decode ( edm::EventRange to,
std::string_view  from 
)

Definition at line 850 of file types.cc.

References cms::cuda::assert(), decode(), AlCaHLTBitMon_QueryRunRegistry::string, and tokenize().

850  {
851  std::vector<std::string> tokens = edm::tokenize(std::string(from), "-");
852  assert(tokens.size() == 2);
855  edm::decode(begin, tokens[0]);
856  edm::decode(end, tokens[1]);
857  assert((begin.luminosityBlock() == 0) == (end.luminosityBlock() == 0));
859  begin.run(), begin.luminosityBlock(), begin.event(), end.run(), end.luminosityBlock(), end.event());
860  return true;
861 } // decode to EventRange
assert(be >=bs)
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:52
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [27/29]

bool edm::decode ( std::vector< edm::EventRange > &  to,
std::string_view  from 
)

Definition at line 881 of file types.cc.

References decode(), unittestinputsource_cfi::eventRange, and makeListRunsInFiles::strings.

881  {
882  std::vector<std::string> strings;
883  decode(strings, from);
884 
885  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
886  stringItr != stringItrEnd;
887  ++stringItr) {
889  decode(eventRange, *stringItr);
890  to.push_back(eventRange);
891  }
892  return true;
893 }
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode() [28/29]

bool edm::decode ( ParameterSet to,
std::string_view  from 
)

Definition at line 1193 of file types.cc.

1193  {
1194  to = ParameterSet(from);
1195  return true;
1196 } // decode to ParameterSet

◆ decode() [29/29]

bool edm::decode ( std::vector< ParameterSet > &  to,
std::string_view  from 
)

Definition at line 1218 of file types.cc.

References submitPVResolutionJobs::count, decode(), edm::ParameterSet::extent(), eostools::move(), and heppy_batch::val.

1218  {
1219  to.clear();
1220  if (from.size() < 2) {
1221  return false;
1222  }
1223  if (from[0] != '{') {
1224  return false;
1225  }
1226  if (from.back() != '}') {
1227  return false;
1228  }
1229 
1230  to.reserve(std::count(from.begin(), from.end(), ',') + 1);
1231 
1232  auto remaining = from.substr(1, from.size() - 2);
1233  while (not remaining.empty()) {
1234  auto extent = ParameterSet::extent(remaining);
1235  if (extent.empty()) {
1236  return false;
1237  }
1238  ParameterSet val;
1239  if (!decode(val, extent)) {
1240  return false;
1241  }
1242  to.push_back(std::move(val));
1243  remaining.remove_prefix(extent.size());
1244  if (not remaining.empty()) {
1245  if (remaining[0] != ',') {
1246  return false;
1247  }
1248  remaining.remove_prefix(1);
1249  }
1250  }
1251  return true;
1252 } // decode to vector<ParameterSet>
bool decode(bool &, std::string_view)
Definition: types.cc:72
def move(src, dest)
Definition: eostools.py:511

◆ decode_deprecated() [1/2]

bool edm::decode_deprecated ( std::string &  to,
std::string_view  from 
)

Definition at line 539 of file types.cc.

References b, DummyCfis::c, MillePedeFileConverter_cfg::e, and from_hex().

Referenced by decode_deprecated(), edm::Entry::getString(), edm::Entry::getVString(), and edm::Entry::validate().

539  {
540  /*std::cerr << "Decoding: " << from << '\n'; //DEBUG*/
541  std::string_view::const_iterator b = from.begin(), e = from.end();
542 
543  to = "";
544  to.reserve((e - b) / 2);
545  char c = '\0';
546  for (bool even_pos = true; b != e; ++b, even_pos = !even_pos) {
547  if (even_pos) {
548  /*std::cerr << "Even: |"
549  << *b
550  << "| giving "
551  << from_hex(*b)
552  << "\n"; //DEBUG*/
553  c = static_cast<char>(from_hex(*b));
554  } else {
555  /*std::cerr << "Odd: |"
556  << *b
557  << "| giving "
558  << from_hex(*b)
559  << "\n"; //DEBUG*/
560  c = static_cast<char>(c * 16 + from_hex(*b));
561  // if(std::isalnum(c)) {
562  /*std::cerr << "Ans: |" << c << "|\n"; //DEBUG*/
563  to += c;
564  //}
565  //else { // keep all special chars encoded
566  //to += "\\x";
567  //to += to_hex_rep(c);
568  //}
569  }
570  }
571  /*std::cerr << "Decoded: " << to << '\n'; //DEBUG*/
572  return true;
573 } // decode to String
static unsigned int from_hex(char c)
Definition: types.cc:31
double b
Definition: hdecay.h:120

◆ decode_deprecated() [2/2]

bool edm::decode_deprecated ( std::vector< std::string > &  to,
std::string_view  from 
)

Definition at line 1044 of file types.cc.

References submitPVResolutionJobs::count, decode_deprecated(), split(), AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, and heppy_batch::val.

1044  {
1045  to.clear();
1046  to.reserve(std::count(from.begin(), from.end(), ','));
1047  return split(from, '{', ',', '}', [&to](auto t) {
1048  std::string val;
1049  // treat blank string specially
1050  if (t == "XXX") {
1051  val = "";
1052  } else if (!decode_deprecated(val, t)) {
1053  return false;
1054  }
1055  to.push_back(val);
1056  return true;
1057  });
1058 } // decode to vector<string>
bool decode_deprecated(std::string &, std::string_view)
Definition: types.cc:539

◆ decode_element()

bool edm::decode_element ( std::string &  to,
std::string_view  from 
)

Definition at line 1139 of file types.cc.

References decode().

Referenced by decode().

1139 { return decode(to, from); }
bool decode(bool &, std::string_view)
Definition: types.cc:72

◆ decode_pset_extent()

std::optional< std::string_view > edm::decode_pset_extent ( std::string_view  from)

Definition at line 1207 of file types.cc.

References MillePedeFileConverter_cfg::e, and edm::ParameterSet::extent().

Referenced by edm::Entry::bounds(), and decode_vpset_extent().

1207  {
1208  auto e = ParameterSet::extent(from);
1209  if (e.empty()) {
1210  return {};
1211  }
1212  return e;
1213 }

◆ decode_string_extent()

std::optional< std::string_view > edm::decode_string_extent ( std::string_view  from)

Definition at line 504 of file types.cc.

Referenced by edm::Entry::bounds(), decode(), and decode_vstring_extent().

504  {
505  std::size_t searchIndex = 0;
506  std::size_t indexEnd = 0;
507  while (std::string_view::npos != (indexEnd = from.find_first_of('\0', searchIndex))) {
508  if (indexEnd + 1 == from.size()) {
509  return from;
510  }
511  if (from[indexEnd + 1] == '\0') {
512  searchIndex = indexEnd + 2;
513  } else {
514  return from.substr(0, indexEnd + 1);
515  }
516  }
517  //didn't find an unpaired '\0'
518  return {};
519 }

◆ decode_vpset_extent()

std::optional< std::string_view > edm::decode_vpset_extent ( std::string_view  from)

Definition at line 1275 of file types.cc.

References decode_pset_extent().

Referenced by edm::Entry::bounds().

1275  {
1276  if (from.size() < 2) {
1277  return {};
1278  }
1279  if (from.front() != '{') {
1280  return {};
1281  }
1282  if (from[1] == '}') {
1283  return from.substr(0, 2);
1284  }
1285  if (from.size() < 3) {
1286  return {};
1287  }
1288  auto remaining = from.substr(1);
1289  while (not remaining.empty()) {
1290  auto extent = decode_pset_extent(remaining);
1291  if (not extent) {
1292  return {};
1293  }
1294  remaining.remove_prefix(extent->size());
1295  if (remaining.empty())
1296  return {};
1297  if (remaining.front() == '}') {
1298  return from.substr(0, from.size() - remaining.size() + 1);
1299  }
1300  if (remaining.front() == ',') {
1301  remaining = remaining.substr(1);
1302  } else {
1303  return {};
1304  }
1305  }
1306  return {};
1307 }
std::optional< std::string_view > decode_pset_extent(std::string_view from)
Definition: types.cc:1207

◆ decode_vstring_extent()

std::optional< std::string_view > edm::decode_vstring_extent ( std::string_view  from)

Definition at line 1060 of file types.cc.

References decode_string_extent().

Referenced by edm::Entry::bounds().

1060  {
1061  if (from.size() < 2) {
1062  return {};
1063  }
1064  if (from.front() != '{') {
1065  return {};
1066  }
1067  if (from[1] == '}') {
1068  return from.substr(0, 2);
1069  }
1070  if (from.size() < 3) {
1071  return {};
1072  }
1073  if (from[1] != '\0') {
1074  return {};
1075  }
1076  auto remaining = from.substr(2);
1077  while (not remaining.empty()) {
1078  auto strng = decode_string_extent(remaining);
1079  if (not strng) {
1080  return {};
1081  }
1082  remaining = remaining.substr(strng->size());
1083  if (remaining.empty())
1084  return {};
1085  if (remaining.front() == '}') {
1086  return from.substr(0, from.size() - remaining.size() + 1);
1087  }
1088  if (remaining.front() == ',') {
1089  remaining = remaining.substr(1);
1090  } else {
1091  return {};
1092  }
1093  }
1094  return {};
1095 }
std::optional< std::string_view > decode_string_extent(std::string_view from)
Definition: types.cc:504

◆ defaultCmsRunServices()

std::vector< std::string > edm::defaultCmsRunServices ( )

Definition at line 19 of file defaultCmsRunServices.cc.

19  {
20  std::vector<std::string> returnValue = {"MessageLogger",
21  "InitRootHandlers",
22  "UnixSignalService",
23  "AdaptorConfig",
24  "SiteLocalConfigService",
25  "StatisticsSenderService",
26  "ResourceInformationService",
27  "CPU",
28  "CondorStatusService",
29  "XrdStatisticsService",
30  "AsyncService"};
31 
32  return returnValue;
33  }

◆ defaultModuleLabel()

std::string edm::defaultModuleLabel ( std::string  label)

Definition at line 6 of file defaultModuleLabel.cc.

References DummyCfis::c, spr::find(), mps_fire::i, label, and MatrixUtil::remove().

Referenced by edm::ConfigurationDescriptions::addWithDefaultLabel().

6  {
7  // remove all colons (module type may contain namespace)
8  label.erase(std::remove(label.begin(), label.end(), ':'), label.end());
9 
10  // remove everything after first '@' (used for module alternatives)
11  label.erase(std::find(label.begin(), label.end(), '@'), label.end());
12 
13  // the following code originates from HLTrigger/HLTcore/interface/defaultModuleLabel.h
14  // if the label is all uppercase, change it to all lowercase
15  // if the label starts with more than one uppercase letter, change n-1 to lowercase
16  // otherwise, change the first letter to lowercase
17  unsigned int ups = 0;
18  for (char c : label)
19  if (std::isupper(c))
20  ++ups;
21  else
22  break;
23  if (ups > 1 and ups != label.size())
24  --ups;
25  for (unsigned int i = 0; i < ups; ++i)
26  label[i] = std::tolower(label[i]);
27 
28  return label;
29  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
char const * label
def remove(d, key, TELL=False)
Definition: MatrixUtil.py:234

◆ disableAllSigs()

void edm::disableAllSigs ( sigset_t *  oldset)

Definition at line 38 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

Referenced by installCustomHandler().

38  {
39  sigset_t myset;
40  // all blocked for now
41  MUST_BE_ZERO(sigfillset(&myset));
42  MUST_BE_ZERO(pthread_sigmask(SIG_SETMASK, &myset, oldset));
43  }
#define MUST_BE_ZERO(fun)

◆ DisableLoggedErrorsSummary()

bool edm::DisableLoggedErrorsSummary ( )

Definition at line 156 of file MessageSender.cc.

References errorSummaryIsBeingKept, and runTheMatrix::ret.

Referenced by edm::LogErrorHarvester::endJob(), and HLTLogMonitorFilter::endJob().

156  {
157  bool ret = errorSummaryIsBeingKept.exchange(false, std::memory_order_acq_rel);
158  return ret;
159  }
ret
prodAgent to be discontinued
static std::atomic< bool > errorSummaryIsBeingKept

◆ disableRTSigs()

void edm::disableRTSigs ( )

Definition at line 47 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO, and EgammaValidation_cff::num.

Referenced by installCustomHandler().

47  {
48 #if defined(__linux__)
49  // ignore all the RT signals
50  sigset_t myset;
51  MUST_BE_ZERO(sigemptyset(&myset));
52 
53  struct sigaction tmpact;
54  memset(&tmpact, 0, sizeof(tmpact));
55  tmpact.sa_handler = SIG_IGN;
56 
57  for (int num = SIGRTMIN; num <= SIGRTMAX; ++num) {
58  // signal 38 is used by Intel Amplifier
59  if (num == 38)
60  continue;
61 
62  MUST_BE_ZERO(sigaddset(&myset, num));
63  MUST_BE_ZERO(sigaction(num, &tmpact, nullptr));
64  }
65 
66  MUST_BE_ZERO(pthread_sigmask(SIG_BLOCK, &myset, nullptr));
67 #endif
68  }
#define MUST_BE_ZERO(fun)

◆ disableSignal()

void edm::disableSignal ( sigset_t *  newset,
int  signum 
)

Definition at line 86 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

86  {
87  // disable the specified signal
88  MUST_BE_ZERO(sigdelset(newset, signum));
89  }
#define MUST_BE_ZERO(fun)

◆ distinct() [1/2]

bool edm::distinct ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 68 of file LuminosityBlockRange.cc.

References lessThan(), and mathSSE::lh.

68  {
69  return lessThan(lh, rh) || lessThan(rh, lh);
70  }
bool int lh
Definition: SIMDVec.h:27

◆ distinct() [2/2]

bool edm::distinct ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 69 of file EventRange.cc.

References cms::cuda::assert(), lessThan(), mathSSE::lh, and edm::EventRange::startLumi().

Referenced by overlaps(), and cond::persistency::Query< Types... >::Query().

69  {
70  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
71  return lessThan(lh, rh) || lessThan(rh, lh);
72  }
bool int lh
Definition: SIMDVec.h:27
assert(be >=bs)

◆ dumpOptionsToLogFile()

void edm::dumpOptionsToLogFile ( unsigned int  nThreads,
unsigned int  nStreams,
unsigned int  nConcurrentLumis,
unsigned int  nConcurrentRuns 
)

Definition at line 184 of file validateTopLevelParameterSets.cc.

References ConfigBuilder::nConcurrentLumis, ConfigBuilder::nStreams, and ConfigBuilder::nThreads.

Referenced by edm::EventProcessor::init().

187  {
188  LogAbsolute("Options") << "Number of Threads = " << nThreads << "\nNumber of Streams = " << nStreams
189  << "\nNumber of Concurrent Lumis = " << nConcurrentLumis
190  << "\nNumber of Concurrent Runs = " << nConcurrentRuns;
191  }
Log< level::System, true > LogAbsolute

◆ edmModuleType()

const char * edm::edmModuleType ( edm::ModuleDescription const &  module)

Definition at line 31 of file EDMModuleType.cc.

References edmModuleTypeEnum(), and module_type_desc.

31  {
32  return module_type_desc[static_cast<std::underlying_type_t<EDMModuleType>>(edmModuleTypeEnum(module))];
33  }
constexpr const char * module_type_desc[]
Definition: EDMModuleType.h:19
EDMModuleType edmModuleTypeEnum(edm::ModuleDescription const &module)

◆ edmModuleTypeEnum()

EDMModuleType edm::edmModuleTypeEnum ( edm::ModuleDescription const &  module)

Definition at line 10 of file EDMModuleType.cc.

References edm::pset::Registry::instance(), kEDAnalyzer, kEDFilter, kEDProducer, kESProducer, kESSource, kOutputModule, kSource, kUnknown, module_type_desc, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, and findQualityFiles::v.

Referenced by edmModuleType(), DependencyGraph::edmModuleType(), and ProcessCallGraph::preBeginJob().

10  {
11  auto const& registry = *edm::pset::Registry::instance();
12  auto const& pset = *registry.getMapped(module.parameterSetID());
13 
14  if (not pset.existsAs<std::string>("@module_edm_type"))
16 
17  std::string const& t = pset.getParameter<std::string>("@module_edm_type");
19  EDMModuleType::kESSource,
20  EDMModuleType::kESProducer,
21  EDMModuleType::kEDAnalyzer,
22  EDMModuleType::kEDProducer,
23  EDMModuleType::kEDFilter,
24  EDMModuleType::kOutputModule}) {
25  if (t == module_type_desc[static_cast<std::underlying_type_t<EDMModuleType>>(v)])
26  return v;
27  }
29  }
EDMModuleType
Definition: EDMModuleType.h:8
constexpr const char * module_type_desc[]
Definition: EDMModuleType.h:19
static const char *const kSource
static Registry * instance()
Definition: Registry.cc:12

◆ edmodule_mightGet_config()

void edm::edmodule_mightGet_config ( ConfigurationDescriptions iDesc)

Definition at line 36 of file edmodule_mightGet_config.cc.

References edm::ParameterSetDescription::addOptionalUntracked(), edm::ConfigurationDescriptions::defaultDescription(), edm::ParameterSetDescription::isLabelUnused(), kComment, kMightGet(), and findQualityFiles::v.

Referenced by edm::stream::EDAnalyzerBase::prevalidate(), edm::stream::EDFilterBase::prevalidate(), edm::global::EDAnalyzerBase::prevalidate(), edm::limited::EDAnalyzerBase::prevalidate(), edm::one::EDAnalyzerBase::prevalidate(), edm::stream::EDProducerBase::prevalidate(), edm::one::EDProducerBase::prevalidate(), edm::one::EDFilterBase::prevalidate(), edm::limited::EDFilterBase::prevalidate(), edm::global::EDFilterBase::prevalidate(), edm::global::EDProducerBase::prevalidate(), and edm::limited::EDProducerBase::prevalidate().

36  {
37  //NOTE: by not giving a default, we are intentionally not having 'mightGet' added
38  // to any cfi files. This was done intentionally to avoid problems with HLT. If requested,
39  // the appropriate default would be an empty vector.
40  if (iDesc.defaultDescription()) {
41  if (iDesc.defaultDescription()->isLabelUnused(kMightGet)) {
42  iDesc.defaultDescription()->addOptionalUntracked<std::vector<std::string> >(kMightGet)->setComment(kComment);
43  }
44  }
45  for (auto& v : iDesc) {
46  if (v.second.isLabelUnused(kMightGet)) {
47  v.second.addOptionalUntracked<std::vector<std::string> >(kMightGet)->setComment(kComment);
48  }
49  }
50  }
static const char *const kComment
static const std::string kMightGet("mightGet")

◆ EnableLoggedErrorsSummary()

bool edm::EnableLoggedErrorsSummary ( )

Definition at line 151 of file MessageSender.cc.

References errorSummaryIsBeingKept, and runTheMatrix::ret.

Referenced by edm::LogErrorHarvester::beginJob(), and HLTLogMonitorFilter::beginJob().

151  {
152  bool ret = errorSummaryIsBeingKept.exchange(true, std::memory_order_acq_rel);
153  return ret;
154  }
ret
prodAgent to be discontinued
static std::atomic< bool > errorSummaryIsBeingKept

◆ enableSignal()

void edm::enableSignal ( sigset_t *  newset,
int  signum 
)

Definition at line 79 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

79  {
80  // enable the specified signal
81  MUST_BE_ZERO(sigaddset(newset, signum));
82  }
#define MUST_BE_ZERO(fun)

◆ encode() [1/29]

bool edm::encode ( std::string &  to,
bool  from 
)

Definition at line 86 of file types.cc.

Referenced by encode(), encode_element(), and edm::Entry::Entry().

86  {
87  to = from ? "true" : "false";
88  return true;
89 } // encode from bool

◆ encode() [2/29]

bool edm::encode ( std::string &  to,
std::vector< bool > const &  from 
)

Definition at line 110 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

110  {
111  to = "{";
112 
114  for (std::vector<bool>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
115  if (!encode(converted, *b)) {
116  return false;
117  }
118  if (b != from.begin()) {
119  to += ",";
120  }
121  to += converted;
122  }
123  to += '}';
124  return true;
125 } // encode from vector<bool>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode() [3/29]

bool edm::encode ( std::string &  to,
int  from 
)

Definition at line 153 of file types.cc.

153  {
154  bool is_negative = (from < 0);
155  if (is_negative) {
156  from = -from; // TODO: work around this for most negative integer
157  }
158  to.clear();
159  do {
160  to = static_cast<char>(from % 10 + '0') + to;
161  from /= 10;
162  } while (from > 0);
163  to = (is_negative ? '-' : '+') + to;
164 
165  return true;
166 } // encode from int

◆ encode() [4/29]

bool edm::encode ( std::string &  to,
std::vector< int > const &  from 
)

Definition at line 229 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

229  {
230  to = "{";
231 
233  for (std::vector<int>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
234  if (!encode(converted, *b)) {
235  return false;
236  }
237 
238  if (b != from.begin()) {
239  to += ",";
240  }
241  to += converted;
242  }
243 
244  to += '}';
245  return true;
246 } // encode from vector<int>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode() [5/29]

bool edm::encode ( std::string &  to,
unsigned int  from 
)

Definition at line 311 of file types.cc.

311  {
312  to.clear();
313  do {
314  to = static_cast<char>(from % 10 + '0') + to;
315  from /= 10u;
316  } while (from > 0u);
317 
318  return true;
319 } // encode from unsigned

◆ encode() [6/29]

bool edm::encode ( std::string &  to,
std::vector< unsigned int > const &  from 
)

Definition at line 371 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

371  {
372  to = "{";
373 
375  for (std::vector<unsigned int>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
376  if (!encode(converted, *b)) {
377  return false;
378  }
379  if (b != from.begin()) {
380  to += ",";
381  }
382  to += converted;
383  }
384 
385  to += '}';
386  return true;
387 } // encode from vector<unsigned int>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode() [7/29]

bool edm::encode ( std::string &  to,
long long  from 
)

Definition at line 194 of file types.cc.

194  {
195  bool is_negative = (from < 0);
196  if (is_negative) {
197  from = -from; // TODO: work around this for most negative integer
198  }
199 
200  to.clear();
201  do {
202  to = static_cast<char>(from % 10 + '0') + to;
203  from /= 10;
204  } while (from > 0);
205  to = (is_negative ? '-' : '+') + to;
206 
207  return true;
208 } // encode from int

◆ encode() [8/29]

bool edm::encode ( std::string &  to,
std::vector< long long > const &  from 
)

Definition at line 272 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

272  {
273  to = "{";
274 
276  for (std::vector<long long>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
277  if (!encode(converted, *b)) {
278  return false;
279  }
280  if (b != from.begin()) {
281  to += ",";
282  }
283  to += converted;
284  }
285  to += '}';
286  return true;
287 } // encode from vector<int>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode() [9/29]

bool edm::encode ( std::string &  to,
unsigned long long  from 
)

Definition at line 342 of file types.cc.

342  {
343  to.clear();
344  do {
345  to = static_cast<char>(from % 10 + '0') + to;
346  from /= 10u;
347  } while (from > 0u);
348 
349  return true;
350 } // encode from unsigned

◆ encode() [10/29]

bool edm::encode ( std::string &  to,
std::vector< unsigned long long > const &  from 
)

Definition at line 408 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

408  {
409  to = "{";
410 
412  for (std::vector<unsigned long long>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
413  if (!encode(converted, *b)) {
414  return false;
415  }
416 
417  if (b != from.begin()) {
418  to += ",";
419  }
420  to += converted;
421  }
422 
423  to += '}';
424  return true;
425 } // encode from vector<unsigned int>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode() [11/29]

bool edm::encode ( std::string &  to,
double  from 
)

Definition at line 456 of file types.cc.

456  {
457  std::ostringstream ost;
458  ost.precision(std::numeric_limits<double>::max_digits10);
459  ost << from;
460  if (!ost)
461  return false;
462  to = ost.str();
463  return true;
464 }

◆ encode() [12/29]

bool edm::encode ( std::string &  to,
std::vector< double > const &  from 
)

Definition at line 484 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

484  {
485  to = "{";
486 
488  for (std::vector<double>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
489  if (!encode(converted, *b))
490  return false;
491 
492  if (b != from.begin())
493  to += ",";
494  to += converted;
495  }
496 
497  to += '}';
498  return true;
499 } // encode from vector<double>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode() [13/29]

bool edm::encode ( std::string &  to,
std::string const &  from 
)

Definition at line 908 of file types.cc.

908  {
909  to = from;
910  //need to escape any nulls by making them pairs
911  std::size_t lastFound = 0;
912  while (std::string::npos != (lastFound = to.find_first_of('\0', lastFound))) {
913  to.insert(lastFound, 1, '\0');
914  lastFound += 2;
915  }
916  to += '\0';
917  return true;
918 }

◆ encode() [14/29]

bool edm::encode ( std::string &  to,
std::vector< std::string > const &  from 
)

Definition at line 1143 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode_element(), and AlCaHLTBitMon_QueryRunRegistry::string.

1143  {
1144  to = "{";
1145 
1146  //special cases
1147  // empty vector : "{}"
1148  // vector with one empty element: "{\0\0}"
1149  // vector with one '}' element: "{\0}\0}"
1150  // vector with two '}' elements: "{\0}\0,}\0}"
1151  //needed to tell an empty vector from one with the first string being "}"
1152  if (not from.empty()) {
1153  to += '\0';
1154  }
1156  for (std::vector<std::string>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1157  if (!encode_element(converted, *b)) {
1158  return false;
1159  }
1160 
1161  if (b != from.begin())
1162  to += ",";
1163  to += converted;
1164  }
1165 
1166  to += '}';
1167  return true;
1168 } // encode from vector<string>
bool encode_element(std::string &, std::string const &)
Definition: types.cc:1170
double b
Definition: hdecay.h:120

◆ encode() [15/29]

bool edm::encode ( std::string &  to,
edm::FileInPath const &  from 
)

Definition at line 590 of file types.cc.

590  {
591  std::ostringstream ost;
592  ost << from;
593  if (!ost)
594  return false;
595  to = ost.str();
596  return true;
597 }

◆ encode() [16/29]

bool edm::encode ( std::string &  to,
edm::InputTag const &  from 
)

Definition at line 608 of file types.cc.

References edm::InputTag::encode().

608  {
609  to = from.encode();
610  return true;
611 }

◆ encode() [17/29]

bool edm::encode ( std::string &  to,
std::vector< edm::InputTag > const &  from 
)

Definition at line 629 of file types.cc.

References encode(), and makeListRunsInFiles::strings.

629  {
630  std::vector<std::string> strings;
631  for (std::vector<InputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end(); tagItr != tagItrEnd;
632  ++tagItr) {
633  strings.push_back(tagItr->encode());
634  }
635  encode(to, strings);
636  return true;
637 }
def encode(args, files)

◆ encode() [18/29]

bool edm::encode ( std::string &  to,
edm::ESInputTag const &  from 
)

Definition at line 652 of file types.cc.

References edm::ESInputTag::encode().

652  {
653  to = from.encode();
654  if (not to.empty() and to.back() == ':') {
655  to.pop_back();
656  }
657  return true;
658 }

◆ encode() [19/29]

bool edm::encode ( std::string &  to,
std::vector< edm::ESInputTag > const &  from 
)

Definition at line 676 of file types.cc.

References encode(), and makeListRunsInFiles::strings.

676  {
677  std::vector<std::string> strings;
678  for (std::vector<ESInputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end(); tagItr != tagItrEnd;
679  ++tagItr) {
680  strings.push_back(tagItr->encode());
681  }
682  encode(to, strings);
683  return true;
684 }
def encode(args, files)

◆ encode() [20/29]

bool edm::encode ( std::string &  to,
edm::EventID const &  from 
)

Definition at line 701 of file types.cc.

References edm::EventID::event(), edm::EventID::luminosityBlock(), l1tGTMenu_BTagSeeds_cff::os, edm::EventID::run(), and mitigatedMETSequence_cff::U.

701  {
702  std::ostringstream os;
703  if (from.luminosityBlock() == 0U) {
704  os << from.run() << ":" << from.event();
705  } else {
706  os << from.run() << ":" << from.luminosityBlock() << ":" << from.event();
707  }
708  to = os.str();
709  return true;
710 }

◆ encode() [21/29]

bool edm::encode ( std::string &  to,
std::vector< edm::EventID > const &  from 
)

Definition at line 730 of file types.cc.

References encode(), AlCaHLTBitMon_QueryRunRegistry::string, and makeListRunsInFiles::strings.

730  {
731  std::vector<std::string> strings;
732  for (std::vector<edm::EventID>::const_iterator idItr = from.begin(), idItrEnd = from.end(); idItr != idItrEnd;
733  ++idItr) {
734  std::string encodedEventID;
735  encode(encodedEventID, *idItr);
736  strings.push_back(encodedEventID);
737  }
738  encode(to, strings);
739  return true;
740 }
def encode(args, files)

◆ encode() [22/29]

bool edm::encode ( std::string &  to,
edm::LuminosityBlockID const &  from 
)

Definition at line 755 of file types.cc.

References edm::LuminosityBlockID::luminosityBlock(), l1tGTMenu_BTagSeeds_cff::os, and edm::LuminosityBlockID::run().

755  {
756  std::ostringstream os;
757  os << from.run() << ":" << from.luminosityBlock();
758  to = os.str();
759  return true;
760 }

◆ encode() [23/29]

bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockID > const &  from 
)

Definition at line 780 of file types.cc.

References encode(), AlCaHLTBitMon_QueryRunRegistry::string, and makeListRunsInFiles::strings.

780  {
781  std::vector<std::string> strings;
782  for (std::vector<edm::LuminosityBlockID>::const_iterator idItr = from.begin(), idItrEnd = from.end();
783  idItr != idItrEnd;
784  ++idItr) {
785  std::string encodedLuminosityBlockID;
786  encode(encodedLuminosityBlockID, *idItr);
787  strings.push_back(encodedLuminosityBlockID);
788  }
789  encode(to, strings);
790  return true;
791 }
def encode(args, files)

◆ encode() [24/29]

bool edm::encode ( std::string &  to,
edm::LuminosityBlockRange const &  from 
)

Definition at line 808 of file types.cc.

References edm::LuminosityBlockRange::endLumi(), edm::LuminosityBlockRange::endRun(), l1tGTMenu_BTagSeeds_cff::os, edm::LuminosityBlockRange::startLumi(), and edm::LuminosityBlockRange::startRun().

808  {
809  std::ostringstream os;
810  os << from.startRun() << ":" << from.startLumi() << "-" << from.endRun() << ":" << from.endLumi();
811  to = os.str();
812  return true;
813 }

◆ encode() [25/29]

bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockRange > const &  from 
)

Definition at line 833 of file types.cc.

References encode(), AlCaHLTBitMon_QueryRunRegistry::string, and makeListRunsInFiles::strings.

833  {
834  std::vector<std::string> strings;
835  for (std::vector<edm::LuminosityBlockRange>::const_iterator idItr = from.begin(), idItrEnd = from.end();
836  idItr != idItrEnd;
837  ++idItr) {
838  std::string encodedLuminosityBlockRange;
839  encode(encodedLuminosityBlockRange, *idItr);
840  strings.push_back(encodedLuminosityBlockRange);
841  }
842  encode(to, strings);
843  return true;
844 }
def encode(args, files)

◆ encode() [26/29]

bool edm::encode ( std::string &  to,
edm::EventRange const &  from 
)

Definition at line 863 of file types.cc.

References cms::cuda::assert(), edm::EventRange::endEvent(), edm::EventRange::endLumi(), edm::EventRange::endRun(), l1tGTMenu_BTagSeeds_cff::os, edm::EventRange::startEvent(), edm::EventRange::startLumi(), and edm::EventRange::startRun().

863  {
864  std::ostringstream os;
865  if (from.startLumi() == 0) {
866  assert(from.endLumi() == 0);
867  os << from.startRun() << ":" << from.startEvent() << "-" << from.endRun() << ":" << from.endEvent();
868  } else {
869  assert(from.endLumi() != 0);
870  os << from.startRun() << ":" << from.startLumi() << ":" << from.startEvent() << "-" << from.endRun() << ":"
871  << from.endLumi() << ":" << from.endEvent();
872  }
873  to = os.str();
874  return true;
875 }
assert(be >=bs)

◆ encode() [27/29]

bool edm::encode ( std::string &  to,
std::vector< edm::EventRange > const &  from 
)

Definition at line 895 of file types.cc.

References encode(), AlCaHLTBitMon_QueryRunRegistry::string, and makeListRunsInFiles::strings.

895  {
896  std::vector<std::string> strings;
897  for (std::vector<edm::EventRange>::const_iterator idItr = from.begin(), idItrEnd = from.end(); idItr != idItrEnd;
898  ++idItr) {
899  std::string encodedEventRange;
900  encode(encodedEventRange, *idItr);
901  strings.push_back(encodedEventRange);
902  }
903  encode(to, strings);
904  return true;
905 }
def encode(args, files)

◆ encode() [28/29]

bool edm::encode ( std::string &  to,
ParameterSet const &  from 
)

Definition at line 1200 of file types.cc.

References edm::ParameterSet::toString().

1200  {
1201  to = from.toString();
1202  return true;
1203 } // encode from ParameterSet

◆ encode() [29/29]

bool edm::encode ( std::string &  to,
std::vector< ParameterSet > const &  from 
)

Definition at line 1256 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

1256  {
1257  to = "{";
1258 
1260  for (std::vector<ParameterSet>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1261  if (!encode(converted, *b)) {
1262  return false;
1263  }
1264  if (b != from.begin()) {
1265  to += ",";
1266  }
1267  to += converted;
1268  }
1269  to += '}';
1270  return true;
1271 } // encode from vector<ParameterSet>
double b
Definition: hdecay.h:120
def encode(args, files)

◆ encode_deprecated() [1/2]

bool edm::encode_deprecated ( std::string &  to,
std::string const &  from 
)

Definition at line 920 of file types.cc.

References append_hex_rep(), b, MillePedeFileConverter_cfg::e, from_hex(), and NONE.

Referenced by encode_deprecated().

920  {
921  std::string::const_iterator b = from.begin(), e = from.end();
922 
923  enum escape_state { NONE, BACKSLASH, HEX, HEX1, OCT1, OCT2 };
924 
925  escape_state state = NONE;
926  int code = 0;
927  to = "";
928  for (; b != e; ++b) {
929  /*std::cerr << "State: " << state << "; char = " << *b << '\n'; //DEBUG*/
930  switch (state) {
931  case NONE: {
932  if (*b == '\\')
933  state = BACKSLASH;
934  else
935  append_hex_rep(to, *b);
936  /*std::cerr << "To: |" << to << "|\n"; //DEBUG*/
937  break;
938  }
939  case BACKSLASH: {
940  code = 0;
941  switch (*b) {
942  case 'x':
943  case 'X': {
944  state = HEX;
945  break;
946  }
947  case '0':
948  case '1':
949  case '2':
950  case '3':
951  case '4':
952  case '5':
953  case '6':
954  case '7': {
955  code = 8 * code + from_hex(*b);
956  state = OCT1;
957  break;
958  }
959  case 'n': {
960  append_hex_rep(to, 10);
961  state = NONE;
962  break;
963  }
964  case 't': {
965  append_hex_rep(to, 9);
966  state = NONE;
967  break;
968  }
969  default: {
970  append_hex_rep(to, *b);
971  state = NONE;
972  break;
973  }
974  }
975  break;
976  }
977  case HEX: {
978  to += *b;
979  state = HEX1;
980  break;
981  }
982  case HEX1: {
983  to += *b;
984  state = NONE;
985  break;
986  }
987  case OCT1: {
988  switch (*b) {
989  case '0':
990  case '1':
991  case '2':
992  case '3':
993  case '4':
994  case '5':
995  case '6':
996  case '7': {
997  code = 8 * code + from_hex(*b);
998  state = OCT2;
999  break;
1000  }
1001  default: {
1002  append_hex_rep(to, code);
1003  state = NONE;
1004  break;
1005  }
1006  }
1007  break;
1008  }
1009  case OCT2: {
1010  switch (*b) {
1011  case '0':
1012  case '1':
1013  case '2':
1014  case '3':
1015  case '4':
1016  case '5':
1017  case '6':
1018  case '7': {
1019  code = 8 * code + from_hex(*b);
1020  break;
1021  }
1022  default: {
1023  append_hex_rep(to, code);
1024  break;
1025  }
1026  }
1027  state = NONE;
1028  break;
1029  }
1030  default: {
1031  throw std::logic_error("can't happen");
1032  break;
1033  }
1034  }
1035  } // for
1036 
1037  return true;
1038 } // encode from String
static unsigned int from_hex(char c)
Definition: types.cc:31
static void append_hex_rep(std::string &s, unsigned int c)
Definition: types.cc:63
double b
Definition: hdecay.h:120
Definition: TkAlStyle.h:43

◆ encode_deprecated() [2/2]

bool edm::encode_deprecated ( std::string &  to,
std::vector< std::string > const &  from 
)

Definition at line 1172 of file types.cc.

References b, fileCollector2::converted, MillePedeFileConverter_cfg::e, encode_deprecated(), and AlCaHLTBitMon_QueryRunRegistry::string.

1172  {
1173  to = "{";
1174 
1176  for (std::vector<std::string>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1177  if (!encode_deprecated(converted, *b)) {
1178  return false;
1179  }
1180 
1181  if (b != from.begin())
1182  to += ",";
1183  to += converted;
1184  }
1185 
1186  to += '}';
1187  return true;
1188 } // encode from vector<string>
bool encode_deprecated(std::string &, std::string const &)
Definition: types.cc:920
double b
Definition: hdecay.h:120

◆ encode_element()

bool edm::encode_element ( std::string &  to,
std::string const &  from 
)

Definition at line 1170 of file types.cc.

References encode().

Referenced by encode().

1170 { return encode(to, from); }
def encode(args, files)

◆ endGlobalTransitionAsync()

template<typename Traits >
void edm::endGlobalTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
typename Traits::TransitionInfoType &  transitionInfo,
ServiceToken const &  token,
std::vector< SubProcess > &  iSubProcesses,
bool  cleaningUpAfterException 
)

Definition at line 115 of file globalTransitionAsync.h.

References edm::waiting_task::chain::first(), info(), eostools::move(), edm::Schedule::processOneGlobalAsync(), edm::waiting_task::chain::runLast(), subProcessDoGlobalEndTransitionAsync(), edm::waiting_task::chain::then(), and unpackBuffers-CaloStage2::token.

120  {
121  using namespace edm::waiting_task;
122  chain::first([&](auto nextTask) {
123  iSchedule.processOneGlobalAsync<Traits>(std::move(nextTask), transitionInfo, token, cleaningUpAfterException);
124  })
125  // When we are done processing the global for this process,
126  // we need to run the global for all SubProcesses
127  | chain::then([&iSubProcesses, info = transitionInfo, cleaningUpAfterException](std::exception_ptr const* iPtr,
128  auto nextTask) {
129  if (iPtr) {
130  //still run the sub process but pass this exception to the nextTask
131  auto excpt = *iPtr;
132  chain::first([&](auto nextTask) {
133  for (auto& subProcess : iSubProcesses) {
134  subProcessDoGlobalEndTransitionAsync(nextTask, subProcess, info, cleaningUpAfterException);
135  }
136  }) | chain::then([excpt](std::exception_ptr const*, auto nextTask) { nextTask.doneWaiting(excpt); }) |
137  chain::runLast(std::move(nextTask));
138  } else {
139  for (auto& subProcess : iSubProcesses) {
140  subProcessDoGlobalEndTransitionAsync(nextTask, subProcess, info, cleaningUpAfterException);
141  }
142  }
143  }) |
144  chain::runLast(iWait);
145  }
static const TGPicture * info(bool iBackgroundIsBlack)
void subProcessDoGlobalEndTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, LumiTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)
constexpr auto first(F &&iF)
Definition: chain_first.h:260
constexpr auto then(O &&iO)
Definition: chain_first.h:277
auto runLast(edm::WaitingTaskHolder iTask)
Definition: chain_first.h:297
def move(src, dest)
Definition: eostools.py:511

◆ endStreamsTransitionAsync()

template<typename Traits >
void edm::endStreamsTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iNStreams,
typename Traits::TransitionInfoType &  transitionInfo,
ServiceToken const &  iToken,
std::vector< SubProcess > &  iSubProcesses,
bool  cleaningUpAfterException 
)

Definition at line 146 of file streamTransitionAsync.h.

References mps_fire::i.

152  {
153  for (unsigned int i = 0; i < iNStreams; ++i) {
154  endStreamTransitionAsync<Traits>(
155  iWait, iSchedule, i, transitionInfo, iToken, iSubProcesses, cleaningUpAfterException);
156  }
157  }

◆ endStreamTransitionAsync()

template<typename Traits >
void edm::endStreamTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iStreamIndex,
typename Traits::TransitionInfoType &  transitionInfo,
ServiceToken const &  token,
std::vector< SubProcess > &  iSubProcesses,
bool  cleaningUpAfterException 
)

Definition at line 110 of file streamTransitionAsync.h.

References edm::waiting_task::chain::first(), info(), edm::Schedule::processOneStreamAsync(), edm::waiting_task::chain::runLast(), subProcessDoStreamEndTransitionAsync(), edm::waiting_task::chain::then(), and unpackBuffers-CaloStage2::token.

116  {
117  //When we are done processing the stream for this process,
118  // we need to run the stream for all SubProcesses
119  //NOTE: The subprocesses set their own service tokens
120 
121  using namespace edm::waiting_task;
122  chain::first([&](auto nextTask) {
123  iSchedule.processOneStreamAsync<Traits>(nextTask, iStreamIndex, transitionInfo, token, cleaningUpAfterException);
124  }) |
125  chain::then([&iSubProcesses, iStreamIndex, info = transitionInfo, cleaningUpAfterException](
126  std::exception_ptr const* iPtr, auto nextTask) {
127  if (iPtr) {
128  auto excpt = *iPtr;
129  chain::first([&](std::exception_ptr const*, auto nextTask) {
130  for (auto& subProcess : iSubProcesses) {
132  nextTask, subProcess, iStreamIndex, info, cleaningUpAfterException);
133  }
134  }) | chain::then([excpt](std::exception_ptr const*, auto nextTask) { nextTask.doneWaiting(excpt); }) |
135  chain::runLast(nextTask);
136  } else {
137  for (auto& subProcess : iSubProcesses) {
138  subProcessDoStreamEndTransitionAsync(nextTask, subProcess, iStreamIndex, info, cleaningUpAfterException);
139  }
140  }
141  }) |
142  chain::runLast(iWait);
143  }
static const TGPicture * info(bool iBackgroundIsBlack)
constexpr auto first(F &&iF)
Definition: chain_first.h:260
constexpr auto then(O &&iO)
Definition: chain_first.h:277
auto runLast(edm::WaitingTaskHolder iTask)
Definition: chain_first.h:297
void subProcessDoStreamEndTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LumiTransitionInfo const &iTransitionInfo, bool cleaningUpAfterException)

◆ ensureAvailableAccelerators()

void edm::ensureAvailableAccelerators ( edm::ParameterSet const &  parameterSet)

Definition at line 8 of file ensureAvailableAccelerators.cc.

References edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), parameterSet(), and edm::errors::UnavailableAccelerator.

Referenced by edm::EventProcessor::init(), and edm::test::TestProcessor::TestProcessor().

8  {
9  auto const& selectedAccelerators =
10  parameterSet.getUntrackedParameter<std::vector<std::string>>("@selected_accelerators");
11  if (selectedAccelerators.empty()) {
13  ex << "The system has no compute accelerators that match the patterns specified in "
14  "process.options.accelerators:\n";
15  ParameterSet const& optionsPset(parameterSet.getUntrackedParameterSet("options"));
16  auto const& patterns = optionsPset.getUntrackedParameter<std::vector<std::string>>("accelerators");
17  for (auto const& pat : patterns) {
18  ex << " " << pat << "\n";
19  }
20  ex << "\nThe following compute accelerators are available:\n";
21  auto const& availableAccelerators =
22  parameterSet.getUntrackedParameter<std::vector<std::string>>("@available_accelerators");
23  for (auto const& acc : availableAccelerators) {
24  ex << " " << acc << "\n";
25  }
26 
27  throw ex;
28  }
29  }
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
Definition: HeavyIon.h:7
T getUntrackedParameter(std::string const &, T const &) const

◆ ep_sigusr2()

void edm::ep_sigusr2 ( int  ,
siginfo_t *  ,
void *   
)

Definition at line 25 of file UnixSignalHandlers.cc.

References FDEBUG, and shutdown_flag.

Referenced by edm::service::UnixSignalService::UnixSignalService().

25  {
26  FDEBUG(1) << "in sigusr2 handler\n";
27  shutdown_flag.store(true);
28  }
volatile std::atomic< bool > shutdown_flag
#define FDEBUG(lev)
Definition: DebugMacros.h:19

◆ eventProcessBlockIndex()

unsigned int edm::eventProcessBlockIndex ( Event const &  event,
std::string const &  processName 
)

◆ exceptionContext() [1/5]

void edm::exceptionContext ( cms::Exception ex,
ESModuleCallingContext const &  mcc 
)

Definition at line 11 of file exceptionContext.cc.

References cms::Exception::addContext(), edm::ESModuleCallingContext::componentDescription(), edm::ESModuleCallingContext::esmoduleCallingContext(), edm::ESParentContext::kESModule, edm::ESParentContext::kModule, edm::ESModuleCallingContext::kPrefetching, edm::eventsetup::ComponentDescription::label_, edm::ESModuleCallingContext::moduleCallingContext(), edm::ESModuleCallingContext::state(), edm::ESModuleCallingContext::type(), and edm::eventsetup::ComponentDescription::type_.

Referenced by edm::GlobalSchedule::beginJob(), edm::Worker::beginJob(), edm::Worker::beginStream(), edm::eventsetup::ESSourceProductResolverBase::doPrefetchAndSignals(), edm::GlobalSchedule::endJob(), edm::Worker::endJob(), edm::Worker::endStream(), exceptionContext(), edm::GlobalSchedule::handleException(), edm::StreamSchedule::handleException(), edm::Worker::handleExternalWorkException(), edm::eventsetup::CallbackExternalWork< T, TAcquireFunc, TAcquireReturn, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeAcquireTask(), edm::eventsetup::CallbackExternalWork< T, TAcquireFunc, TAcquireReturn, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeExceptionHandlerTask(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), edm::GlobalSchedule::postScheduleSignal(), edm::StreamSchedule::postScheduleSignal(), edm::Worker::prePrefetchSelectionAsync(), edm::GlobalSchedule::preScheduleSignal(), edm::StreamSchedule::preScheduleSignal(), edm::Worker::runAcquire(), and edm::Worker::runModule().

11  {
12  ESModuleCallingContext const* imcc = &mcc;
13  while (true) {
14  std::ostringstream iost;
15  if (imcc->state() == ESModuleCallingContext::State::kPrefetching) {
16  iost << "Prefetching for EventSetup module ";
17  } else {
18  iost << "Calling method for EventSetup module ";
19  }
20  iost << imcc->componentDescription()->type_ << "/'" << imcc->componentDescription()->label_ << "'";
21 
22  ex.addContext(iost.str());
23  if (imcc->type() != ESParentContext::Type::kESModule) {
24  break;
25  }
26  imcc = imcc->esmoduleCallingContext();
27  }
28  if (imcc->type() == ESParentContext::Type::kModule) {
29  edm::exceptionContext(ex, *imcc->moduleCallingContext());
30  }
31  }
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
void addContext(std::string const &context)
Definition: Exception.cc:169

◆ exceptionContext() [2/5]

void edm::exceptionContext ( std::ostream &  os,
GlobalContext const &  gc 
)

Definition at line 81 of file GlobalContext.cc.

References edm::GlobalContext::kAccessInputProcessBlock, edm::GlobalContext::kBeginJob, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginProcessBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndJob, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndProcessBlock, edm::GlobalContext::kEndRun, edm::GlobalContext::kWriteLuminosityBlock, edm::GlobalContext::kWriteProcessBlock, edm::GlobalContext::kWriteRun, edm::GlobalContext::luminosityBlockID(), l1tGTMenu_BTagSeeds_cff::os, edm::LuminosityBlockID::run(), and edm::GlobalContext::transition().

81  {
82  os << "Processing ";
83  switch (gc.transition()) {
84  case GlobalContext::Transition::kBeginJob:
85  os << "begin Job";
86  break;
87  case GlobalContext::Transition::kBeginProcessBlock:
88  os << "begin ProcessBlock";
89  break;
90  case GlobalContext::Transition::kAccessInputProcessBlock:
91  os << "access input ProcessBlock";
92  break;
93  case GlobalContext::Transition::kBeginRun:
94  os << "global begin Run " << RunID(gc.luminosityBlockID().run());
95  break;
96  case GlobalContext::Transition::kBeginLuminosityBlock:
97  os << "global begin LuminosityBlock " << gc.luminosityBlockID();
98  break;
99  case GlobalContext::Transition::kEndLuminosityBlock:
100  os << "global end LuminosityBlock " << gc.luminosityBlockID();
101  break;
102  case GlobalContext::Transition::kEndRun:
103  os << "global end Run " << RunID(gc.luminosityBlockID().run());
104  break;
105  case GlobalContext::Transition::kEndProcessBlock:
106  os << "end ProcessBlock";
107  break;
108  case GlobalContext::Transition::kEndJob:
109  os << "endJob";
110  break;
111  case GlobalContext::Transition::kWriteProcessBlock:
112  os << "write ProcessBlock";
113  break;
114  case GlobalContext::Transition::kWriteRun:
115  os << "write Run " << RunID(gc.luminosityBlockID().run());
116  break;
117  case GlobalContext::Transition::kWriteLuminosityBlock:
118  os << "write LuminosityBlock " << gc.luminosityBlockID();
119  break;
120  }
121  }

◆ exceptionContext() [3/5]

void edm::exceptionContext ( std::ostream &  os,
StreamContext const &  sc 
)

Definition at line 71 of file StreamContext.cc.

References edm::StreamContext::eventID(), edm::StreamContext::kBeginLuminosityBlock, edm::StreamContext::kBeginRun, edm::StreamContext::kBeginStream, edm::StreamContext::kEndLuminosityBlock, edm::StreamContext::kEndRun, edm::StreamContext::kEndStream, edm::StreamContext::kEvent, edm::StreamContext::kInvalid, l1tGTMenu_BTagSeeds_cff::os, writedatasetfile::run, edm::StreamContext::streamID(), and edm::StreamContext::transition().

71  {
72  os << "Processing ";
73  auto id = sc.eventID();
74  switch (sc.transition()) {
75  case StreamContext::Transition::kBeginStream:
76  os << "begin Stream";
77  break;
78  case StreamContext::Transition::kBeginRun:
79  os << "stream begin Run " << RunID(id.run());
80  break;
81  case StreamContext::Transition::kBeginLuminosityBlock:
82  os << "stream begin LuminosityBlock " << LuminosityBlockID(id.run(), id.luminosityBlock());
83  break;
84  case StreamContext::Transition::kEvent:
85  os << "Event " << sc.eventID();
86  break;
87  case StreamContext::Transition::kEndLuminosityBlock:
88  os << "stream end LuminosityBlock " << LuminosityBlockID(id.run(), id.luminosityBlock());
89  break;
90  case StreamContext::Transition::kEndRun:
91  os << "stream end Run " << RunID(id.run());
92  break;
93  case StreamContext::Transition::kEndStream:
94  os << "end Stream";
95  break;
97  os << "Invalid";
98  break;
99  }
100  os << " stream: " << sc.streamID();
101  }

◆ exceptionContext() [4/5]

void edm::exceptionContext ( cms::Exception ex,
GlobalContext const &  globalContext,
char const *  context 
)

Definition at line 123 of file GlobalContext.cc.

References cms::Exception::addContext(), visDQMUpload::context, and exceptionContext().

123  {
124  std::ostringstream ost;
125  if (context && *context != '\0') {
126  ex.addContext(context);
127  }
128  exceptionContext(ost, globalContext);
129  ex.addContext(ost.str());
130  }
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
void addContext(std::string const &context)
Definition: Exception.cc:169

◆ exceptionContext() [5/5]

void edm::exceptionContext ( cms::Exception ex,
ModuleCallingContext const &  mcc 
)

Definition at line 92 of file ModuleCallingContext.cc.

References cms::Exception::addContext(), exceptionContext(), edm::ModuleCallingContext::globalContext(), edm::ModuleCallingContext::internalContext(), edm::ParentContext::kGlobal, edm::ParentContext::kInternal, edm::ParentContext::kModule, edm::ParentContext::kPlaceInPath, edm::ModuleCallingContext::kPrefetching, edm::ParentContext::kStream, edm::InternalContext::moduleCallingContext(), edm::ModuleCallingContext::moduleCallingContext(), edm::ModuleCallingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), or, edm::PlaceInPathContext::pathContext(), edm::PathContext::pathName(), edm::ModuleCallingContext::placeInPathContext(), edm::ModuleCallingContext::state(), edm::PathContext::streamContext(), edm::ModuleCallingContext::streamContext(), and edm::ModuleCallingContext::type().

92  {
93  ModuleCallingContext const* imcc = &mcc;
94  while ((imcc->type() == ParentContext::Type::kModule) or (imcc->type() == ParentContext::Type::kInternal)) {
95  std::ostringstream iost;
96  if (imcc->state() == ModuleCallingContext::State::kPrefetching) {
97  iost << "Prefetching for module ";
98  } else {
99  iost << "Calling method for module ";
100  }
101  iost << imcc->moduleDescription()->moduleName() << "/'" << imcc->moduleDescription()->moduleLabel() << "'";
102 
103  if (imcc->type() == ParentContext::Type::kInternal) {
104  iost << " (probably inside some kind of mixing module)";
105  imcc = imcc->internalContext()->moduleCallingContext();
106  } else {
107  imcc = imcc->moduleCallingContext();
108  }
109  ex.addContext(iost.str());
110  }
111  std::ostringstream ost;
112  if (imcc->state() == ModuleCallingContext::State::kPrefetching) {
113  ost << "Prefetching for module ";
114  } else {
115  ost << "Calling method for module ";
116  }
117  ost << imcc->moduleDescription()->moduleName() << "/'" << imcc->moduleDescription()->moduleLabel() << "'";
118  ex.addContext(ost.str());
119 
120  if (imcc->type() == ParentContext::Type::kPlaceInPath) {
121  ost.str("");
122  ost << "Running path '";
123  ost << imcc->placeInPathContext()->pathContext()->pathName() << "'";
124  ex.addContext(ost.str());
125  auto streamContext = imcc->placeInPathContext()->pathContext()->streamContext();
126  if (streamContext) {
127  ost.str("");
128  edm::exceptionContext(ost, *streamContext);
129  ex.addContext(ost.str());
130  }
131  } else {
132  if (imcc->type() == ParentContext::Type::kStream) {
133  ost.str("");
134  edm::exceptionContext(ost, *(imcc->streamContext()));
135  ex.addContext(ost.str());
136  } else if (imcc->type() == ParentContext::Type::kGlobal) {
137  ost.str("");
138  edm::exceptionContext(ost, *(imcc->globalContext()));
139  ex.addContext(ost.str());
140  }
141  }
142  }
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
void addContext(std::string const &context)
Definition: Exception.cc:169

◆ fillDescriptionFromPSet()

void edm::fillDescriptionFromPSet ( ParameterSet const &  pset,
ParameterSetDescription desc 
)

Definition at line 96 of file FillDescriptionFromPSet.cc.

References submitPVResolutionJobs::desc, mps_splice::entry, eostools::move(), and muonDTDigis_cfi::pset.

Referenced by edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeOneElementToCfi().

96  {
97  ParameterSet::table const& entries = pset.tbl();
98  for (ParameterSet::table::const_iterator entry = entries.begin(), endEntries = entries.end(); entry != endEntries;
99  ++entry) {
100  std::map<edm::ParameterTypes, FillDescriptionFromParameter>::iterator iter =
101  findTheRightFunction().find(static_cast<edm::ParameterTypes>(entry->second.typeCode()));
102  if (iter != findTheRightFunction().end()) {
103  iter->second(pset, entry->first, entry->second.isTracked(), desc);
104  }
105  }
106 
107  ParameterSet::psettable const& pset_entries = pset.psetTable();
108  for (ParameterSet::psettable::const_iterator pset_entry = pset_entries.begin(), endEntries = pset_entries.end();
109  pset_entry != endEntries;
110  ++pset_entry) {
111  edm::ParameterSet nestedPset;
112  if (pset_entry->second.isTracked()) {
113  nestedPset = pset.getParameterSet(pset_entry->first);
114  } else {
115  nestedPset = pset.getUntrackedParameterSet(pset_entry->first);
116  }
117  ParameterSetDescription nestedDescription;
118  fillDescriptionFromPSet(nestedPset, nestedDescription);
119  if (pset_entry->second.isTracked()) {
120  desc.add<edm::ParameterSetDescription>(pset_entry->first, nestedDescription);
121  } else {
122  desc.addUntracked<edm::ParameterSetDescription>(pset_entry->first, nestedDescription);
123  }
124  }
125 
126  ParameterSet::vpsettable const& vpset_entries = pset.vpsetTable();
127  for (ParameterSet::vpsettable::const_iterator vpset_entry = vpset_entries.begin(), endEntries = vpset_entries.end();
128  vpset_entry != endEntries;
129  ++vpset_entry) {
130  std::vector<edm::ParameterSet> nestedVPset;
131  if (vpset_entry->second.isTracked()) {
132  nestedVPset = pset.getParameterSetVector(vpset_entry->first);
133  } else {
134  nestedVPset = pset.getUntrackedParameterSetVector(vpset_entry->first);
135  }
136  ParameterSetDescription emptyDescription;
137 
138  auto pd = std::make_unique<ParameterDescription<std::vector<ParameterSet>>>(
139  vpset_entry->first, emptyDescription, vpset_entry->second.isTracked(), nestedVPset);
140 
141  pd->setPartOfDefaultOfVPSet(true);
142  std::unique_ptr<ParameterDescriptionNode> node(std::move(pd));
143  desc.addNode(std::move(node));
144  }
145  }
void fillDescriptionFromPSet(ParameterSet const &pset, ParameterSetDescription &desc)
def move(src, dest)
Definition: eostools.py:511

◆ fillLooper()

std::shared_ptr<EDLooperBase> edm::fillLooper ( eventsetup::EventSetupsController esController,
eventsetup::EventSetupProvider cp,
ParameterSet params,
std::vector< std::string > const &  loopers 
)

Definition at line 197 of file EventProcessor.cc.

References cms::cuda::assert(), edm::eventsetup::ComponentFactory< T >::get(), and submitPVValidationJobs::params.

Referenced by edm::EventProcessor::init().

200  {
201  std::shared_ptr<EDLooperBase> vLooper;
202 
203  assert(1 == loopers.size());
204 
205  for (auto const& looperName : loopers) {
206  ParameterSet* providerPSet = params.getPSetForUpdate(looperName);
207  // Unlikely we would ever need the ModuleTypeResolver in Looper
208  vLooper = eventsetup::LooperFactory::get()->addTo(esController, cp, *providerPSet, nullptr);
209  }
210  return vLooper;
211  }
assert(be >=bs)
#define get

◆ fillMaxEventsDescription()

void edm::fillMaxEventsDescription ( ParameterSetDescription description)

Definition at line 125 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addWildcardUntracked(), and makeListRunsInFiles::description.

Referenced by validateTopLevelParameterSets().

125  {
126  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
127 
128  ParameterSetDescription nestedDescription;
129  nestedDescription.addWildcardUntracked<int>("*");
130  description.addOptionalNode(ParameterDescription<int>("output", false) xor
131  ParameterDescription<ParameterSetDescription>("output", nestedDescription, false),
132  false);
133  }

◆ fillMaxLuminosityBlocksDescription()

void edm::fillMaxLuminosityBlocksDescription ( ParameterSetDescription description)

Definition at line 135 of file validateTopLevelParameterSets.cc.

References makeListRunsInFiles::description.

Referenced by validateTopLevelParameterSets().

135  {
136  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
137  }

◆ fillMaxSecondsUntilRampdownDescription()

void edm::fillMaxSecondsUntilRampdownDescription ( ParameterSetDescription description)

Definition at line 139 of file validateTopLevelParameterSets.cc.

References makeListRunsInFiles::description.

Referenced by validateTopLevelParameterSets().

139  {
140  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
141  }

◆ fillModuleInPathSummary()

static void edm::fillModuleInPathSummary ( Path const &  path,
size_t  which,
ModuleInPathSummary sum 
)
static

Definition at line 1391 of file StreamSchedule.cc.

References edm::ModuleInPathSummary::bitPosition, edm::ModuleInPathSummary::moduleLabel, EnsembleCalibrationLA_cfg::path, edm::ModuleInPathSummary::timesExcept, edm::ModuleInPathSummary::timesFailed, edm::ModuleInPathSummary::timesPassed, edm::ModuleInPathSummary::timesVisited, and eostools::which().

Referenced by fillPathSummary().

1391  {
1392  sum.timesVisited += path.timesVisited(which);
1393  sum.timesPassed += path.timesPassed(which);
1394  sum.timesFailed += path.timesFailed(which);
1395  sum.timesExcept += path.timesExcept(which);
1396  sum.moduleLabel = path.getWorker(which)->description()->moduleLabel();
1397  sum.bitPosition = path.bitPosition(which);
1398  }
def which(cmd)
Definition: eostools.py:336

◆ fillOptionsDescription()

void edm::fillOptionsDescription ( ParameterSetDescription description)

Definition at line 22 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addWildcardUntracked(), makeListRunsInFiles::description, s_defaultNumberOfThreads, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by validateTopLevelParameterSets().

22  {
23  description.addUntracked<unsigned int>("numberOfThreads", s_defaultNumberOfThreads)
24  ->setComment("If zero, let TBB use its default which is normally the number of CPUs on the machine");
25  description.addUntracked<unsigned int>("numberOfStreams", 0)
26  ->setComment(
27  "If zero, then set the number of streams to be the same as the number of "
28  "Threads (except always 1 if there is a looper)");
29  description.addUntracked<unsigned int>("numberOfConcurrentLuminosityBlocks", 0)
30  ->setComment(
31  "If zero, use Framework default (currently 2 when the number of streams >= 2, otherwise 1). "
32  "In all cases, the number of concurrent luminosity blocks will be reset to "
33  "be the same as the number of streams if it is greater than the "
34  "numbers of streams.");
35  description.addUntracked<unsigned int>("numberOfConcurrentRuns", 1)
36  ->setComment(
37  "If zero or greater than the number of concurrent luminosity blocks, this will be reset to "
38  "be the same as the number of concurrent luminosity blocks.");
39 
40  edm::ParameterSetDescription eventSetupDescription;
41  eventSetupDescription.addUntracked<unsigned int>("numberOfConcurrentIOVs", 0)
42  ->setComment(
43  "If zero, use the Framework default which currently means the same as the "
44  "number of concurrent luminosity blocks. Can be overridden by a hard coded "
45  "static in a record C++ definition or by forceNumberOfConcurrentIOVs. "
46  "In all cases, the number of concurrent IOVs will be reset to be the "
47  "same as the number of concurrent luminosity blocks if greater than the "
48  "number of concurrent luminosity blocks.");
49  edm::ParameterSetDescription nestedDescription;
50  nestedDescription.addWildcardUntracked<unsigned int>("*")->setComment(
51  "Parameter names should be record names and the values are the number of concurrent IOVS for each record."
52  " Overrides all other methods of setting number of concurrent IOVs.");
53  eventSetupDescription.addUntracked<edm::ParameterSetDescription>("forceNumberOfConcurrentIOVs", nestedDescription);
54  description.addUntracked<edm::ParameterSetDescription>("eventSetup", eventSetupDescription);
55 
56  description.addUntracked<std::vector<std::string>>("accelerators", {"*"})
57  ->setComment(
58  "Specify the set of compute accelerator(s) the job is allowed to use. The values can contain the direct "
59  "names of accelerators supported by the ProcessAccelerators defined in the configuration, or patterns "
60  "matching to them (patterns use '*' and '?' wildcards similar to shell). The actual set of accelerators to "
61  "be used is determined on the worker node based on the available hardware. A CPU fallback with the name "
62  "'cpu' is always included in the set of available accelerators. If no accelerator matching to the patterns "
63  "are available on the worker node, the job is terminated with a specific error code. Same happens if an "
64  "empty value is given in the configuration. Default value is pattern '*', which implies use of any "
65  "supported and available hardware (including the CPU fallback).");
66  description.addUntracked<bool>("wantSummary", false)
67  ->setComment("Set true to print a report on the trigger decisions and timing of modules");
68  description.addUntracked<std::string>("fileMode", "FULLMERGE")
69  ->setComment("Legal values are 'NOMERGE' and 'FULLMERGE'");
70  description.addUntracked<bool>("forceEventSetupCacheClearOnNewRun", false);
71  description.addUntracked<bool>("throwIfIllegalParameter", true)
72  ->setComment("Set false to disable exception throws when configuration validation detects illegal parameters");
73  description.addUntracked<bool>("printDependencies", false)->setComment("Print data dependencies between modules");
74  description.addUntracked<bool>("deleteNonConsumedUnscheduledModules", true)
75  ->setComment(
76  "Delete modules that are unscheduled, i.e. only in Tasks, whose products are not consumed by any other "
77  "otherwise-running module");
78 
79  // No default for this one because the parameter value is
80  // actually used in the main function in cmsRun.cpp before
81  // the parameter set is validated here.
82  description.addOptionalUntracked<unsigned int>("sizeOfStackForThreadsInKB");
83 
84  std::vector<std::string> emptyVector;
85 
86  description.addUntracked<std::vector<std::string>>("Rethrow", emptyVector);
87  description.addUntracked<std::vector<std::string>>("TryToContinue", emptyVector);
88  description.addUntracked<std::vector<std::string>>("IgnoreCompletely", emptyVector);
89 
90  description.addUntracked<std::vector<std::string>>("modulesToCallForTryToContinue", emptyVector)
91  ->setComment("Labels of modules which should still be called when an exception in TryToContinue list happens.");
92 
93  description.addUntracked<std::vector<std::string>>("canDeleteEarly", emptyVector)
94  ->setComment("Branch names of products that the Framework can try to delete before the end of the Event");
95 
96  {
98  validator.add<std::string>("product");
99  validator.add<std::vector<std::string>>("references")
100  ->setComment("All the branch names for products to which 'product' contains a reference.");
101  description.addVPSetUntracked("holdsReferencesToDeleteEarly", validator, std::vector<edm::ParameterSet>{})
102  ->setComment(
103  "The 'product' branch name of product which internally hold references to data in another product");
104  }
105  description.addUntracked<std::vector<std::string>>("modulesToIgnoreForDeleteEarly", emptyVector)
106  ->setComment(
107  "labels of modules whose consumes information will be ingored when determing lifetime for delete early "
108  "data products");
109  description.addUntracked<bool>("dumpOptions", false)
110  ->setComment(
111  "Print values of selected Framework parameters. The Framework might modify the values "
112  "in the options parameter set and this prints the values after that modification.");
113 
114  description.addOptionalUntracked<bool>("allowUnscheduled")
115  ->setComment(
116  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
117  description.addOptionalUntracked<std::string>("emptyRunLumiMode")
118  ->setComment(
119  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
120  description.addOptionalUntracked<bool>("makeTriggerResults")
121  ->setComment(
122  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
123  }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
ParameterWildcardBase * addWildcardUntracked(U const &pattern)
constexpr unsigned int s_defaultNumberOfThreads
Definition: ThreadsInfo.h:9
ParameterDescriptionBase * add(U const &iLabel, T const &value)

◆ fillParameterSetBranch()

void edm::fillParameterSetBranch ( TTree *  parameterSetsTree,
int  basketSize 
)

Definition at line 18 of file CommonProvenanceFiller.cc.

References b, edm::poolNames::idToParameterSetBlobsBranchName(), edm::pset::Registry::instance(), and muonDTDigis_cfi::pset.

Referenced by NanoAODOutputModule::reallyCloseFile(), and edm::RootOutputFile::writeParameterSetRegistry().

18  {
19  std::pair<ParameterSetID, ParameterSetBlob> idToBlob;
20  std::pair<ParameterSetID, ParameterSetBlob>* pIdToBlob = &idToBlob;
21  TBranch* b =
22  parameterSetsTree->Branch(poolNames::idToParameterSetBlobsBranchName().c_str(), &pIdToBlob, basketSize, 0);
23 
24  for (auto const& pset : *pset::Registry::instance()) {
25  idToBlob.first = pset.first;
26  idToBlob.second.pset() = pset.second.toString();
27 
28  b->Fill();
29  }
30  }
static PFTauRenderPlugin instance
std::string const & idToParameterSetBlobsBranchName()
Definition: BranchType.cc:218
double b
Definition: hdecay.h:120

◆ fillPathSummary()

static void edm::fillPathSummary ( Path const &  path,
PathSummary sum 
)
static

Definition at line 1400 of file StreamSchedule.cc.

References cms::cuda::assert(), edm::PathSummary::bitPosition, fillModuleInPathSummary(), mps_fire::i, edm::PathSummary::moduleInPathSummaries, edm::PathSummary::name, EnsembleCalibrationLA_cfg::path, groupFilesInBlocks::temp, edm::PathSummary::timesExcept, edm::PathSummary::timesFailed, edm::PathSummary::timesPassed, and edm::PathSummary::timesRun.

Referenced by edm::SystemTimeKeeper::fillTriggerTimingReport(), and edm::StreamSchedule::getTriggerReport().

1400  {
1401  sum.name = path.name();
1402  sum.bitPosition = path.bitPosition();
1403  sum.timesRun += path.timesRun();
1404  sum.timesPassed += path.timesPassed();
1405  sum.timesFailed += path.timesFailed();
1406  sum.timesExcept += path.timesExcept();
1407 
1408  Path::size_type sz = path.size();
1409  if (sum.moduleInPathSummaries.empty()) {
1410  std::vector<ModuleInPathSummary> temp(sz);
1411  for (size_t i = 0; i != sz; ++i) {
1413  }
1414  sum.moduleInPathSummaries.swap(temp);
1415  } else {
1416  assert(sz == sum.moduleInPathSummaries.size());
1417  for (size_t i = 0; i != sz; ++i) {
1418  fillModuleInPathSummary(path, i, sum.moduleInPathSummaries[i]);
1419  }
1420  }
1421  }
static void fillModuleInPathSummary(Path const &path, size_t which, ModuleInPathSummary &sum)
assert(be >=bs)
uint16_t size_type

◆ fillProcessHistoryBranch()

void edm::fillProcessHistoryBranch ( TTree *  metaDataTree,
int  basketSize,
ProcessHistoryRegistry const &  processHistoryRegistry 
)

Definition at line 32 of file CommonProvenanceFiller.cc.

References cms::cuda::assert(), b, AlCaHLTBitMon_ParallelJobs::p, and edm::poolNames::processHistoryBranchName().

Referenced by NanoAODOutputModule::reallyCloseFile(), and edm::RootOutputFile::writeProcessHistoryRegistry().

34  {
35  ProcessHistoryVector procHistoryVector;
36  for (auto const& ph : processHistoryRegistry) {
37  procHistoryVector.push_back(ph.second);
38  }
39  ProcessHistoryVector* p = &procHistoryVector;
40  TBranch* b = metaDataTree->Branch(poolNames::processHistoryBranchName().c_str(), &p, basketSize, 0);
41  assert(b);
42  b->Fill();
43  }
std::vector< ProcessHistory > ProcessHistoryVector
std::string const & processHistoryBranchName()
Definition: BranchType.cc:177
assert(be >=bs)
double b
Definition: hdecay.h:120

◆ fillPtrVector() [1/6]

template<typename T , typename A >
void edm::fillPtrVector ( std::vector< T, A > const &  obj,
std::type_info const &  iToType,
std::vector< unsigned long > const &  iIndicies,
std::vector< void const *> &  oPtr 
)

Definition at line 80 of file fillPtrVector.h.

References getGTfromDQMFile::obj, and edm::detail::reallyfillPtrVector().

83  {
84  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
85  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
Definition: fillPtrVector.h:37

◆ fillPtrVector() [2/6]

template<typename T , typename A >
void edm::fillPtrVector ( std::list< T, A > const &  obj,
std::type_info const &  iToType,
std::vector< unsigned long > const &  iIndicies,
std::vector< void const *> &  oPtr 
)

Definition at line 88 of file fillPtrVector.h.

References getGTfromDQMFile::obj, and edm::detail::reallyfillPtrVector().

91  {
92  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
93  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
Definition: fillPtrVector.h:37

◆ fillPtrVector() [3/6]

template<typename T , typename A >
void edm::fillPtrVector ( std::deque< T, A > const &  obj,
std::type_info const &  iToType,
std::vector< unsigned long > const &  iIndicies,
std::vector< void const *> &  oPtr 
)

Definition at line 96 of file fillPtrVector.h.

References getGTfromDQMFile::obj, and edm::detail::reallyfillPtrVector().

99  {
100  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
101  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
Definition: fillPtrVector.h:37

◆ fillPtrVector() [4/6]

template<typename T , typename A , typename Comp >
void edm::fillPtrVector ( std::set< T, A, Comp > const &  obj,
std::type_info const &  iToType,
std::vector< unsigned long > const &  iIndicies,
std::vector< void const *> &  oPtr 
)

Definition at line 104 of file fillPtrVector.h.

References getGTfromDQMFile::obj, and edm::detail::reallyfillPtrVector().

107  {
108  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
109  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr)
Definition: fillPtrVector.h:37

◆ fillPtrVector() [5/6]

template<typename T , typename SORT >
void edm::fillPtrVector ( SortedCollection< T, SORT > const &  obj,
std::type_info const &  toType,
std::vector< unsigned long > const &  indices,
std::vector< void const *> &  ptrs 
)
inline

Definition at line 394 of file SortedCollection.h.

References dqmdumpme::indices, and getGTfromDQMFile::obj.

397  {
398  obj.fillPtrVector(toType, indices, ptrs);
399  }

◆ fillPtrVector() [6/6]

template<typename T , typename P >
void edm::fillPtrVector ( OwnVector< T, P > const &  obj,
std::type_info const &  toType,
std::vector< unsigned long > const &  indices,
std::vector< void const *> &  ptrs 
)
inline

Definition at line 581 of file OwnVector.h.

References dqmdumpme::indices, and getGTfromDQMFile::obj.

584  {
585  obj.fillPtrVector(toType, indices, ptrs);
586  }

◆ fillView() [1/12]

template<class T , class A >
void edm::fillView ( std::vector< T, A > const &  obj,
ProductID const &  id,
std::vector< void const *> &  ptrs,
FillViewHelperVector helpers 
)

Definition at line 45 of file FillView.h.

References getGTfromDQMFile::obj, and edm::detail::reallyFillView().

48  {
50  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25

◆ fillView() [2/12]

template<class T , class A >
void edm::fillView ( std::list< T, A > const &  obj,
ProductID const &  id,
std::vector< void const *> &  ptrs,
FillViewHelperVector helpers 
)

Definition at line 53 of file FillView.h.

References getGTfromDQMFile::obj, and edm::detail::reallyFillView().

56  {
58  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25

◆ fillView() [3/12]

template<class T , class A >
void edm::fillView ( std::deque< T, A > const &  obj,
ProductID const &  id,
std::vector< void const *> &  ptrs,
FillViewHelperVector helpers 
)

Definition at line 61 of file FillView.h.

References getGTfromDQMFile::obj, and edm::detail::reallyFillView().

64  {
66  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25

◆ fillView() [4/12]

template<class T , class A , class Comp >
void edm::fillView ( std::set< T, A, Comp > const &  obj,
ProductID const &  id,
std::vector< void const *> &  ptrs,
FillViewHelperVector helpers 
)

Definition at line 69 of file FillView.h.

References getGTfromDQMFile::obj, and edm::detail::reallyFillView().

72  {
74  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25

◆ fillView() [5/12]

template<typename C , typename T , typename F >
void edm::fillView ( RefVector< C, T, F > const &  obj,
ProductID const &  id,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 192 of file RefVector.h.

References getGTfromDQMFile::obj.

195  {
196  obj.fillView(id, pointers, helpers);
197  }

◆ fillView() [6/12]

template<typename T >
void edm::fillView ( PtrVector< T > const &  obj,
ProductID const &  ,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 199 of file PtrVector.h.

References getGTfromDQMFile::obj.

202  {
203  obj.fillView(pointers, helpers);
204  }

◆ fillView() [7/12]

template<typename T >
void edm::fillView ( RefToBaseVector< T > const &  obj,
ProductID const &  ,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 204 of file RefToBaseVector.h.

References getGTfromDQMFile::obj.

207  {
208  obj.fillView(pointers, helpers);
209  }

◆ fillView() [8/12]

template<typename T >
void edm::fillView ( std::vector< edm::Ptr< T > > const &  obj,
ProductID const &  id,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 264 of file Ptr.h.

References getGTfromDQMFile::obj, and AlCaHLTBitMon_ParallelJobs::p.

267  {
268  pointers.reserve(obj.size());
269  helpers.reserve(obj.size());
270  for (auto const& p : obj) {
271  if (p.isAvailable()) {
272  pointers.push_back(p.get());
273  } else {
274  pointers.push_back(nullptr);
275  }
276  helpers.emplace_back(p.id(), p.key());
277  }
278  }

◆ fillView() [9/12]

template<typename KeyRefProd , typename CVal , typename KeyRef , typename SizeType , typename KeyReferenceHelper >
void edm::fillView ( AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > const &  obj,
ProductID const &  id,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 290 of file AssociationVector.h.

References getGTfromDQMFile::obj.

Referenced by edm::RefToBaseProd< T >::RefToBaseProd().

293  {
294  obj.fillView(id, pointers, helpers);
295  }

◆ fillView() [10/12]

template<class T >
void edm::fillView ( DetSetVector< T > const &  obj,
ProductID const &  id,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 364 of file DetSetVector.h.

References getGTfromDQMFile::obj.

367  {
368  obj.fillView(id, pointers, helpers);
369  }

◆ fillView() [11/12]

template<typename T , typename SORT >
void edm::fillView ( SortedCollection< T, SORT > const &  obj,
ProductID const &  id,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 377 of file SortedCollection.h.

References getGTfromDQMFile::obj.

380  {
381  obj.fillView(id, pointers, helpers);
382  }

◆ fillView() [12/12]

template<typename T , typename P >
void edm::fillView ( OwnVector< T, P > const &  obj,
ProductID const &  id,
std::vector< void const *> &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 549 of file OwnVector.h.

References getGTfromDQMFile::obj.

552  {
553  obj.fillView(id, pointers, helpers);
554  }

◆ fillWorkerSummary()

static void edm::fillWorkerSummary ( Worker const *  pw,
WorkerSummary sum 
)
static

Definition at line 1432 of file StreamSchedule.cc.

References fillWorkerSummaryAux().

Referenced by edm::StreamSchedule::getTriggerReport().

1432 { fillWorkerSummaryAux(*pw, sum); }
static void fillWorkerSummaryAux(Worker const &w, WorkerSummary &sum)

◆ fillWorkerSummaryAux()

static void edm::fillWorkerSummaryAux ( Worker const &  w,
WorkerSummary sum 
)
static

Definition at line 1423 of file StreamSchedule.cc.

References edm::WorkerSummary::moduleLabel, edm::WorkerSummary::timesExcept, edm::WorkerSummary::timesFailed, edm::WorkerSummary::timesPassed, edm::WorkerSummary::timesRun, edm::WorkerSummary::timesVisited, and w().

Referenced by fillWorkerSummary().

1423  {
1424  sum.timesVisited += w.timesVisited();
1425  sum.timesRun += w.timesRun();
1426  sum.timesPassed += w.timesPassed();
1427  sum.timesFailed += w.timesFailed();
1428  sum.timesExcept += w.timesExcept();
1429  sum.moduleLabel = w.description()->moduleLabel();
1430  }
T w() const

◆ find_if_in_all() [1/2]

template<typename ForwardSequence , typename Predicate >
ForwardSequence::const_iterator edm::find_if_in_all ( ForwardSequence const &  s,
Predicate const &  p 
)
inline

wrappers for std::find

Definition at line 42 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

42  {
43  return std::find_if(s.begin(), s.end(), p);
44  }

◆ find_if_in_all() [2/2]

template<typename ForwardSequence , typename Predicate >
ForwardSequence::iterator edm::find_if_in_all ( ForwardSequence &  s,
Predicate const &  p 
)
inline

Definition at line 47 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

47  {
48  return std::find_if(s.begin(), s.end(), p);
49  }

◆ find_in_all() [1/2]

template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator edm::find_in_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

wrappers for std::find

Definition at line 26 of file Algorithms.h.

References ztail::d, spr::find(), and alignCSCRings::s.

Referenced by edm::RootFile::fillIndexIntoFile(), and edm::BranchIDListHelper::updateFromInput().

26  {
27  return std::find(s.begin(), s.end(), d);
28  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
d
Definition: ztail.py:151

◆ find_in_all() [2/2]

template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator edm::find_in_all ( ForwardSequence &  s,
Datum const &  d 
)
inline

Definition at line 31 of file Algorithms.h.

References ztail::d, spr::find(), and alignCSCRings::s.

31  {
32  return std::find(s.begin(), s.end(), d);
33  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
d
Definition: ztail.py:151

◆ findOrAssert() [1/2]

template<typename Key , typename Value >
Value const& edm::findOrAssert ( std::map< Key, Value > const &  m,
Key const &  k 
)
inline

Definition at line 48 of file Map.h.

References cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, isotrackApplyRegressor::k, and visualization-live-secondInstance_cfg::m.

48  {
49  typename std::map<Key, Value>::const_iterator it = m.find(k);
50  if (it == m.end())
51  assert("findOrAssert" && 0);
52  return it->second;
53  }
assert(be >=bs)

◆ findOrAssert() [2/2]

template<typename Key , typename Value >
Value& edm::findOrAssert ( std::map< Key, Value > &  m,
Key const &  k 
)
inline

Definition at line 56 of file Map.h.

References cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, isotrackApplyRegressor::k, and visualization-live-secondInstance_cfg::m.

56  {
57  typename std::map<Key, Value>::const_iterator it = m.find(k);
58  if (it == m.end())
59  assert("findOrAssert" && 0);
60  return it->second;
61  }
assert(be >=bs)

◆ findOrDefault() [1/3]

template<typename Key , typename Value >
Value const& edm::findOrDefault ( std::map< Key, Value > const &  m,
Key const &  k,
Value const &  defaultValue 
)
inline

◆ findOrDefault() [2/3]

template<typename Key , typename Value >
Value& edm::findOrDefault ( std::map< Key, Value > &  m,
Key const &  k,
Value &  defaultValue 
)
inline

◆ findOrDefault() [3/3]

template<typename Key , typename Value >
Value edm::findOrDefault ( std::map< Key, Value > const &  m,
Key const &  k 
)
inline

Definition at line 39 of file Map.h.

References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, isotrackApplyRegressor::k, and visualization-live-secondInstance_cfg::m.

39  {
40  typename std::map<Key, Value>::const_iterator it = m.find(k);
41  return (it == m.end() ? Value() : it->second);
42  }
U second(std::pair< T, U > const &p)
reco::JetExtendedAssociation::JetExtendedData Value

◆ findOrInsert()

template<typename Key , typename Value >
Value& edm::findOrInsert ( std::map< Key, Value > &  m,
Key const &  k 
)
inline

◆ first()

template<typename T , typename U >
T edm::first ( std::pair< T, U > const &  p)

◆ FlushMessageLog()

void edm::FlushMessageLog ( )

◆ for_all()

template<typename ForwardSequence , typename Func >
Func edm::for_all ( ForwardSequence &  s,
Func  f 
)
inline

wrapper for std::for_each

Function templates that provide wrappers for standard algorithms, avoiding some duplication and assuring that incommensurate iterators are not used.

Definition at line 14 of file Algorithms.h.

References f, and alignCSCRings::s.

Referenced by edm::EventProcessor::beginJob(), edm::ParameterSwitch< T >::checkAndGetLabelsAndTypes_(), edm::Path::clearCounters(), edm::StreamSchedule::clearCounters(), edm::SubProcess::clearCounters(), edm::SubProcess::closeOutputFiles(), edm::Schedule::closeOutputFiles(), edm::EventProcessor::closeOutputFiles(), edm::RootOutputTree::fillTTree(), edm::SubProcess::fixBranchIDListsForEDAliases(), edm::SubProcess::keepOnlyConsumedUnscheduledModules(), main(), edm::SubProcess::openOutputFiles(), edm::EventProcessor::openOutputFiles(), edm::Schedule::openOutputFiles(), edm::service::StallMonitor::postEndJob(), edm::EDLooperBase::prepareForNextLoop(), edm::ParameterSetDescription::print(), edm::ParameterSwitch< T >::printNestedContent_(), edm::WorkerManager::resetAll(), edm::eventsetup::EventSetupRecordProvider::resetRecordToResolverPointers(), edm::SubProcess::respondToCloseInputFile(), edm::EventProcessor::respondToCloseInputFile(), edm::Schedule::respondToCloseInputFile(), edm::SubProcess::respondToOpenInputFile(), edm::EventProcessor::respondToOpenInputFile(), edm::Schedule::respondToOpenInputFile(), edm::SubProcess::updateBranchIDListHelper(), edm::eventsetup::EventSetupRecordProvider::usePreferred(), edm::ConfigurationDescriptions::validate(), edm::ParameterSetDescription::validate(), edm::AllowedLabelsDescriptionBase::validate_(), edm::ParameterWildcard< ParameterSetDescription >::validate_(), edm::ParameterWildcard< std::vector< ParameterSet > >::validate_(), edm::ParameterDescription< std::vector< ParameterSet > >::writeCfi_(), and edm::writeParameterValue::writeVector().

14  {
15  return std::for_each(s.begin(), s.end(), f);
16  }
double f[11][100]

◆ formatFile()

template<typename S , typename T >
S& edm::formatFile ( T const &  f,
S os 
)

Definition at line 40 of file JobReport.cc.

References MicroEventContent_cff::branch, ALCARECOEcalPhiSym_cff::doc, f, and l1tGTMenu_BTagSeeds_cff::os.

Referenced by print().

40  {
41  tinyxml2::XMLDocument doc;
42  if (f.fileHasBeenClosed) {
43  os << "\n<State Value=\"closed\"/>";
44  } else {
45  os << "\n<State Value=\"open\"/>";
46  }
47  os << "\n<LFN>" << doc.NewText(f.logicalFileName.c_str())->Value() << "</LFN>";
48  os << "\n<PFN>" << doc.NewText(f.physicalFileName.c_str())->Value() << "</PFN>";
49  os << "\n<Catalog>" << doc.NewText(f.catalog.c_str())->Value() << "</Catalog>";
50  os << "\n<ModuleLabel>" << doc.NewText(f.moduleLabel.c_str())->Value() << "</ModuleLabel>";
51  os << "\n<GUID>" << f.guid << "</GUID>";
52  os << "\n<Branches>";
53  for (auto const& branch : f.branchNames) {
54  os << "\n <Branch>" << doc.NewText(branch.c_str())->Value() << "</Branch>";
55  doc.DeleteChildren();
56  }
57  os << "\n</Branches>";
58  return os;
59  }
reco::JetExtendedAssociation::JetExtendedData Value
double f[11][100]

◆ FreshErrorsExist()

bool edm::FreshErrorsExist ( unsigned int  iStreamID)

Definition at line 161 of file MessageSender.cc.

References cms::cuda::assert(), and errorSummaryMaps.

Referenced by HLTLogMonitorFilter::filter(), and edm::LogErrorHarvester::produce().

161  {
162  assert(iStreamID < errorSummaryMaps.size());
163  return !errorSummaryMaps[iStreamID].empty();
164  }
assert(be >=bs)
static std::vector< oneapi::tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps

◆ get() [1/11]

template<typename T >
T const& edm::get ( ProcessBlock const &  processBlock,
EDGetToken const &  token 
)

Definition at line 216 of file ProcessBlock.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

216  {
218  processBlock.getByToken(token, handle);
219  // throw if the handle is not valid
220  return *handle.product();
221  }

◆ get() [2/11]

template<typename T >
T const& edm::get ( ProcessBlock const &  processBlock,
EDGetTokenT< T > const &  token 
)

Definition at line 224 of file ProcessBlock.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

224  {
226  processBlock.getByToken(token, handle);
227  // throw if the handle is not valid
228  return *handle.product();
229  }

◆ get() [3/11]

template<typename T >
T const& edm::get ( Run const &  event,
InputTag const &  tag 
)

Definition at line 362 of file Run.h.

References patZpeak::handle, and makeGlobalPositionRcd_cfg::tag.

362  {
364  event.getByLabel(tag, handle);
365  // throw if the handle is not valid
366  return *handle.product();
367  }

◆ get() [4/11]

template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
InputTag const &  tag 
)

Definition at line 365 of file LuminosityBlock.h.

References patZpeak::handle, and makeGlobalPositionRcd_cfg::tag.

365  {
367  event.getByLabel(tag, handle);
368  // throw if the handle is not valid
369  return *handle.product();
370  }

◆ get() [5/11]

template<typename T >
T const& edm::get ( Run const &  event,
EDGetToken const &  token 
)

Definition at line 370 of file Run.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

370  {
372  event.getByToken(token, handle);
373  // throw if the handle is not valid
374  return *handle.product();
375  }

◆ get() [6/11]

template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
EDGetToken const &  token 
)

Definition at line 373 of file LuminosityBlock.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

373  {
375  event.getByToken(token, handle);
376  // throw if the handle is not valid
377  return *handle.product();
378  }

◆ get() [7/11]

template<typename T >
T const& edm::get ( Run const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 378 of file Run.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

378  {
380  event.getByToken(token, handle);
381  // throw if the handle is not valid
382  return *handle.product();
383  }

◆ get() [8/11]

template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 381 of file LuminosityBlock.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

381  {
383  event.getByToken(token, handle);
384  // throw if the handle is not valid
385  return *handle.product();
386  }

◆ get() [9/11]

template<typename T >
T const& edm::get ( Event const &  event,
InputTag const &  tag 
)
noexcept

Definition at line 666 of file Event.h.

References patZpeak::handle, and makeGlobalPositionRcd_cfg::tag.

Referenced by triggerExpression::Data::setEvent().

666  {
668  event.getByLabel(tag, handle);
669  // throw if the handle is not valid
670  return *handle.product();
671  }

◆ get() [10/11]

template<typename T >
T const& edm::get ( Event const &  event,
EDGetToken const &  token 
)
noexcept

Definition at line 674 of file Event.h.

References patZpeak::handle, and unpackBuffers-CaloStage2::token.

674  {
676  event.getByToken(token, handle);
677  // throw if the handle is not valid
678  return *handle.product();
679  }

◆ get() [11/11]

template<typename T >
T const& edm::get ( Event const &  event,
EDGetTokenT< T > const &  token 
)
noexcept

Definition at line 682 of file Event.h.

References unpackBuffers-CaloStage2::token.

682  {
683  return event.get(token);
684  }

◆ get_underlying() [1/4]

template<typename T >
constexpr T & edm::get_underlying ( propagate_const< T > &  iP)

◆ get_underlying() [2/4]

template<typename T >
constexpr T const & edm::get_underlying ( propagate_const< T > const &  iP)

Definition at line 107 of file propagate_const.h.

References edm::propagate_const< T >::m_value.

107  {
108  return iP.m_value;
109  }

◆ get_underlying() [3/4]

template<typename T >
constexpr std::decay_t< T > & edm::get_underlying ( propagate_const_array< T > &  iP)

Definition at line 116 of file propagate_const_array.h.

References edm::propagate_const_array< T >::m_value.

116  {
117  return iP.m_value;
118  }

◆ get_underlying() [4/4]

template<typename T >
constexpr std::decay_t< T > const & edm::get_underlying ( propagate_const_array< T > const &  iP)

Definition at line 121 of file propagate_const_array.h.

References edm::propagate_const_array< T >::m_value.

121  {
122  return iP.m_value;
123  }

◆ get_underlying_safe() [1/12]

template<typename T >
constexpr std::shared_ptr<T>& edm::get_underlying_safe ( propagate_const< std::shared_ptr< T >> &  iP)

Definition at line 41 of file get_underlying_safe.h.

References get_underlying().

Referenced by edm::eventsetup::EventSetupRecordProvider::addResolversToRecordHelper(), edm::RootFile::branchChildren(), edm::ScheduleItems::branchIDListHelper(), edm::root::TFWLiteSelectorMembers::branchIDListHelper(), edm::InputSource::branchIDListHelper(), edm::SubProcess::branchIDListHelper(), edm::RootFile::branchIDListHelper(), edm::EventProcessor::branchIDListHelper(), edm::streamer::SerializeDataBuffer::bufferPointer(), edm::ProcessBlock::commit_(), edm::LuminosityBlock::commit_(), edm::Run::commit_(), edm::Event::commit_aux(), XrdAdaptor::XrdStatisticsService::condorUpdate(), edm::WorkerT< T >::doClearModule(), edm::RootPrimaryFileSequence::duplicateChecker(), edm::service::RandomNumberGeneratorService::LabelAndEngine::engine(), edm::RootFile::eventProductProvenanceRetriever(), edm::eventsetup::EventSetupProvider::eventSetupForInstance(), edm::streamer::StreamerFileReader::eventSkipperByID(), edm::RootPrimaryFileSequence::eventSkipperByID(), XrdAdaptor::Source::fh(), edm::RootOutputFile::filePtr(), edm::RootFile::fillEventToProcessBlockIndexes(), edm::eventsetup::EventSetupRecordProvider::finder(), XrdAdaptor::ClientRequest::getCurrentSource(), edm::ModuleRegistry::getModule(), edm::ProcessDesc::getProcessPSet(), XrdAdaptor::XrdSiteStatisticsInformation::getStatisticsForSite(), edm::RootFile::indexIntoFileSharedPtr(), edm::EventProcessor::init(), HepMCFileReader::input(), edm::service::RandomNumberGeneratorService::ModuleIDToEngine::labelAndEngine(), edm::EventProcessor::looper(), edm::Schedule::moduleRegistry(), edm::value_ptr< edm::service::MessageLoggerDefaults >::operator->(), edm::JobReport::JobReportImpl::ost(), edm::RootOutputFile::pEventEntryInfoVector(), edm::ScheduleItems::preg(), edm::EventProcessor::preg(), edm::InputSource::processBlockHelper(), edm::ScheduleItems::processConfiguration(), edm::ProductRegistry::productLookup(), edm::VectorInputSource::productRegistry(), edm::InputSource::productRegistry(), edm::EventPrincipal::provRetrieverPtr(), edm::RandomEngineSentry< T >::randomEngine(), edm::Principal::recombine(), edm::root::TFWLiteSelectorMembers::reg(), edm::storage::StorageAccountProxy::releaseStorage(), TStorageFactoryFile::releaseStorage(), edm::eventsetup::EventSetupRecordProvider::resolverProvider(), edm::StreamSchedule::results(), edm::Schedule::resultsInserter(), edm::RootInputFileSequence::rootFile(), edm::RootFile::savedRunAuxiliary(), XrdAdaptor::ClientRequest::self_reference(), edm::service::SimpleMemoryCheck::smapsLineBuffer(), XrdAdaptor::Source::stats(), edm::ScheduleItems::subProcessParentageHelper(), edm::root::TFWLiteSelectorMembers::TFWLiteSelectorMembers(), edm::ScheduleItems::thinnedAssociationsHelper(), edm::root::TFWLiteSelectorMembers::thinnedAssociationsHelper(), edm::InputSource::thinnedAssociationsHelper(), edm::SubProcess::thinnedAssociationsHelper(), edm::EventProcessor::thinnedAssociationsHelper(), and edm::root::TFWLiteSelectorMembers::tree().

41  {
42  return get_underlying(iP);
43  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [2/12]

template<typename T >
constexpr std::shared_ptr<T const> edm::get_underlying_safe ( propagate_const< std::shared_ptr< T >> const &  iP)

Definition at line 45 of file get_underlying_safe.h.

References filterCSVwithJSON::copy, and get_underlying().

45  {
46  std::shared_ptr<T const> copy = get_underlying(iP);
47  return copy;
48  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [3/12]

template<typename T >
constexpr std::shared_ptr<T[]>& edm::get_underlying_safe ( propagate_const_array< std::shared_ptr< T[]>> &  iP)

Definition at line 51 of file get_underlying_safe.h.

References get_underlying().

51  {
52  return get_underlying(iP);
53  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [4/12]

template<typename T >
constexpr std::shared_ptr<T const[]> edm::get_underlying_safe ( propagate_const_array< std::shared_ptr< T[]>> const &  iP)

Definition at line 55 of file get_underlying_safe.h.

References filterCSVwithJSON::copy, and get_underlying().

55  {
56  std::shared_ptr<T const[]> copy = get_underlying(iP);
57  return copy;
58  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [5/12]

template<typename T >
constexpr T*& edm::get_underlying_safe ( propagate_const< T *> &  iP)

Definition at line 62 of file get_underlying_safe.h.

References get_underlying().

62  {
63  return get_underlying(iP);
64  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [6/12]

template<typename T >
constexpr T const* edm::get_underlying_safe ( propagate_const< T *> const &  iP)

Definition at line 66 of file get_underlying_safe.h.

References filterCSVwithJSON::copy, and get_underlying().

66  {
67  T const* copy = get_underlying(iP);
68  return copy;
69  }
constexpr T & get_underlying(propagate_const< T > &)
long double T

◆ get_underlying_safe() [7/12]

template<typename T >
constexpr T* edm::get_underlying_safe ( propagate_const_array< T[]> &  iP)

Definition at line 72 of file get_underlying_safe.h.

References get_underlying().

72  {
73  return get_underlying(iP);
74  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [8/12]

template<typename T >
constexpr T const* edm::get_underlying_safe ( propagate_const_array< T[]> const &  iP)

Definition at line 76 of file get_underlying_safe.h.

References filterCSVwithJSON::copy, and get_underlying().

76  {
77  T const* copy = get_underlying(iP);
78  return copy;
79  }
constexpr T & get_underlying(propagate_const< T > &)
long double T

◆ get_underlying_safe() [9/12]

template<typename T >
constexpr std::unique_ptr<T>& edm::get_underlying_safe ( propagate_const< std::unique_ptr< T >> &  iP)

Definition at line 83 of file get_underlying_safe.h.

References get_underlying().

83  {
84  return get_underlying(iP);
85  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [10/12]

template<typename T >
constexpr std::unique_ptr<T const> edm::get_underlying_safe ( propagate_const< std::unique_ptr< T >> const &  iP)

Definition at line 88 of file get_underlying_safe.h.

References filterCSVwithJSON::copy, and get_underlying().

88  {
89  std::unique_ptr<T const> copy = get_underlying(iP);
90  return copy;
91  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [11/12]

template<typename T >
constexpr std::unique_ptr<T[]>& edm::get_underlying_safe ( propagate_const_array< std::unique_ptr< T[]>> &  iP)

Definition at line 94 of file get_underlying_safe.h.

References get_underlying().

94  {
95  return get_underlying(iP);
96  }
constexpr T & get_underlying(propagate_const< T > &)

◆ get_underlying_safe() [12/12]

template<typename T >
constexpr std::unique_ptr<T const[]> edm::get_underlying_safe ( propagate_const_array< std::unique_ptr< T[]>> const &  iP)

Definition at line 99 of file get_underlying_safe.h.

References filterCSVwithJSON::copy, and get_underlying().

99  {
100  std::unique_ptr<T const[]> copy = get_underlying(iP);
101  return copy;
102  }
constexpr T & get_underlying(propagate_const< T > &)

◆ getAllTriggerNames()

std::vector< std::string > const & edm::getAllTriggerNames ( )

◆ getAnyPtr()

template<typename T >
std::unique_ptr<T> edm::getAnyPtr ( void *  p,
int  offset 
)
inline

Definition at line 9 of file getAnyPtr.h.

References HLT_IsoTrack_cff::offset, and AlCaHLTBitMon_ParallelJobs::p.

9  {
10  return std::unique_ptr<T>(static_cast<T *>(static_cast<void *>(static_cast<unsigned char *>(p) + offset)));
11  }
long double T

◆ getEnvironmentVariable()

std::string edm::getEnvironmentVariable ( std::string const &  name,
std::string const &  defaultValue = std::string() 
)
inline

◆ getFileFormatVersion()

int edm::getFileFormatVersion ( )

Definition at line 4 of file GetFileFormatVersion.cc.

Referenced by edm::RootOutputFile::writeFileFormatVersion().

4 { return 20; }

◆ getParameterSet()

ParameterSet const & edm::getParameterSet ( ParameterSetID const &  id)

◆ getPassID()

std::string edm::getPassID ( )
inline

◆ getProcessParameterSetContainingModule()

ParameterSet const & edm::getProcessParameterSetContainingModule ( ModuleDescription const &  moduleDescription)

Definition at line 926 of file ParameterSet.cc.

References getParameterSet(), and edm::ModuleDescription::mainParameterSetID().

Referenced by SiStripDB2Tree::analyze(), HLTPrescaleRecorder::beginRun(), DQMEventInfo::bookHistograms(), ProbeTreeProducer::endJob(), and TagProbeFitTreeProducer::endJob().

926  {
927  return getParameterSet(moduleDescription.mainParameterSetID());
928  }
ParameterSet const & getParameterSet(ParameterSetID const &id)

◆ getProducerParameterSet()

ParameterSet const * edm::getProducerParameterSet ( Provenance const &  provenance,
ProcessHistory const &  processHistory 
)

Definition at line 16 of file getProducerParameterSet.cc.

References Exception, edm::pset::Registry::getMapped(), edm::ParameterSet::getParameterSet(), edm::pset::Registry::instance(), label, LaserDQM_cfg::process, crab_script::provenance, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edmtest::TestFindProduct::analyze().

16  {
17  const std::shared_ptr<BranchDescription const>& branchDescription = provenance.constBranchDescriptionPtr();
18 
19  if (branchDescription) {
20  std::string const& process = branchDescription->processName();
21  std::string const& label = branchDescription->moduleLabel();
22 
23  for (ProcessConfiguration const& pc : processHistory) {
24  if (pc.processName() == process) {
25  ParameterSetID const& psetID = pc.parameterSetID();
26  pset::Registry const* psetRegistry = pset::Registry::instance();
27  ParameterSet const* processPset = psetRegistry->getMapped(psetID);
28  if (processPset) {
29  return &processPset->getParameterSet(label);
30  }
31  }
32  }
33  }
34  // This should never happen
35  throw cms::Exception("LogicError") << "getProducerParameterSet failed";
36  return nullptr;
37  }
static PFTauRenderPlugin instance
char const * label
Hash< ParameterSetType > ParameterSetID

◆ getProduct()

template<typename T >
T const* edm::getProduct ( RefCore const &  ref)
inline

Definition at line 37 of file RefCoreGet.h.

References Options::const, edm::RefCore::isTransient(), edm::RefCore::nullPointerForTransientException(), AlCaHLTBitMon_ParallelJobs::p, edm::refcoreimpl::productGetter(), edm::RefCore::productGetter(), and edm::RefCore::productPtr().

37  {
38  T const* p = static_cast<T const*>(ref.productPtr());
39  if (p != nullptr)
40  return p;
41  if (ref.isTransient()) {
42  ref.nullPointerForTransientException(typeid(T));
43  }
44  auto productGetter = ref.productGetter();
45  if (nullptr == productGetter) {
46  p = static_cast<T const*>(ref.productPtr());
47  if (p != nullptr) {
48  //another thread updated the value since we checked
49  return p;
50  }
51  }
52  return refcore::getProduct_<T>(ref, productGetter);
53  }
EDProductGetter const * productGetter(std::atomic< void const *> const &iCache)
long double T

◆ getProductByTag()

template<typename PROD >
std::shared_ptr<Wrapper<PROD> const> edm::getProductByTag ( Principal const &  ep,
InputTag const &  tag,
ModuleCallingContext const *  mcc 
)
inline

Definition at line 293 of file Principal.h.

References ecalHexDisplay_cfg::ep, PROD, mps_fire::result, makeGlobalPositionRcd_cfg::tag, and edm::handleimpl::throwConvertTypeError().

295  {
296  TypeID tid = TypeID(typeid(PROD));
297  ProductData const* result = ep.findProductByTag(tid, tag, mcc);
298  if (result == nullptr) {
299  return std::shared_ptr<Wrapper<PROD> const>();
300  }
301 
302  if (!(result->wrapper()->dynamicTypeInfo() == typeid(PROD))) {
303  handleimpl::throwConvertTypeError(typeid(PROD), result->wrapper()->dynamicTypeInfo());
304  }
305  return std::static_pointer_cast<Wrapper<PROD> const>(result->sharedConstWrapper());
306  }
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
#define PROD(A, B)

◆ getProductWithCoreFromRef()

template<typename T >
T const* edm::getProductWithCoreFromRef ( RefCore const &  ref,
EDProductGetter const *  prodGetter 
)
inline

Definition at line 71 of file RefCoreGet.h.

References edm::RefCore::isTransient(), and edm::RefCore::nullPointerForTransientException().

71  {
72  if (ref.isTransient()) {
73  ref.nullPointerForTransientException(typeid(T));
74  }
75  return refcore::getProductWithCoreFromRef_<T>(ref, prodGetter);
76  }
long double T

◆ getPSetFromConfig()

std::unique_ptr< edm::ParameterSet > edm::getPSetFromConfig ( const std::string &  config)

Definition at line 5 of file ParameterSetReader.cc.

References PyBind11ProcessDesc::parameterSet().

5  {
6  return PyBind11ProcessDesc(config, false).parameterSet();
7 }
std::unique_ptr< edm::ParameterSet > parameterSet() const
Definition: config.py:1

◆ getRef()

template<typename C >
helper::MatcherGetRef<C>::ref_type edm::getRef ( const Handle< C > &  c,
size_t  k 
)

◆ getRefPtr()

template<typename C , typename T , typename F , typename KEY >
T const* edm::getRefPtr ( RefCore const &  product,
KEY const &  iKey 
)
inline

Definition at line 86 of file RefItemGet.h.

References edm::refitem::GetRefPtrImpl< C, T, F, KEY >::getRefPtr_().

86  {
87  return refitem::GetRefPtrImpl<C, T, F, KEY>::getRefPtr_(product, iKey);
88  }

◆ getReleaseVersion()

std::string edm::getReleaseVersion ( )

◆ getThinnedProduct()

template<typename T >
std::tuple<T const*, unsigned int> edm::getThinnedProduct ( RefCore const &  ref,
unsigned int  key,
EDProductGetter const *  prodGetter 
)
inline

Definition at line 116 of file RefCoreGet.h.

References edm::RefCore::isTransient(), submitPVResolutionJobs::key, and edm::RefCore::nullPointerForTransientException().

118  {
119  // The pointer to a thinned collection will never be cached
120  // T const* p = static_cast<T const*>(ref.productPtr());
121  // if (p != 0) return p;
122 
123  if (ref.isTransient()) {
124  ref.nullPointerForTransientException(typeid(T));
125  }
126  return refcore::getThinnedProduct_<T>(ref, key, prodGetter);
127  }
key
prepare the HTCondor submission files and eventually submit them
long double T

◆ getUuid()

std::string edm::getUuid ( TTree *  uuidTree)

Definition at line 100 of file CollUtil.cc.

References edm::FileID::fid(), and edm::poolNames::fileIdentifierBranchName().

100  {
101  FileID fid;
102  FileID *fidPtr = &fid;
103  uuidTree->SetBranchAddress(poolNames::fileIdentifierBranchName().c_str(), &fidPtr);
104  uuidTree->GetEntry(0);
105  return fid.fid();
106  }
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:192

◆ getWrapperBasePtr()

std::unique_ptr<WrapperBase> edm::getWrapperBasePtr ( void *  p,
int  offset 
)
inline

◆ glob2reg()

std::string edm::glob2reg ( std::string const &  pattern)

◆ GroupLogStatistics()

void edm::GroupLogStatistics ( std::string_view  category)

Definition at line 49 of file MessageLogger.cc.

References validateAlignments::category, edm::MessageLoggerQ::MLqGRP(), and AlCaHLTBitMon_QueryRunRegistry::string.

49  {
50  std::string* cat_p = new std::string(category);
51  edm::MessageLoggerQ::MLqGRP(cat_p); // Indicate a group summary category
52  // Note that the scribe will be responsible for deleting cat_p
53  }
static void MLqGRP(std::string *cat_p)

◆ HaltMessageLogging()

void edm::HaltMessageLogging ( )

Definition at line 30 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSHT().

Referenced by edm::CmsRunParser::parse().

30  {
31  edm::MessageLoggerQ::MLqSHT(); // Shut the logger up
32  }
static void MLqSHT()

◆ hasDictionary()

bool edm::hasDictionary ( std::type_info const &  ti)

Definition at line 816 of file TypeWithDict.cc.

Referenced by checkClassDictionaries(), pat::UserData::checkDictionaries(), checkDictionary(), fwlite::Record::get(), and edm::service::InitRootHandlers::InitRootHandlers().

816  {
817  if (ti.name()[1] == '\0') {
818  // returns true for built in types (single character mangled names)
819  return true;
820  }
821  return (TClassTable::GetDict(ti) != nullptr);
822  }

◆ hash_combine() [1/2]

template<typename T >
void edm::hash_combine ( std::size_t &  seed,
const T val 
)
inline

Definition at line 25 of file hash_combine.h.

References fileCollector::seed, and heppy_batch::val.

Referenced by hash_combine(), and hash_value().

25  {
26  seed ^= std::hash<T>()(val) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
27  }

◆ hash_combine() [2/2]

template<typename T , typename... Types>
void edm::hash_combine ( std::size_t &  seed,
const T val,
const Types &...  args 
)
inline

Definition at line 30 of file hash_combine.h.

References writedatasetfile::args, hash_combine(), fileCollector::seed, and heppy_batch::val.

30  {
32  hash_combine(seed, args...);
33  }
void hash_combine(std::size_t &seed, const T &val, const Types &... args)
Definition: hash_combine.h:30

◆ hash_value()

template<typename... Types>
std::size_t edm::hash_value ( const Types &...  args)
inline

Definition at line 36 of file hash_combine.h.

References writedatasetfile::args, hash_combine(), and fileCollector::seed.

Referenced by edm::StdPairHasher::operator()(), UniqueSimTrackIdHash::operator()(), and edm::CompactEventAuxiliaryVector::ExtraHash::operator()().

36  {
37  std::size_t seed{0};
38  hash_combine(seed, args...);
39  return seed;
40  }
void hash_combine(std::size_t &seed, const T &val, const Types &... args)
Definition: hash_combine.h:30

◆ hrRealTime()

HRTimeType edm::hrRealTime ( )
inline

Definition at line 97 of file HRRealTime.h.

97 { return details::rdtsc(); }

◆ insertSelectedProcesses()

void edm::insertSelectedProcesses ( BranchDescription const &  desc,
std::set< std::string > &  processes,
std::set< std::string > &  processesWithKeptProcessBlockProducts 
)

Definition at line 15 of file insertSelectedProcesses.cc.

References edm::TypeWithDict::byName(), submitPVResolutionJobs::desc, edm::TypeWithDict::getClass(), InProcess, InRun, HLT_IsoTrack_cff::offset, AlCaHLTBitMon_ParallelJobs::p, and dqmiodatasetharvest::processes.

Referenced by edm::core::OutputModuleCore::selectProducts().

17  {
18  // Select input processes in which mergeable run products were produced
19  if (desc.branchType() == InRun && !desc.produced()) {
20  // Determine if the product is "mergeable"
21  TClass* tClass = desc.wrappedType().getClass();
22  void* p = tClass->New();
23  TClass* wrapperBaseTClass = TypeWithDict::byName("edm::WrapperBase").getClass();
24  int offset = tClass->GetBaseClassOffset(wrapperBaseTClass);
25  std::unique_ptr<WrapperBase> edp = getAnyPtr<WrapperBase>(p, offset);
26  if (edp->isMergeable()) {
27  // record the process names in a set (which is ordered and unique)
28  processes.insert(desc.processName());
29  }
30  }
31  if (desc.branchType() == InProcess) {
32  processesWithKeptProcessBlockProducts.insert(desc.processName());
33  }
34  }

◆ installCustomHandler()

void edm::installCustomHandler ( int  signum,
CFUNC  func 
)

Definition at line 93 of file UnixSignalHandlers.cc.

References disableAllSigs(), disableRTSigs(), EcalMonitorTask_cff::func, installSig(), and reenableSigs().

Referenced by edm::service::InitRootHandlers::InitRootHandlers(), and edm::service::UnixSignalService::UnixSignalService().

93  {
94  sigset_t oldset;
95  edm::disableAllSigs(&oldset);
96 #if defined(__linux__)
98 #endif
99  edm::installSig(signum, func);
100  edm::reenableSigs(&oldset);
101  }
void installSig(int signum, CFUNC func)
void disableAllSigs(sigset_t *oldset)
void reenableSigs(sigset_t *oldset)
void disableRTSigs()

◆ installSig()

void edm::installSig ( int  signum,
CFUNC  func 
)

Definition at line 105 of file UnixSignalHandlers.cc.

References EcalMonitorTask_cff::func, and MUST_BE_ZERO.

Referenced by installCustomHandler().

105  {
106  // set up my RT signal now
107  struct sigaction act;
108  memset(&act, 0, sizeof(act));
109  act.sa_sigaction = func;
110  act.sa_flags = SA_RESTART;
111 
112  // get my signal number
113  int mysig = signum;
114  if (mysig == SIGKILL) {
115  perror("Cannot install handler for KILL signal");
116  return;
117  } else if (mysig == SIGSTOP) {
118  perror("Cannot install handler for STOP signal");
119  return;
120  }
121 
122  if (sigaction(mysig, &act, nullptr) != 0) {
123  perror("sigaction failed");
124  abort();
125  }
126 
127  sigset_t newset;
128  MUST_BE_ZERO(sigemptyset(&newset));
129  MUST_BE_ZERO(sigaddset(&newset, mysig));
130  MUST_BE_ZERO(pthread_sigmask(SIG_UNBLOCK, &newset, nullptr));
131  }
#define MUST_BE_ZERO(fun)

◆ is_glob()

bool edm::is_glob ( std::string const &  pattern)

◆ isAncestor()

bool edm::isAncestor ( ProcessHistory const &  a,
ProcessHistory const &  b 
)

Definition at line 53 of file ProcessHistory.cc.

References a, and b.

Referenced by JetMatchingEWKFxFx::doVetoStep(), and isDescendant().

53  {
54  if (a.size() >= b.size())
55  return false;
56  typedef ProcessHistory::collection_type::const_iterator const_iterator;
57  for (const_iterator itA = a.data().begin(), itB = b.data().begin(), itAEnd = a.data().end(); itA != itAEnd;
58  ++itA, ++itB) {
59  if (*itA != *itB)
60  return false;
61  }
62  return true;
63  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ isDebugEnabled()

bool edm::isDebugEnabled ( )

Definition at line 12 of file MessageLogger.cc.

References edm::MessageDrop::debugAlwaysSuppressed, and edm::MessageDrop::instance().

Referenced by SiStripQualityHotStripIdentifier::algoAnalyze(), FedChannelConnection::apvPairNumberDebug(), L1GtTriggerMenuLiteProducer::beginRunProduce(), CommissioningHistosUsingDb::buildDetInfo(), JetPlusTrackCorrector::calculateCorr(), SiStripEventSummary::commissioningInfo(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::DigiToRaw::createFedBuffers_(), sistrip::DigiToRaw::DigiToRaw(), sistrip::DigiToRawModule::DigiToRawModule(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), sistrip::SpyUtilities::extractFrameInfo(), BSCTrigger::getBSCNum(), HLTMuonL1TFilter::hltFilter(), HLTMuonL1RegionalFilter::hltFilter(), HLTMuonL1TRegionalFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonL2FromL1TPreFilter::hltFilter(), HLTMuonL2PreFilter::hltFilter(), HLTMuonL1Filter::hltFilter(), HLTMuonL1RegionalFilter::HLTMuonL1RegionalFilter(), HLTMuonL1TFilter::HLTMuonL1TFilter(), HLTMuonL1TRegionalFilter::HLTMuonL1TRegionalFilter(), HLTMuonL2FromL1TPreFilter::HLTMuonL2FromL1TPreFilter(), HLTMuonL2PreFilter::HLTMuonL2PreFilter(), FedChannelConnection::i2cAddr(), SiStripFedZeroSuppression::isAValidDigi(), SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), JetPlusTrackCorrector::jtaUsingEventData(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GetHistLimits::l1HistLimits(), FedChannelConnection::lldChannel(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), jpt::Map::Map(), JetPlusTrackCorrector::matchTracks(), L1GtParametersConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtPsbSetupConfigOnlineProd::newObject(), L1GtTriggerMenuConfigOnlineProd::newObject(), l1t::TriggerMenuParser::parseAlgorithm(), l1t::TriggerMenuParser::parseAXOL1TL(), l1t::TriggerMenuParser::parseCalo(), L1GtTriggerMenuXmlParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), L1GtTriggerMenuXmlParser::parseCastor(), l1t::TriggerMenuParser::parseCICADA(), l1t::TriggerMenuParser::parseCorrelation(), L1GtTriggerMenuXmlParser::parseCorrelation(), l1t::TriggerMenuParser::parseCorrelationThreeBody(), l1t::TriggerMenuParser::parseCorrelationWithOverlapRemoval(), l1t::TriggerMenuParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuParser::parseEnergySumZdc(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), l1t::TriggerMenuParser::parseMuon(), L1GtTriggerMenuXmlParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), l1t::TriggerMenuParser::parseMuonShower(), jpt::Efficiency::print(), QuarkoniaTrackSelector::produce(), sistrip::DigiToRawModule::produce(), BSCTrigger::produce(), L1GlobalTriggerRecordProducer::produce(), TriggerSummaryProducerAOD::produce(), sistrip::RawToDigiModule::RawToDigiModule(), sistrip::RawToDigiUnpacker::RawToDigiUnpacker(), SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents(), sistrip::SpyDigiConverterModule::SpyDigiConverterModule(), sistrip::SpyUnpacker::SpyUnpacker(), sistrip::SpyUnpackerModule::SpyUnpackerModule(), SiStripFedZeroSuppression::suppress(), sistrip::RawToDigiUnpacker::triggerFed(), L1GtfeExtWord::unpack(), L1GtfeWord::unpack(), L1TcsWord::unpack(), L1GtFdlWord::unpack(), L1GlobalTriggerEvmRawToDigi::unpackHeader(), DaqScopeModeHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), PedestalsHistosUsingDb::update(), sistrip::RawToDigiModule::updateCabling(), sistrip::RawToDigiUnpacker::updateEventSummary(), L1GtTriggerMenuXmlParser::workAlgorithm(), L1GtTriggerMenuXmlParser::workTechTrigger(), L1GtPatternWriter::writePatterns(), sistrip::DigiToRaw::~DigiToRaw(), sistrip::DigiToRawModule::~DigiToRawModule(), sistrip::RawToDigiModule::~RawToDigiModule(), sistrip::RawToDigiUnpacker::~RawToDigiUnpacker(), sistrip::SpyDigiConverterModule::~SpyDigiConverterModule(), sistrip::SpyUnpacker::~SpyUnpacker(), and sistrip::SpyUnpackerModule::~SpyUnpackerModule().

12  {
14  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
static bool debugAlwaysSuppressed
Definition: MessageDrop.h:71

◆ isDescendant()

bool edm::isDescendant ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 114 of file ProcessHistory.h.

References a, b, and isAncestor().

114 { return isAncestor(b, a); }
bool isAncestor(ProcessHistory const &a, ProcessHistory const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ isEndTransition()

constexpr bool edm::isEndTransition ( Transition  iValue)

Definition at line 37 of file Transition.h.

References EndLuminosityBlock, EndProcessBlock, EndRun, and or.

Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::ProcessBlock::commit_(), edm::LuminosityBlock::commit_(), and edm::Run::commit_().

37  {
38  return iValue == Transition::EndLuminosityBlock or iValue == Transition::EndRun or
39  iValue == Transition::EndProcessBlock;
40  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12

◆ isErrorEnabled()

bool edm::isErrorEnabled ( )

Definition at line 28 of file MessageLogger.cc.

References edm::MessageDrop::errorEnabled, and edm::MessageDrop::instance().

static MessageDrop * instance()
Definition: MessageDrop.cc:33

◆ isFinite() [1/4]

template<typename T >
constexpr bool edm::isFinite ( T  x)

◆ isFinite() [2/4]

template<>
constexpr bool edm::isFinite ( float  x)

Definition at line 14 of file isFinite.h.

References ztail::d, MainPageGenerator::l, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, findQualityFiles::v, and x.

14  {
15  const unsigned int mask = 0x7f800000;
16  union {
17  unsigned int l;
18  float d;
19  } v = {.d = x};
20  return (v.l & mask) != mask;
21  }
d
Definition: ztail.py:151
float x

◆ isFinite() [3/4]

template<>
constexpr bool edm::isFinite ( double  x)

Definition at line 24 of file isFinite.h.

References ztail::d, MainPageGenerator::l, L1DTConfigBti_cff::LL, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, findQualityFiles::v, and x.

24  {
25  const unsigned long long mask = 0x7FF0000000000000LL;
26  union {
27  unsigned long long l;
28  double d;
29  } v = {.d = x};
30  return (v.l & mask) != mask;
31  }
d
Definition: ztail.py:151
float x

◆ isFinite() [4/4]

template<>
constexpr bool edm::isFinite ( long double  x)

Definition at line 34 of file isFinite.h.

References isFinite(), x, and geometryCSVtoXML::xx.

34  {
35  double xx = x;
36  return isFinite(xx);
37  }
constexpr bool isFinite(long double x)
Definition: isFinite.h:34
float x

◆ isFwkInfoEnabled()

bool edm::isFwkInfoEnabled ( )

Definition at line 20 of file MessageLogger.cc.

References edm::MessageDrop::fwkInfoAlwaysSuppressed, and edm::MessageDrop::instance().

Referenced by edm::InputSource::issueReports().

20  {
22  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
static bool fwkInfoAlwaysSuppressed
Definition: MessageDrop.h:73

◆ isInfoEnabled()

bool edm::isInfoEnabled ( )

Definition at line 16 of file MessageLogger.cc.

References edm::MessageDrop::infoAlwaysSuppressed, and edm::MessageDrop::instance().

16  {
18  }
static MessageDrop * instance()
Definition: MessageDrop.cc:33
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:72

◆ isMessageProcessingSetUp()

bool edm::isMessageProcessingSetUp ( )

Definition at line 42 of file MessageLogger.cc.

References edm::MessageDrop::instance(), and MLSCRIBE_RUNNING_INDICATOR.

42  {
43  // std::cerr << "isMessageProcessingSetUp: \n";
44  // std::cerr << "messageLoggerScribeIsRunning = "
45  // << (int)MessageDrop::instance()->messageLoggerScribeIsRunning << "\n";
46  return (MessageDrop::instance()->messageLoggerScribeIsRunning == MLSCRIBE_RUNNING_INDICATOR);
47  }
static PFTauRenderPlugin instance
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:83

◆ isNotFinite()

template<typename T >
constexpr bool edm::isNotFinite ( T  x)

Definition at line 9 of file isFinite.h.

References isFinite(), and x.

Referenced by HcalSiPMHitResponse::add(), EcalHitResponse::add(), CaloHitResponse::add(), EcalTimeMapDigitizer::add(), Vx3DHLTAnalyzer::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), MuonPathAnalyzerInChamber::analyze(), JetTagPlotter::analyzeTag(), TrackDetectorAssociator::associate(), EGammaMvaEleEstimatorCSA14::bindVariables(), EGammaMvaEleEstimator::bindVariables(), CTPPSDiamondRecHitProducerAlgorithm::build(), TransientTrackBuilder::build(), DetIdAssociator::buildMap(), BoostedDoubleSVProducer::calcNsubjettiness(), TwoTrackMinimumDistanceHelixHelix::calculate(), GsfVertexWeightCalculator::calculate(), Cluster3DPCACalculator::calculateAndSetPositionActual(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), ApeEstimatorSummary::calculateApe(), GsfElectronAlgo::calculateShowerShape(), PhotonEnergyCalibrator::calibrate(), ElectronEnergyCalibrator::calibrate(), btagbtvdeep::catch_infs(), PrimaryVertexAssignment::chargedHadronVertex(), DeepTauId::checkInputs(), L2TauNNProducerAlpaka::checknan(), L2TauNNProducer::checknan(), TwoBodyDecayEstimator::checkValues(), HcalPulseShapes::convolve(), Qjets::d_ij(), HLTScalersClient::endLuminosityBlock(), FitterFuncs::PulseShapeFunctor::EvalPulseM2(), MagGeometry::fieldInTesla(), EcalRegressionData::fill(), DAClusterizerInZ_vect::fill(), DAClusterizerInZT_vect::fill(), DAClusterizerInZ_vect::fill_vertices(), AlignmentExtendedCorrelationsStore::fillCovariance(), AlignmentExtendedCorrelationsStore::fillCovarianceT(), MatrixFillMap::fillEBMap(), MatrixFillMap::fillEEMap(), ClusterFillMap::fillMap(), DivisiveVertexFinder::findVertexes(), DivisiveVertexFinder::findVertexesAlt(), BSFitter::Fit(), KFTrajectoryFitter::fitOne(), SplitVertexResolution::fitResiduals(), FitterFuncs::PulseShapeFunctor::funcShape(), LHCInfoPopConSourceHandler::getEcalData(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), SequentialVertexFitter< 5 >::hasNan(), ConversionFastHelix::helixStateAtVertex(), CAHitTripletGenerator::hitNtuplets(), CAHitQuadrupletGenerator::hitNtuplets(), MultiHitGeneratorFromChi2::hitSets(), cms::SubEventGenJetProducer::inputTowers(), HiPuRhoProducer::inputTowers(), VirtualJetProducer::inputTowers(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::inspectTrack(), Primary4DVertexValidation::isParticle(), GlobalTrackQualityProducer::kink(), fftjetcms::FFTJetInterface::loadInputCollection(), OptOCOPS::makeMeasurement(), Vx3DHLTAnalyzer::MyFit(), SensitiveDetector::NaNTrap(), CaloSteppingAction::NaNTrap(), reco::mlpf::normalize(), Primary4DVertexValidation::observablesFromJets(), reco::InverseCrosstalkMatrix::operator()(), TtHadLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_classifyTracks< TrackerTraits >::operator()(), HelixForwardPlaneCrossing::pathLength(), StraightLinePlaneCrossing::pathLength(), EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame >::PerformAnalyticFit(), pat::PATPhotonSlimmer::produce(), TrackFromPackedCandidateProducer::produce(), ShiftedParticleProducer::produce(), ShiftedParticleProducerT< T >::produce(), PhotonIDValueMapProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), pat::PackedCandidate::pseudoPosDefTrack(), CTPPSFastTrackingProducer::ReconstructArm(), IMACalibBlock::riempiMtr(), IMACalibBlock::riempiVtr(), EcalHitResponse::run(), PVFitter::runFitter(), PrimaryVertexSorting::score(), CTPPSFastTrackingProducer::SearchTrack(), SeedGeneratorForCosmics::seeds(), SimpleCosmicBONSeeder::seeds(), HelixArbitraryPlaneCrossing2Order::solutionByDirection(), ConversionFastHelix::straightLineStateAtVertex(), TrackWithVertexSelector::testVertices(), TrackingNtuple::tpHitIndexListLessSort(), KinematicConstrainedVertexUpdator::update(), DAClusterizerInZ_vect::update(), DAClusterizerInZT_vect::update(), GeneralPurposeVertexAnalyzer::vertexPlots(), PrimaryVertexMonitor::vertexPlots(), DAClusterizerInZT_vect::vertices(), GeometricAnnealing::weight(), DeterministicAnnealing::weight(), and VirtualJetProducer::writeJets().

9  {
10  return !isFinite(x);
11  }
constexpr bool isFinite(long double x)
Definition: isFinite.h:34
float x

◆ isSameEvent() [1/2]

bool edm::isSameEvent ( EventAuxiliary const &  a,
EventAuxiliary const &  b 
)

Definition at line 15 of file EventAuxiliary.cc.

References a, and b.

Referenced by isSameEvent().

15  {
16  return a.id() == b.id() && a.processGUID() == b.processGUID() && a.luminosityBlock() == b.luminosityBlock() &&
17  a.time() == b.time() && a.isRealData() == b.isRealData() && a.experimentType() == b.experimentType() &&
18  a.bunchCrossing() == b.bunchCrossing() && a.storeNumber() == b.storeNumber();
19  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ isSameEvent() [2/2]

bool edm::isSameEvent ( EventPrincipal const &  a,
EventPrincipal const &  b 
)
inline

Definition at line 205 of file EventPrincipal.h.

References a, b, and isSameEvent().

205 { return isSameEvent(a.aux(), b.aux()); }
bool isSameEvent(EventPrincipal const &a, EventPrincipal const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ isThinnedAvailable()

template<typename C , typename KEY >
bool edm::isThinnedAvailable ( RefCore const &  product,
KEY const &  iKey 
)
inline

Definition at line 116 of file RefItemGet.h.

References edm::refitem::IsThinnedAvailableImpl< C, KEY >::isThinnedAvailable_().

116  {
117  return refitem::IsThinnedAvailableImpl<C, KEY>::isThinnedAvailable_(product, iKey);
118  }

◆ isTransientEqual()

bool edm::isTransientEqual ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 833 of file ParameterSet.cc.

References a, b, MillePedeFileConverter_cfg::e, f, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, dqmiolumiharvest::j, isotrackApplyRegressor::k, and Pi.

Referenced by edm::eventsetup::EventSetupsController::getESProducerAndRegisterProcess(), edm::eventsetup::EventSetupsController::getESSourceAndRegisterProcess(), and operator==().

833  {
834  if (a.tbl().size() != b.tbl().size()) {
835  return false;
836  }
837  if (a.psetTable().size() != b.psetTable().size()) {
838  return false;
839  }
840  if (a.vpsetTable().size() != b.vpsetTable().size()) {
841  return false;
842  }
843  typedef ParameterSet::table::const_iterator Ti;
844  for (Ti i = a.tbl().begin(), e = a.tbl().end(), j = b.tbl().begin(), f = b.tbl().end(); i != e && j != f;
845  ++i, ++j) {
846  if (*i != *j) {
847  return false;
848  }
849  }
850  typedef ParameterSet::psettable::const_iterator Pi;
851  for (Pi i = a.psetTable().begin(), e = a.psetTable().end(), j = b.psetTable().begin(), f = b.psetTable().end();
852  i != e && j != f;
853  ++i, ++j) {
854  if (i->first != j->first) {
855  return false;
856  }
857  if (i->second.isTracked() != j->second.isTracked()) {
858  return false;
859  }
860  if (!isTransientEqual(i->second.pset(), j->second.pset())) {
861  return false;
862  }
863  }
864  typedef ParameterSet::vpsettable::const_iterator PVi;
865  for (PVi i = a.vpsetTable().begin(), e = a.vpsetTable().end(), j = b.vpsetTable().begin(), f = b.vpsetTable().end();
866  i != e && j != f;
867  ++i, ++j) {
868  if (i->first != j->first) {
869  return false;
870  }
871  if (i->second.isTracked() != j->second.isTracked()) {
872  return false;
873  }
874  std::vector<ParameterSet> const& iv = i->second.vpset();
875  std::vector<ParameterSet> const& jv = j->second.vpset();
876  if (iv.size() != jv.size()) {
877  return false;
878  }
879  for (size_t k = 0; k < iv.size(); ++k) {
880  if (!isTransientEqual(iv[k], jv[k])) {
881  return false;
882  }
883  }
884  }
885  return true;
886  }
const double Pi
double f[11][100]
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)

◆ isValidGlobalIdentifier()

bool edm::isValidGlobalIdentifier ( std::string const &  guid)

Definition at line 10 of file GlobalIdentifier.cc.

References edm::Guid::isValidString().

Referenced by edm::RootOutputFile::RootOutputFile().

10 { return Guid::isValidString(guid); }

◆ isWarningEnabled()

bool edm::isWarningEnabled ( )

◆ iterateTrieLeaves()

template<typename V , typename T >
bool edm::iterateTrieLeaves ( V &  v,
TrieNode< T > const &  n,
std::string const &  label = "" 
)

visits only leaf nodes

Definition at line 267 of file Trie.h.

References MillePedeFileConverter_cfg::e, label, create_idmaps::n, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

267  {
268  typedef TrieNodeIter<T> node_iterator;
269  node_iterator e;
270  node_iterator p(&n);
271  if (p == e)
272  return true;
273  for (; p != e; ++p) {
274  if (iterateTrieLeaves(v, *p, label + (char)p.label()))
275  v((*p).value(), label + (char)p.label());
276  }
277  return false;
278  }
bool iterateTrieLeaves(V &v, TrieNode< T > const &n, std::string const &label="")
visits only leaf nodes
Definition: Trie.h:267
char const * label

◆ kBaseType()

static std::string const edm::kBaseType ( "Source"  )
static

◆ lessThan() [1/2]

bool edm::lessThan ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 64 of file LuminosityBlockRange.cc.

References mathSSE::lh, and edm::LuminosityBlockRange::startLumiID().

64  {
65  return lh.endLumiID() < rh.startLumiID();
66  }
bool int lh
Definition: SIMDVec.h:27

◆ lessThan() [2/2]

bool edm::lessThan ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 64 of file EventRange.cc.

References cms::cuda::assert(), mathSSE::lh, edm::EventRange::startEventID(), and edm::EventRange::startLumi().

Referenced by distinct(), and edm::EventSkipperByID::skipIt().

64  {
65  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
66  return lh.endEventID() < rh.startEventID();
67  }
bool int lh
Definition: SIMDVec.h:27
assert(be >=bs)

◆ lessThanSpecial()

bool edm::lessThanSpecial ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 56 of file EventRange.cc.

References mathSSE::lh, edm::EventRange::startEventID(), and edm::EventRange::startLumi().

Referenced by edm::EventSkipperByID::skipIt().

56  {
57  // First, separate the ranges so that those with 0 lumiID go first.
58  if ((lh.startLumi() == 0) != (rh.startLumi() == 0)) {
59  return lh.startLumi() == 0;
60  }
61  return lh.endEventID() < rh.startEventID();
62  }
bool int lh
Definition: SIMDVec.h:27

◆ LoggedErrorsOnlySummary()

std::vector< ErrorSummaryEntry > edm::LoggedErrorsOnlySummary ( unsigned int  iStreamID)

Definition at line 189 of file MessageSender.cc.

References cms::cuda::assert(), MillePedeFileConverter_cfg::e, ELerror, errorSummaryMaps, mps_fire::i, submitPVResolutionJobs::key, jetUpdater_cfi::sort, and findQualityFiles::v.

189  { // ChangeLog 2
190  std::vector<ErrorSummaryEntry> v;
191  assert(iStreamID < errorSummaryMaps.size());
192  auto const& errorSummaryMap = errorSummaryMaps[iStreamID];
193  auto end = errorSummaryMap.end();
194  for (auto i = errorSummaryMap.begin(); i != end; ++i) {
195  auto const& key = i->first;
196  if (key.severity >= edm::ELerror) {
197  ErrorSummaryEntry e{key.category, key.module, key.severity};
198  e.count = i->second.value().load(std::memory_order_acquire);
199  v.push_back(e);
200  }
201  }
202  std::sort(v.begin(), v.end());
203  return v;
204  }
assert(be >=bs)
key
prepare the HTCondor submission files and eventually submit them
static std::vector< oneapi::tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
constexpr const ELseverityLevel ELerror

◆ LoggedErrorsSummary()

std::vector< ErrorSummaryEntry > edm::LoggedErrorsSummary ( unsigned int  iStreamID)

Definition at line 166 of file MessageSender.cc.

References cms::cuda::assert(), MillePedeFileConverter_cfg::e, errorSummaryMaps, mps_fire::i, submitPVResolutionJobs::key, jetUpdater_cfi::sort, and findQualityFiles::v.

Referenced by HLTLogMonitorFilter::filter(), and edm::LogErrorHarvester::produce().

166  {
167  assert(iStreamID < errorSummaryMaps.size());
168  auto const& errorSummaryMap = errorSummaryMaps[iStreamID];
169  std::vector<ErrorSummaryEntry> v;
170  auto end = errorSummaryMap.end();
171  for (auto i = errorSummaryMap.begin(); i != end; ++i) {
172  auto const& key = i->first;
173  ErrorSummaryEntry e{key.category, key.module, key.severity};
174 
175  e.count = i->second.value().load(std::memory_order_acquire);
176  v.push_back(e);
177  }
178  std::sort(v.begin(), v.end());
179  return v;
180  }
assert(be >=bs)
key
prepare the HTCondor submission files and eventually submit them
static std::vector< oneapi::tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps

◆ LogStatistics()

void edm::LogStatistics ( )

Definition at line 8 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSUM().

8  {
9  edm::MessageLoggerQ::MLqSUM(); // trigger summary info
10  }
static void MLqSUM()

◆ longBranchPrint()

void edm::longBranchPrint ( TTree *  tr)

Definition at line 89 of file CollUtil.cc.

References gather_cfg::cout, and mps_fire::i.

89  {
90  if (tr != nullptr) {
91  Long64_t nB = tr->GetListOfBranches()->GetEntries();
92  for (Long64_t i = 0; i < nB; ++i) {
93  tr->GetListOfBranches()->At(i)->Print();
94  }
95  } else {
96  std::cout << "Missing Events tree?\n";
97  }
98  }

◆ lower_bound_all() [1/4]

template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator edm::lower_bound_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

◆ lower_bound_all() [2/4]

template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator edm::lower_bound_all ( ForwardSequence &  s,
Datum const &  d 
)
inline

◆ lower_bound_all() [3/4]

template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::const_iterator edm::lower_bound_all ( ForwardSequence const &  s,
Datum const &  d,
Predicate  p 
)
inline

◆ lower_bound_all() [4/4]

template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::iterator edm::lower_bound_all ( ForwardSequence &  s,
Datum const &  d,
Predicate  p 
)
inline

◆ make_functor_task()

template<typename F >
FunctorTask<F>* edm::make_functor_task ( F  f)

Definition at line 44 of file FunctorTask.h.

References f, and eostools::move().

Referenced by edm::DelayedReaderInputProductResolver::prefetchAsync_(), and edm::StreamSchedule::processOneStreamAsync().

44  {
45  return new FunctorTask<F>(std::move(f));
46  }
double f[11][100]
def move(src, dest)
Definition: eostools.py:511

◆ make_lambda_with_holder()

template<typename F >
auto edm::make_lambda_with_holder ( WaitingTaskWithArenaHolder  h,
F &&  f 
)

Definition at line 99 of file WaitingTaskWithArenaHolder.h.

References f, EcalMonitorTask_cff::func, h, and eostools::move().

Referenced by make_waiting_task_with_holder().

99  {
100  return [holder = std::move(h), func = std::forward<F>(f)]() mutable {
101  try {
102  func(holder);
103  } catch (...) {
104  holder.doneWaiting(std::current_exception());
105  }
106  };
107  }
double f[11][100]
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
def move(src, dest)
Definition: eostools.py:511

◆ make_sentry()

template<typename T , typename F >
std::unique_ptr<T, F> edm::make_sentry ( T iObject,
F  iFunc 
)

NOTE: if iObject is null, then iFunc will not be called.

Definition at line 30 of file make_sentry.h.

Referenced by edm::DelayedReaderInputProductResolver::resolveProduct_(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), edm::OutputModuleCommunicatorT< T >::writeProcessBlockAsync(), and edm::OutputModuleCommunicatorT< T >::writeRunAsync().

30  {
31  return std::unique_ptr<T, F>(iObject, iFunc);
32  }

◆ make_shared_noexcept_false()

template<typename T , typename... Args>
std::shared_ptr<T> edm::make_shared_noexcept_false ( Args &&...  args)

Definition at line 6 of file make_shared_noexcept_false.h.

References writedatasetfile::args.

6  {
7 #if defined(__APPLE__)
8  // libc++ from Apple Clang does not allow non-default destructors
9  // in some cases the destructor uses noexcept(false).
10  return std::shared_ptr<T>(new T(std::forward<Args>(args)...));
11 #else
12  return std::make_shared<T>(std::forward<Args>(args)...);
13 #endif
14  }
long double T

◆ make_waiting_task()

template<typename F >
FunctorWaitingTask<F>* edm::make_waiting_task ( F  f)

Definition at line 92 of file WaitingTask.h.

References f, and eostools::move().

Referenced by edm::EventProcessor::beginRunAsync(), edm::Worker::doTransformAsync(), edm::Worker::doWorkAsync(), edm::Worker::doWorkNoPrefetchingAsync(), edm::EventProcessor::handleNextEventForStreamAsync(), edm::waiting_task::detail::WaitingTaskChain< U >::lastTask(), edm::waiting_task::detail::WaitingTaskChain< U, T... >::lastTask(), edm::waiting_task::detail::WaitingTaskChain< Conditional< U >, T... >::lastTask(), make_waiting_task_with_holder(), edm::eventsetup::CallbackExternalWork< T, TAcquireFunc, TAcquireReturn, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeAcquireTask(), edm::eventsetup::CallbackExternalWork< T, TAcquireFunc, TAcquireReturn, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeExceptionHandlerTask(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), edm::UnscheduledProductResolver::prefetchAsync_(), edm::TransformingProductResolver::prefetchAsync_(), edm::SwitchProducerProductResolver::prefetchAsync_(), edm::SwitchAliasProductResolver::prefetchAsync_(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl(), edm::Worker::prePrefetchSelectionAsync(), edm::StreamSchedule::processOneEventAsync(), edm::GlobalSchedule::processOneGlobalAsync(), edm::StreamSchedule::processOneStreamAsync(), edm::waiting_task::detail::WaitingTaskChain< U, T... >::runLast(), edm::waiting_task::detail::WaitingTaskChain< Conditional< U >, T... >::runLast(), edm::Path::runNextWorkerAsync(), edm::eventsetup::EventSetupRecordIOVQueue::startNewIOVAsync(), edm::EventProcessor::streamEndLumiAsync(), edm::EventProcessor::streamEndRunAsync(), and edm::TransformerBase::transformImpAsync().

92  {
93  return new FunctorWaitingTask<F>(std::move(f));
94  }
double f[11][100]
def move(src, dest)
Definition: eostools.py:511

◆ make_waiting_task_with_holder()

template<typename F >
auto edm::make_waiting_task_with_holder ( WaitingTaskWithArenaHolder  h,
F &&  f 
)

Definition at line 110 of file WaitingTaskWithArenaHolder.h.

References f, EcalMonitorTask_cff::func, h, make_lambda_with_holder(), and make_waiting_task().

Referenced by cms::cuda::impl::ScopedContextHolderHelper::pushNextTask().

110  {
111  return make_waiting_task(
112  [holder = h, func = make_lambda_with_holder(h, std::forward<F>(f))](std::exception_ptr const* excptr) mutable {
113  if (excptr) {
114  holder.doneWaiting(*excptr);
115  return;
116  }
117  func();
118  });
119  }
FunctorWaitingTask< F > * make_waiting_task(F f)
Definition: WaitingTask.h:92
double f[11][100]
auto make_lambda_with_holder(WaitingTaskWithArenaHolder h, F &&f)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

◆ makeAssociativeIterator()

template<typename KeyRefType , typename AC , typename EventType >
AssociativeIterator<KeyRefType, AC, edm::EventItemGetter<KeyRefType, EventType> > edm::makeAssociativeIterator ( const AC &  map,
const EventType &  event 
)

Definition at line 247 of file AssociativeIterator.h.

References genParticles_cff::map.

248  {
250  return AssociativeIterator<KeyRefType, AC, Getter>(map, Getter{event});
251  }
Helper class that fetches some type of Ref given ProductID and index, using the edm::Event.

◆ makeBranchListIndexToProcessIndex()

std::vector< ProcessIndex > edm::makeBranchListIndexToProcessIndex ( BranchListIndexes const &  branchListIndexes)

Definition at line 7 of file branchIDToProductID.cc.

References WZElectronSkims53X_cff::max.

Referenced by ProvenanceDumper::makeBranchIDListHelper(), and edm::EventPrincipal::updateBranchListIndexes().

7  {
8  ProcessIndex pix = 0;
9  auto const nelem = 1 + *std::max_element(branchListIndexes.begin(), branchListIndexes.end());
10  std::vector<ProcessIndex> branchListIndexToProcessIndex(nelem, std::numeric_limits<BranchListIndex>::max());
11  for (auto const& blindex : branchListIndexes) {
12  branchListIndexToProcessIndex[blindex] = pix;
13  ++pix;
14  }
15  return branchListIndexToProcessIndex;
16  }
unsigned short ProcessIndex
Definition: ProductID.h:25

◆ makeESHandleExceptionFactory()

template<typename T >
std::shared_ptr<ESHandleExceptionFactory> edm::makeESHandleExceptionFactory ( T &&  iFunctor)

◆ makeESValid()

template<typename U >
auto edm::makeESValid ( const U &  iOtherHandleType)
noexcept

Take a handle (e.g. edm::ESHandle<T>) and create a edm::ESValidHandle<T>. If the argument is an invalid handle, an exception will be thrown.

Definition at line 68 of file ESValidHandle.h.

References edm::esvhhelper::throwIfNotValid().

68  {
69  esvhhelper::throwIfNotValid(iOtherHandleType.product());
70  //because of the check, we know this is valid and do not have to check again
71  return ESValidHandle<typename U::value_type>(*iOtherHandleType.product(), iOtherHandleType.description());
72  }
void throwIfNotValid(const void *) noexcept(false)
Definition: ESValidHandle.cc:5

◆ makeHandleExceptionFactory()

template<typename T >
std::shared_ptr<HandleExceptionFactory> edm::makeHandleExceptionFactory ( T &&  iFunctor)

◆ makeInput()

std::unique_ptr<InputSource> edm::makeInput ( unsigned int  moduleIndex,
ParameterSet params,
CommonParams const &  common,
std::shared_ptr< ProductRegistry preg,
std::shared_ptr< BranchIDListHelper branchIDListHelper,
std::shared_ptr< ProcessBlockHelper > const &  processBlockHelper,
std::shared_ptr< ThinnedAssociationsHelper thinnedAssociationsHelper,
std::shared_ptr< ActivityRegistry areg,
std::shared_ptr< ProcessConfiguration const >  processConfiguration,
PreallocationConfiguration const &  allocations 
)

Definition at line 119 of file EventProcessor.cc.

References cms::Exception::addContext(), edm::errors::Configuration, beamerCreator::create(), Exception, trigObjTnPSource_cfi::filler, edm::InputSourceFactory::get(), get, edm::ParameterSet::getParameter(), edm::ParameterSet::id(), input, edm::InputSourceFactory::makeInputSource(), submitPVValidationJobs::params, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::convertException::wrap().

Referenced by edm::EventProcessor::init(), and edm::test::TestSourceProcessor::TestSourceProcessor().

128  {
129  ParameterSet* main_input = params.getPSetForUpdate("@main_input");
130  if (main_input == nullptr) {
132  << "There must be exactly one source in the configuration.\n"
133  << "It is missing (or there are sufficient syntax errors such that it is not recognized as the source)\n";
134  }
135 
136  std::string modtype(main_input->getParameter<std::string>("@module_type"));
137 
138  std::unique_ptr<ParameterSetDescriptionFillerBase> filler(
140  ConfigurationDescriptions descriptions(filler->baseType(), modtype);
141  filler->fill(descriptions);
142 
143  try {
144  convertException::wrap([&]() { descriptions.validate(*main_input, std::string("source")); });
145  } catch (cms::Exception& iException) {
146  std::ostringstream ost;
147  ost << "Validating configuration of input source of type " << modtype;
148  iException.addContext(ost.str());
149  throw;
150  }
151 
152  main_input->registerIt();
153 
154  // Fill in "ModuleDescription", in case the input source produces
155  // any EDProducts, which would be registered in the ProductRegistry.
156  // Also fill in the process history item for this process.
157  // There is no module label for the unnamed input source, so
158  // just use "source".
159  // Only the tracked parameters belong in the process configuration.
160  ModuleDescription md(main_input->id(),
161  main_input->getParameter<std::string>("@module_type"),
162  "source",
163  processConfiguration.get(),
164  moduleIndex);
165 
166  InputSourceDescription isdesc(md,
167  preg,
168  branchIDListHelper,
169  processBlockHelper,
170  thinnedAssociationsHelper,
171  areg,
172  common.maxEventsInput_,
173  common.maxLumisInput_,
174  common.maxSecondsUntilRampdown_,
175  allocations);
176 
177  areg->preSourceConstructionSignal_(md);
178  std::unique_ptr<InputSource> input;
179  try {
180  //even if we have an exception, send the signal
181  std::shared_ptr<int> sentry(nullptr, [areg, &md](void*) { areg->postSourceConstructionSignal_(md); });
182  convertException::wrap([&]() {
183  input = std::unique_ptr<InputSource>(InputSourceFactory::get()->makeInputSource(*main_input, isdesc).release());
184  input->preEventReadFromSourceSignal_.connect(std::cref(areg->preEventReadFromSourceSignal_));
185  input->postEventReadFromSourceSignal_.connect(std::cref(areg->postEventReadFromSourceSignal_));
186  });
187  } catch (cms::Exception& iException) {
188  std::ostringstream ost;
189  ost << "Constructing input source of type " << modtype;
190  iException.addContext(ost.str());
191  throw;
192  }
193  return input;
194  }
def create(alignables, pedeDump, additionalData, outputFile, config)
static std::string const input
Definition: EdmProvDump.cc:50
Definition: common.py:1
void addContext(std::string const &context)
Definition: Exception.cc:169
auto wrap(F iFunc) -> decltype(iFunc())
#define get

◆ makeModuleTypeResolverMaker()

std::unique_ptr< edm::ModuleTypeResolverMaker const > edm::makeModuleTypeResolverMaker ( edm::ParameterSet const &  pset)

Definition at line 8 of file makeModuleTypeResolverMaker.cc.

References get, mergeVDriftHistosByStation::name, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::test::TestProcessor::TestProcessor().

8  {
9  auto const& name = pset.getUntrackedParameter<std::string>("@module_type_resolver");
10  if (name.empty()) {
11  return nullptr;
12  }
14  }
#define get

◆ makeNotFoundException()

static std::shared_ptr<cms::Exception> edm::makeNotFoundException ( char const *  where,
KindOfType  kindOfType,
TypeID const &  productType,
std::string const &  label,
std::string const &  instance,
std::string const &  process 
)
static

Definition at line 56 of file Principal.cc.

References cppFunctionSkipper::exception, instance, label, LaserDQM_cfg::process, PRODUCT_TYPE, and edm::errors::ProductNotFound.

Referenced by edm::Principal::getByLabel().

61  {
62  std::shared_ptr<cms::Exception> exception = std::make_shared<Exception>(errors::ProductNotFound);
63  if (kindOfType == PRODUCT_TYPE) {
64  *exception << "Principal::" << where
65  << ": Found zero products matching all criteria\nLooking for type: " << productType << "\n"
66  << "Looking for module label: " << label << "\n"
67  << "Looking for productInstanceName: " << instance << "\n"
68  << (process.empty() ? "" : "Looking for process: ") << process << "\n";
69  } else {
70  *exception << "Principal::" << where
71  << ": Found zero products matching all criteria\nLooking for a container with elements of type: "
72  << productType << "\n"
73  << "Looking for module label: " << label << "\n"
74  << "Looking for productInstanceName: " << instance << "\n"
75  << (process.empty() ? "" : "Looking for process: ") << process << "\n";
76  }
77  return exception;
78  }
static PFTauRenderPlugin instance
char const * label

◆ makeParameterSets()

void edm::makeParameterSets ( std::string const &  configtext,
std::unique_ptr< ParameterSet > &  main 
)

essentially the same as the previous method

Definition at line 19 of file ParameterSetReader.cc.

References edm::cmspybind11::makeParameterSets(), and PyBind11ProcessDesc::parameterSet().

Referenced by makeParameterSets().

19  {
21 }
Definition: main.py:1
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method

◆ makeRefTo()

template<class HandleT >
Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefTo ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::const_iterator  itIter 
)
inline

Definition at line 409 of file DetSetVector.h.

References edm::errors::InvalidReference, and edm::Exception::throwThis().

Referenced by makeRefToDetSetVector(), tt::StubAssociator::produce(), trackerDTC::ProducerED::produce(), and TTClusterBuilder< T >::RetrieveRawHits().

410  {
411  typedef typename HandleT::element_type Vec;
413  typename Vec::const_iterator itFound = iHandle->find(iDetID);
414  if (itFound == iHandle->end()) {
415  Exception::throwThis(errors::InvalidReference,
416  "an edm::Ref to an edm::DetSetVector was given a DetId, ",
417  iDetID,
418  ", that is not in the DetSetVector");
419  }
420  index += (itIter - itFound->data.begin());
421  if (index >= itFound->data.size()) {
422  Exception::throwThis(errors::InvalidReference,
423  "an edm::Ref to a edm::DetSetVector is being made with an interator that is not part of the "
424  "edm::DetSet itself");
425  }
426  return Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type>(
427  iHandle, std::make_pair(iDetID, index));
428  }
uint16_t size_type
alpaka::Vec< TDim, Idx > Vec
Definition: config.h:24

◆ makeRefToBaseProdFrom()

template<typename T >
RefToBaseProd<T> edm::makeRefToBaseProdFrom ( RefToBase< T > const &  iRef,
Event const &  iEvent 
)

◆ makeRefToDetSetRefVector() [1/2]

template<class HandleT >
Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetRefVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::const_iterator  itIter 
)

Definition at line 280 of file DetSetRefVector.h.

Referenced by makeRefToDetSetRefVector().

281  {
282  typedef typename HandleT::element_type Vec;
284  typename Vec::const_iterator itFound = iHandle->find(iDetID);
285  index += (itIter - itFound->data.begin());
286  return Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type>(
287  iHandle, std::make_pair(iDetID, index));
288  }
uint16_t size_type
alpaka::Vec< TDim, Idx > Vec
Definition: config.h:24

◆ makeRefToDetSetRefVector() [2/2]

template<class HandleT >
Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetRefVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::iterator  itIter 
)

Definition at line 291 of file DetSetRefVector.h.

References makeRefToDetSetRefVector().

292  {
293  typedef typename HandleT::element_type Vec;
294  typename Vec::detset::const_iterator itIter2 = itIter;
295  return makeRefToDetSetRefVector(iHandle, iDetID, itIter2);
296  }
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetRefVector(const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::iterator itIter)
alpaka::Vec< TDim, Idx > Vec
Definition: config.h:24

◆ makeRefToDetSetVector()

template<class HandleT >
Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::iterator  itIter 
)
inline

Definition at line 432 of file DetSetVector.h.

References makeRefTo().

434  {
435  typedef typename HandleT::element_type Vec;
436  typename Vec::detset::const_iterator itIter2 = itIter;
437  return makeRefTo(iHandle, iDetID, itIter2);
438  }
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
Definition: DetSetVector.h:409
alpaka::Vec< TDim, Idx > Vec
Definition: config.h:24

◆ makeRunHelper()

std::unique_ptr< RunHelperBase > edm::makeRunHelper ( ParameterSet const &  pset)

Definition at line 12 of file RunHelper.cc.

References muonDTDigis_cfi::pset, writedatasetfile::run, writedatasetfile::runs, and mitigatedMETSequence_cff::U.

12  {
13  if (pset.exists("setRunNumber")) {
14  RunNumber_t run = pset.getUntrackedParameter<unsigned int>("setRunNumber");
15  if (run != 0U) {
16  return std::make_unique<SetRunHelper>(pset);
17  }
18  }
19  if (pset.exists("setRunNumberForEachLumi")) {
20  std::vector<RunNumber_t> runs = pset.getUntrackedParameter<std::vector<unsigned int>>("setRunNumberForEachLumi");
21  if (!runs.empty()) {
22  return std::make_unique<SetRunForEachLumiHelper>(pset);
23  }
24  }
25  if (pset.exists("firstLuminosityBlockForEachRun")) {
26  if (not pset.getUntrackedParameter<std::vector<LuminosityBlockID>>("firstLuminosityBlockForEachRun").empty()) {
27  return std::make_unique<FirstLuminosityBlockForEachRunHelper>(pset);
28  }
29  }
30  return std::make_unique<DefaultRunHelper>();
31  }
unsigned int RunNumber_t

◆ makeValid()

template<typename U >
auto edm::makeValid ( const U &  iOtherHandleType)
noexcept

Take a handle (e.g. edm::Handle<T> or edm::OrphanHandle<T> and create a edm::ValidHandle<T>. If the argument is an invalid handle, an exception will be thrown.

Definition at line 52 of file ValidHandle.h.

References edm::vhhelper::throwIfNotValid().

Referenced by EtlDigiHitsValidation::analyze(), BtlDigiHitsValidation::analyze(), EtlSimHitsValidation::analyze(), BtlSimHitsValidation::analyze(), BtlLocalRecoValidation::analyze(), EtlLocalRecoValidation::analyze(), MtdEleIsoValidation::analyze(), MtdTracksValidation::analyze(), MtdTracksValidation::checkAcceptance(), GEDPhotonCoreProducer::produce(), and LowPtGsfElectronSCProducer::produce().

52  {
53  vhhelper::throwIfNotValid(iOtherHandleType.product());
54  //because of the check, we know this is valid and do not have to check again
55  return ValidHandle<typename U::element_type>(*iOtherHandleType.product(), iOtherHandleType.id());
56  }
void throwIfNotValid(const void *) noexcept(false)
Definition: ValidHandle.cc:5

◆ match()

std::string edm::match ( BranchDescription const &  a,
BranchDescription const &  b,
std::string const &  fileName 
)

Definition at line 352 of file BranchDescription.cc.

References a, b, and MillePedeFileConverter_cfg::fileName.

Referenced by edm::RootOutputFile::beginInputFile(), edm::EventSelector::identical(), ConversionTools::matchedConversion(), ConversionTools::matchedPromptElectron(), edm::ProductRegistry::merge(), reco::modules::MCMatchCandRefSelector::newEvent(), edm::InputTagMatch::operator()(), CosmicMuonLinksProducer::sharedHits(), and edm::ThinnedAssociationsHelper::shouldKeepAssociation().

352  {
353  std::ostringstream differences;
354  if (a.branchName() != b.branchName()) {
355  differences << "Branch name '" << b.branchName() << "' does not match '" << a.branchName() << "'.\n";
356  // Need not compare components of branch name individually.
357  // (a.friendlyClassName() != b.friendlyClassName())
358  // (a.moduleLabel() != b.moduleLabel())
359  // (a.productInstanceName() != b.productInstanceName())
360  // (a.processName() != b.processName())
361  }
362  if (a.branchType() != b.branchType()) {
363  differences << "Branch '" << b.branchName() << "' is a(n) '" << b.branchType() << "' branch\n";
364  differences << " in file '" << fileName << "', but a(n) '" << a.branchType()
365  << "' branch in previous files.\n";
366  }
367  if (a.branchID() != b.branchID()) {
368  differences << "Branch '" << b.branchName() << "' has a branch ID of '" << b.branchID() << "'\n";
369  differences << " in file '" << fileName << "', but '" << a.branchID() << "' in previous files.\n";
370  }
371  if (a.fullClassName() != b.fullClassName()) {
372  differences << "Products on branch '" << b.branchName() << "' have type '" << b.fullClassName() << "'\n";
373  differences << " in file '" << fileName << "', but '" << a.fullClassName() << "' in previous files.\n";
374  }
375  if (!b.dropped() && a.dropped()) {
376  differences << "Branch '" << a.branchName() << "' was dropped in the first input file but is present in '"
377  << fileName << "'.\n";
378  }
379  return differences.str();
380  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ max() [1/2]

LuminosityBlockID const& edm::max ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 101 of file LuminosityBlockID.h.

References mathSSE::lh.

101  {
102  return (rh < lh ? lh : rh);
103  }
bool int lh
Definition: SIMDVec.h:27

◆ max() [2/2]

EventID const& edm::max ( EventID const &  lh,
EventID const &  rh 
)
inline

◆ maxIDlength()

const unsigned int edm::maxIDlength ( 200  )

Referenced by edm::ErrorObj::setID().

◆ merge()

bool edm::merge ( LuminosityBlockRange lh,
LuminosityBlockRange rh 
)

Definition at line 72 of file LuminosityBlockRange.cc.

References edm::LuminosityBlockRange::endLumiID(), mathSSE::lh, max(), min(), overlaps(), and edm::LuminosityBlockRange::startLumiID().

Referenced by sortAndRemoveOverlaps().

72  {
73  if (overlaps(lh, rh)) {
74  LuminosityBlockID begin = min(lh.startLumiID(), rh.startLumiID());
75  LuminosityBlockID end = max(lh.endLumiID(), rh.endLumiID());
77  return true;
78  }
79  return false;
80  }
bool int lh
Definition: SIMDVec.h:27

◆ min() [1/2]

LuminosityBlockID const& edm::min ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 97 of file LuminosityBlockID.h.

References mathSSE::lh.

97  {
98  return (rh < lh ? rh : lh);
99  }
bool int lh
Definition: SIMDVec.h:27

◆ min() [2/2]

EventID const& edm::min ( EventID const &  lh,
EventID const &  rh 
)
inline

◆ moduleName()

std::string edm::moduleName ( StableProvenance const &  provenance,
ProcessHistory const &  history 
)

Definition at line 27 of file Provenance.cc.

References edm::ParameterSet::getParameter(), isotrackTrainRegressor::history, parameterSet(), crab_script::provenance, AlCaHLTBitMon_QueryRunRegistry::string, triggerResults(), and triggerResultsInserter().

Referenced by TopDecaySubset::checkShowerModel(), edm::DaqProvenanceHelper::DaqProvenanceHelper(), edm::service::ELdestination::excludeModule(), edm::LHEProvenanceHelper::fillCommonProcessParameterSet(), edm::service::ELdestination::filterModule(), edm::service::ELdestination::ignoreModule(), edm::InputFile::inputFileOpened(), OniaVtxReProducer::OniaVtxReProducer(), HadronAndPartonSelector::produce(), edm::RootFile::reportOpened(), edm::JobReport::reportPerformanceForModule(), edm::service::ELdestination::respondToModule(), edm::RootOutputFile::RootOutputFile(), and edm::Maker::throwValidationException().

27  {
28  // Trigger results ia a special case
29  if (provenance.moduleLabel() == triggerResults) {
31  }
32  return parameterSet(provenance, history).getParameter<std::string>("@module_type");
33  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
static std::string const triggerResultsInserter("TriggerResultsInserter")
static std::string const triggerResults
Definition: EdmProvDump.cc:47

◆ moveFromTo()

template<typename... TArgs, typename ToT >
void edm::moveFromTo ( ESProducts< TArgs... > &  iFrom,
ToT &  iTo 
)

Definition at line 134 of file ESProducts.h.

References edm::eventsetup::produce::ProductHolder< TArgs... >::moveTo().

134  {
135  iFrom.moveTo(iTo);
136  }

◆ mustBeNonZero()

EDProductGetter const * edm::mustBeNonZero ( EDProductGetter const *  prodGetter,
std::string  refType,
ProductID const &  productID 
)

Definition at line 65 of file EDProductGetter.cc.

References Exception, and edm::errors::InvalidReference.

67  {
68  if (prodGetter != nullptr)
69  return prodGetter;
70  throw Exception(errors::InvalidReference, refType)
71  << "Attempt to construct a " << refType << " with ProductID " << productID << "\n"
72  << "but with a null pointer to a product getter.\n"
73  << "The product getter pointer passed to the constructor must refer\n"
74  << "to a real getter, such as an EventPrincipal.\n";
75  }

◆ nextIdentifier()

static Principal::CacheIdentifier_t edm::nextIdentifier ( )
inlinestatic

Definition at line 114 of file Principal.cc.

References s_nextIdentifier.

Referenced by edm::Principal::fillPrincipal().

114  {
115  return s_nextIdentifier.fetch_add(1, std::memory_order_acq_rel);
116  }
static std::atomic< Principal::CacheIdentifier_t > s_nextIdentifier
Definition: Principal.cc:113

◆ nonConsumedUnscheduledModules()

std::vector< ModuleDescription const * > edm::nonConsumedUnscheduledModules ( edm::PathsAndConsumesOfModulesBase const &  iPnC,
std::vector< ModuleProcessName > &  consumedByChildren 
)

Definition at line 166 of file PathsAndConsumesOfModules.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), edmTracerLogToSimpleConfig::allModules, ALPAKA_ACCELERATOR_NAMESPACE::lst::binary_search(), filterCSVwithJSON::copy, makeListRunsInFiles::description, edm::PathsAndConsumesOfModulesBase::endPaths(), spr::find(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), or, edm::PathsAndConsumesOfModulesBase::paths(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::EventProcessor::beginJob(), and edm::SubProcess::keepOnlyConsumedUnscheduledModules().

167  {
168  const std::string kTriggerResults("TriggerResults");
169 
170  std::vector<std::string> pathNames = iPnC.paths();
171  const unsigned int kFirstEndPathIndex = pathNames.size();
172  pathNames.insert(pathNames.end(), iPnC.endPaths().begin(), iPnC.endPaths().end());
173 
174  // The goal is to find modules that are not depended upon by
175  // scheduled modules. To do that, we identify all modules that are
176  // depended upon by scheduled modules, and do a set subtraction.
177  //
178  // First, denote all scheduled modules (i.e. in Paths and
179  // EndPaths) as "consumers".
180  std::vector<ModuleDescription const*> consumerModules;
181  for (unsigned int pathIndex = 0; pathIndex != pathNames.size(); ++pathIndex) {
182  std::vector<ModuleDescription const*> const* moduleDescriptions;
183  if (pathIndex < kFirstEndPathIndex) {
184  moduleDescriptions = &(iPnC.modulesOnPath(pathIndex));
185  } else {
186  moduleDescriptions = &(iPnC.modulesOnEndPath(pathIndex - kFirstEndPathIndex));
187  }
188  std::copy(moduleDescriptions->begin(), moduleDescriptions->end(), std::back_inserter(consumerModules));
189  }
190 
191  // Then add TriggerResults, and all Paths and EndPaths themselves
192  // to the set of "consumers" (even if they don't depend on any
193  // data products, they must not be deleted). Also add anything
194  // consumed by child SubProcesses to the set of "consumers".
195  auto const& allModules = iPnC.allModules();
196  for (auto const& description : allModules) {
197  if (description->moduleLabel() == kTriggerResults or
198  std::find(pathNames.begin(), pathNames.end(), description->moduleLabel()) != pathNames.end()) {
199  consumerModules.push_back(description);
200  } else if (std::binary_search(consumedByChildren.begin(),
201  consumedByChildren.end(),
202  ModuleProcessName{description->moduleLabel(), description->processName()}) or
203  std::binary_search(consumedByChildren.begin(),
204  consumedByChildren.end(),
205  ModuleProcessName{description->moduleLabel(), ""})) {
206  consumerModules.push_back(description);
207  }
208  }
209 
210  // Find modules that have any data dependence path to any module
211  // in consumerModules.
212  std::unordered_set<unsigned int> consumedModules;
213  for (auto& description : consumerModules) {
214  findAllConsumedModules(iPnC, description, consumedModules);
215  }
216 
217  // All other modules will then be classified as non-consumed, even
218  // if they would have dependencies within them.
219  std::vector<ModuleDescription const*> unusedModules;
220  std::copy_if(allModules.begin(),
221  allModules.end(),
222  std::back_inserter(unusedModules),
223  [&consumedModules](ModuleDescription const* description) {
224  return consumedModules.find(description->id()) == consumedModules.end();
225  });
226  return unusedModules;
227  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE int binary_search(const unsigned int *data, unsigned int search_val, unsigned int ndata)
Definition: Hit.h:59
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12

◆ numEntries()

Long64_t edm::numEntries ( TFile *  hdl,
std::string const &  trname 
)

Definition at line 50 of file CollUtil.cc.

References gather_cfg::cout.

Referenced by reco::tau::format_vint(), format_vstring(), edm::RootFile::readEntryDescriptionTree(), edm::RootFile::readParentageTree(), and ProvenanceDumper::work_().

50  {
51  TTree *tree = (TTree *)hdl->Get(trname.c_str());
52  if (tree) {
53  return tree->GetEntries();
54  } else {
55  std::cout << "ERR cannot find a TTree named \"" << trname << "\"" << std::endl;
56  return -1;
57  }
58  }
Definition: tree.py:1

◆ openFileHdl()

TFile * edm::openFileHdl ( std::string const &  fname)

Definition at line 24 of file CollUtil.cc.

References gather_cfg::cout, beamvalidation::exit(), and alignmentValidation::fname.

24  {
25  TFile *hdl = TFile::Open(fname.c_str(), "read");
26 
27  if (nullptr == hdl) {
28  std::cout << "ERR Could not open file " << fname.c_str() << std::endl;
29  exit(1);
30  }
31  return hdl;
32  }
string fname
main script
def exit(msg="")

◆ operator &&() [1/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 185 of file ParameterDescriptionNode.cc.

186  {
187  return std::make_unique<ANDGroupDescription>(node_left, node_right);
188  }

◆ operator &&() [2/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 190 of file ParameterDescriptionNode.cc.

References eostools::move().

191  {
192  return std::make_unique<ANDGroupDescription>(std::move(node_left), node_right);
193  }
def move(src, dest)
Definition: eostools.py:511

◆ operator &&() [3/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 195 of file ParameterDescriptionNode.cc.

References eostools::move().

196  {
197  return std::make_unique<ANDGroupDescription>(node_left, std::move(node_right));
198  }
def move(src, dest)
Definition: eostools.py:511

◆ operator &&() [4/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( std::unique_ptr< ParameterDescriptionNode node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 200 of file ParameterDescriptionNode.cc.

References eostools::move().

201  {
202  return std::make_unique<ANDGroupDescription>(std::move(node_left), std::move(node_right));
203  }
def move(src, dest)
Definition: eostools.py:511

◆ operator &&() [5/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 185 of file ParameterDescriptionNode.cc.

186  {
187  return std::make_unique<ANDGroupDescription>(node_left, node_right);
188  }

◆ operator &&() [6/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 190 of file ParameterDescriptionNode.cc.

References eostools::move().

191  {
192  return std::make_unique<ANDGroupDescription>(std::move(node_left), node_right);
193  }
def move(src, dest)
Definition: eostools.py:511

◆ operator &&() [7/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 195 of file ParameterDescriptionNode.cc.

References eostools::move().

196  {
197  return std::make_unique<ANDGroupDescription>(node_left, std::move(node_right));
198  }
def move(src, dest)
Definition: eostools.py:511

◆ operator &&() [8/8]

std::unique_ptr<ParameterDescriptionNode> edm::operator&& ( std::unique_ptr< ParameterDescriptionNode node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 200 of file ParameterDescriptionNode.cc.

References eostools::move().

201  {
202  return std::make_unique<ANDGroupDescription>(std::move(node_left), std::move(node_right));
203  }
def move(src, dest)
Definition: eostools.py:511

◆ operator!=() [1/38]

bool edm::operator!= ( FileID const &  lh,
FileID const &  rh 
)
inline

Definition at line 27 of file FileID.h.

References mathSSE::lh.

27 { return !(lh == rh); }
bool int lh
Definition: SIMDVec.h:27

◆ operator!=() [2/38]

bool edm::operator!= ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 41 of file RunLumiEntryInfo.h.

References a, and b.

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

◆ operator!=() [3/38]

bool edm::operator!= ( ElementID const &  lh,
ElementID const &  rh 
)
inline

Definition at line 46 of file ElementID.h.

References mathSSE::lh.

46 { return !(lh == rh); }
bool int lh
Definition: SIMDVec.h:27

◆ operator!=() [4/38]

bool edm::operator!= ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 49 of file EventEntryInfo.h.

References a, and b.

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

◆ operator!=() [5/38]

bool edm::operator!= ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 50 of file ProductID.h.

References mathSSE::lh.

50 { return !(lh == rh); }
bool int lh
Definition: SIMDVec.h:27

◆ operator!=() [6/38]

bool edm::operator!= ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 51 of file BranchKey.h.

References a, and b.

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

◆ operator!=() [7/38]

bool edm::operator!= ( TypeID const &  a,
TypeID const &  b 
)
inline

Definition at line 55 of file TypeID.h.

References a, and b.

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

◆ operator!=() [8/38]

bool edm::operator!= ( EventEntryDescription const &  a,
EventEntryDescription const &  b 
)
inline

Definition at line 57 of file EventEntryDescription.h.

References a, and b.

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

◆ operator!=() [9/38]

template<typename T1 , template< typename X1 > class B1, typename T2 , template< typename X2 > class B2>
bool edm::operator!= ( const zero_allocator< T1, B1 > &  a,
const zero_allocator< T2, B2 > &  b 
)
inline

Definition at line 57 of file zero_allocator.h.

References a, and b.

57  {
58  return static_cast<B1<T1> >(a) != static_cast<B2<T2> >(b);
59  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator!=() [10/38]

bool edm::operator!= ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 59 of file ProductProvenance.h.

References a, and b.

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

◆ operator!=() [11/38]

bool edm::operator!= ( const TypeIDBase a,
const TypeIDBase b 
)
inline

Definition at line 64 of file TypeIDBase.h.

References a, and b.

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

◆ operator!=() [12/38]

bool edm::operator!= ( Parentage const &  a,
Parentage const &  b 
)
inline

Definition at line 70 of file Parentage.h.

References a, and b.

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

◆ operator!=() [13/38]

bool edm::operator!= ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 71 of file ProcessConfiguration.h.

References a, and b.

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

◆ operator!=() [14/38]

constexpr bool edm::operator!= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 105 of file ELseverityLevel.h.

References StorageManager_cfg::e1.

105  {
106  return e1.cmp(e2) != 0;
107  }

◆ operator!=() [15/38]

bool edm::operator!= ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 110 of file ProcessHistory.h.

References a, and b.

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

◆ operator!=() [16/38]

template<typename T >
bool edm::operator!= ( FwdPtr< T > const &  lhs,
FwdPtr< T > const &  rhs 
)
inline

Definition at line 134 of file FwdPtr.h.

134  {
135  return !(lhs == rhs);
136  }

◆ operator!=() [17/38]

bool edm::operator!= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 135 of file FileIndex.h.

References mathSSE::lh.

135 { return lh < rh || rh < lh; }
bool int lh
Definition: SIMDVec.h:27

◆ operator!=() [18/38]

bool edm::operator!= ( TypeWithDict const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 141 of file TypeWithDict.h.

References a, and b.

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

◆ operator!=() [19/38]

bool edm::operator!= ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 142 of file RefCore.h.

142 { return !(lhs == rhs); }

◆ operator!=() [20/38]

template<typename KEY >
bool edm::operator!= ( RefVectorBase< KEY > const &  lhs,
RefVectorBase< KEY > const &  rhs 
)

Inequality operator.

Definition at line 143 of file RefVectorBase.h.

143  {
144  return !(lhs == rhs);
145  }

◆ operator!=() [21/38]

bool edm::operator!= ( TypeWithDict const &  a,
std::type_info const &  b 
)
inline

Definition at line 145 of file TypeWithDict.h.

References a, and b.

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

◆ operator!=() [22/38]

template<typename T >
bool edm::operator!= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 298 of file View.h.

298  {
299  return !(lhs == rhs);
300  }

◆ operator!=() [23/38]

bool edm::operator!= ( std::type_info const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 149 of file TypeWithDict.h.

References a, and b.

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

◆ operator!=() [24/38]

template<typename T >
bool edm::operator!= ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 164 of file RefToBaseProd.h.

164  {
165  return !(lhs == rhs);
166  }

◆ operator!=() [25/38]

template<typename T , typename U >
bool edm::operator!= ( atomic_value_ptr< T > const &  lhs,
U const &  rhs 
)
inline

Definition at line 168 of file atomic_value_ptr.h.

References edm::atomic_value_ptr< T >::this_type_does_not_support_comparisons().

168  {
169  lhs.this_type_does_not_support_comparisons();
170  return false;
171  }

◆ operator!=() [26/38]

template<typename T , typename U >
bool edm::operator!= ( U const &  lhs,
atomic_value_ptr< T > const &  rhs 
)
inline

Definition at line 180 of file atomic_value_ptr.h.

References edm::atomic_value_ptr< T >::this_type_does_not_support_comparisons().

180  {
181  rhs.this_type_does_not_support_comparisons();
182  return false;
183  }

◆ operator!=() [27/38]

template<typename C >
bool edm::operator!= ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 185 of file RefProd.h.

185  {
186  return !(lhs == rhs);
187  }

◆ operator!=() [28/38]

template<typename T , typename U >
bool edm::operator!= ( value_ptr< T > const &  lhs,
U const &  rhs 
)
inline

Definition at line 197 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

197  {
198  lhs.this_type_does_not_support_comparisons();
199  return false;
200  }

◆ operator!=() [29/38]

bool edm::operator!= ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 202 of file ProductRegistry.h.

References a, and b.

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

◆ operator!=() [30/38]

bool edm::operator!= ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 204 of file Entry.h.

References a, and b.

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

◆ operator!=() [31/38]

template<typename T , typename U >
bool edm::operator!= ( U const &  lhs,
value_ptr< T > const &  rhs 
)
inline

Definition at line 209 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

209  {
210  rhs.this_type_does_not_support_comparisons();
211  return false;
212  }

◆ operator!=() [32/38]

template<typename C , typename T , typename F >
bool edm::operator!= ( RefVector< C, T, F > const &  lhs,
RefVector< C, T, F > const &  rhs 
)
inline

Definition at line 210 of file RefVector.h.

210  {
211  return !(lhs == rhs);
212  }

◆ operator!=() [33/38]

template<typename T >
bool edm::operator!= ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 245 of file Ptr.h.

245  {
246  return !(lhs == rhs);
247  }

◆ operator!=() [34/38]

template<typename C , typename T , typename F >
bool edm::operator!= ( FwdRef< C, T, F > const &  lhs,
FwdRef< C, T, F > const &  rhs 
)
inline

Definition at line 246 of file FwdRef.h.

246  {
247  return !(lhs == rhs);
248  }

◆ operator!=() [35/38]

template<typename C , typename T , typename F >
bool edm::operator!= ( Ref< C, T, F > const &  lhs,
FwdRef< C, T, F > const &  rhs 
)
inline

Definition at line 251 of file FwdRef.h.

251  {
252  return !(lhs == rhs);
253  }

◆ operator!=() [36/38]

template<typename C , typename T , typename F >
bool edm::operator!= ( FwdRef< C, T, F > const &  lhs,
Ref< C, T, F > const &  rhs 
)
inline

Definition at line 256 of file FwdRef.h.

256  {
257  return !(lhs == rhs);
258  }

◆ operator!=() [37/38]

bool edm::operator!= ( ParameterSet const &  a,
ParameterSet const &  b 
)
inline

Definition at line 299 of file ParameterSet.h.

References a, and b.

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

◆ operator!=() [38/38]

template<typename C , typename T , typename F >
bool edm::operator!= ( Ref< C, T, F > const &  lhs,
Ref< C, T, F > const &  rhs 
)
inline

Definition at line 576 of file Ref.h.

576  {
577  return !(lhs == rhs);
578  }

◆ operator+() [1/3]

template<typename C >
Association<C> edm::operator+ ( const Association< C > &  a1,
const Association< C > &  a2 
)
inline

Definition at line 117 of file Association.h.

References a, isotrackTrainRegressor::a1, and isotrackTrainRegressor::a2.

117  {
118  Association<C> a = a1;
119  a += a2;
120  return a;
121  }
double a
Definition: hdecay.h:121

◆ operator+() [2/3]

template<typename C , typename T , typename F >
RefVectorIterator<C, T, F> edm::operator+ ( typename RefVectorIterator< C, T, F >::difference  n,
RefVectorIterator< C, T, F > const &  iter 
)
inline

Definition at line 133 of file RefVectorIterator.h.

References create_idmaps::n.

134  {
135  return iter + n;
136  }

◆ operator+() [3/3]

template<typename T >
ValueMap<T> edm::operator+ ( const ValueMap< T > &  a1,
const ValueMap< T > &  a2 
)
inline

Definition at line 267 of file ValueMap.h.

References a, isotrackTrainRegressor::a1, and isotrackTrainRegressor::a2.

267  {
268  ValueMap<T> a = a1;
269  a += a2;
270  return a;
271  }
double a
Definition: hdecay.h:121

◆ operator<() [1/29]

bool edm::operator< ( EventProcessHistoryID const &  lh,
EventProcessHistoryID const &  rh 
)
inline

Definition at line 22 of file EventProcessHistoryID.h.

References edm::EventProcessHistoryID::eventID(), and mathSSE::lh.

22  {
23  return lh.eventID() < rh.eventID();
24  }
bool int lh
Definition: SIMDVec.h:27

◆ operator<() [2/29]

bool edm::operator< ( ModuleProcessName const &  a,
ModuleProcessName const &  b 
)
inline

Definition at line 25 of file ModuleProcessName.h.

References a, and b.

25  {
26  return a.processName() == b.processName() ? a.moduleLabel() < b.moduleLabel() : a.processName() < b.processName();
27  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [3/29]

bool edm::operator< ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 32 of file RunLumiEntryInfo.h.

References a, and b.

32 { return a.branchID() < b.branchID(); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [4/29]

bool edm::operator< ( StoredProductProvenance const &  a,
StoredProductProvenance const &  b 
)
inline

Definition at line 36 of file StoredProductProvenance.h.

References a, and b.

36  {
37  return a.branchID_ < b.branchID_;
38  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [5/29]

bool edm::operator< ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 38 of file BranchKey.h.

References a, b, funct::false, and funct::true.

38  {
39  return a.friendlyClassName() < b.friendlyClassName() ? true
40  : a.friendlyClassName() > b.friendlyClassName() ? false
41  : a.moduleLabel() < b.moduleLabel() ? true
42  : a.moduleLabel() > b.moduleLabel() ? false
43  : a.productInstanceName() < b.productInstanceName() ? true
44  : a.productInstanceName() > b.productInstanceName() ? false
45  : a.processName() < b.processName() ? true
46  : false;
47  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [6/29]

bool edm::operator< ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 40 of file EventEntryInfo.h.

References a, and b.

40 { return a.branchID() < b.branchID(); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [7/29]

bool edm::operator< ( ElementID const &  lh,
ElementID const &  rh 
)

Definition at line 11 of file ElementID.cc.

References edm::ElementID::id(), edm::ElementID::index(), and mathSSE::lh.

11  {
12  return lh.id() < rh.id() || (lh.id() == rh.id() && lh.index() < rh.index());
13  }
bool int lh
Definition: SIMDVec.h:27

◆ operator<() [8/29]

bool edm::operator< ( WorkerTimingSummary const &  a,
WorkerTimingSummary const &  b 
)
inline

Definition at line 48 of file TriggerTimingReport.h.

References a, and b.

48  {
49  return a.moduleLabel < b.moduleLabel;
50  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [9/29]

bool edm::operator< ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 50 of file ProductProvenance.h.

References a, and b.

50 { return a.branchID() < b.branchID(); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [10/29]

bool edm::operator< ( ProductID const &  lh,
ProductID const &  rh 
)

Definition at line 11 of file ProductID.cc.

References mathSSE::lh, edm::ProductID::processIndex(), and edm::ProductID::productIndex().

11  {
12  return lh.processIndex() < rh.processIndex() ||
13  (lh.processIndex() == rh.processIndex() && lh.productIndex() < rh.productIndex());
14  }
bool int lh
Definition: SIMDVec.h:27

◆ operator<() [11/29]

bool edm::operator< ( WorkerSummary const &  a,
WorkerSummary const &  b 
)
inline

Definition at line 55 of file TriggerReport.h.

References a, and b.

55 { return a.moduleLabel < b.moduleLabel; }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [12/29]

bool edm::operator< ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)

Definition at line 88 of file ProcessConfiguration.cc.

References a, and b.

88  {
89  if (a.processName() < b.processName())
90  return true;
91  if (b.processName() < a.processName())
92  return false;
93  if (a.parameterSetID() < b.parameterSetID())
94  return true;
95  if (b.parameterSetID() < a.parameterSetID())
96  return false;
97  if (a.releaseVersion() < b.releaseVersion())
98  return true;
99  if (b.releaseVersion() < a.releaseVersion())
100  return false;
101  if (a.passID() < b.passID())
102  return true;
103  return false;
104  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [13/29]

template<class T >
bool edm::operator< ( DetSet< T > const &  x,
DetSet< T > const &  y 
)
inline

Definition at line 89 of file DetSet.h.

References x.

89  {
90  return x.detId() < y.detId();
91  }
float x

◆ operator<() [14/29]

template<class T >
bool edm::operator< ( DetSet< T > const &  x,
det_id_type  y 
)
inline

Definition at line 94 of file DetSet.h.

References x.

94  {
95  return x.detId() < y;
96  }
float x

◆ operator<() [15/29]

template<class T >
bool edm::operator< ( det_id_type  x,
DetSet< T > const &  y 
)
inline

Definition at line 99 of file DetSet.h.

References x.

99  {
100  return x < y.detId();
101  }
float x

◆ operator<() [16/29]

constexpr bool edm::operator< ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 108 of file ELseverityLevel.h.

References StorageManager_cfg::e1.

108  {
109  return e1.cmp(e2) < 0;
110  }

◆ operator<() [17/29]

bool edm::operator< ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)

Definition at line 185 of file FileIndex.cc.

References edm::FileIndex::Element::event_, mathSSE::lh, edm::FileIndex::Element::lumi_, and edm::FileIndex::Element::run_.

185  {
186  if (lh.run_ == rh.run_) {
187  if (lh.lumi_ == rh.lumi_) {
188  return lh.event_ < rh.event_;
189  }
190  return lh.lumi_ < rh.lumi_;
191  }
192  return lh.run_ < rh.run_;
193  }
bool int lh
Definition: SIMDVec.h:27

◆ operator<() [18/29]

bool edm::operator< ( TypeWithDict const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 137 of file TypeWithDict.h.

References a, and b.

137 { return a.name() < b.name(); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [19/29]

template<typename T >
bool edm::operator< ( FwdPtr< T > const &  lhs,
FwdPtr< T > const &  rhs 
)
inline

The ordering of integer keys guarantees that the ordering of FwdPtrs within a collection will be identical to the ordering of the referenced objects in the collection.

Definition at line 139 of file FwdPtr.h.

139  {
142  return (lhs.ptr() < rhs.ptr());
143  }

◆ operator<() [20/29]

bool edm::operator< ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 144 of file RefCore.h.

References edm::RefCore::id(), edm::RefCore::isTransient(), edm::RefCore::productPtr(), and funct::true.

144  {
145  return lhs.isTransient() ? (rhs.isTransient() ? lhs.productPtr() < rhs.productPtr() : false)
146  : (rhs.isTransient() ? true : lhs.id() < rhs.id());
147  }

◆ operator<() [21/29]

template<typename T >
bool edm::operator< ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 303 of file View.h.

303  {
304  return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
305  }

◆ operator<() [22/29]

template<typename T >
bool edm::operator< ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 169 of file RefToBaseProd.h.

169  {
170  return (lhs.refCore() < rhs.refCore());
171  }

◆ operator<() [23/29]

template<typename C >
bool edm::operator< ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 190 of file RefProd.h.

190  {
191  return (lhs.refCore() < rhs.refCore());
192  }

◆ operator<() [24/29]

bool edm::operator< ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 301 of file BranchDescription.cc.

References a, and b.

301  {
302  if (a.processName() < b.processName())
303  return true;
304  if (b.processName() < a.processName())
305  return false;
306  if (a.fullClassName() < b.fullClassName())
307  return true;
308  if (b.fullClassName() < a.fullClassName())
309  return false;
310  if (a.friendlyClassName() < b.friendlyClassName())
311  return true;
312  if (b.friendlyClassName() < a.friendlyClassName())
313  return false;
314  if (a.productInstanceName() < b.productInstanceName())
315  return true;
316  if (b.productInstanceName() < a.productInstanceName())
317  return false;
318  if (a.moduleLabel() < b.moduleLabel())
319  return true;
320  if (b.moduleLabel() < a.moduleLabel())
321  return false;
322  if (a.branchType() < b.branchType())
323  return true;
324  if (b.branchType() < a.branchType())
325  return false;
326  if (a.branchID() < b.branchID())
327  return true;
328  if (b.branchID() < a.branchID())
329  return false;
330  if (a.branchAliases() < b.branchAliases())
331  return true;
332  if (b.branchAliases() < a.branchAliases())
333  return false;
334  if (a.present() < b.present())
335  return true;
336  if (b.present() < a.present())
337  return false;
338  return false;
339  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator<() [25/29]

template<typename T >
bool edm::operator< ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

The ordering of integer keys guarantees that the ordering of Ptrs within a collection will be identical to the ordering of the referenced objects in the collection.

Definition at line 250 of file Ptr.h.

250  {
253  return (lhs.refCore() == rhs.refCore() ? lhs.key() < rhs.key() : lhs.refCore() < rhs.refCore());
254  }

◆ operator<() [26/29]

template<typename C , typename T , typename F >
bool edm::operator< ( FwdRef< C, T, F > const &  lhs,
FwdRef< C, T, F > const &  rhs 
)
inline

for inequality operators, ONLY test the forward ref. the ordering of the backward ref is not relevant.

Definition at line 263 of file FwdRef.h.

263  {
264  return (lhs.ref() < rhs.ref());
265  }

◆ operator<() [27/29]

template<typename C , typename T , typename F >
bool edm::operator< ( Ref< C, T, F > const &  lhs,
FwdRef< C, T, F > const &  rhs 
)
inline

Definition at line 268 of file FwdRef.h.

268  {
269  return (lhs < rhs.ref());
270  }

◆ operator<() [28/29]

template<typename C , typename T , typename F >
bool edm::operator< ( FwdRef< C, T, F > const &  lhs,
Ref< C, T, F > const &  rhs 
)
inline

Definition at line 273 of file FwdRef.h.

273  {
274  return (lhs.ref() < rhs);
275  }

◆ operator<() [29/29]

template<typename C , typename T , typename F >
bool edm::operator< ( Ref< C, T, F > const &  lhs,
Ref< C, T, F > const &  rhs 
)
inline

the definition and use of compare_key<> guarantees that the ordering of Refs within a collection will be identical to the ordering of the referenced objects in the collection.

Definition at line 581 of file Ref.h.

581  {
584  return (lhs.refCore() == rhs.refCore() ? compare_key<C>(lhs.key(), rhs.key()) : lhs.refCore() < rhs.refCore());
585  }

◆ operator<<() [1/67]

std::ostream & edm::operator<< ( std::ostream &  os,
TimeOfDay const &  tod 
)

Definition at line 30 of file TimeOfDay.cc.

References SplitLinear::begin, SiStripPI::min, l1tGTMenu_BTagSeeds_cff::os, topSingleLeptonDQM_PU_cfi::pattern, cms::alpakatools::detail::power(), ALCARECOEcalPhiSym_cff::precision, cmsswSequenceInfo::tp, and edm::TimeOfDay::tv_.

30  {
31  auto oldflags = os.flags(); // save the stream format flags so they can be restored
32  auto oldfill = os.fill(); // save the stream fill character so it can be restored
33  struct tm timebuf;
34  localtime_r(&tod.tv_.tv_sec, &timebuf);
35  typedef std::ostreambuf_iterator<char, std::char_traits<char> > Iter;
36  std::time_put<char, Iter> const& tp = std::use_facet<std::time_put<char, Iter> >(std::locale());
37  int precision = os.precision();
38  Iter begin(os);
39  if (precision == 0) {
40  char const pattern[] = "%d-%b-%Y %H:%M:%S %Z";
41  tp.put(begin, os, ' ', &timebuf, pattern, pattern + sizeof(pattern) - 1);
42  } else {
43  char const pattern[] = "%d-%b-%Y %H:%M:%S.";
44  tp.put(begin, os, ' ', &timebuf, pattern, pattern + sizeof(pattern) - 1);
46  os << std::setfill('0') << std::setw(precision) << tod.tv_.tv_usec / power[precision] << ' ';
47  tp.put(begin, os, ' ', &timebuf, 'Z');
48  }
49  os.flags(oldflags);
50  os.fill(oldfill);
51  return os;
52  }
constexpr unsigned int power(unsigned int base, unsigned int exponent)

◆ operator<<() [2/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ParameterSetBlob const &  blob 
)

Definition at line 5 of file ParameterSetBlob.cc.

References l1tGTMenu_BTagSeeds_cff::os, and edm::ParameterSetBlob::pset().

5  {
6  os << blob.pset();
7  return os;
8  }

◆ operator<<() [3/67]

std::ostream & edm::operator<< ( std::ostream &  os,
FileID const &  id 
)

Definition at line 5 of file FileID.cc.

References l1tGTMenu_BTagSeeds_cff::os.

5  {
6  os << id.fid();
7  return os;
8  }

◆ operator<<() [4/67]

std::ostream & edm::operator<< ( std::ostream &  os,
PlaceInPathContext const &  ppc 
)

Definition at line 10 of file PlaceInPathContext.cc.

References l1tGTMenu_BTagSeeds_cff::os, edm::PlaceInPathContext::pathContext(), and edm::PlaceInPathContext::placeInPath().

10  {
11  os << "PlaceInPathContext " << ppc.placeInPath() << "\n";
12  if (ppc.pathContext()) {
13  os << " " << *ppc.pathContext();
14  }
15  return os;
16  }

◆ operator<<() [5/67]

std::ostream & edm::operator<< ( std::ostream &  os,
BranchType const &  branchType 
)

Definition at line 9 of file BranchType.cc.

References BranchTypeToString(), and l1tGTMenu_BTagSeeds_cff::os.

9  {
10  os << BranchTypeToString(branchType);
11  return os;
12  }
std::string const & BranchTypeToString(BranchType const &branchType)
Definition: BranchType.cc:93

◆ operator<<() [6/67]

std::ostream & edm::operator<< ( std::ostream &  os,
BranchID const &  id 
)

Definition at line 12 of file BranchID.cc.

References l1tGTMenu_BTagSeeds_cff::os.

12  {
13  os << id.id();
14  return os;
15  }

◆ operator<<() [7/67]

std::ostream& edm::operator<< ( std::ostream &  os,
RunLumiEntryInfo const &  p 
)
inline

◆ operator<<() [8/67]

std::ostream & edm::operator<< ( std::ostream &  os,
InternalContext const &  ic 
)

Definition at line 11 of file InternalContext.cc.

References edm::InternalContext::eventID(), edm::InternalContext::moduleCallingContext(), and l1tGTMenu_BTagSeeds_cff::os.

11  {
12  os << "InternalContext " << ic.eventID() << "\n";
13  if (ic.moduleCallingContext()) {
14  os << " " << *ic.moduleCallingContext();
15  }
16  return os;
17  }

◆ operator<<() [9/67]

std::ostream & edm::operator<< ( std::ostream &  out,
const reco::GenParticleRef genRef 
)

Definition at line 95 of file GenParticlesHelper.cc.

References edm::Ref< C, T, F >::key(), and MillePedeFileConverter_cfg::out.

95  {
96  if (!out)
97  return out;
98 
99  out << "key:" << genRef.key() << " pt:" << genRef->pt();
100 
101  return out;
102  }
key_type key() const
Accessor for product key.
Definition: Ref.h:244

◆ operator<<() [10/67]

std::ostream & edm::operator<< ( std::ostream &  os,
FileFormatVersion const &  ff 
)

Definition at line 47 of file FileFormatVersion.cc.

References alignCSCRings::ff, and l1tGTMenu_BTagSeeds_cff::os.

47  {
48  os << ff.value();
49  return os;
50  }

◆ operator<<() [11/67]

std::ostream& edm::operator<< ( std::ostream &  os,
EventEntryInfo const &  p 
)
inline

◆ operator<<() [12/67]

std::ostream & edm::operator<< ( std::ostream &  os,
PathContext const &  pc 
)

Definition at line 14 of file PathContext.cc.

References edm::PathContext::kEndPath, l1tGTMenu_BTagSeeds_cff::os, edm::PathContext::pathID(), edm::PathContext::pathName(), edm::PathContext::pathType(), and edm::PathContext::streamContext().

14  {
15  os << "PathContext: pathName = " << pc.pathName() << " pathID = " << pc.pathID();
16  if (pc.pathType() == PathContext::PathType::kEndPath) {
17  os << " (EndPath)\n";
18  } else {
19  os << "\n";
20  }
21  if (pc.streamContext()) {
22  os << " " << *pc.streamContext();
23  }
24  return os;
25  }

◆ operator<<() [13/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ProcessContext const &  pc 
)

Definition at line 27 of file ProcessContext.cc.

References edm::ProcessContext::isSubProcess(), l1tGTMenu_BTagSeeds_cff::os, edm::ProcessConfiguration::parameterSetID(), edm::ProcessContext::parentProcessContext(), edm::ProcessContext::processConfiguration(), and edm::ProcessConfiguration::processName().

27  {
28  os << "ProcessContext: ";
29  if (pc.processConfiguration()) {
30  os << pc.processConfiguration()->processName() << " " << pc.processConfiguration()->parameterSetID() << "\n";
31  } else {
32  os << "invalid\n";
33  return os;
34  }
35  if (pc.isSubProcess()) {
36  os << " parent " << pc.parentProcessContext();
37  }
38  return os;
39  }

◆ operator<<() [14/67]

std::ostream& edm::operator<< ( std::ostream &  os,
EventEntryDescription const &  p 
)
inline

◆ operator<<() [15/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ElementID const &  id 
)

Definition at line 15 of file ElementID.cc.

References l1tGTMenu_BTagSeeds_cff::os.

15  {
16  os << id.id() << ":" << id.index();
17  return os;
18  }

◆ operator<<() [16/67]

std::ostream& edm::operator<< ( std::ostream &  os,
ProductProvenance const &  p 
)
inline

◆ operator<<() [17/67]

std::ostream & edm::operator<< ( std::ostream &  os,
BranchKey const &  bk 
)

Definition at line 17 of file BranchKey.cc.

References l1tGTMenu_BTagSeeds_cff::os.

17  {
18  os << "BranchKey(" << bk.friendlyClassName() << ", " << bk.moduleLabel() << ", " << bk.productInstanceName() << ", "
19  << bk.processName() << ')';
20  return os;
21  }

◆ operator<<() [18/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ProductID const &  id 
)

Definition at line 6 of file ProductID.cc.

References l1tGTMenu_BTagSeeds_cff::os.

6  {
7  os << id.processIndex() << ":" << id.productIndex();
8  return os;
9  }

◆ operator<<() [19/67]

std::ostream & edm::operator<< ( std::ostream &  oStream,
RunID const &  iID 
)

Definition at line 5 of file RunID.cc.

References edm::RunID::run().

5  {
6  oStream << "run: " << iID.run();
7  return oStream;
8  }

◆ operator<<() [20/67]

std::ostream& edm::operator<< ( std::ostream &  os,
const RunAuxiliary p 
)
inline

◆ operator<<() [21/67]

std::ostream & edm::operator<< ( std::ostream &  os,
TypeID const &  id 
)

Definition at line 117 of file TypeID.cc.

References l1tGTMenu_BTagSeeds_cff::os.

117  {
118  id.print(os);
119  return os;
120  }

◆ operator<<() [22/67]

std::ostream& edm::operator<< ( std::ostream &  iOS,
ESResolverIndex const &  iIndex 
)
inline

Definition at line 58 of file ESIndices.h.

References edm::ESResolverIndex::value().

58  {
59  iOS << iIndex.value();
60  return iOS;
61  }

◆ operator<<() [23/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ParentContext const &  pc 
)

Definition at line 88 of file ParentContext.cc.

References edm::ParentContext::globalContext(), edm::ParentContext::internalContext(), edm::ParentContext::kGlobal, edm::ParentContext::kInternal, edm::ParentContext::kInvalid, edm::ParentContext::kModule, edm::ParentContext::kPlaceInPath, edm::ParentContext::kStream, edm::ParentContext::moduleCallingContext(), l1tGTMenu_BTagSeeds_cff::os, edm::ParentContext::placeInPathContext(), edm::ParentContext::streamContext(), and edm::ParentContext::type().

88  {
89  if (pc.type() == ParentContext::Type::kGlobal && pc.globalContext()) {
90  os << *pc.globalContext();
91  } else if (pc.type() == ParentContext::Type::kInternal && pc.internalContext()) {
92  os << *pc.internalContext();
93  } else if (pc.type() == ParentContext::Type::kModule && pc.moduleCallingContext()) {
94  os << *pc.moduleCallingContext();
95  } else if (pc.type() == ParentContext::Type::kPlaceInPath && pc.placeInPathContext()) {
96  os << *pc.placeInPathContext();
97  } else if (pc.type() == ParentContext::Type::kStream && pc.streamContext()) {
98  os << *pc.streamContext();
99  } else if (pc.type() == ParentContext::Type::kInvalid) {
100  os << "ParentContext invalid\n";
101  }
102  return os;
103  }

◆ operator<<() [24/67]

std::ostream & edm::operator<< ( std::ostream &  os,
const ProductSelector gs 
)

Definition at line 120 of file ProductSelector.cc.

References l1tGTMenu_BTagSeeds_cff::os.

120  {
121  gs.print(os);
122  return os;
123  }
Definition: AbsArchive.cc:46

◆ operator<<() [25/67]

std::ostream& edm::operator<< ( std::ostream &  os,
const LuminosityBlockAuxiliary p 
)
inline

◆ operator<<() [26/67]

std::ostream& edm::operator<< ( std::ostream &  os,
Parentage const &  p 
)
inline

◆ operator<<() [27/67]

std::ostream& edm::operator<< ( std::ostream &  os,
StableProvenance const &  p 
)
inline

◆ operator<<() [28/67]

std::ostream & edm::operator<< ( std::ostream &  oStream,
EventRange const &  iID 
)

Definition at line 27 of file EventRange.cc.

27  {
28  if (r.startLumi() == 0) {
29  oStream << "'" << r.startRun() << ":" << r.startEvent() << "-" << r.endRun() << ":" << r.endEvent() << "'";
30  } else {
31  oStream << "'" << r.startRun() << ":" << r.startLumi() << ":" << r.startEvent() << "-" << r.endRun() << ":"
32  << r.endLumi() << ":" << r.endEvent() << "'";
33  }
34  return oStream;
35  }

◆ operator<<() [29/67]

std::ostream & edm::operator<< ( std::ostream &  oStream,
LuminosityBlockRange const &  iID 
)

Definition at line 43 of file LuminosityBlockRange.cc.

43  {
44  oStream << "'" << r.startRun() << ":" << r.startLumi() << "-" << r.endRun() << ":" << r.endLumi() << "'";
45  return oStream;
46  }

◆ operator<<() [30/67]

std::ostream & edm::operator<< ( std::ostream &  ost,
InputTag const &  tag 
)

Definition at line 202 of file InputTag.cc.

References LaserDQM_cfg::process, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.

202  {
203  static std::string const process(", process = ");
204  ost << "InputTag: label = " << tag.label() << ", instance = " << tag.instance()
205  << (tag.process().empty() ? std::string() : (process + tag.process()));
206  return ost;
207  }

◆ operator<<() [31/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ProcessConfiguration const &  pc 
)

Definition at line 106 of file ProcessConfiguration.cc.

References l1tGTMenu_BTagSeeds_cff::os, edm::ProcessConfiguration::parameterSetID(), edm::ProcessConfiguration::passID(), edm::ProcessConfiguration::processName(), and edm::ProcessConfiguration::releaseVersion().

106  {
107  os << pc.processName() << ' ' << pc.parameterSetID() << ' ' << pc.releaseVersion() << ' ' << pc.passID();
108  return os;
109  }

◆ operator<<() [32/67]

std::ostream & edm::operator<< ( std::ostream &  t,
OStreamColumn const &  c 
)

Definition at line 12 of file OStreamColumn.cc.

References DummyCfis::c, and submitPVValidationJobs::t.

12  {
13  t << std::setw(c.width_) << c.title_;
14  return t;
15  }

◆ operator<<() [33/67]

template<typename E >
std::ostream& edm::operator<< ( std::ostream &  t,
OStreamColumnEntry< E > const &  ce 
)

Definition at line 78 of file OStreamColumn.h.

References submitPVValidationJobs::t.

78  {
79  t << std::setw(ce.col.width_) << ce.t;
80  return t;
81  }

◆ operator<<() [34/67]

std::ostream & edm::operator<< ( std::ostream &  os,
GlobalContext const &  gc 
)

Definition at line 31 of file GlobalContext.cc.

References edm::GlobalContext::kAccessInputProcessBlock, edm::GlobalContext::kBeginJob, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginProcessBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndJob, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndProcessBlock, edm::GlobalContext::kEndRun, edm::GlobalContext::kWriteLuminosityBlock, edm::GlobalContext::kWriteProcessBlock, edm::GlobalContext::kWriteRun, edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), edm::Timestamp::microsecondOffset(), l1tGTMenu_BTagSeeds_cff::os, edm::GlobalContext::processContext(), edm::GlobalContext::runIndex(), edm::GlobalContext::timestamp(), edm::GlobalContext::transition(), edm::Timestamp::unixTime(), edm::RunIndex::value(), and edm::LuminosityBlockIndex::value().

31  {
32  os << "GlobalContext: transition = ";
33  switch (gc.transition()) {
34  case GlobalContext::Transition::kBeginJob:
35  os << "BeginJob";
36  break;
37  case GlobalContext::Transition::kBeginProcessBlock:
38  os << "BeginProcessBlock";
39  break;
40  case GlobalContext::Transition::kAccessInputProcessBlock:
41  os << "AccessInputProcessBlock";
42  break;
43  case GlobalContext::Transition::kBeginRun:
44  os << "BeginRun";
45  break;
46  case GlobalContext::Transition::kBeginLuminosityBlock:
47  os << "BeginLuminosityBlock";
48  break;
49  case GlobalContext::Transition::kEndLuminosityBlock:
50  os << "EndLuminosityBlock";
51  break;
52  case GlobalContext::Transition::kEndRun:
53  os << "EndRun";
54  break;
55  case GlobalContext::Transition::kEndProcessBlock:
56  os << "EndProcessBlock";
57  break;
58  case GlobalContext::Transition::kEndJob:
59  os << "EndJob";
60  break;
61  case GlobalContext::Transition::kWriteProcessBlock:
62  os << "WriteProcessBlock";
63  break;
64  case GlobalContext::Transition::kWriteRun:
65  os << "WriteRun";
66  break;
67  case GlobalContext::Transition::kWriteLuminosityBlock:
68  os << "WriteLuminosityBlock";
69  break;
70  }
71  os << "\n " << gc.luminosityBlockID() << "\n runIndex = " << gc.runIndex().value()
72  << " luminosityBlockIndex = " << gc.luminosityBlockIndex().value()
73  << " unixTime = " << gc.timestamp().unixTime() << " microsecondOffset = " << gc.timestamp().microsecondOffset()
74  << "\n";
75  if (gc.processContext()) {
76  os << " " << *gc.processContext();
77  }
78  return os;
79  }

◆ operator<<() [35/67]

std::ostream& edm::operator<< ( std::ostream &  iOS,
ESTokenIndex const &  iIndex 
)
inline

Definition at line 83 of file ESIndices.h.

References edm::ESTokenIndex::value().

83  {
84  iOS << iIndex.value();
85  return iOS;
86  }

◆ operator<<() [36/67]

std::ostream & edm::operator<< ( std::ostream &  os,
StreamContext const &  sc 
)

Definition at line 33 of file StreamContext.cc.

References edm::StreamContext::eventID(), edm::StreamContext::kBeginLuminosityBlock, edm::StreamContext::kBeginRun, edm::StreamContext::kBeginStream, edm::StreamContext::kEndLuminosityBlock, edm::StreamContext::kEndRun, edm::StreamContext::kEndStream, edm::StreamContext::kEvent, edm::StreamContext::kInvalid, edm::StreamContext::luminosityBlockIndex(), edm::Timestamp::microsecondOffset(), l1tGTMenu_BTagSeeds_cff::os, edm::StreamContext::processContext(), edm::StreamContext::runIndex(), edm::StreamContext::streamID(), edm::StreamContext::timestamp(), edm::StreamContext::transition(), edm::Timestamp::unixTime(), edm::RunIndex::value(), and edm::LuminosityBlockIndex::value().

33  {
34  os << "StreamContext: StreamID = " << sc.streamID() << " transition = ";
35  switch (sc.transition()) {
36  case StreamContext::Transition::kBeginStream:
37  os << "BeginStream";
38  break;
39  case StreamContext::Transition::kBeginRun:
40  os << "BeginRun";
41  break;
42  case StreamContext::Transition::kBeginLuminosityBlock:
43  os << "BeginLuminosityBlock";
44  break;
45  case StreamContext::Transition::kEvent:
46  os << "Event";
47  break;
48  case StreamContext::Transition::kEndLuminosityBlock:
49  os << "EndLuminosityBlock";
50  break;
51  case StreamContext::Transition::kEndRun:
52  os << "EndRun";
53  break;
54  case StreamContext::Transition::kEndStream:
55  os << "EndStream";
56  break;
58  os << "Invalid";
59  break;
60  }
61  os << "\n " << sc.eventID() << "\n runIndex = " << sc.runIndex().value()
62  << " luminosityBlockIndex = " << sc.luminosityBlockIndex().value()
63  << " unixTime = " << sc.timestamp().unixTime() << " microsecondOffset = " << sc.timestamp().microsecondOffset()
64  << "\n";
65  if (sc.processContext()) {
66  os << " " << *sc.processContext();
67  }
68  return os;
69  }

◆ operator<<() [37/67]

std::ostream& edm::operator<< ( std::ostream &  os,
ModuleDescription const &  p 
)
inline

◆ operator<<() [38/67]

std::ostream& edm::operator<< ( std::ostream &  os,
ParameterSetEntry const &  psetEntry 
)

Definition at line 92 of file ParameterSetEntry.cc.

References edm::ParameterSetEntry::dump(), and l1tGTMenu_BTagSeeds_cff::os.

92  {
93  os << psetEntry.dump();
94  return os;
95  }

◆ operator<<() [39/67]

std::ostream & edm::operator<< ( std::ostream &  oStream,
LuminosityBlockID const &  iID 
)

Definition at line 20 of file LuminosityBlockID.cc.

References edm::LuminosityBlockID::luminosityBlock(), and edm::LuminosityBlockID::run().

20  {
21  oStream << "run: " << iID.run() << " luminosityBlock: " << iID.luminosityBlock();
22  return oStream;
23  }

◆ operator<<() [40/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ModuleCallingContext const &  mcc 
)

Definition at line 144 of file ModuleCallingContext.cc.

References edm::ModuleCallingContext::kInvalid, edm::ParentContext::kModule, edm::ModuleCallingContext::kPrefetching, edm::ModuleCallingContext::kRunning, edm::ModuleCallingContext::moduleCallingContext(), edm::ModuleCallingContext::moduleDescription(), l1tGTMenu_BTagSeeds_cff::os, edm::ModuleCallingContext::parent(), edm::ModuleCallingContext::previousModuleOnThread(), edm::ModuleCallingContext::state(), and edm::ModuleCallingContext::type().

144  {
145  os << "ModuleCallingContext state = ";
146  switch (mcc.state()) {
148  os << "Invalid";
149  break;
150  case ModuleCallingContext::State::kPrefetching:
151  os << "Prefetching";
152  break;
153  case ModuleCallingContext::State::kRunning:
154  os << "Running";
155  break;
156  }
157  os << "\n";
158  if (mcc.state() == ModuleCallingContext::State::kInvalid) {
159  return os;
160  }
161  if (mcc.moduleDescription()) {
162  os << " moduleDescription: " << *mcc.moduleDescription() << "\n";
163  }
164  os << " " << mcc.parent();
165  if (mcc.previousModuleOnThread()) {
166  if (mcc.type() == ParentContext::Type::kModule && mcc.moduleCallingContext() == mcc.previousModuleOnThread()) {
167  os << " previousModuleOnThread: same as parent module\n";
168  } else {
169  os << " previousModuleOnThread: " << *mcc.previousModuleOnThread();
170  }
171  }
172  return os;
173  }

◆ operator<<() [41/67]

std::ostream& edm::operator<< ( std::ostream &  os,
Provenance const &  p 
)
inline

◆ operator<<() [42/67]

std::ostream& edm::operator<< ( std::ostream &  ost,
const HLTGlobalStatus hlt 
)
inline

Formatted printout of trigger table.

Definition at line 102 of file HLTGlobalStatus.h.

References ValidationMatrix::hlt, mps_fire::i, create_idmaps::n, and submitPVValidationJobs::text.

102  {
103  std::vector<std::string> text(4);
104  text[0] = "n";
105  text[1] = "1";
106  text[2] = "0";
107  text[3] = "e";
108  const unsigned int n(hlt.size());
109  for (unsigned int i = 0; i != n; ++i)
110  ost << text[hlt.state(i)];
111  return ost;
112  }

◆ operator<<() [43/67]

std::ostream& edm::operator<< ( std::ostream &  os,
JobReport::RunReport const &  f 
)

Definition at line 105 of file JobReport.cc.

References f, l1tGTMenu_BTagSeeds_cff::os, and print().

105 { return print(os, f); }
double f[11][100]
S & print(S &os, JobReport::RunReport const &rep)
Definition: JobReport.cc:88

◆ operator<<() [44/67]

std::ostream& edm::operator<< ( std::ostream &  os,
const EventAuxiliary p 
)
inline

◆ operator<<() [45/67]

std::ostream& edm::operator<< ( std::ostream &  iOS,
ESRecordIndex const &  iIndex 
)
inline

Definition at line 110 of file ESIndices.h.

References edm::ESRecordIndex::value().

110  {
111  iOS << iIndex.value();
112  return iOS;
113  }

◆ operator<<() [46/67]

std::ostream & edm::operator<< ( std::ostream &  oStream,
EventID const &  iID 
)

Definition at line 5 of file EventID.cc.

References edm::EventID::event(), edm::EventID::luminosityBlock(), and edm::EventID::run().

5  {
6  oStream << "run: " << iID.run() << " lumi: " << iID.luminosityBlock() << " event: " << iID.event();
7  return oStream;
8  }

◆ operator<<() [47/67]

template<class T >
ErrorObj& edm::operator<< ( ErrorObj e,
const T t 
)
inline

◆ operator<<() [48/67]

std::ostream & edm::operator<< ( std::ostream &  os,
ESInputTag const &  tag 
)

Definition at line 64 of file ESInputTag.cc.

References l1tGTMenu_BTagSeeds_cff::os, and makeGlobalPositionRcd_cfg::tag.

64  {
65  os << "Module label: " << tag.module() << " Data label: " << tag.data();
66  return os;
67  }

◆ operator<<() [49/67]

std::ostream & edm::operator<< ( std::ostream &  ost,
ProcessHistory const &  ph 
)

Definition at line 65 of file ProcessHistory.cc.

References copy_all().

65  {
66  ost << "Process History = ";
67  copy_all(ph, std::ostream_iterator<ProcessHistory::value_type>(ost, ";"));
68  return ost;
69  }
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:20

◆ operator<<() [50/67]

ErrorObj & edm::operator<< ( ErrorObj e,
const char  s[] 
)

Definition at line 259 of file ErrorObj.cc.

References MillePedeFileConverter_cfg::e, and alignCSCRings::s.

◆ operator<<() [51/67]

std::ostream& edm::operator<< ( std::ostream &  os,
const edm::FileInPath fip 
)
inline

Definition at line 129 of file FileInPath.h.

References l1tGTMenu_BTagSeeds_cff::os, and edm::FileInPath::write().

129  {
130  fip.write(os);
131  return os;
132  }
void write(std::ostream &os) const
Definition: FileInPath.cc:146

◆ operator<<() [52/67]

std::ostream& edm::operator<< ( std::ostream &  os,
VParameterSetEntry const &  vpsetEntry 
)

Definition at line 135 of file VParameterSetEntry.cc.

References edm::VParameterSetEntry::dump(), and l1tGTMenu_BTagSeeds_cff::os.

135  {
136  os << vpsetEntry.dump();
137  return os;
138  }

◆ operator<<() [53/67]

std::ostream & edm::operator<< ( std::ostream &  os,
FileIndex const &  fileIndex 
)

Definition at line 213 of file FileIndex.cc.

References edm::FileIndex::begin(), edm::FileIndex::end(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::FileIndex::kEvent, edm::FileIndex::kLumi, edm::FileIndex::kRun, and l1tGTMenu_BTagSeeds_cff::os.

213  {
214  os << "\nPrinting FileIndex contents. This includes a list of all Runs, LuminosityBlocks\n"
215  << "and Events stored in the root file.\n\n";
216  os << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "Event" << std::setw(15)
217  << "TTree Entry"
218  << "\n";
219  for (std::vector<FileIndex::Element>::const_iterator it = fileIndex.begin(), itEnd = fileIndex.end(); it != itEnd;
220  ++it) {
221  if (it->getEntryType() == FileIndex::kEvent) {
222  os << std::setw(15) << it->run_ << std::setw(15) << it->lumi_ << std::setw(15) << it->event_ << std::setw(15)
223  << it->entry_ << "\n";
224  } else if (it->getEntryType() == FileIndex::kLumi) {
225  os << std::setw(15) << it->run_ << std::setw(15) << it->lumi_ << std::setw(15) << " " << std::setw(15)
226  << it->entry_ << " (LuminosityBlock)"
227  << "\n";
228  } else if (it->getEntryType() == FileIndex::kRun) {
229  os << std::setw(15) << it->run_ << std::setw(15) << " " << std::setw(15) << " " << std::setw(15) << it->entry_
230  << " (Run)"
231  << "\n";
232  }
233  }
234  return os;
235  }

◆ operator<<() [54/67]

std::ostream & edm::operator<< ( std::ostream &  os,
TypeWithDict const &  id 
)

Definition at line 834 of file TypeWithDict.cc.

References l1tGTMenu_BTagSeeds_cff::os, and edm::TypeWithDict::print().

834  {
835  ty.print(os);
836  return os;
837  }

◆ operator<<() [55/67]

std::ostream& edm::operator<< ( std::ostream &  os,
const CompactEventAuxiliaryVector::CompactEventAuxiliary p 
)
inline

◆ operator<<() [56/67]

std::ostream& edm::operator<< ( std::ostream &  os,
const CompactEventAuxiliaryVector::CompactEventAuxiliaryExtra p 
)
inline

◆ operator<<() [57/67]

std::ostream& edm::operator<< ( std::ostream &  os,
ProductResolverBase const &  phb 
)
inline

Definition at line 198 of file ProductResolverBase.h.

References l1tGTMenu_BTagSeeds_cff::os, and edm::ProductResolverBase::write().

198  {
199  phb.write(os);
200  return os;
201  }

◆ operator<<() [58/67]

std::ostream& edm::operator<< ( std::ostream &  os,
ProductRegistry const &  pr 
)
inline

Definition at line 204 of file ProductRegistry.h.

References l1tGTMenu_BTagSeeds_cff::os.

204  {
205  pr.print(os);
206  return os;
207  }

◆ operator<<() [59/67]

template<int I>
std::ostream& edm::operator<< ( std::ostream &  os,
Hash< I > const &  h 
)
inline

Definition at line 210 of file Hash.h.

References h, and l1tGTMenu_BTagSeeds_cff::os.

210  {
211  return h.print(os);
212  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

◆ operator<<() [60/67]

std::ostream& edm::operator<< ( std::ostream &  os,
BranchDescription const &  p 
)
inline

◆ operator<<() [61/67]

template<typename T , std::size_t N>
std::ostream& edm::operator<< ( std::ostream &  out,
edm::StdArray< T, N > const &  array 
)

Definition at line 247 of file StdArray.h.

References mps_check::array, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), mps_fire::i, N, and MillePedeFileConverter_cfg::out.

247  {
248  out << "{";
249  if constexpr (N > 0) {
250  out << " " << array[0];
251  }
252  for (std::size_t i = 1; i < N; ++i)
253  out << ", " << array[i];
254  out << " }";
255  return out;
256  }
#define N
Definition: blowfish.cc:9

◆ operator<<() [62/67]

template<typename PROD >
std::ostream& edm::operator<< ( std::ostream &  os,
Handle< PROD > const &  h 
)
inline

Definition at line 254 of file PrincipalGetAdapter.h.

References h, and l1tGTMenu_BTagSeeds_cff::os.

254  {
255  os << h.product() << " " << h.provenance() << " " << h.id();
256  return os;
257  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

◆ operator<<() [63/67]

template<typename C , typename T , typename F >
std::ostream& edm::operator<< ( std::ostream &  os,
RefVector< C, T, F > const &  r 
)

Definition at line 256 of file RefVector.h.

References MillePedeFileConverter_cfg::e, mps_fire::i, and l1tGTMenu_BTagSeeds_cff::os.

256  {
257  for (typename RefVector<C, T, F>::const_iterator i = r.begin(), e = r.end(); i != e; ++i) {
258  os << *i << '\n';
259  }
260  return os;
261  }

◆ operator<<() [64/67]

std::ostream & edm::operator<< ( std::ostream &  os,
JobReport::InputFile const &  f 
)

Definition at line 103 of file JobReport.cc.

References f, l1tGTMenu_BTagSeeds_cff::os, and print().

103 { return print(os, f); }
double f[11][100]
S & print(S &os, JobReport::RunReport const &rep)
Definition: JobReport.cc:88

◆ operator<<() [65/67]

std::ostream & edm::operator<< ( std::ostream &  os,
JobReport::OutputFile const &  f 
)

Definition at line 104 of file JobReport.cc.

References f, l1tGTMenu_BTagSeeds_cff::os, and print().

104 { return print(os, f); }
double f[11][100]
S & print(S &os, JobReport::RunReport const &rep)
Definition: JobReport.cc:88

◆ operator<<() [66/67]

std::ostream& edm::operator<< ( std::ostream &  os,
ParameterSet const &  pset 
)

Definition at line 912 of file ParameterSet.cc.

References l1tGTMenu_BTagSeeds_cff::os, and muonDTDigis_cfi::pset.

912  {
913  os << pset.dump();
914  return os;
915  }

◆ operator<<() [67/67]

std::ostream& edm::operator<< ( std::ostream &  os,
Entry const &  entry 
)

Definition at line 1189 of file Entry.cc.

References MillePedeFileConverter_cfg::e, mps_splice::entry, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, kTint32, kTPSet, kTstringHex, kTstringRaw, kTuint32, kTVESInputTag, kTVInputTag, kTvstringHex, kTvstringRaw, l1tGTMenu_BTagSeeds_cff::os, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, makeListRunsInFiles::strings, getPayloadData::tags, and typeFromCode().

1189  {
1190  os << typeFromCode(entry.typeCode()) << " " << (entry.isTracked() ? "tracked " : "untracked ") << " = ";
1191 
1192  // now handle the difficult cases
1193  switch (entry.typeCode()) {
1194  case kTPSet: // ParameterSet
1195  {
1196  os << entry.getPSet();
1197  break;
1198  }
1199  case 'p': // vector<ParameterSet>
1200  {
1201  // Make sure we get the representation of each contained
1202  // ParameterSet including *only* tracked parameters
1203  std::vector<ParameterSet> whole = entry.getVPSet();
1204  std::vector<ParameterSet>::const_iterator i = whole.begin();
1205  std::vector<ParameterSet>::const_iterator e = whole.end();
1206  std::string start = "";
1207  std::string const between(",\n");
1208  os << "{" << std::endl;
1209  for (; i != e; ++i) {
1210  os << start << *i;
1211  start = between;
1212  }
1213  if (!whole.empty()) {
1214  os << std::endl;
1215  }
1216  os << "}";
1217  break;
1218  }
1219  case kTstringRaw: {
1220  os << "'" << entry.getString() << "'";
1221  break;
1222  }
1223  case kTvstringRaw: {
1224  os << "{";
1225  std::string_view start = "'";
1226  std::string_view const between(",'");
1227  std::vector<std::string> strings = entry.getVString();
1228  for (auto const& s : strings) {
1229  os << start << s << "'";
1230  start = between;
1231  }
1232  os << "}";
1233  break;
1234  }
1235  case kTstringHex: {
1236  os << "'" << entry.getString() << "'";
1237  break;
1238  }
1239  case kTvstringHex: {
1240  os << "{";
1241  std::string_view start = "'";
1242  std::string_view const between(",'");
1243  std::vector<std::string> strings = entry.getVString();
1244  for (auto const& s : strings) {
1245  os << start << s << "'";
1246  start = between;
1247  }
1248  os << "}";
1249  break;
1250  }
1251  case kTint32: {
1252  os << entry.getInt32();
1253  break;
1254  }
1255  case kTuint32: {
1256  os << entry.getUInt32();
1257  break;
1258  }
1259  case kTVInputTag: {
1260  //VInputTag needs to be treated seperately because it is encode like
1261  // vector<string> rather than using the individual encodings of each InputTag
1262  os << "{";
1263  std::string start = "";
1264  std::string const between(",");
1265  std::vector<InputTag> tags = entry.getVInputTag();
1266  for (std::vector<InputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1267  os << start << it->encode();
1268  start = between;
1269  }
1270  os << "}";
1271  break;
1272  }
1273  case kTVESInputTag: {
1274  //VESInputTag needs to be treated seperately because it is encode like
1275  // vector<string> rather than using the individual encodings of each ESInputTag
1276  os << "{";
1277  std::string start = "";
1278  std::string const between(",");
1279  std::vector<ESInputTag> tags = entry.getVESInputTag();
1280  for (std::vector<ESInputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1281  os << start << it->encode();
1282  start = between;
1283  }
1284  os << "}";
1285  break;
1286  }
1287  default: {
1288  os << entry.rep_;
1289  break;
1290  }
1291  }
1292 
1293  return os;
1294  }
Definition: start.py:1
Definition: Entry.cc:39
Definition: Entry.cc:25
static constexpr std::string_view typeFromCode(char iCode)
Definition: Entry.cc:206

◆ operator<=() [1/3]

constexpr bool edm::operator<= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 111 of file ELseverityLevel.h.

References StorageManager_cfg::e1.

111  {
112  return e1.cmp(e2) <= 0;
113  }

◆ operator<=() [2/3]

bool edm::operator<= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 131 of file FileIndex.h.

References mathSSE::lh.

131 { return !(rh < lh); }
bool int lh
Definition: SIMDVec.h:27

◆ operator<=() [3/3]

template<typename T >
bool edm::operator<= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 308 of file View.h.

308  {
309  return !(rhs < lhs);
310  }

◆ operator==() [1/44]

bool edm::operator== ( FileID const &  lh,
FileID const &  rh 
)
inline

Definition at line 25 of file FileID.h.

References edm::FileID::fid(), and mathSSE::lh.

25 { return lh.fid() == rh.fid(); }
bool int lh
Definition: SIMDVec.h:27

◆ operator==() [2/44]

bool edm::operator== ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)

Definition at line 15 of file RunLumiEntryInfo.cc.

References a, and b.

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

◆ operator==() [3/44]

bool edm::operator== ( ElementID const &  lh,
ElementID const &  rh 
)
inline

Definition at line 42 of file ElementID.h.

References edm::ElementID::id(), edm::ElementID::index(), and mathSSE::lh.

42  {
43  return lh.index() == rh.index() && lh.id() == rh.id();
44  }
bool int lh
Definition: SIMDVec.h:27

◆ operator==() [4/44]

bool edm::operator== ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 47 of file ProductID.h.

References mathSSE::lh, edm::ProductID::processIndex(), and edm::ProductID::productIndex().

47  {
48  return lh.processIndex() == rh.processIndex() && lh.productIndex() == rh.productIndex();
49  }
bool int lh
Definition: SIMDVec.h:27

◆ operator==() [5/44]

bool edm::operator== ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)

Definition at line 19 of file EventEntryInfo.cc.

References a, and b.

19  {
20  return a.branchID() == b.branchID() && a.productID() == b.productID() &&
21  a.entryDescriptionID() == b.entryDescriptionID();
22  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [6/44]

bool edm::operator== ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 49 of file BranchKey.h.

References a, and b.

49 { return !(a < b || b < a); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [7/44]

template<typename T1 , template< typename X1 > class B1, typename T2 , template< typename X2 > class B2>
bool edm::operator== ( const zero_allocator< T1, B1 > &  a,
const zero_allocator< T2, B2 > &  b 
)
inline

Definition at line 53 of file zero_allocator.h.

References a, and b.

53  {
54  return static_cast<B1<T1> >(a) == static_cast<B2<T2> >(b);
55  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [8/44]

bool edm::operator== ( EventEntryDescription const &  a,
EventEntryDescription const &  b 
)

Definition at line 31 of file EventEntryDescription.cc.

References a, and b.

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

◆ operator==() [9/44]

bool edm::operator== ( ProductProvenance const &  a,
ProductProvenance const &  b 
)

Definition at line 52 of file ProductProvenance.cc.

References a, and b.

52  {
53  return a.branchID() == b.branchID() && a.parentageID() == b.parentageID();
54  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [10/44]

bool edm::operator== ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 66 of file ProcessConfiguration.h.

References a, and b.

66  {
67  return a.processName() == b.processName() && a.parameterSetID() == b.parameterSetID() &&
68  a.releaseVersion() == b.releaseVersion() && a.passID() == b.passID();
69  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [11/44]

bool edm::operator== ( Parentage const &  a,
Parentage const &  b 
)

Definition at line 34 of file Parentage.cc.

References a, and b.

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

◆ operator==() [12/44]

bool edm::operator== ( StableProvenance const &  a,
StableProvenance const &  b 
)

Definition at line 23 of file StableProvenance.cc.

References a, and b.

23  {
24  return a.branchDescription() == b.branchDescription();
25  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [13/44]

template<class T >
bool edm::operator== ( RefToBaseVector< T > const &  a,
RefToBaseVector< T > const &  b 
)
inline

Definition at line 97 of file RefToBaseVector.h.

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

97  {
98  if (a.isInvalid() && b.isInvalid())
99  return true;
100  if (a.isInvalid() || b.isInvalid())
101  return false;
102  return a.size() == b.size() && std::equal(a.begin(), a.end(), b.begin());
103  }
bool equal(const T &first, const T &second)
Definition: Equal.h:32
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [14/44]

constexpr bool edm::operator== ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 102 of file ELseverityLevel.h.

References StorageManager_cfg::e1.

Referenced by checkForModuleDependencyCorrectness().

102  {
103  return e1.cmp(e2) == 0;
104  }

◆ operator==() [15/44]

bool edm::operator== ( Provenance const &  a,
Provenance const &  b 
)

Definition at line 51 of file Provenance.cc.

References a, and b.

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

◆ operator==() [16/44]

bool edm::operator== ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 108 of file ProcessHistory.h.

References a, and b.

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

◆ operator==() [17/44]

template<typename T >
bool edm::operator== ( FwdPtr< T > const &  lhs,
FwdPtr< T > const &  rhs 
)
inline

Definition at line 128 of file FwdPtr.h.

128  {
129  return (lhs.ptr() == rhs.ptr() || lhs.backPtr() == rhs.ptr() || lhs.ptr() == rhs.backPtr() ||
130  lhs.backPtr() == rhs.backPtr());
131  }

◆ operator==() [18/44]

bool edm::operator== ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 133 of file FileIndex.h.

References mathSSE::lh.

133 { return !(lh < rh || rh < lh); }
bool int lh
Definition: SIMDVec.h:27

◆ operator==() [19/44]

bool edm::operator== ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 137 of file RefCore.h.

References edm::RefCore::id(), edm::RefCore::isTransient(), and edm::RefCore::productPtr().

137  {
138  return lhs.isTransient() == rhs.isTransient() &&
139  (lhs.isTransient() ? lhs.productPtr() == rhs.productPtr() : lhs.id() == rhs.id());
140  }

◆ operator==() [20/44]

template<typename KEY >
bool edm::operator== ( RefVectorBase< KEY > const &  lhs,
RefVectorBase< KEY > const &  rhs 
)

Equality operator.

Definition at line 137 of file RefVectorBase.h.

References edm::RefVectorBase< KEY >::keys(), and edm::RefVectorBase< KEY >::refCore().

137  {
138  return lhs.refCore() == rhs.refCore() && lhs.keys() == rhs.keys();
139  }

◆ operator==() [21/44]

bool edm::operator== ( TypeWithDict const &  a,
TypeWithDict const &  b 
)

Definition at line 824 of file TypeWithDict.cc.

References a, and b.

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

◆ operator==() [22/44]

bool edm::operator== ( edm::FileInPath const &  a,
edm::FileInPath const &  b 
)
inline

Definition at line 139 of file FileInPath.h.

References a, and b.

139  {
140  return a.location() == b.location() && a.relativePath() == b.relativePath();
141  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [23/44]

bool edm::operator== ( TypeWithDict const &  a,
std::type_info const &  b 
)

Definition at line 826 of file TypeWithDict.cc.

References a, b, and edm::TypeID::className().

826  {
827  if (*a.ti_ == typeid(TypeWithDict::dummyType) || a.isPointer() || a.isArray()) {
828  // No accurate type_info
829  return a.name() == TypeID(b).className();
830  }
831  return *a.ti_ == b;
832  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [24/44]

template<typename T >
bool edm::operator== ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 293 of file View.h.

References cond::serialization::equal().

293  {
294  return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin());
295  }
bool equal(const T &first, const T &second)
Definition: Equal.h:32

◆ operator==() [25/44]

bool edm::operator== ( std::type_info const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 147 of file TypeWithDict.h.

References a, and b.

147 { return b == a; }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [26/44]

template<typename T >
bool edm::operator== ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 159 of file RefToBaseProd.h.

159  {
160  return lhs.refCore() == rhs.refCore();
161  }

◆ operator==() [27/44]

template<typename T , typename U >
bool edm::operator== ( atomic_value_ptr< T > const &  lhs,
U const &  rhs 
)
inline

Definition at line 162 of file atomic_value_ptr.h.

References edm::atomic_value_ptr< T >::this_type_does_not_support_comparisons().

162  {
163  lhs.this_type_does_not_support_comparisons();
164  return false;
165  }

◆ operator==() [28/44]

template<typename T , typename U >
bool edm::operator== ( U const &  lhs,
atomic_value_ptr< T > const &  rhs 
)
inline

Definition at line 174 of file atomic_value_ptr.h.

References edm::atomic_value_ptr< T >::this_type_does_not_support_comparisons().

174  {
175  rhs.this_type_does_not_support_comparisons();
176  return false;
177  }

◆ operator==() [29/44]

template<typename C >
bool edm::operator== ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 180 of file RefProd.h.

180  {
181  return lhs.refCore() == rhs.refCore();
182  }

◆ operator==() [30/44]

template<typename T , typename U >
bool edm::operator== ( value_ptr< T > const &  lhs,
U const &  rhs 
)
inline

Definition at line 191 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

191  {
192  lhs.this_type_does_not_support_comparisons();
193  return false;
194  }

◆ operator==() [31/44]

bool edm::operator== ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 198 of file ProductRegistry.h.

References a, and b.

198  {
199  return a.productList() == b.productList();
200  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [32/44]

bool edm::operator== ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 202 of file Entry.h.

References a, and b.

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

◆ operator==() [33/44]

template<typename T , typename U >
bool edm::operator== ( U const &  lhs,
value_ptr< T > const &  rhs 
)
inline

Definition at line 203 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

203  {
204  rhs.this_type_does_not_support_comparisons();
205  return false;
206  }

◆ operator==() [34/44]

template<typename C , typename T , typename F >
bool edm::operator== ( RefVector< C, T, F > const &  lhs,
RefVector< C, T, F > const &  rhs 
)
inline

Definition at line 205 of file RefVector.h.

205  {
206  return lhs.refVector() == rhs.refVector();
207  }

◆ operator==() [35/44]

template<typename C , typename T , typename F >
bool edm::operator== ( FwdRef< C, T, F > const &  lhs,
FwdRef< C, T, F > const &  rhs 
)
inline

for two FwdRefs to be equal, both the "forward" and the "backward" Refs must be the same

Definition at line 227 of file FwdRef.h.

References edm::FwdRef< C, T, F >::backRef(), and edm::FwdRef< C, T, F >::ref().

227  {
228  return (lhs.ref() == rhs.ref()) && (lhs.backRef() == rhs.backRef());
229  }

◆ operator==() [36/44]

template<typename C , typename T , typename F >
bool edm::operator== ( Ref< C, T, F > const &  lhs,
FwdRef< C, T, F > const &  rhs 
)
inline

for a FwdRef to equal a Ref, EITHER the "forward" or the "backward" Refs must equal to the test ref

Definition at line 234 of file FwdRef.h.

References edm::FwdRef< C, T, F >::backRef(), and edm::FwdRef< C, T, F >::ref().

234  {
235  return (lhs == rhs.ref()) || (lhs == rhs.backRef());
236  }

◆ operator==() [37/44]

template<class T , class U , std::size_t N>
constexpr bool edm::operator== ( StdArray< T, N > const &  lhs,
StdArray< U, N > const &  rhs 
)

Definition at line 237 of file StdArray.h.

References mps_fire::i, and N.

237  {
238  for (std::size_t i = 0; i < N; ++i) {
239  if (lhs[i] != rhs[i])
240  return false;
241  }
242  return true;
243  }
#define N
Definition: blowfish.cc:9

◆ operator==() [38/44]

template<typename T >
bool edm::operator== ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 240 of file Ptr.h.

240  {
241  return lhs.refCore() == rhs.refCore() && lhs.key() == rhs.key();
242  }

◆ operator==() [39/44]

template<typename C , typename T , typename F >
bool edm::operator== ( FwdRef< C, T, F > const &  lhs,
Ref< C, T, F > const &  rhs 
)
inline

for a FwdRef to equal a Ref, EITHER the "forward" or the "backward" Refs must equal to the test ref

Definition at line 241 of file FwdRef.h.

References edm::FwdRef< C, T, F >::backRef(), and edm::FwdRef< C, T, F >::ref().

241  {
242  return (lhs.ref() == rhs) || (lhs.backRef() == rhs);
243  }

◆ operator==() [40/44]

bool edm::operator== ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 348 of file BranchDescription.cc.

References a, b, and combinable().

348  {
349  return combinable(a, b) && (a.dropped() == b.dropped()) && (a.branchAliases() == b.branchAliases());
350  }
bool combinable(BranchDescription const &a, BranchDescription const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [41/44]

bool edm::operator== ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 826 of file ParameterSet.cc.

References a, b, and isTransientEqual().

826  {
827  if (a.isRegistered() && b.isRegistered()) {
828  return (a.id() == b.id());
829  }
830  return isTransientEqual(a.trackedPart(), b.trackedPart());
831  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)

◆ operator==() [42/44]

template<typename T , typename SORT , typename ALLOC >
bool edm::operator== ( SortedCollection< T, SORT > const &  c,
std::vector< T, ALLOC > const &  v 
)
inline

Definition at line 359 of file SortedCollection.h.

References DummyCfis::c, cond::serialization::equal(), and findQualityFiles::v.

359  {
360  return c.size() == v.size() && std::equal(v.begin(), v.end(), c.begin());
361  }
bool equal(const T &first, const T &second)
Definition: Equal.h:32

◆ operator==() [43/44]

template<typename T , typename SORT >
bool edm::operator== ( SortedCollection< T, SORT > const &  a,
SortedCollection< T, SORT > const &  b 
)
inline

Definition at line 368 of file SortedCollection.h.

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

368  {
369  return a.size() == b.size() && std::equal(a.begin(), a.end(), b.begin());
370  }
bool equal(const T &first, const T &second)
Definition: Equal.h:32
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator==() [44/44]

template<typename C , typename T , typename F >
bool edm::operator== ( Ref< C, T, F > const &  lhs,
Ref< C, T, F > const &  rhs 
)
inline

Definition at line 571 of file Ref.h.

571  {
572  return lhs.key() == rhs.key() && lhs.refCore() == rhs.refCore();
573  }

◆ operator>() [1/5]

bool edm::operator> ( TypeID const &  a,
TypeID const &  b 
)
inline

Definition at line 53 of file TypeID.h.

References a, and b.

53 { return b < a; }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator>() [2/5]

bool edm::operator> ( const TypeIDBase a,
const TypeIDBase b 
)
inline

Definition at line 62 of file TypeIDBase.h.

References a, and b.

62 { return b < a; }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ operator>() [3/5]

constexpr bool edm::operator> ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 114 of file ELseverityLevel.h.

References StorageManager_cfg::e1.

114  {
115  return e1.cmp(e2) > 0;
116  }

◆ operator>() [4/5]

bool edm::operator> ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 127 of file FileIndex.h.

References mathSSE::lh.

127 { return rh < lh; }
bool int lh
Definition: SIMDVec.h:27

◆ operator>() [5/5]

template<typename T >
bool edm::operator> ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 313 of file View.h.

313  {
314  return rhs < lhs;
315  }

◆ operator>=() [1/3]

constexpr bool edm::operator>= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 117 of file ELseverityLevel.h.

References StorageManager_cfg::e1.

117  {
118  return e1.cmp(e2) >= 0;
119  }

◆ operator>=() [2/3]

bool edm::operator>= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 129 of file FileIndex.h.

References mathSSE::lh.

129 { return !(lh < rh); }
bool int lh
Definition: SIMDVec.h:27

◆ operator>=() [3/3]

template<typename T >
bool edm::operator>= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 318 of file View.h.

318  {
319  return !(lhs < rhs);
320  }

◆ operator>>() [1/9]

std::istream& edm::operator>> ( std::istream &  is,
FileInPath fip 
)
inline

Definition at line 134 of file FileInPath.h.

References edm::FileInPath::read().

134  {
135  fip.read(is);
136  return is;
137  }

◆ operator>>() [2/9]

std::unique_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 136 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

136  {
137  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
138  return caseValue >> std::move(clonedNode);
139  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [3/9]

std::unique_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 141 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

141  {
142  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
143  return caseValue >> std::move(clonedNode);
144  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [4/9]

std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 146 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

147  {
148  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
149  return caseValue >> std::move(clonedNode);
150  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [5/9]

std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 152 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

153  {
154  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
155  return caseValue >> std::move(clonedNode);
156  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [6/9]

std::unique_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 158 of file ParameterDescriptionNode.cc.

References eostools::move().

159  {
160  return std::unique_ptr<ParameterDescriptionCases<bool>>(
161  new ParameterDescriptionCases<bool>(caseValue, std::move(node)));
162  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [7/9]

std::unique_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 164 of file ParameterDescriptionNode.cc.

References eostools::move().

165  {
166  return std::unique_ptr<ParameterDescriptionCases<int>>(
167  new ParameterDescriptionCases<int>(caseValue, std::move(node)));
168  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [8/9]

std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 170 of file ParameterDescriptionNode.cc.

References eostools::move().

171  {
172  return std::unique_ptr<ParameterDescriptionCases<std::string>>(
173  new ParameterDescriptionCases<std::string>(caseValue, std::move(node)));
174  }
def move(src, dest)
Definition: eostools.py:511

◆ operator>>() [9/9]

std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 176 of file ParameterDescriptionNode.cc.

References eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.

177  {
178  std::string caseValueString(caseValue);
179  return std::unique_ptr<ParameterDescriptionCases<std::string>>(
180  new ParameterDescriptionCases<std::string>(caseValue, std::move(node)));
181  }
def move(src, dest)
Definition: eostools.py:511

◆ operator^() [1/4]

std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 229 of file ParameterDescriptionNode.cc.

230  {
231  return std::make_unique<XORGroupDescription>(node_left, node_right);
232  }

◆ operator^() [2/4]

std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 234 of file ParameterDescriptionNode.cc.

References eostools::move().

235  {
236  return std::make_unique<XORGroupDescription>(std::move(node_left), node_right);
237  }
def move(src, dest)
Definition: eostools.py:511

◆ operator^() [3/4]

std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 239 of file ParameterDescriptionNode.cc.

References eostools::move().

240  {
241  return std::make_unique<XORGroupDescription>(node_left, std::move(node_right));
242  }
def move(src, dest)
Definition: eostools.py:511

◆ operator^() [4/4]

std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( std::unique_ptr< ParameterDescriptionNode node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 244 of file ParameterDescriptionNode.cc.

References eostools::move().

245  {
246  return std::make_unique<XORGroupDescription>(std::move(node_left), std::move(node_right));
247  }
def move(src, dest)
Definition: eostools.py:511

◆ operator||() [1/7]

std::unique_ptr< ParameterDescriptionCases< bool > > edm::operator|| ( std::unique_ptr< ParameterDescriptionCases< bool > >  left,
std::unique_ptr< ParameterDescriptionCases< bool > >  right 
)

Definition at line 6 of file ParameterDescriptionCases.cc.

References genParticles_cff::map, and eostools::move().

7  {
8  std::unique_ptr<std::map<bool, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
9  for (std::map<bool, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
10  iEnd = rightCases->end();
11  iter != iEnd;
12  ++iter) {
13  bool caseValue = iter->first;
14  std::unique_ptr<ParameterDescriptionNode> node(iter->second->clone());
15  left->insert(caseValue, std::move(node));
16  }
17  return left;
18  }
def move(src, dest)
Definition: eostools.py:511

◆ operator||() [2/7]

std::unique_ptr< ParameterDescriptionCases< int > > edm::operator|| ( std::unique_ptr< ParameterDescriptionCases< int > >  left,
std::unique_ptr< ParameterDescriptionCases< int > >  right 
)

Definition at line 20 of file ParameterDescriptionCases.cc.

References genParticles_cff::map, and eostools::move().

21  {
22  std::unique_ptr<std::map<int, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
23  for (std::map<int, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
24  iEnd = rightCases->end();
25  iter != iEnd;
26  ++iter) {
27  int caseValue = iter->first;
28  std::unique_ptr<ParameterDescriptionNode> node(iter->second->clone());
29  left->insert(caseValue, std::move(node));
30  }
31  return left;
32  }
def move(src, dest)
Definition: eostools.py:511

◆ operator||() [3/7]

std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator|| ( std::unique_ptr< ParameterDescriptionCases< std::string > >  left,
std::unique_ptr< ParameterDescriptionCases< std::string > >  right 
)

Definition at line 34 of file ParameterDescriptionCases.cc.

References genParticles_cff::map, eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.

36  {
37  std::unique_ptr<std::map<std::string, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
38  for (std::map<std::string, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
39  iEnd = rightCases->end();
40  iter != iEnd;
41  ++iter) {
42  std::string caseValue = iter->first;
43  std::unique_ptr<ParameterDescriptionNode> node(iter->second->clone());
44  left->insert(caseValue, std::move(node));
45  }
46  return left;
47  }
def move(src, dest)
Definition: eostools.py:511

◆ operator||() [4/7]

std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 207 of file ParameterDescriptionNode.cc.

208  {
209  return std::make_unique<ORGroupDescription>(node_left, node_right);
210  }

◆ operator||() [5/7]

std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 212 of file ParameterDescriptionNode.cc.

References eostools::move().

213  {
214  return std::make_unique<ORGroupDescription>(std::move(node_left), node_right);
215  }
def move(src, dest)
Definition: eostools.py:511

◆ operator||() [6/7]

std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 217 of file ParameterDescriptionNode.cc.

References eostools::move().

218  {
219  return std::make_unique<ORGroupDescription>(node_left, std::move(node_right));
220  }
def move(src, dest)
Definition: eostools.py:511

◆ operator||() [7/7]

std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( std::unique_ptr< ParameterDescriptionNode node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 222 of file ParameterDescriptionNode.cc.

References eostools::move().

223  {
224  return std::make_unique<ORGroupDescription>(std::move(node_left), std::move(node_right));
225  }
def move(src, dest)
Definition: eostools.py:511

◆ ourSerial()

static std::atomic<int> edm::ourSerial ( )
static

Referenced by edm::ErrorObj::set().

◆ overlaps() [1/2]

bool edm::overlaps ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 62 of file LuminosityBlockRange.cc.

References distinct(), and mathSSE::lh.

62 { return !distinct(lh, rh); }
bool int lh
Definition: SIMDVec.h:27
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:69

◆ overlaps() [2/2]

bool edm::overlaps ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 51 of file EventRange.cc.

References cms::cuda::assert(), distinct(), mathSSE::lh, and edm::EventRange::startLumi().

Referenced by merge().

51  {
52  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
53  return !distinct(lh, rh);
54  }
bool int lh
Definition: SIMDVec.h:27
assert(be >=bs)
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:69

◆ parameterSet()

ParameterSet const & edm::parameterSet ( StableProvenance const &  provenance,
ProcessHistory const &  history 
)

Definition at line 11 of file Provenance.cc.

References edm::ParameterSet::existsAs(), edm::pset::Registry::getMapped(), edm::ParameterSet::getParameterSet(), isotrackTrainRegressor::history, edm::pset::Registry::instance(), label, edm::ProcessConfiguration::parameterSetID(), crab_script::provenance, source(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerResults().

Referenced by edm::ScheduleItems::addCPRandTNS(), TauTagValidation::analyze(), BeamHaloPropagatorESProducer::BeamHaloPropagatorESProducer(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), BenchmarkAnalyzer::BenchmarkAnalyzer(), CandidateBenchmarkAnalyzer::CandidateBenchmarkAnalyzer(), TopDecaySubset::checkShowerModel(), CTPPSPixelLocalTrackProducer::CTPPSPixelLocalTrackProducer(), HLTTauRefProducer::doPFTaus(), ensureAvailableAccelerators(), edm::EventProcessor::EventProcessor(), PFJetMonitor::fill(), PFCandidateMonitor::fill(), MatchCandidateBenchmark::fillOne(), edm::ScheduleItems::finishSchedule(), EcalSelectiveReadoutProducer::getBinOfMax(), L1TTauOffline::getProbeTaus(), GlobalMuonProducer::GlobalMuonProducer(), edm::EventProcessor::init(), edm::ScheduleItems::initMisc(), edm::ScheduleItems::initModules(), edm::ScheduleItems::initSchedule(), edm::ScheduleItems::initServices(), L2MuonCandidateProducer::L2MuonCandidateProducer(), L2MuonProducer::L2MuonProducer(), L3MuonCandidateProducer::L3MuonCandidateProducer(), L3MuonCleaner::L3MuonCleaner(), L3MuonProducer::L3MuonProducer(), L3TkMuonProducer::L3TkMuonProducer(), PFB::match(), DeepTauIdBase< TritonEDProducer<> >::matchDiscriminatorIndices(), MatchMETBenchmarkAnalyzer::MatchMETBenchmarkAnalyzer(), METBenchmarkAnalyzer::METBenchmarkAnalyzer(), moduleName(), MuonSeedMerger::MuonSeedMerger(), MuonTrackLoader::MuonTrackLoader(), OniaVtxReProducer::OniaVtxReProducer(), PFCandidateBenchmarkAnalyzer::PFCandidateBenchmarkAnalyzer(), PFCandidateDQMAnalyzer::PFCandidateDQMAnalyzer(), PFCandidateManagerAnalyzer::PFCandidateManagerAnalyzer(), PFClient::PFClient(), PFClient_JetRes::PFClient_JetRes(), PFJetDQMAnalyzer::PFJetDQMAnalyzer(), PFMETDQMAnalyzer::PFMETDQMAnalyzer(), PFMuonDQMAnalyzer::PFMuonDQMAnalyzer(), popSubProcessVParameterSet(), pat::PATTauProducer::produce(), DeepFlavourTagInfoProducer::produce(), HadronAndPartonSelector::produce(), GsfElectronProducer::produce(), RPixPlaneCombinatoryTracking::RPixPlaneCombinatoryTracking(), RPixRoadFinder::RPixRoadFinder(), PFTauSelectorDefinition::select(), SETMuonSeedProducer::SETMuonSeedProducer(), PFJetMonitor::setParameters(), PFMETMonitor::setParameters(), PFCandidateMonitor::setParameters(), SETPatternRecognition::SETPatternRecognition(), SETSeedFinder::SETSeedFinder(), CandidateBenchmark::setup(), MatchCandidateBenchmark::setup(), PFJetMonitor::setup(), PFMETMonitor::setup(), PFCandidateMonitor::setup(), SmartPropagatorESProducer::SmartPropagatorESProducer(), StandAloneMuonProducer::StandAloneMuonProducer(), edm::SubProcess::SubProcess(), TevMuonProducer::TevMuonProducer(), TracksToTrajectories::TracksToTrajectories(), TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons(), and TrackTransformerForGlobalCosmicMuons::TrackTransformerForGlobalCosmicMuons().

11  {
12  ProcessConfiguration pc;
13  history.getConfigurationForProcess(provenance.processName(), pc);
14  ParameterSet const& processParameterSet = *pset::Registry::instance()->getMapped(pc.parameterSetID());
15  std::string const& label = provenance.moduleLabel();
16  if (!processParameterSet.existsAs<ParameterSet>(label)) {
17  // Trigger results and input sources are special cases
18  if (label == triggerResults) {
19  return processParameterSet.getParameterSet("@trigger_paths");
20  } else if (label == source) {
21  return processParameterSet.getParameterSet("@main_input");
22  }
23  }
24  return processParameterSet.getParameterSet(label);
25  }
static PFTauRenderPlugin instance
char const * label
static std::string const triggerResults
Definition: EdmProvDump.cc:47
static std::string const source
Definition: EdmProvDump.cc:49

◆ ParameterSet::getParameter< std::string >() [1/2]

template<>
std::string edm::ParameterSet::getParameter< std::string > ( std::string const &  name) const

Definition at line 1014 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1014  {
1015  return retrieve(name).getString();
1016  }

◆ ParameterSet::getParameter< std::string >() [2/2]

template<>
std::string edm::ParameterSet::getParameter< std::string > ( char const *  name) const

Definition at line 1596 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1596  {
1597  return retrieve(name).getString();
1598  }

◆ ParameterSet::getParameter< std::vector< double > >() [1/2]

template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( std::string const &  name) const

Definition at line 1006 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1006  {
1007  return retrieve(name).getVDouble();
1008  }

◆ ParameterSet::getParameter< std::vector< double > >() [2/2]

template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( char const *  name) const

Definition at line 1588 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1588  {
1589  return retrieve(name).getVDouble();
1590  }

◆ ParameterSet::getParameter< std::vector< ESInputTag > >() [1/2]

template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1079 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1079  {
1080  return retrieve(name).getVESInputTag();
1081  }

◆ ParameterSet::getParameter< std::vector< ESInputTag > >() [2/2]

template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 1661 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1661  {
1662  return retrieve(name).getVESInputTag();
1663  }

◆ ParameterSet::getParameter< std::vector< EventID > >() [1/2]

template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( std::string const &  name) const

Definition at line 1095 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1095  {
1096  return retrieve(name).getVEventID();
1097  }

◆ ParameterSet::getParameter< std::vector< EventID > >() [2/2]

template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( char const *  name) const

Definition at line 1677 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1677  {
1678  return retrieve(name).getVEventID();
1679  }

◆ ParameterSet::getParameter< std::vector< EventRange > >() [1/2]

template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( std::string const &  name) const

Definition at line 1128 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1128  {
1129  return retrieve(name).getVEventRange();
1130  }

◆ ParameterSet::getParameter< std::vector< EventRange > >() [2/2]

template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( char const *  name) const

Definition at line 1709 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1709  {
1710  return retrieve(name).getVEventRange();
1711  }

◆ ParameterSet::getParameter< std::vector< InputTag > >() [1/2]

template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( std::string const &  name) const

Definition at line 1063 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1063  {
1064  return retrieve(name).getVInputTag();
1065  }

◆ ParameterSet::getParameter< std::vector< InputTag > >() [2/2]

template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( char const *  name) const

Definition at line 1645 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1645  {
1646  return retrieve(name).getVInputTag();
1647  }

◆ ParameterSet::getParameter< std::vector< int > >() [1/2]

template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( std::string const &  name) const

Definition at line 953 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

953  {
954  return retrieve(name).getVInt32();
955  }

◆ ParameterSet::getParameter< std::vector< int > >() [2/2]

template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( char const *  name) const

Definition at line 1536 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1536  {
1537  return retrieve(name).getVInt32();
1538  }

◆ ParameterSet::getParameter< std::vector< long long > >() [1/2]

template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( std::string const &  name) const

Definition at line 966 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

966  {
967  return retrieve(name).getVInt64();
968  }

◆ ParameterSet::getParameter< std::vector< long long > >() [2/2]

template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( char const *  name) const

Definition at line 1549 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1549  {
1550  return retrieve(name).getVInt64();
1551  }

◆ ParameterSet::getParameter< std::vector< LuminosityBlockID > >() [1/2]

template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const

Definition at line 1111 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1112  {
1113  return retrieve(name).getVLuminosityBlockID();
1114  }

◆ ParameterSet::getParameter< std::vector< LuminosityBlockID > >() [2/2]

template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( char const *  name) const

Definition at line 1693 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1693  {
1694  return retrieve(name).getVLuminosityBlockID();
1695  }

◆ ParameterSet::getParameter< std::vector< LuminosityBlockRange > >() [1/2]

template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const

Definition at line 1144 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1145  {
1146  return retrieve(name).getVLuminosityBlockRange();
1147  }

◆ ParameterSet::getParameter< std::vector< LuminosityBlockRange > >() [2/2]

template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const

Definition at line 1725 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1726  {
1727  return retrieve(name).getVLuminosityBlockRange();
1728  }

◆ ParameterSet::getParameter< std::vector< PdtEntry > >() [1/2]

template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 96 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

96  {
97  Entry const &e = retrieve(name);
98  return pdtentry::getPdtEntryVector(e, name.c_str());
99  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:58

◆ ParameterSet::getParameter< std::vector< PdtEntry > >() [2/2]

template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 118 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

118  {
119  Entry const &e = retrieve(name);
121  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:58

◆ ParameterSet::getParameter< std::vector< std::string > >() [1/2]

template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( std::string const &  name) const

Definition at line 1019 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1019  {
1020  return retrieve(name).getVString();
1021  }

◆ ParameterSet::getParameter< std::vector< std::string > >() [2/2]

template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( char const *  name) const

Definition at line 1601 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1601  {
1602  return retrieve(name).getVString();
1603  }

◆ ParameterSet::getParameter< std::vector< unsigned int > >() [1/2]

template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( std::string const &  name) const

Definition at line 979 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

979  {
980  return retrieve(name).getVUInt32();
981  }

◆ ParameterSet::getParameter< std::vector< unsigned int > >() [2/2]

template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( char const *  name) const

Definition at line 1562 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1562  {
1563  return retrieve(name).getVUInt32();
1564  }

◆ ParameterSet::getParameter< std::vector< unsigned long long > >() [1/2]

template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( std::string const &  name) const

Definition at line 992 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

993  {
994  return retrieve(name).getVUInt64();
995  }

◆ ParameterSet::getParameter< std::vector< unsigned long long > >() [2/2]

template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( char const *  name) const

Definition at line 1575 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1575  {
1576  return retrieve(name).getVUInt64();
1577  }

◆ ParameterSet::getParameterNamesForType< std::vector< PdtEntry > >()

template<>
std::vector<std::string> edm::ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > ( bool  trackiness) const
inline

Definition at line 147 of file PdtEntry.h.

References filterCSVwithJSON::copy, and makeListRunsInFiles::strings.

147  {
148  std::vector<std::string> ints = getParameterNamesForType<std::vector<int>>(trackiness);
149  std::vector<std::string> strings = getParameterNamesForType<std::vector<std::string>>(trackiness);
150  std::copy(strings.begin(), strings.end(), std::back_insert_iterator<std::vector<std::string>>(ints));
151  return ints;
152  }
ROOT::VecOps::RVec< int > ints
Definition: Resolutions.cc:4

◆ ParameterSet::getUntrackedParameter< std::string >() [1/4]

template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name,
std::string const &  defaultValue 
) const

Definition at line 1317 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getString(), and mergeVDriftHistosByStation::name.

1318  {
1319  Entry const* entryPtr = retrieveUntracked(name);
1320  return entryPtr == nullptr ? defaultValue : entryPtr->getString();
1321  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::string >() [2/4]

template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name) const

Definition at line 1324 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1324  {
1325  return getEntryPointerOrThrow_(name)->getString();
1326  }

◆ ParameterSet::getUntrackedParameter< std::string >() [3/4]

template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name,
std::string const &  defaultValue 
) const

Definition at line 1896 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getString(), and mergeVDriftHistosByStation::name.

1897  {
1898  Entry const* entryPtr = retrieveUntracked(name);
1899  return entryPtr == nullptr ? defaultValue : entryPtr->getString();
1900  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::string >() [4/4]

template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name) const

Definition at line 1903 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1903  {
1904  return getEntryPointerOrThrow_(name)->getString();
1905  }

◆ ParameterSet::getUntrackedParameter< std::vector< double > >() [1/4]

template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name,
std::vector< double > const &  defaultValue 
) const

Definition at line 1302 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVDouble(), and mergeVDriftHistosByStation::name.

1303  {
1304  Entry const* entryPtr = retrieveUntracked(name);
1305  return entryPtr == nullptr ? defaultValue : entryPtr->getVDouble();
1306  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< double > >() [2/4]

template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name) const

Definition at line 1309 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1309  {
1310  return getEntryPointerOrThrow_(name)->getVDouble();
1311  }

◆ ParameterSet::getUntrackedParameter< std::vector< double > >() [3/4]

template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name) const

Definition at line 1888 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1888  {
1889  return getEntryPointerOrThrow_(name)->getVDouble();
1890  }

◆ ParameterSet::getUntrackedParameter< std::vector< double > >() [4/4]

template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name,
std::vector< double > const &  defaultValue 
) const

Definition at line 1881 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVDouble(), and mergeVDriftHistosByStation::name.

1882  {
1883  Entry const* entryPtr = retrieveUntracked(name);
1884  return entryPtr == nullptr ? defaultValue : entryPtr->getVDouble();
1885  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< ESInputTag > >() [1/4]

template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1405 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1405  {
1406  return getEntryPointerOrThrow_(name)->getVESInputTag();
1407  }

◆ ParameterSet::getUntrackedParameter< std::vector< ESInputTag > >() [2/4]

template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name,
std::vector< ESInputTag > const &  defaultValue 
) const

Definition at line 1398 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVESInputTag(), and mergeVDriftHistosByStation::name.

1399  {
1400  Entry const* entryPtr = retrieveUntracked(name);
1401  return entryPtr == nullptr ? defaultValue : entryPtr->getVESInputTag();
1402  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< ESInputTag > >() [3/4]

template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name,
std::vector< ESInputTag > const &  defaultValue 
) const

Definition at line 1974 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVESInputTag(), and mergeVDriftHistosByStation::name.

1975  {
1976  Entry const* entryPtr = retrieveUntracked(name);
1977  return entryPtr == nullptr ? defaultValue : entryPtr->getVESInputTag();
1978  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< ESInputTag > >() [4/4]

template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 1981 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1981  {
1982  return getEntryPointerOrThrow_(name)->getVESInputTag();
1983  }

◆ ParameterSet::getUntrackedParameter< std::vector< EventID > >() [1/4]

template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name) const

Definition at line 1431 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1431  {
1432  return getEntryPointerOrThrow_(name)->getVEventID();
1433  }

◆ ParameterSet::getUntrackedParameter< std::vector< EventID > >() [2/4]

template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name,
std::vector< EventID > const &  defaultValue 
) const

Definition at line 1424 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVEventID(), and mergeVDriftHistosByStation::name.

1425  {
1426  Entry const* entryPtr = retrieveUntracked(name);
1427  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventID();
1428  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< EventID > >() [3/4]

template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name,
std::vector< EventID > const &  defaultValue 
) const

Definition at line 2000 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVEventID(), and mergeVDriftHistosByStation::name.

2001  {
2002  Entry const* entryPtr = retrieveUntracked(name);
2003  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventID();
2004  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< EventID > >() [4/4]

template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name) const

Definition at line 2007 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

2007  {
2008  return getEntryPointerOrThrow_(name)->getVEventID();
2009  }

◆ ParameterSet::getUntrackedParameter< std::vector< EventRange > >() [1/4]

template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name,
std::vector< EventRange > const &  defaultValue 
) const

Definition at line 1479 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVEventRange(), and mergeVDriftHistosByStation::name.

1480  {
1481  Entry const* entryPtr = retrieveUntracked(name);
1482  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventRange();
1483  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< EventRange > >() [2/4]

template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name) const

Definition at line 1486 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1486  {
1487  return getEntryPointerOrThrow_(name)->getVEventRange();
1488  }

◆ ParameterSet::getUntrackedParameter< std::vector< EventRange > >() [3/4]

template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name,
std::vector< EventRange > const &  defaultValue 
) const

Definition at line 2054 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVEventRange(), and mergeVDriftHistosByStation::name.

2055  {
2056  Entry const* entryPtr = retrieveUntracked(name);
2057  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventRange();
2058  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< EventRange > >() [4/4]

template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name) const

Definition at line 2061 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

2061  {
2062  return getEntryPointerOrThrow_(name)->getVEventRange();
2063  }

◆ ParameterSet::getUntrackedParameter< std::vector< InputTag > >() [1/4]

template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name) const

Definition at line 1378 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1378  {
1379  return getEntryPointerOrThrow_(name)->getVInputTag();
1380  }

◆ ParameterSet::getUntrackedParameter< std::vector< InputTag > >() [2/4]

template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name,
std::vector< InputTag > const &  defaultValue 
) const

Definition at line 1371 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVInputTag(), and mergeVDriftHistosByStation::name.

1372  {
1373  Entry const* entryPtr = retrieveUntracked(name);
1374  return entryPtr == nullptr ? defaultValue : entryPtr->getVInputTag();
1375  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< InputTag > >() [3/4]

template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name) const

Definition at line 1955 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1955  {
1956  return getEntryPointerOrThrow_(name)->getVInputTag();
1957  }

◆ ParameterSet::getUntrackedParameter< std::vector< InputTag > >() [4/4]

template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name,
std::vector< InputTag > const &  defaultValue 
) const

Definition at line 1948 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVInputTag(), and mergeVDriftHistosByStation::name.

1949  {
1950  Entry const* entryPtr = retrieveUntracked(name);
1951  return entryPtr == nullptr ? defaultValue : entryPtr->getVInputTag();
1952  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< int > >() [1/4]

template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name,
std::vector< int > const &  defaultValue 
) const

Definition at line 1193 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVInt32(), and mergeVDriftHistosByStation::name.

1194  {
1195  Entry const* entryPtr = retrieveUntracked(name);
1196  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt32();
1197  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< int > >() [2/4]

template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name) const

Definition at line 1200 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1200  {
1201  return getEntryPointerOrThrow_(name)->getVInt32();
1202  }

◆ ParameterSet::getUntrackedParameter< std::vector< int > >() [3/4]

template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name) const

Definition at line 1781 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1781  {
1782  return getEntryPointerOrThrow_(name)->getVInt32();
1783  }

◆ ParameterSet::getUntrackedParameter< std::vector< int > >() [4/4]

template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name,
std::vector< int > const &  defaultValue 
) const

Definition at line 1774 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVInt32(), and mergeVDriftHistosByStation::name.

1775  {
1776  Entry const* entryPtr = retrieveUntracked(name);
1777  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt32();
1778  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< long long > >() [1/4]

template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name) const

Definition at line 1283 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1283  {
1284  return getEntryPointerOrThrow_(name)->getVInt64();
1285  }

◆ ParameterSet::getUntrackedParameter< std::vector< long long > >() [2/4]

template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name,
std::vector< long long > const &  defaultValue 
) const

Definition at line 1276 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVInt64(), and mergeVDriftHistosByStation::name.

1277  {
1278  Entry const* entryPtr = retrieveUntracked(name);
1279  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt64();
1280  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< long long > >() [3/4]

template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name) const

Definition at line 1862 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1862  {
1863  return getEntryPointerOrThrow_(name)->getVInt64();
1864  }

◆ ParameterSet::getUntrackedParameter< std::vector< long long > >() [4/4]

template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name,
std::vector< long long > const &  defaultValue 
) const

Definition at line 1855 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVInt64(), and mergeVDriftHistosByStation::name.

1856  {
1857  Entry const* entryPtr = retrieveUntracked(name);
1858  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt64();
1859  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > >() [1/4]

template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const

Definition at line 1458 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1459  {
1460  return getEntryPointerOrThrow_(name)->getVLuminosityBlockID();
1461  }

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > >() [2/4]

template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const

Definition at line 1451 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVLuminosityBlockID(), and mergeVDriftHistosByStation::name.

1452  {
1453  Entry const* entryPtr = retrieveUntracked(name);
1454  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockID();
1455  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > >() [3/4]

template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const

Definition at line 2027 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVLuminosityBlockID(), and mergeVDriftHistosByStation::name.

2028  {
2029  Entry const* entryPtr = retrieveUntracked(name);
2030  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockID();
2031  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > >() [4/4]

template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name) const

Definition at line 2034 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

2035  {
2036  return getEntryPointerOrThrow_(name)->getVLuminosityBlockID();
2037  }

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > >() [1/4]

template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const

Definition at line 1506 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVLuminosityBlockRange(), and mergeVDriftHistosByStation::name.

1507  {
1508  Entry const* entryPtr = retrieveUntracked(name);
1509  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockRange();
1510  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > >() [2/4]

template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const

Definition at line 1513 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1514  {
1515  return getEntryPointerOrThrow_(name)->getVLuminosityBlockRange();
1516  }

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > >() [3/4]

template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const

Definition at line 2081 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVLuminosityBlockRange(), and mergeVDriftHistosByStation::name.

2082  {
2083  Entry const* entryPtr = retrieveUntracked(name);
2084  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockRange();
2085  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > >() [4/4]

template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const

Definition at line 2088 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

2089  {
2090  return getEntryPointerOrThrow_(name)->getVLuminosityBlockRange();
2091  }

◆ ParameterSet::getUntrackedParameter< std::vector< PdtEntry > >() [1/4]

template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( std::string const &  name,
std::vector< PdtEntry > const &  defaultValue 
) const
inline

Definition at line 109 of file PdtEntry.h.

References hltPixelClustersMultiplicity_cfi::defaultValue, MillePedeFileConverter_cfg::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

110  {
111  Entry const *e = retrieveUntracked(name);
112  if (e == nullptr)
113  return defaultValue;
114  return pdtentry::getPdtEntryVector(*e, name.c_str());
115  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:58

◆ ParameterSet::getUntrackedParameter< std::vector< PdtEntry > >() [2/4]

template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 124 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

124  {
125  Entry const *e = getEntryPointerOrThrow_(name);
127  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:58

◆ ParameterSet::getUntrackedParameter< std::vector< PdtEntry > >() [3/4]

template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name,
std::vector< PdtEntry > const &  defaultValue 
) const
inline

Definition at line 130 of file PdtEntry.h.

References hltPixelClustersMultiplicity_cfi::defaultValue, MillePedeFileConverter_cfg::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

131  {
132  Entry const *e = retrieveUntracked(name);
133  if (e == nullptr)
134  return defaultValue;
136  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:58

◆ ParameterSet::getUntrackedParameter< std::vector< PdtEntry > >() [4/4]

template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 102 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

103  {
104  Entry const *e = getEntryPointerOrThrow_(name);
105  return pdtentry::getPdtEntryVector(*e, name.c_str());
106  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:58

◆ ParameterSet::getUntrackedParameter< std::vector< std::string > >() [1/4]

template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name,
std::vector< std::string > const &  defaultValue 
) const

Definition at line 1329 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVString(), and mergeVDriftHistosByStation::name.

1330  {
1331  Entry const* entryPtr = retrieveUntracked(name);
1332  return entryPtr == nullptr ? defaultValue : entryPtr->getVString();
1333  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< std::string > >() [2/4]

template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name) const

Definition at line 1336 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1337  {
1338  return getEntryPointerOrThrow_(name)->getVString();
1339  }

◆ ParameterSet::getUntrackedParameter< std::vector< std::string > >() [3/4]

template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name) const

Definition at line 1915 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1915  {
1916  return getEntryPointerOrThrow_(name)->getVString();
1917  }

◆ ParameterSet::getUntrackedParameter< std::vector< std::string > >() [4/4]

template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name,
std::vector< std::string > const &  defaultValue 
) const

Definition at line 1908 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVString(), and mergeVDriftHistosByStation::name.

1909  {
1910  Entry const* entryPtr = retrieveUntracked(name);
1911  return entryPtr == nullptr ? defaultValue : entryPtr->getVString();
1912  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned int > >() [1/4]

template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name) const

Definition at line 1227 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1228  {
1229  return getEntryPointerOrThrow_(name)->getVUInt32();
1230  }

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned int > >() [2/4]

template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name,
std::vector< unsigned int > const &  defaultValue 
) const

Definition at line 1220 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVUInt32(), and mergeVDriftHistosByStation::name.

1221  {
1222  Entry const* entryPtr = retrieveUntracked(name);
1223  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt32();
1224  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned int > >() [3/4]

template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name,
std::vector< unsigned int > const &  defaultValue 
) const

Definition at line 1801 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVUInt32(), and mergeVDriftHistosByStation::name.

1802  {
1803  Entry const* entryPtr = retrieveUntracked(name);
1804  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt32();
1805  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned int > >() [4/4]

template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name) const

Definition at line 1808 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1808  {
1809  return getEntryPointerOrThrow_(name)->getVUInt32();
1810  }

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned long long > >() [1/4]

template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name) const

Definition at line 1255 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1256  {
1257  return getEntryPointerOrThrow_(name)->getVUInt64();
1258  }

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned long long > >() [2/4]

template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name,
std::vector< unsigned long long > const &  defaultValue 
) const

Definition at line 1248 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVUInt64(), and mergeVDriftHistosByStation::name.

1249  {
1250  Entry const* entryPtr = retrieveUntracked(name);
1251  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt64();
1252  }
Definition: Entry.h:18

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned long long > >() [3/4]

template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name) const

Definition at line 1835 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1836  {
1837  return getEntryPointerOrThrow_(name)->getVUInt64();
1838  }

◆ ParameterSet::getUntrackedParameter< std::vector< unsigned long long > >() [4/4]

template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name,
std::vector< unsigned long long > const &  defaultValue 
) const

Definition at line 1828 of file ParameterSet.cc.

References hltPixelClustersMultiplicity_cfi::defaultValue, edm::Entry::getVUInt64(), and mergeVDriftHistosByStation::name.

1829  {
1830  Entry const* entryPtr = retrieveUntracked(name);
1831  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt64();
1832  }
Definition: Entry.h:18

◆ parameterTypeEnumToString()

std::string edm::parameterTypeEnumToString ( ParameterTypes  iType)

Definition at line 67 of file ParameterDescriptionNode.cc.

References cms::cuda::assert(), k_stringRaw, k_vstringRaw, TYPE_TO_NAME, TYPE_TO_NAME2, muonProducer_cfi::VInputTag, and HistogramManager_cfi::VPSet().

Referenced by edm::ParameterSwitchBase::insertAndCheckTypes(), edm::ParameterWildcardBase::print_(), edm::ParameterDescriptionBase::print_(), edm::ParameterSwitch< T >::print_(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), edm::ORGroupDescription::throwIfDuplicateTypes(), edm::IfExistsDescription::throwIfDuplicateTypes(), edm::ANDGroupDescription::throwIfDuplicateTypes(), edm::ParameterWildcardBase::throwIfInvalidPattern(), edm::ParameterSetDescription::throwIfWildcardCollision(), edm::ParameterDescriptionBase::throwMissingRequiredNoDefault(), edm::ParameterDescriptionBase::throwParameterWrongTrackiness(), edm::ParameterDescriptionBase::throwParameterWrongType(), edm::ParameterWildcardBase::validateMatchingNames(), edm::ParameterDescriptionBase::writeFullCfi(), and edm::ParameterWildcardBase::writeTemplate().

67  {
68  switch (iType) {
69  TYPE_TO_NAME(int32);
70  TYPE_TO_NAME(vint32);
72  TYPE_TO_NAME(vuint32);
73  TYPE_TO_NAME(int64);
74  TYPE_TO_NAME(vint64);
76  TYPE_TO_NAME(vuint64);
77  TYPE_TO_NAME(double);
79  TYPE_TO_NAME(bool);
80  TYPE_TO_NAME2(k_stringRaw, string);
82  TYPE_TO_NAME(EventID);
83  TYPE_TO_NAME(VEventID);
84  TYPE_TO_NAME(LuminosityBlockID);
85  TYPE_TO_NAME(VLuminosityBlockID);
89  TYPE_TO_NAME(VESInputTag);
90  TYPE_TO_NAME(FileInPath);
94  TYPE_TO_NAME(VLuminosityBlockRange);
95  TYPE_TO_NAME(EventRange);
96  TYPE_TO_NAME(VEventRange);
97  default:
98  assert(false);
99  }
100  return "";
101  }
vector< string > vstring
Definition: ExoticaDQM.cc:7
assert(be >=bs)
#define TYPE_TO_NAME2(e_val, type)
Definition: PSet.py:1
std::vector< double > vdouble
unsigned long long uint64
Definition: MsgTools.h:15
#define TYPE_TO_NAME(type)
unsigned int uint32
Definition: MsgTools.h:14

◆ ParameterTypeToEnum::toEnum< std::string >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::string > ( )

Definition at line 46 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< double > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< double > > ( )

Definition at line 44 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< ESInputTag > >()

Definition at line 55 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< EventID > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< EventID > > ( )

Definition at line 49 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< EventRange > >()

Definition at line 60 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< InputTag > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< InputTag > > ( )

Definition at line 53 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< int > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< int > > ( )

Definition at line 36 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< long long > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< long long > > ( )

Definition at line 40 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< LuminosityBlockID > >()

Definition at line 51 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< LuminosityBlockRange > >()

Definition at line 58 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< std::string > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< std::string > > ( )

Definition at line 47 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< unsigned > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< unsigned > > ( )

Definition at line 38 of file ParameterDescriptionNode.cc.

◆ ParameterTypeToEnum::toEnum< std::vector< unsigned long long > >()

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< unsigned long long > > ( )

Definition at line 42 of file ParameterDescriptionNode.cc.

◆ pointerToBase()

template<typename T >
void const* edm::pointerToBase ( std::type_info const &  baseTypeInfo,
T const *  address 
)

Definition at line 47 of file OffsetToBase.h.

References Options::const, HLT_IsoTrack_cff::offset, and edm::OffsetToBase< T >::offsetToBase().

Referenced by edm::reftobase::RefHolder< REF >::pointerToType(), edm::detail::reallyfillPtrVector(), and edm::detail::reallySetPtr().

47  {
48  OffsetToBase<T> offsetToBase;
49  int offset = offsetToBase.offsetToBase(baseTypeInfo);
50  void const* ptr = address;
51  return static_cast<char const*>(ptr) + offset;
52  }

◆ popSubProcessVParameterSet()

std::vector< ParameterSet > edm::popSubProcessVParameterSet ( ParameterSet parameterSet)

Definition at line 837 of file SubProcess.cc.

References edm::ParameterSet::getUntrackedParameter(), parameterSet(), and edm::ParameterSet::popVParameterSet().

Referenced by edm::EventProcessor::init(), and edm::SubProcess::SubProcess().

837  {
838  std::vector<std::string> subProcesses =
839  parameterSet.getUntrackedParameter<std::vector<std::string>>("@all_subprocesses");
840  if (!subProcesses.empty()) {
841  return parameterSet.popVParameterSet("subProcesses");
842  }
843  return {};
844  }
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
T getUntrackedParameter(std::string const &, T const &) const
std::vector< ParameterSet > popVParameterSet(std::string const &name)

◆ postIndexIntoFilePrintEventLists()

static void edm::postIndexIntoFilePrintEventLists ( TFile *  tfl,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 156 of file CollUtil.cc.

References cms::cuda::assert(), edm::IndexIntoFile::begin(), gather_cfg::cout, edm::IndexIntoFile::end(), edm::EventID::event(), edm::poolNames::eventTreeName(), edm::IndexIntoFile::firstAppearanceOrder, edm::EventAuxiliary::id(), edm::poolNames::indexIntoFileBranchName(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::IndexIntoFile::iterationWillBeInEntryOrder(), edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.

Referenced by printEventLists().

158  {
159  IndexIntoFile indexIntoFile;
160  IndexIntoFile *findexPtr = &indexIntoFile;
161  if (metaDataTree->FindBranch(poolNames::indexIntoFileBranchName().c_str()) != nullptr) {
162  TBranch *fndx = metaDataTree->GetBranch(poolNames::indexIntoFileBranchName().c_str());
163  fndx->SetAddress(&findexPtr);
164  fndx->GetEntry(0);
165  } else {
166  std::cout << "IndexIntoFile not found. If this input file was created with release 1_8_0 or later\n"
167  "this indicates a problem with the file. This condition should be expected with\n"
168  "files created with earlier releases and printout of the event list will fail.\n";
169  return;
170  }
171  //need to read event # from the EventAuxiliary branch
172  TTree *eventsTree = dynamic_cast<TTree *>(tfl->Get(poolNames::eventTreeName().c_str()));
173  TBranch *eventAuxBranch = nullptr;
174  assert(nullptr != eventsTree);
175  char const *const kEventAuxiliaryBranchName = "EventAuxiliary";
176  if (eventsTree->FindBranch(kEventAuxiliaryBranchName) != nullptr) {
177  eventAuxBranch = eventsTree->GetBranch(kEventAuxiliaryBranchName);
178  } else {
179  std::cout << "Failed to find " << kEventAuxiliaryBranchName
180  << " branch in Events TTree. Something is wrong with this file." << std::endl;
181  return;
182  }
183  EventAuxiliary eventAuxiliary;
184  EventAuxiliary *eAPtr = &eventAuxiliary;
185  eventAuxBranch->SetAddress(&eAPtr);
186  std::cout << "\nPrinting IndexIntoFile contents. This includes a list of all Runs, LuminosityBlocks\n"
187  << "and Events stored in the root file.\n\n";
188  std::cout << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "Event" << std::setw(15)
189  << "TTree Entry"
190  << "\n";
191 
192  for (IndexIntoFile::IndexIntoFileItr it = indexIntoFile.begin(IndexIntoFile::firstAppearanceOrder),
193  itEnd = indexIntoFile.end(IndexIntoFile::firstAppearanceOrder);
194  it != itEnd;
195  ++it) {
196  IndexIntoFile::EntryType t = it.getEntryType();
197  std::cout << std::setw(15) << it.run() << std::setw(15) << it.lumi();
198  EventNumber_t eventNum = 0;
200  switch (t) {
201  case IndexIntoFile::kRun:
202  type = "(Run)";
203  break;
204  case IndexIntoFile::kLumi:
205  type = "(Lumi)";
206  break;
207  case IndexIntoFile::kEvent:
208  eventAuxBranch->GetEntry(it.entry());
209  eventNum = eventAuxiliary.id().event();
210  break;
211  default:
212  break;
213  }
214  std::cout << std::setw(15) << eventNum << std::setw(15) << it.entry() << " " << type << std::endl;
215  }
216 
217  std::cout << "\nFileFormatVersion = " << fileFormatVersion << ". ";
218  if (fileFormatVersion.fastCopyPossible())
219  std::cout << "This version supports fast copy\n";
220  else
221  std::cout << "This version does not support fast copy\n";
222 
223  if (indexIntoFile.iterationWillBeInEntryOrder(IndexIntoFile::firstAppearanceOrder)) {
224  std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort = false\" mode\n";
225  } else {
226  std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort = false\" mode\n";
227  }
228 
229  // This will not work unless the other nonpersistent parts of the Index are filled first
230  // I did not have time to implement this yet.
231  // if (indexIntoFile.iterationWillBeInEntryOrder(IndexIntoFile::numericalOrder)) {
232  // std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort\" mode\n";
233  // } else {
234  // std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort\" mode\n";
235  // }
236  std::cout << "(Note that other factors can prevent fast copy from occurring)\n\n";
237  }
unsigned long long EventNumber_t
assert(be >=bs)
std::string const & eventTreeName()
Definition: BranchType.cc:220
std::string const & indexIntoFileBranchName()
Definition: BranchType.cc:198

◆ postIndexIntoFilePrintEventsInLumis()

static void edm::postIndexIntoFilePrintEventsInLumis ( TFile *  tfl,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 303 of file CollUtil.cc.

References edm::IndexIntoFile::begin(), gather_cfg::cout, edm::IndexIntoFile::end(), edm::IndexIntoFile::firstAppearanceOrder, edm::poolNames::indexIntoFileBranchName(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, createIOVlist::nEvents, and submitPVValidationJobs::t.

Referenced by printEventsInLumis().

305  {
306  IndexIntoFile indexIntoFile;
307  IndexIntoFile *findexPtr = &indexIntoFile;
308  if (metaDataTree->FindBranch(poolNames::indexIntoFileBranchName().c_str()) != nullptr) {
309  TBranch *fndx = metaDataTree->GetBranch(poolNames::indexIntoFileBranchName().c_str());
310  fndx->SetAddress(&findexPtr);
311  fndx->GetEntry(0);
312  } else {
313  std::cout << "IndexIntoFile not found. If this input file was created with release 1_8_0 or later\n"
314  "this indicates a problem with the file. This condition should be expected with\n"
315  "files created with earlier releases and printout of the event list will fail.\n";
316  return;
317  }
318  std::cout << "\n"
319  << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "# Events"
320  << "\n";
321 
322  unsigned long nEvents = 0;
323  unsigned long runID = 0;
324  unsigned long lumiID = 0;
325 
326  for (IndexIntoFile::IndexIntoFileItr it = indexIntoFile.begin(IndexIntoFile::firstAppearanceOrder),
327  itEnd = indexIntoFile.end(IndexIntoFile::firstAppearanceOrder);
328  it != itEnd;
329  ++it) {
330  IndexIntoFile::EntryType t = it.getEntryType();
331  switch (t) {
332  case IndexIntoFile::kRun:
333  break;
334  case IndexIntoFile::kLumi:
335  if (runID != it.run() || lumiID != it.lumi()) {
336  //print the previous one
337  if (lumiID != 0) {
338  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
339  }
340  nEvents = 0;
341  runID = it.run();
342  lumiID = it.lumi();
343  }
344  break;
345  case IndexIntoFile::kEvent:
346  ++nEvents;
347  break;
348  default:
349  break;
350  }
351  }
352  //print the last one
353  if (lumiID != 0) {
354  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
355  }
356  std::cout << "\n";
357  }
std::string const & indexIntoFileBranchName()
Definition: BranchType.cc:198

◆ preIndexIntoFilePrintEventLists()

static void edm::preIndexIntoFilePrintEventLists ( TFile *  ,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 117 of file CollUtil.cc.

References gather_cfg::cout, and edm::poolNames::fileIndexBranchName().

Referenced by printEventLists().

119  {
120  FileIndex fileIndex;
121  FileIndex *findexPtr = &fileIndex;
122  if (metaDataTree->FindBranch(poolNames::fileIndexBranchName().c_str()) != nullptr) {
123  TBranch *fndx = metaDataTree->GetBranch(poolNames::fileIndexBranchName().c_str());
124  fndx->SetAddress(&findexPtr);
125  fndx->GetEntry(0);
126  } else {
127  std::cout << "FileIndex not found. If this input file was created with release 1_8_0 or later\n"
128  "this indicates a problem with the file. This condition should be expected with\n"
129  "files created with earlier releases and printout of the event list will fail.\n";
130  return;
131  }
132 
133  std::cout << "\n" << fileIndex;
134 
135  std::cout << "\nFileFormatVersion = " << fileFormatVersion << ". ";
136  if (fileFormatVersion.fastCopyPossible())
137  std::cout << "This version supports fast copy\n";
138  else
139  std::cout << "This version does not support fast copy\n";
140 
141  if (fileIndex.allEventsInEntryOrder()) {
142  std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort = False\" mode\n";
143  } else {
144  std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort = False\" mode\n";
145  }
146 
147  fileIndex.sortBy_Run_Lumi_EventEntry();
148  if (fileIndex.allEventsInEntryOrder()) {
149  std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort\" mode\n";
150  } else {
151  std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort\" mode\n";
152  }
153  std::cout << "(Note that other factors can prevent fast copy from occurring)\n\n";
154  }
std::string const & fileIndexBranchName()
Definition: BranchType.cc:195

◆ preIndexIntoFilePrintEventsInLumis()

static void edm::preIndexIntoFilePrintEventsInLumis ( TFile *  ,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 257 of file CollUtil.cc.

References edm::FileIndex::begin(), gather_cfg::cout, edm::FileIndex::end(), edm::poolNames::fileIndexBranchName(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::FileIndex::kEvent, edm::FileIndex::kLumi, and createIOVlist::nEvents.

Referenced by printEventsInLumis().

259  {
260  FileIndex fileIndex;
261  FileIndex *findexPtr = &fileIndex;
262  if (metaDataTree->FindBranch(poolNames::fileIndexBranchName().c_str()) != nullptr) {
263  TBranch *fndx = metaDataTree->GetBranch(poolNames::fileIndexBranchName().c_str());
264  fndx->SetAddress(&findexPtr);
265  fndx->GetEntry(0);
266  } else {
267  std::cout << "FileIndex not found. If this input file was created with release 1_8_0 or later\n"
268  "this indicates a problem with the file. This condition should be expected with\n"
269  "files created with earlier releases and printout of the event list will fail.\n";
270  return;
271  }
272 
273  std::cout << "\n"
274  << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "# Events"
275  << "\n";
276  unsigned long nEvents = 0;
277  unsigned long runID = 0;
278  unsigned long lumiID = 0;
279  for (std::vector<FileIndex::Element>::const_iterator it = fileIndex.begin(), itEnd = fileIndex.end(); it != itEnd;
280  ++it) {
281  if (it->getEntryType() == FileIndex::kEvent) {
282  ++nEvents;
283  } else if (it->getEntryType() == FileIndex::kLumi) {
284  if (runID != it->run_ || lumiID != it->lumi_) {
285  //print the previous one
286  if (lumiID != 0) {
287  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
288  }
289  nEvents = 0;
290  runID = it->run_;
291  lumiID = it->lumi_;
292  }
293  }
294  }
295  //print the last one
296  if (lumiID != 0) {
297  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
298  }
299 
300  std::cout << "\n";
301  }
std::string const & fileIndexBranchName()
Definition: BranchType.cc:195

◆ print() [1/3]

template<typename S >
S& edm::print ( S os,
JobReport::InputFile const &  f 
)

Definition at line 66 of file JobReport.cc.

References ALCARECOEcalPhiSym_cff::doc, f, formatFile(), and l1tGTMenu_BTagSeeds_cff::os.

Referenced by operator<<().

66  {
67  tinyxml2::XMLDocument doc;
68  os << "\n<InputFile>";
69  formatFile(f, os);
70  os << "\n<InputType>" << f.inputType << "</InputType>";
71  os << "\n<InputSourceClass>" << doc.NewText(f.inputSourceClassName.c_str())->Value() << "</InputSourceClass>";
72  os << "\n<EventsRead>" << f.numEventsRead << "</EventsRead>";
73  return os;
74  }
reco::JetExtendedAssociation::JetExtendedData Value
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:40

◆ print() [2/3]

template<typename S >
S& edm::print ( S os,
JobReport::OutputFile const &  f 
)

Definition at line 77 of file JobReport.cc.

References ALCARECOEcalPhiSym_cff::doc, f, formatFile(), and l1tGTMenu_BTagSeeds_cff::os.

77  {
78  tinyxml2::XMLDocument doc;
79  formatFile(f, os);
80  os << "\n<OutputModuleClass>" << doc.NewText(f.outputModuleClassName.c_str())->Value() << "</OutputModuleClass>";
81  os << "\n<TotalEvents>" << f.numEventsWritten << "</TotalEvents>\n";
82  os << "\n<DataType>" << doc.NewText(f.dataType.c_str())->Value() << "</DataType>\n";
83  os << "\n<BranchHash>" << doc.NewText(f.branchHash.c_str())->Value() << "</BranchHash>\n";
84  return os;
85  }
reco::JetExtendedAssociation::JetExtendedData Value
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:40

◆ print() [3/3]

template<typename S >
S& edm::print ( S os,
JobReport::RunReport const &  rep 
)

Definition at line 88 of file JobReport.cc.

References WZElectronSkims53X_cff::max, l1tGTMenu_BTagSeeds_cff::os, and cuy::rep.

88  {
89  os << "\n<Run ID=\"" << rep.runNumber << "\">\n";
90 
91  for (auto const& il : rep.lumiSectionsToNEvents) {
92  if (std::numeric_limits<unsigned long>::max() == il.second) {
93  os << " <LumiSection ID=\"" << il.first << "\"/>\n";
94 
95  } else {
96  os << " <LumiSection ID=\"" << il.first << "\" NEvents=\"" << il.second << "\"/>\n";
97  }
98  }
99  os << "</Run>\n";
100  return os;
101  }
rep
Definition: cuy.py:1189

◆ printBranchNames()

void edm::printBranchNames ( TTree *  tree)

Definition at line 74 of file CollUtil.cc.

References gather_cfg::cout, mps_fire::i, and L1DTConfigBti_cff::LL.

74  {
75  if (tree != nullptr) {
76  Long64_t nB = tree->GetListOfBranches()->GetEntries();
77  for (Long64_t i = 0; i < nB; ++i) {
78  Long64_t size = 0LL;
79  TBranch *btemp = (TBranch *)tree->GetListOfBranches()->At(i);
80  addBranchSizes(btemp, size);
81  std::cout << "Branch " << i << " of " << tree->GetName() << " tree: " << btemp->GetName()
82  << " Total size = " << size << " Compressed size = " << branchCompressedSizes(btemp) << std::endl;
83  }
84  } else {
85  std::cout << "Missing Events tree?\n";
86  }
87  }
size
Write out results.
Definition: tree.py:1

◆ printCmsException()

void edm::printCmsException ( cms::Exception e,
edm::JobReport jobRep = nullptr,
int  rc = -1 
)

Definition at line 12 of file ExceptionMessages.cc.

References MillePedeFileConverter_cfg::e, edm::JobReport::reportError(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by addContextAndPrintException().

12  {
13  std::string shortDesc("Fatal Exception");
14  std::ostringstream longDesc;
15  longDesc << e.explainSelf();
16  LogAbsolute(shortDesc) << "----- Begin " << shortDesc << " " << std::setprecision(0) << TimeOfDay()
17  << "-----------------------\n"
18  << longDesc.str() << "----- End " << shortDesc
19  << " -------------------------------------------------";
20  if (jobRep)
21  jobRep->reportError(shortDesc, longDesc.str(), rc);
22  } catch (...) {
23  }
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
Definition: JobReport.cc:529
Log< level::System, true > LogAbsolute

◆ printCmsExceptionWarning()

void edm::printCmsExceptionWarning ( char const *  behavior,
cms::Exception const &  e 
)

Definition at line 25 of file ExceptionMessages.cc.

References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::EDLooperBase::doDuringLoop(), edm::StreamSchedule::finishedPaths(), edm::Path::handleWorkerFailure(), and edm::Worker::shouldRethrowException().

25  {
26  std::string shortDesc(behavior);
27  shortDesc += " Exception";
28  std::ostringstream longDesc;
29  longDesc << e.explainSelf();
30  LogPrint(shortDesc) << "----- Begin " << shortDesc << " " << std::setprecision(0) << TimeOfDay()
31  << "-----------------------\n"
32  << longDesc.str() << "----- End " << shortDesc
33  << " -------------------------------------------------";
34  } catch (...) {
35  }
Log< level::Warning, true > LogPrint

◆ printEventLists()

void edm::printEventLists ( TFile *  tfl)

Definition at line 239 of file CollUtil.cc.

References cms::cuda::assert(), edm::poolNames::fileFormatVersionBranchName(), edm::FileFormatVersion::hasIndexIntoFile(), edm::poolNames::metaDataTreeName(), postIndexIntoFilePrintEventLists(), and preIndexIntoFilePrintEventLists().

239  {
240  TTree *metaDataTree = dynamic_cast<TTree *>(tfl->Get(poolNames::metaDataTreeName().c_str()));
241  assert(nullptr != metaDataTree);
242 
243  FileFormatVersion fileFormatVersion;
244  FileFormatVersion *fftPtr = &fileFormatVersion;
245  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != nullptr) {
246  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
247  fft->SetAddress(&fftPtr);
248  fft->GetEntry(0);
249  }
250  if (fileFormatVersion.hasIndexIntoFile()) {
251  postIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
252  } else {
253  preIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
254  }
255  }
std::string const & metaDataTreeName()
Definition: BranchType.cc:159
assert(be >=bs)
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:189
static void preIndexIntoFilePrintEventLists(TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:117
static void postIndexIntoFilePrintEventLists(TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:156

◆ printEventsInLumis()

void edm::printEventsInLumis ( TFile *  tfl)

Definition at line 359 of file CollUtil.cc.

References cms::cuda::assert(), edm::poolNames::fileFormatVersionBranchName(), edm::FileFormatVersion::hasIndexIntoFile(), edm::poolNames::metaDataTreeName(), postIndexIntoFilePrintEventsInLumis(), and preIndexIntoFilePrintEventsInLumis().

359  {
360  TTree *metaDataTree = dynamic_cast<TTree *>(tfl->Get(poolNames::metaDataTreeName().c_str()));
361  assert(nullptr != metaDataTree);
362 
363  FileFormatVersion fileFormatVersion;
364  FileFormatVersion *fftPtr = &fileFormatVersion;
365  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != nullptr) {
366  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
367  fft->SetAddress(&fftPtr);
368  fft->GetEntry(0);
369  }
370  if (fileFormatVersion.hasIndexIntoFile()) {
371  postIndexIntoFilePrintEventsInLumis(tfl, fileFormatVersion, metaDataTree);
372  } else {
373  preIndexIntoFilePrintEventsInLumis(tfl, fileFormatVersion, metaDataTree);
374  }
375  }
std::string const & metaDataTreeName()
Definition: BranchType.cc:159
assert(be >=bs)
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:189
static void preIndexIntoFilePrintEventsInLumis(TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:257
static void postIndexIntoFilePrintEventsInLumis(TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:303

◆ printTrees()

void edm::printTrees ( TFile *  hdl)

Definition at line 35 of file CollUtil.cc.

References HLT_2024v14_cff::Class, submitPVResolutionJobs::key, and getGTfromDQMFile::obj.

35  {
36  hdl->ls();
37  TList *keylist = hdl->GetListOfKeys();
38  TIterator *iter = keylist->MakeIterator();
39  TKey *key = nullptr;
40  while ((key = (TKey *)iter->Next())) {
41  TObject *obj = hdl->Get(key->GetName());
42  if (obj->IsA() == TTree::Class()) {
43  obj->Print();
44  }
45  }
46  return;
47  }
key
prepare the HTCondor submission files and eventually submit them

◆ printUuids()

void edm::printUuids ( TTree *  uuidTree)

Definition at line 108 of file CollUtil.cc.

References gather_cfg::cout, edm::FileID::fid(), and edm::poolNames::fileIdentifierBranchName().

108  {
109  FileID fid;
110  FileID *fidPtr = &fid;
111  uuidTree->SetBranchAddress(poolNames::fileIdentifierBranchName().c_str(), &fidPtr);
112  uuidTree->GetEntry(0);
113 
114  std::cout << "UUID: " << fid.fid() << std::endl;
115  }
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:192

◆ processGUID()

Guid const & edm::processGUID ( )

◆ productIDToBranchID()

BranchID edm::productIDToBranchID ( ProductID const &  pid,
BranchIDLists const &  lists,
BranchListIndexes const &  indexes 
)

Definition at line 11 of file ProductIDToBranchID.cc.

References edm::ProductID::isValid(), edm::ProductID::processIndex(), and edm::ProductID::productIndex().

Referenced by edm::EventPrincipal::pidToBid(), fwlite::internal::BranchMapReaderStrategyV11::productToBranchID(), and fwlite::internal::BranchMapReaderStrategyV17::productToBranchID().

11  {
12  if (pid.isValid()) {
13  size_t procIndex = pid.processIndex() - 1;
14  if (procIndex < indexes.size()) {
15  BranchListIndex blix = indexes[procIndex];
16  if (blix < lists.size()) {
17  BranchIDList const& blist = lists[blix];
18  size_t prodIndex = pid.productIndex() - 1;
19  if (prodIndex < blist.size()) {
20  BranchID::value_type bid = blist[prodIndex];
21  return BranchID(bid);
22  }
23  }
24  }
25  }
26  return BranchID();
27  }
unsigned short BranchListIndex
std::vector< BranchID::value_type > BranchIDList
Definition: BranchIDList.h:18

◆ public_base_classes()

bool edm::public_base_classes ( std::vector< std::string > &  missingDictionaries,
TypeID const &  typeID,
std::vector< TypeID > &  baseTypes 
)

Definition at line 320 of file DictionaryTools.cc.

References edmMakeDummyCfis::base, checkDictionary(), edm::TypeWithDict::name(), search_all(), edm::TypeID::typeInfo(), and edm::TypeWithDict::typeInfo().

Referenced by edm::ProductRegistry::checkDictionariesOfConsumedTypes(), edm::ProductRegistry::initializeLookupTables(), edm::ProductResolverIndexHelper::insert(), and edm::productholderindexhelper::typeIsViewCompatible().

322  {
323  if (!checkDictionary(missingDictionaries, typeID)) {
324  return false;
325  }
326  TypeWithDict typeWithDict(typeID.typeInfo());
327 
328  if (!typeWithDict.isClass()) {
329  return true;
330  }
331 
332  // No need to check into base classes of standard library
333  // classes.
334  if (TClassEdit::IsStdClass(typeWithDict.name().c_str())) {
335  return true;
336  }
337 
338  TypeBases bases(typeWithDict);
339  bool returnValue = true;
340  for (auto const& basex : bases) {
341  BaseWithDict base(basex);
342  if (!base.isPublic()) {
343  continue;
344  }
345  TypeWithDict baseRflxType = base.typeOf();
346  if (!checkDictionary(missingDictionaries, baseRflxType.name(), baseRflxType)) {
347  returnValue = false;
348  continue;
349  }
350  TypeID baseType{baseRflxType.typeInfo()};
351  // Check to make sure this base appears only once in the
352  // inheritance hierarchy.
353  if (!search_all(baseTypes, baseType)) {
354  // Save the type and recursive look for its base types
355  baseTypes.push_back(baseType);
356  if (!public_base_classes(missingDictionaries, baseType, baseTypes)) {
357  returnValue = false;
358  continue;
359  }
360  }
361  // For now just ignore it if the class appears twice,
362  // After some more testing we may decide to uncomment the following
363  // exception.
364  //
365  //else {
366  // throw Exception(errors::UnimplementedFeature)
367  // << "DataFormats/Common/src/DictionaryTools.cc in function public_base_classes.\n"
368  // << "Encountered class that has a public base class that appears\n"
369  // << "multiple times in its inheritance heirarchy.\n"
370  // << "Please contact the EDM Framework group with details about\n"
371  // << "this exception. It was our hope that this complicated situation\n"
372  // << "would not occur. There are three possible solutions. 1. Change\n"
373  // << "the class design so the public base class does not appear multiple\n"
374  // << "times in the inheritance heirarchy. In many cases, this is a\n"
375  // << "sign of bad design. 2. Modify the code that supports Views to\n"
376  // << "ignore these base classes, but not supply support for creating a\n"
377  // << "View of this base class. 3. Improve the View infrastructure to\n"
378  // << "deal with this case. Class name of base class: " << baseType.Name() << "\n\n";
379  //}
380  }
381  return returnValue;
382  }
bool public_base_classes(std::vector< std::string > &missingDictionaries, TypeID const &typeID, std::vector< TypeID > &baseTypes)
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
bool search_all(ForwardSequence const &s, Datum const &d)
Definition: Algorithms.h:36

◆ pythonToCppException()

void edm::pythonToCppException ( const std::string &  iType,
const std::string &  error 
)

Definition at line 6 of file PyBind11Wrapper.cc.

References edm::errors::Configuration, relativeConstraints::error, Exception, and edm::errors::UnavailableAccelerator.

Referenced by PyBind11ProcessDesc::read(), edm::cmspybind11::readPSetsFrom(), and FWPathsPopup::scheduleReloadEvent().

6  {
7  auto colon = error.find(':');
8  if (colon != std::string::npos) {
9  if (error.substr(0, colon) == "EDMException") {
10  auto errorNameStart = error.find('{');
11  auto errorNameEnd = error.find('}');
12  if (errorNameStart != std::string::npos and errorNameEnd != std::string::npos) {
13  auto errorName = error.substr(errorNameStart + 1, errorNameEnd - errorNameStart - 1);
14  if ("Configuration" == errorName) {
15  auto newLine = error.find('\n', errorNameEnd + 1);
16  if (newLine == std::string::npos) {
17  newLine = errorNameEnd + 1;
18  }
19  throw edm::Exception(edm::errors::Configuration) << error.substr(newLine + 1, std::string::npos);
20  } else if ("UnavailableAccelerator" == errorName) {
21  auto newLine = error.find('\n', errorNameEnd + 1);
22  if (newLine == std::string::npos) {
23  newLine = errorNameEnd + 1;
24  }
25  throw edm::Exception(edm::errors::UnavailableAccelerator) << error.substr(newLine + 1, std::string::npos);
26  }
27  }
28  }
29  }
30  throw cms::Exception(iType) << " unknown python problem occurred.\n" << error << std::endl;
31  }

◆ read_from_cin()

void edm::read_from_cin ( std::string &  output)

Definition at line 25 of file Parse.cc.

References mps_splice::line, and AlCaHLTBitMon_QueryRunRegistry::string.

25  {
27  while (getline(std::cin, line)) {
28  output += line;
29  output += '\n';
30  }
31  }
Definition: output.py:1

◆ read_whole_file()

std::string edm::read_whole_file ( std::string const &  filename)

only does the yacc interpretation

Definition at line 10 of file Parse.cc.

References edmScanValgrind::buffer, edm::errors::Configuration, Exception, corrVsCorr::filename, input, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

10  {
12  std::ifstream input(filename.c_str());
13  if (!input) {
14  throw edm::Exception(errors::Configuration, "MissingFile") << "Cannot read file " << filename;
15  }
17  while (getline(input, buffer)) {
18  // getline strips newlines; we have to put them back by hand.
19  result += buffer;
20  result += '\n';
21  }
22  return result;
23  }
static std::string const input
Definition: EdmProvDump.cc:50

◆ readConfig() [1/2]

std::unique_ptr< edm::ParameterSet > edm::readConfig ( std::string const &  config,
const std::vector< std::string > &  args 
)

same, but with arguments

Definition at line 11 of file ParameterSetReader.cc.

References writedatasetfile::args, PyBind11ProcessDesc::parameterSet(), and edm::cmspybind11::readConfig().

11  {
13 }
Definition: config.py:1
std::unique_ptr< ParameterSet > readConfig(std::string const &config)

◆ readConfig() [2/2]

std::unique_ptr< edm::ParameterSet > edm::readConfig ( std::string const &  config)

Definition at line 15 of file ParameterSetReader.cc.

References PyBind11ProcessDesc::parameterSet(), and edm::cmspybind11::readConfig().

Referenced by readConfig().

15  {
17 }
Definition: config.py:1
std::unique_ptr< ParameterSet > readConfig(std::string const &config)

◆ readPSetsFrom()

std::unique_ptr< edm::ParameterSet > edm::readPSetsFrom ( std::string const &  fileOrString)

finds all the PSets used in the top level module referred as a file or as a string containing python commands. These PSets are bundled into a top level PSet from which they can be retrieved

Definition at line 23 of file ParameterSetReader.cc.

References nnet::cast(), MillePedeFileConverter_cfg::e, cond::persistency::import(), edm::python::initializePyBind11Module(), makePSetsFromFile(), makePSetsFromString(), default_text_conditions_cfi::object, Python11ParameterSet::pset(), pythonToCppException(), and edm::cmspybind11::readPSetsFrom().

Referenced by main(), and readPSetsFrom().

23  {
24  return edm::cmspybind11::readPSetsFrom(fileOrString);
25 }
std::unique_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)

◆ reenableSigs()

void edm::reenableSigs ( sigset_t *  oldset)

Definition at line 72 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

Referenced by installCustomHandler().

72  {
73  // reenable the signals
74  MUST_BE_ZERO(pthread_sigmask(SIG_SETMASK, oldset, nullptr));
75  }
#define MUST_BE_ZERO(fun)

◆ refToPtr()

template<typename C >
Ptr<typename C::value_type> edm::refToPtr ( Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &  ref)

Definition at line 18 of file RefToPtr.h.

Referenced by ParticleLevelProducer::addGenJet(), EgammaHLTFilteredObjProducer< OutCollType >::addObj(), PFEGammaAlgo::attachPSClusters(), PFEGammaProducer::createSingleLegConversions(), EGammaMvaEleEstimator::isoMvaValue(), noPuUtils::isVertexAssociated(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), ParticleLevelProducer::produce(), pat::PATTauSlimmer::produce(), IsolatedTrackCleaner::produce(), pat::PATSecondaryVertexSlimmer::produce(), pat::PackedPFCandidateRefMixer::produce(), pat::PATGenJetSlimmer::produce(), pat::PATMuonSlimmer::produce(), TauGenJetProducer::produce(), pat::PATJetSlimmer::produce(), JetSubstructurePacker::produce(), VertexProducer::produce(), PFTauPrimaryVertexProducerBase::produce(), EgammaHLTPhase2ExtraProducer::produce(), L1TCorrelatorLayer1Producer::putEgObjects(), edmtest::OtherThingAlgorithm::run(), and PFEGammaToCandidate::run().

19  {
20  typedef typename C::value_type T;
21  if (ref.isNull()) {
22  return Ptr<T>();
23  }
24  if (ref.isTransient()) {
25  return Ptr<T>(ref.get(), ref.key());
26  } else {
27  //Another thread could change this value so get only once
28  EDProductGetter const* getter = ref.productGetter();
29  if (getter) {
30  return Ptr<T>(ref.id(), ref.key(), getter);
31  }
32  }
33  return Ptr<T>(ref.id(), ref.get(), ref.key());
34  }
long double T

◆ regexMatch() [1/2]

std::vector< std::vector< std::string >::const_iterator > edm::regexMatch ( std::vector< std::string > const &  strings,
std::regex const &  regexp 
)

Definition at line 26 of file RegexMatch.cc.

References mps_fire::i, oniaPATMuonsWithTrigger_cff::matches, fetchall_from_DQM_v2::regexp, and makeListRunsInFiles::strings.

Referenced by triggerExpression::PathReader::init(), HLTHighLevel::init(), TriggerTools::initPathNames(), edm::EventSelector::initPathNames(), hltdqm::passTrig(), regexMatch(), dqmservices::DQMStreamerReader::setMatchTriggerSel(), and dqmservices::TriggerSelector::TreeElement::TreeElement().

27  {
28  std::vector<std::vector<std::string>::const_iterator> matches;
29  for (std::vector<std::string>::const_iterator i = strings.begin(), iEnd = strings.end(); i != iEnd; ++i) {
30  if (std::regex_match((*i), regexp)) {
31  matches.push_back(i);
32  }
33  }
34  return matches;
35  }

◆ regexMatch() [2/2]

std::vector< std::vector< std::string >::const_iterator > edm::regexMatch ( std::vector< std::string > const &  strings,
std::string const &  pattern 
)

Definition at line 37 of file RegexMatch.cc.

References glob2reg(), topSingleLeptonDQM_PU_cfi::pattern, regexMatch(), fetchall_from_DQM_v2::regexp, and makeListRunsInFiles::strings.

38  {
39  std::regex regexp(glob2reg(pattern));
40  return regexMatch(strings, regexp);
41  }
std::string glob2reg(std::string const &pattern)
Definition: RegexMatch.cc:19
std::vector< std::vector< std::string >::const_iterator > regexMatch(std::vector< std::string > const &strings, std::regex const &regexp)
Definition: RegexMatch.cc:26

◆ replaceString()

void edm::replaceString ( std::string &  demangledName,
std::string const &  from,
std::string const &  to 
)

Definition at line 85 of file TypeDemangler.cc.

Referenced by edm::TypeWithDict::cppName(), L1GtVhdlTemplateFile::findAndReplaceString(), L1GtVhdlTemplateFile::substitute(), and typeDemangle().

85  {
86  // from must not be a substring of to.
87  std::string::size_type length = from.size();
89  while ((pos = demangledName.find(from, pos)) != std::string::npos) {
90  demangledName.replace(pos, length, to);
91  }
92  }
uint16_t size_type

◆ resolveSymbolicLinks()

void edm::resolveSymbolicLinks ( std::string &  fullPath)

Definition at line 48 of file resolveSymbolicLinks.cc.

References newFWLiteAna::found, and contentValuesFiles::fullPath.

48  {
49  bool found = resolveOneSymbolicLink(fullPath);
50  if (found) {
52  }
53  }
void resolveSymbolicLinks(std::string &fullPath)

◆ s_filler_0__LINE__()

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

◆ s_maker__LINE__()

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

◆ search_all()

template<typename ForwardSequence , typename Datum >
bool edm::search_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

Definition at line 36 of file Algorithms.h.

References ztail::d, spr::find(), and alignCSCRings::s.

Referenced by edm::eventsetup::EventSetupRecordProvider::add(), edm::WorkerManager::addToAllWorkers(), edm::service::ThreadSafeLogMessageLoggerScribe::configure_statistics(), edm::StreamSchedule::fillWorkers(), edm::service::TriggerNamesService::getTrigPaths(), edm::Schedule::limitOutput(), edm::MainParameterSet::MainParameterSet(), and public_base_classes().

36  {
37  return std::find(s.begin(), s.end(), d) != s.end();
38  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
d
Definition: ztail.py:151

◆ search_if_in_all()

template<typename ForwardSequence , typename Predicate >
bool edm::search_if_in_all ( ForwardSequence const &  s,
Predicate const &  p 
)
inline

Definition at line 52 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

52  {
53  return std::find_if(s.begin(), s.end(), p) != s.end();
54  }

◆ second()

template<typename T , typename U >
U edm::second ( std::pair< T, U > const &  p)

Definition at line 222 of file ParameterSet.cc.

References AlCaHLTBitMon_ParallelJobs::p.

Referenced by FilterOR::accept(), HGCDigitizer::accumulate(), CaloTruthAccumulator::accumulateEvent(), MtdTruthAccumulator::accumulateEvent(), TkTrackingRegionsMargin< float >::add(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), PrintGeomSummary::addName(), BaseProtonTransport::addPartToHepMC(), Hector::addPartToHepMC(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), gen::EvtGenInterface::addToHepMC(), algorithm(), EcalPreshowerGeometry::alignmentTransformIndexLocal(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), SiStripDetVOffHandler::analyze(), RPCGeometryServTest::analyze(), DTOccupancyEfficiency::analyze(), EcalDQMonitorTask::analyze(), L1TGlobalSummary::analyze(), edmtest::AssociationMapAnalyzer::analyze(), DTPreCalibrationTask::analyze(), BxTiming::analyze(), DTNoiseCalibration::analyze(), HcalQIEDataCheck::analyze(), HGCalTestGuardRing::analyze(), HcalPedestalWidthsCheck::analyze(), MuonPathConfirmator::analyze(), DTNoiseTask::analyze(), HeavyFlavorValidation::analyze(), BtlLocalRecoValidation::analyze(), EtlLocalRecoValidation::analyze(), HcalRaddamMuon::analyze(), L1TRPCTPG::analyze(), l1t::GtRecordDump::analyze(), HLTScalers::analyze(), HcalHBHEMuonAnalyzer::analyze(), DTDigiTask::analyze(), MtdTracksValidation::analyze(), HLTExoticaSubAnalysis::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), CaloSimHitAnalysis::analyzeHits(), L1GtAnalyzer::analyzeL1GtUtilsCore(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), HGCalTBAnalyzer::analyzeRecHits(), HGCalTimingAnalyzer::analyzeSimHits(), HGCalTB23Analyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), SurveyDataConverter::applyFineSurveyInfo(), TrackerHitAssociator::associateHit(), L1GtTriggerMenuTester::associateL1SeedsHltPath(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), TSToSimTSHitLCAssociatorByEnergyScoreImpl::associateRecoToSim(), TrackAssociatorByChi2Impl::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), TSToSimTSHitLCAssociatorByEnergyScoreImpl::associateSimToReco(), cms::alpakatools::AtomicPairCounter::AtomicPairCounter(), JetHtPlotConfiguration::autoExpandEnvironmentVariables(), Tracker_OldtoNewConverter::beginJob(), GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), GctFormatTranslateMCLegacy::blockToRctEmCand(), SiStripGainFromCalibTree::bookDQMHistos(), QIE11Task::bookHistograms(), BxTiming::bookHistograms(), SiStripGainsCalibTreeWorker::bookHistograms(), SiStripGainsPCLWorker::bookHistograms(), CSCGeometryParsFromDD::build(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), SeedFromGenericPairOrTriplet::buildSeed(), CocoaUnitDefinition::BuildUnitsTable(), ALIUnitDefinition::BuildUnitsTable(), CSCEventData::calcALCTcrc(), FWInvMassDialog::Calculate(), JetPartonMatching::calculate(), ClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_e3x2(), ClusterShapeAlgo::Calculate_e3x3(), ClusterShapeAlgo::Calculate_e4x4(), ClusterShapeAlgo::Calculate_e5x5(), MultipleAlgoIterator::calculatePedestal(), ReflectedIterator::calculatePedestal(), PileUpSubtractor::calculatePedestal(), PedeLabelerBase::calibrationParamFromLabel(), cert_plot(), GEMCSCSegAlgoRR::chainHitsToSegm(), HiggsValidation::MonitoredDecays::channel(), checkForModuleDependencyCorrectness(), AlignmentTwoBodyDecayTrackSelector::checkMETMass(), OniaPhotonConversionProducer::checkTkVtxCompatibility(), IsoTrig::chgIsolation(), SiStripAPVRestorer::cleaner_LocalMinimumAdder(), SiStripAPVRestorer::cleaner_MonotonyChecker(), PFMuonAlgo::cleanPunchThroughAndFakes(), TrackCleaner::cleanTracks(), PixelTrackCleanerBySharedHits::cleanTracks(), EcalClusterToolsT< noZS >::cluster2ndMoments(), SimplePlan1RechitCombiner::combine(), AlignableObjectId::commonGeometry(), AlignableObjectId::commonObjectIdProvider(), L1MuGMTExtendedCand::compareRank(), L1TLSBlock::computeErrorFromRange(), ticl::computeLocalTracksterTime(), GaussianSumUtilities1D::computeMode(), ticl::computeTracksterTime(), SiStripFecCabling::connections(), DDHGCalTBModuleX::constructBlocks(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalBarrelAlgo::constructInsideDetectors(), DDHCalBarrelAlgo::constructInsideLayers(), DDHCalEndcapModuleAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapModuleAlgo::constructInsideModule0(), DDHCalEndcapAlgo::constructInsideModule0(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), DDAHcalModuleAlgo::constructLayers(), DDHGCalTBModule::constructLayers(), DDHGCalTBModuleX::constructLayers(), DDHGCalModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHGCalHEFileAlgo::constructLayers(), DDHGCalEEFileAlgo::constructLayers(), DDHGCalMixLayer::constructLayers(), DDHGCalSiliconModule::constructLayers(), DDHGCalMixRotatedFineCassette::constructLayers(), DDHGCalMixRotatedCassette::constructLayers(), DDHGCalMixRotatedLayer::constructLayers(), DDHGCalSiliconRotatedCassette::constructLayers(), DDHGCalSiliconRotatedModule::constructLayers(), DDHCalBarrelAlgo::constructMidLayer(), DDHCalEndcapModuleAlgo::constructScintLayer(), DDHCalEndcapAlgo::constructScintLayer(), DDHCalBarrelAlgo::constructSideLayer(), SiPixelStatusHarvester::constructTag(), CaloTowersCreationAlgo::convert(), GctFormatTranslateV35::convertBlock(), GctFormatTranslateMCLegacy::convertBlock(), GctFormatTranslateV38::convertBlock(), convertHB(), FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter >::correct(), MuonPathAssociator::correlateMPaths(), LatencyHistosUsingDb::create(), PFAlgo::createCandidatesHCAL(), PFCand_AssoMapAlgos::createMappings(), PF_PU_AssoMapAlgos::createMappings(), HFSimpleTimeCheck::determineAnodeStatus(), Phase2TrackerDigitizerAlgorithm::digitize(), SurveyPxbDicer::doDice(), HLTTauRefProducer::doPFTaus(), VectorDoublet< Vector3D, Vector3D >::dot(), SiPixelStatusHarvester::dqmEndRun(), AlcaBeamMonitor::dqmEndRun(), drawMap(), DTSC::DTSectCollsort2(), MuScleFit::duringFastLoop(), ZeeCalibration::duringLoop(), EcalClusterToolsT< noZS >::e2nd(), EcalDQMonitorTask::EcalDQMonitorTask(), EcalClusterToolsT< noZS >::eMax(), edm::service::ELoutput::emitToken(), iterator_pair_as_a_range< I >::end(), DTT0Calibration::endJob(), SplitVertexResolution::endJob(), GeneralPurposeTrackAnalyzer::endJob(), DMRChecker::endJob(), AlcaBeamMonitorClient::endRun(), cond::serialization::equal(), cond::serialization::access< T, typename std::enable_if< std::is_integral< T >::value or std::is_enum< T >::value >::type >::equal_(), cond::serialization::access< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::equal_(), cond::serialization::access< std::string >::equal_(), cond::serialization::access< std::bitset< N > >::equal_(), cond::serialization::access< std::pair< T, U > >::equal_(), cond::serialization::equal_tuple< N, Ts >::equal_(), cond::serialization::access< std::tuple< Ts... > >::equal_(), cond::serialization::access< T, typename std::enable_if< std::is_pointer< T >::value >::type >::equal_(), cond::serialization::access< T[N]>::equal_(), cond::serialization::access< std::array< T, N > >::equal_(), cond::serialization::access< std::forward_list< T > >::equal_(), HGCGuardRing::exclude(), trklet::MatchEngine::execute(), DDHGCalCell::execute(), DDHGCalWafer8::execute(), DDTOBRodAlgo::execute(), DDTrackerZPosAlgo::execute(), DDTrackerXYZPosAlgo::execute(), DDTIDModulePosAlgo::execute(), trklet::MatchCalculator::execute(), DDHGCalPassivePartial::execute(), DDHGCalWaferP::execute(), DDTrackerAngular::execute(), DDTrackerLinear::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDHGCalWaferPartialRotated::execute(), DDTIDRingAlgo::execute(), trklet::MatchProcessor::execute(), DDHCalLinearXY::execute(), DDHGCalPassiveFull::execute(), DDPixFwdDiskAlgo::execute(), DDTECPhiAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTIDModuleAlgo::execute(), DDTOBAxCableAlgo::execute(), DDTOBRadCableAlgo::execute(), DDRPDPosition::execute(), DDPixPhase1FwdDiskAlgo::execute(), trklet::PurgeDuplicate::execute(), DDHGCalWaferF::execute(), DDHGCalWaferFullRotated::execute(), DDHCalTBZposAlgo::execute(), DDPixBarLayerAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDTIBLayerAlgo::execute(), DDBHMAngular::execute(), DDHCalForwardAlgo::execute(), DDTECCoolAlgo::execute(), DDHGCalPassive::execute(), DDHCalTBCableAlgo::execute(), DDHCalFibreBundle::execute(), DDTECModuleAlgo::execute(), DDPixFwdBladesNew::execute(), DDTrackerIrregularRingAlgo::execute(), DDTrackerRingAlgo::execute(), DDPixFwdBlades::execute(), CommissioningHistograms::extractHistograms(), TrackTimeValueMapProducer::extractTrackVertexTime(), PropagateToMuon::extrapolate(), BPHWriteSpecificDecay::fill(), templateHelper::SiPixelTemplateHeaderInfo< PayloadType, StoreType, TransientType, myType, myParam >::fill(), SiPixelGainCalibrationReadDQMFile::fillDatabase(), SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase(), GenParticleProducer::fillDaughters(), DTLocalTriggerTest::fillGlobalSummary(), edm::RootFile::fillIndexIntoFile(), EcalEBPhase2TrigPrimAlgo::fillMap(), EcalEBTrigPrimTestAlgo::fillMap(), EcalTrigPrimFunctionalAlgo::fillMap(), SiStripCMMonitorPlugin::fillMaps(), SiStripNoisesDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiPixelUtility::fillPaveText(), RunDCSHVDat::fillTheMapByTime(), ttbarEventSelector::filter(), JetHTJetPlusHOFilter::filter(), CSCDigiValidator::filter(), Hector::filterD1(), Hector::filterFP420(), Hector::filterZDC(), MtdTruthAccumulator::finalizeEvent(), mkfit::MkBuilder::find_tracks_in_layers(), Phase2L1GMT::Tauto3Mu::FindCloset3Mu(), EcalTBCrystalMap::findCrystalAngles(), MaterialBudgetVolume::findLV(), HoughGrouping::findTheMaxima(), mkfit::MkBuilder::findTracksStandard(), SymmetryFit::findUsableMinMax(), CosmicMuonSmoother::fit(), KFTrajectoryFitter::fitOne(), JetCoreClusterSplitter::fittingSplit(), alpgen::fixEventHiggsTTbar(), alpgen::fixEventSingleTop(), alpgen::fixEventTTbar(), NuclearTester::fwdEstimate(), SiStripApvGainFromFileBuilder::gain_from_maps(), SiStripGainsPCLHarvester::gainQualityMonitor(), DTMeantimerPatternReco::geometryFilter(), edm::RangeMap< det_id_type, edm::OwnVector< B > >::get(), DTTPGParameters::get(), DTLVStatus::get(), DTRangeT0::get(), DTHVStatus::get(), edm::helper::IndexRangeAssociation::get(), DTTtrig::get(), DTDeadFlag::get(), DTMtime::get(), DTStatusFlag::get(), DTPerformance::get(), DeDxHitCalibrator::getAlphaBeta(), GctFormatTranslateBase::getBlockDescription(), CalibrationInterface< T, CO >::getCalibData(), DeDxHitCalibrator::getChi2(), lumi::fPoly::getCorrection(), SiStripPsuDetIdMap::getDcuId(), SiStripPsuDetIdMap::getDetectorLocation(), hcaldqm::quantity::getEid_FED(), hcaldqm::quantity::getEid_FEDuTCA(), l1t::L1TGlobalUtil::getFinalDecisionByBit(), l1t::L1TGlobalUtil::getFinalDecisionByName(), LMFCorrCoefDat::getFlag(), metsig::SignAlgoResolutions::getfunc(), l1t::L1TGlobalUtil::getInitialDecisionByBit(), l1t::L1TGlobalUtil::getInitialDecisionByName(), l1t::L1TGlobalUtil::getIntermDecisionByBit(), l1t::L1TGlobalUtil::getIntermDecisionByName(), trklet::PurgeDuplicate::getInventedCoords(), trklet::PurgeDuplicate::getInventedCoordsExtended(), trklet::PurgeDuplicate::getInventedSeedingStub(), EcalLaserDbService::getLaserCorrection(), HcalLayerDepthMap::getLayerDepth(), G4muDarkBremsstrahlungModel::GetMadgraphData(), l1t::L1TGlobalUtil::getMaskByBit(), l1t::L1TGlobalUtil::getMaskByName(), PileUpSubtractor::getMeanAtTower(), FillInfoPopConSourceHandler::getNewObjects(), trigger::TriggerEventWithRefs::getObjects(), HcalDDDRecConstants::getOneEtaBin(), LMFRunIOV::getParameters(), HcalDDDSimConstants::getPhis(), HcalDDDRecConstants::getPhis(), PileUpSubtractor::getPileUpAtTower(), l1t::L1TGlobalUtil::getPrescaleByBit(), l1t::L1TGlobalUtil::getPrescaleByName(), SimpleL1MuGMTCand::getRank(), OMTFConfiguration::getRegionNumberFromMap(), HcalDDDRecConstants::getRZ(), LMFCorrCoefDat::getSeqID(), LMFCorrCoefDat::getSequence(), PileUpSubtractor::getSigmaAtTower(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), SiStripBaseCondObjDQM::getSummaryMEs(), HcalDDDRecConstants::getThickActive(), ZIterativeAlgorithmWithFit::getWeight(), hgcal::ClusterTools::getWidths(), AlcaBeamMonitor::globalEndLuminosityBlock(), HcalPiecewiseLinearFunctor::HcalPiecewiseLinearFunctor(), HcalTopology::HcalTopology(), HGCalPassivePartial::HGCalPassivePartial(), PixelTripletLargeTipGenerator::hitTriplets(), HLTCommonConfig::HLTCommonConfig(), HLTEgammaEtFilterPairs::hltFilter(), HLTJetSortedVBFFilter< T >::hltFilter(), SimTrackManager::idSavedTrack(), L1MuGMTLUT::Init(), init_filter(), HcalDDDRecConstants::initialize(), L1GtUtils::LogicalExpressionL1Results::initialize(), edm::ParentageRegistry::insertMapped(), TRange< int >::inside(), muonisolation::Range< float >::inside(), PixelRecoRange< float >::inside(), HGCGuardRing::insidePolygon(), EcalTBDaqFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), APVCyclePhaseProducerFromL1TS::isBadRun(), TtGenEvent::isFullLeptonic(), GEMSegmentAlgorithm::isGoodToMerge(), AntiElectronIDCut2::isInEcalCrack(), RPCFw::isMajor(), MuonPathAssociator::isNotAPrimo(), CSCDDUMap::item(), CSCChamberMap::item(), CSCCrateMap::item(), TtEvent::jetLeptonCombination(), L1GtUtils::LogicalExpressionL1Results::l1Results(), HcalIndexLookup::largestIndex(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), TmpSimEvent::load(), dqmservices::DQMFileIterator::LumiEntry::load_json(), dqmservices::DQMFileIterator::EorEntry::load_json(), CalorimetryManager::loadFromEcalBarrel(), CalorimetryManager::loadFromEcalEndcap(), CalorimetryManager::loadFromHcal(), main(), HcalFlexiHardcodeGeometryLoader::makeHECells(), HGCalDDDConstants::maskCell(), match(), cms::DDFilteredView::match(), JetPartonMatching::matchingPtOrderedMinDist(), Primary4DVertexValidation::matchReco2Sim(), TRange< int >::max(), muonisolation::Range< float >::max(), PixelRecoRange< float >::max(), TRange< int >::mean(), PixelRecoRange< float >::mean(), muonisolation::Range< float >::mean(), lhef::LHEReader::next(), Quantile::next(), MultipleAlgoIterator::offsetCorrectJets(), ReflectedIterator::offsetCorrectJets(), PileUpSubtractor::offsetCorrectJets(), DDValuePair::operator const double &(), DDValuePair::operator double &(), PhysicsTools::AtomicId::operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), Cluster1DMerger< T >::operator()(), pixeltemp::Cluster1DMerger< reco::Track >::operator()(), CheckHitPattern::operator()(), CastorDbASCIIIO::CastorElectronicsIdLess::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), L1MuDTEUX::EUX_Comp::operator()(), L1MuBMEUX::EUX_Comp::operator()(), PhysicsTools::AtomicId::operator<(), operator<<(), PhysicsTools::AtomicId::operator<=(), PhysicsTools::AtomicId::operator==(), PhysicsTools::AtomicId::operator>(), PhysicsTools::AtomicId::operator>=(), ClusterClusterMapping::overlap(), CovarianceParameterization::pack(), cms::alpakatools::AtomicPairCounter::pack(), reco::modules::TrackerTrackHitFilter::parseStoN(), PartitionGenerator::partitions(), L1MuBMAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::PhiAU(), PhiBorderFinder::PhiBorderFinder(), MuonG4Numbering::PhysicalVolumeToBaseNumber(), HiggsValidation::MonitoredDecays::position(), SiStripRegionCabling::position(), DDHGCalHEAlgo::positionMix(), DDHGCalHEFileAlgo::positionMix(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), DDHGCalMixRotatedFineCassette::positionMix(), DDHGCalSiliconRotatedCassette::positionPassive(), DDHGCalSiliconRotatedCassette::positionPassive2(), DDAHcalModuleAlgo::positionSensitive(), DDHGCalTBModule::positionSensitive(), DDHGCalEEAlgo::positionSensitive(), DDHGCalTBModuleX::positionSensitive(), DDHGCalEEFileAlgo::positionSensitive(), DDHGCalSiliconModule::positionSensitive(), DDHGCalSiliconRotatedModule::positionSensitive(), DDHGCalSiliconRotatedCassette::positionSensitive(), DDHGCalHEFileAlgo::positionSensitive(), DDHGCalHEAlgo::positionSensitive(), Quantile::prev(), TtFullLeptonicEvent::print(), TrackerHitAssociator::printDetBnchEvtTrk(), edm::PluginDescription< T >::printNestedContent_(), PixelTemplateSmearerBase::process(), hcalCalib::Process(), cscdqm::EventProcessor::processCSC(), DDLSpecPar::processElement(), DDLNumeric::processElement(), TTTrackAssociator< T >::produce(), PATTauIDEmbedder::produce(), TtFullLepKinSolutionProducer::produce(), PATTauHybridProducer::produce(), CandOneToManyDeltaRMatcher::produce(), PFConversionProducer::produce(), HcalRawToDigi::produce(), EgammaHLTEleL1TrackIsolProducer::produce(), PFTrackProducer::produce(), DTFakeT0ESProducer::produce(), L1ExtraParticleMapProd::produce(), TtbarTrackProducer::produce(), PF_PU_FirstVertexTracks::produce(), SimTrackstersProducer::produce(), JetPlusTrackProducerAA::produce(), RunManagerMTWorker::produce(), PFCand_NoPU_WithAM::produce(), pat::PATTauProducer::produce(), HLTScoutingMuonProducer::produce(), TPStubValueMapProducer::produce(), TICLCandidateProducer::produce(), HFPreReconstructor::produce(), PixelJetPuId::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), BoostedDoubleSVProducer::produce(), BTagProbabilityToDiscriminator::produce(), NuclearTrackCorrector::produce(), AlCaHcalHBHEMuonProducer::produce(), L1TCorrelatorLayer1Producer::produce(), GsfElectronProducer::produce(), L1MuDTTrack::rank(), L1MuBMTrack::rank(), L1MuGMTExtendedCand::rankRef(), emtf::Forest::rankVariables(), RBorderFinder::RBorderFinder(), RunSummaryRead::readData(), L1TriggerScalerRead::readData(), SiStripDetVOffBuilder::readLastValueFromFile(), FedRawDataInputSource::readWorker(), DAQSource::readWorker(), RealQuadEquation::RealQuadEquation(), GroupedDAFHitCollector::recHits(), CSCEfficiency::recHitSegment_Efficiencies(), CSCEfficiency::recSimHitEfficiency(), SiStripDetVOffBuilder::reduce(), SiStripDetVOffBuilder::reduction(), CandidateSeededTrackingRegionsProducer::regions(), PointSeededTrackingRegionsProducer::regions(), L1MuonSeededTrackingRegionsProducer::regions(), jsoncollector::FastMonitor::registerGlobalMonitorable(), MuonPathAssociator::removeSharingFits(), L1GtUtils::LogicalExpressionL1Results::reset(), l1t::L1TGlobalUtil::resetDecisionVectors(), L1TOccupancyClientHistogramService::resetHisto(), l1t::L1TGlobalUtil::resetPrescaleVectors(), l1t::L1TGlobalUtil::retrieveL1Event(), l1t::L1TGlobalUtil::retrieveL1Setup(), TkTrackingRegionsMargin< float >::right(), EcalClusterToolsT< noZS >::roundnessBarrelSuperClusters(), EcalClusterToolsT< noZS >::roundnessBarrelSuperClustersUserExtended(), reco::modules::TrackerTrackHitFilter::Rule::Rule(), PixelCPEClusterRepair::Rule::Rule(), EcalEBTrigPrimTestAlgo::run(), DTTSS::run(), EcalEBPhase2TrigPrimAlgo::run(), DTTSM::run(), DTSC::run(), MillePedeAlignmentAlgorithm::run(), EcalTrigPrimFunctionalAlgo::run_part2(), DTLocalTriggerLutTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), SortCollectionSelector< InputCollection, Comparator, OutputCollection, StoreContainer, RefAdder >::select(), FWTableView::selectCollection(), MuScleFit::selectMuons(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), DTLVStatus::set(), DTTPGParameters::set(), DTRangeT0::set(), DTHVStatus::set(), DTTtrig::set(), DTDeadFlag::set(), DTMtime::set(), DTStatusFlag::set(), DTPerformance::set(), TrackInformation::setCrossedBoundary(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), FWEventItemsManager::setFrom(), InitialGrouping::setInChannels(), TrapezoidalGrouping::setInChannels(), DDLSolid::setReference(), ShallowTree::ShallowTree(), ConvBremSeedProducer::sharedHits(), MuonPathAssociator::shareFit(), muonisolation::Range< float >::sort(), PixelRecoRange< float >::sort(), TRange< int >::sort(), edm::OneToManyWithQualityGeneric< TrackingVertexCollection, edm::View< reco::Vertex >, double, unsigned int >::sort(), PF_PU_AssoMapAlgos::SortAssociationMap(), PFCand_AssoMapAlgos::SortPFCandAssociationMap(), DTTSM::sortTSM2(), DTTSS::sortTSS2(), DAClusterizerInZ_vect::split(), DAClusterizerInZT_vect::split(), CombinationGenerator< T >::splitInTwoCollections(), trklet::MatchEngineUnit::step(), AlCaHcalIsotrkProducer::storeEnergy(), L1MuGMTLUT::PortDecoder::str(), StringBasedNTupler::StringBasedNTupler(), RPCDigiL1Link::strip(), StripCPE::StripCPE(), magneticfield::MagGeoBuilder::summary(), MagGeoBuilderFromDDD::summary(), PixelRecoRange< float >::swap(), trigger::swap(), CompositeLogicalTrajectoryFilter::TBC(), TwoBodyDecayTrajectoryFactory::trajectories(), L3MuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), CovarianceParameterization::unpack(), MonopoleSteppingAction::update(), LatencyHistosUsingDb::update(), SiTrackerMultiRecHitUpdator::update(), viewNameFrom(), HGCalDDDConstants::waferType(), HGCalDDDConstants::waferTypeRotation(), HGCalWaferMask::waferXY(), WeightedMeanFitter::weightedMeanOutlierRejection(), WeightedMeanFitter::weightedMeanOutlierRejectionBeamSpot(), MuonAssociatorByHitsHelper::write_matched_simtracks(), trklet::TrackletConfigBuilder::writeASMemories(), trklet::TrackletConfigBuilder::writeILMemories(), VirtualJetProducer::writeJets(), trklet::TrackletConfigBuilder::writeSPMemories(), and trklet::VMProjectionsMemory::writeVMPROJ().

222  {
223  return p.second;
224  }

◆ separator()

static std::string const edm::separator ( ":"  )
static

◆ setIsMergeable()

void edm::setIsMergeable ( BranchDescription desc)

Definition at line 15 of file setIsMergeable.cc.

References edm::TypeWithDict::byName(), submitPVResolutionJobs::desc, edm::TypeWithDict::getClass(), InLumi, InRun, HLT_IsoTrack_cff::offset, or, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::Schedule::finishSetup(), edm::RootFile::RootFile(), TFWLiteSelectorBasic::setupNewFile(), and ProvenanceDumper::work_().

15  {
16  // Save some time here with the knowledge that the isMergeable
17  // data member can only be true for run or lumi products.
18  // It defaults to false. Also if it is true that means it
19  // was already set.
20  // Set it only for branches that are present
21  if (desc.present() and (desc.branchType() == InRun or desc.branchType() == InLumi)) {
22  if (!desc.isMergeable()) {
23  TClass* wrapperBaseTClass = TypeWithDict::byName("edm::WrapperBase").getClass();
24  TClass* tClass = desc.wrappedType().getClass();
25  void* p = tClass->New();
26  int offset = tClass->GetBaseClassOffset(wrapperBaseTClass);
27  std::unique_ptr<WrapperBase> wrapperBase = getAnyPtr<WrapperBase>(p, offset);
28  if (wrapperBase->isMergeable()) {
29  desc.setIsMergeable(true);
30  }
31  }
32  }
33  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12

◆ setMaxLoggedErrorsSummaryIndicies()

void edm::setMaxLoggedErrorsSummaryIndicies ( unsigned int  iMax)

Definition at line 187 of file MessageSender.cc.

References errorSummaryMaps.

Referenced by edm::service::MessageLogger::MessageLogger().

187 { errorSummaryMaps.resize(iMax); }
static std::vector< oneapi::tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps

◆ setNThreads()

unsigned int edm::setNThreads ( unsigned int  iNThreads,
unsigned int  iStackSize,
std::unique_ptr< ThreadsController > &  oPtr 
)

Definition at line 11 of file setNThreads.cc.

11  {
12  //stack size is given in KB but passed in as bytes
13  iStackSize *= 1024;
14 
15  oPtr.reset();
16  if (0 == iNThreads) {
17  //Allow TBB to decide how many threads. This is normally the number of CPUs in the machine.
18  iNThreads = oneapi::tbb::this_task_arena::max_concurrency();
19  }
20  oPtr = std::make_unique<ThreadsController>(static_cast<int>(iNThreads), iStackSize);
21 
22  return iNThreads;
23  }

◆ setPtr() [1/6]

template<typename T , typename A >
void edm::setPtr ( std::vector< T, A > const &  obj,
std::type_info const &  iToType,
unsigned long  iIndex,
void const *&  oPtr 
)

Definition at line 67 of file setPtr.h.

References getGTfromDQMFile::obj, and edm::detail::reallySetPtr().

67  {
68  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
69  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:36

◆ setPtr() [2/6]

template<typename T , typename A >
void edm::setPtr ( std::list< T, A > const &  obj,
std::type_info const &  iToType,
unsigned long  iIndex,
void const *&  oPtr 
)

Definition at line 72 of file setPtr.h.

References getGTfromDQMFile::obj, and edm::detail::reallySetPtr().

72  {
73  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
74  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:36

◆ setPtr() [3/6]

template<typename T , typename A >
void edm::setPtr ( std::deque< T, A > const &  obj,
std::type_info const &  iToType,
unsigned long  iIndex,
void const *&  oPtr 
)

Definition at line 77 of file setPtr.h.

References getGTfromDQMFile::obj, and edm::detail::reallySetPtr().

77  {
78  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
79  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:36

◆ setPtr() [4/6]

template<typename T , typename A , typename Comp >
void edm::setPtr ( std::set< T, A, Comp > const &  obj,
std::type_info const &  iToType,
unsigned long  iIndex,
void const *&  oPtr 
)

Definition at line 82 of file setPtr.h.

References getGTfromDQMFile::obj, and edm::detail::reallySetPtr().

82  {
83  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
84  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:36

◆ setPtr() [5/6]

template<typename T , typename SORT >
void edm::setPtr ( SortedCollection< T, SORT > const &  obj,
std::type_info const &  toType,
unsigned long  index,
void const *&  ptr 
)
inline

Definition at line 386 of file SortedCollection.h.

References getGTfromDQMFile::obj.

389  {
390  obj.setPtr(toType, index, ptr);
391  }

◆ setPtr() [6/6]

template<typename T , typename P >
void edm::setPtr ( OwnVector< T, P > const &  obj,
std::type_info const &  toType,
unsigned long  index,
void const *&  ptr 
)
inline

Definition at line 569 of file OwnVector.h.

References getGTfromDQMFile::obj.

569  {
570  obj.setPtr(toType, index, ptr);
571  }

◆ setRefCoreStreamer() [1/2]

void edm::setRefCoreStreamer ( bool  resetAll = false)

◆ setRefCoreStreamer() [2/2]

EDProductGetter const * edm::setRefCoreStreamer ( EDProductGetter const *  ep)

Definition at line 85 of file RefCoreStreamer.cc.

References ecalHexDisplay_cfg::ep, and edm::EDProductGetter::switchProductGetter().

85  {
86  EDProductGetter const* returnValue = nullptr;
87  if (ep != nullptr) {
89  }
90  return returnValue;
91  }
static EDProductGetter const * switchProductGetter(EDProductGetter const *)
These can only be used internally by the framework.

◆ setRefCoreStreamerInTClass()

void edm::setRefCoreStreamerInTClass ( )

Definition at line 68 of file RefCoreStreamer.cc.

Referenced by edm::service::InitRootHandlers::InitRootHandlers().

68  {
69  {
70  TClass* tClass = TClass::GetClass("edm::RefCore");
71  if (tClass->GetStreamer() == nullptr) {
72  tClass->AdoptStreamer(new RefCoreStreamer());
73  }
74  }
75  {
76  TClass* tClass = TClass::GetClass("edm::RefCoreWithIndex");
77  if (tClass->GetStreamer() == nullptr) {
78  tClass->AdoptStreamer(new RefCoreWithIndexStreamer());
79  }
80  }
81  }

◆ setStandAloneMessageThreshold()

void edm::setStandAloneMessageThreshold ( edm::messagelogger::ELseverityLevel const &  severity)

Definition at line 68 of file MessageLogger.cc.

References ErrorSummaryFilter_cfi::severity, and edm::MessageLoggerQ::standAloneThreshold().

68  {
70  }
static void standAloneThreshold(edm::messagelogger::ELseverityLevel const &severity)

◆ setThreadOptions()

void edm::setThreadOptions ( ThreadsInfo const &  threadsInfo,
edm::ParameterSet pset 
)

Definition at line 30 of file ThreadsInfo.cc.

References edm::ParameterSet::addUntrackedParameter(), edm::ThreadsInfo::nThreads_, muonDTDigis_cfi::pset, and edm::ThreadsInfo::stackSize_.

30  {
31  edm::ParameterSet newOp;
32  if (pset.exists("options")) {
33  newOp = pset.getUntrackedParameterSet("options");
34  }
35  newOp.addUntrackedParameter<unsigned int>("numberOfThreads", threadsInfo.nThreads_);
36  newOp.addUntrackedParameter<unsigned int>("sizeOfStackForThreadsInKB", threadsInfo.stackSize_);
37  pset.insertParameterSet(true, "options", edm::ParameterSetEntry(newOp, false));
38  }
void addUntrackedParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:193

◆ setupSiteLocalConfig()

ServiceRegistry::Operate edm::setupSiteLocalConfig ( )

Definition at line 15 of file setupSiteLocalConfig.cc.

References edm::ServiceRegistry::createContaining(), eostools::move(), and edm::ServiceRegistry::Operate.

Referenced by main().

15  {
16  std::unique_ptr<edm::SiteLocalConfig> slcptr =
17  std::make_unique<edm::service::SiteLocalConfigService>(edm::ParameterSet());
18  auto slc = std::make_shared<edm::serviceregistry::ServiceWrapper<edm::SiteLocalConfig> >(std::move(slcptr));
20  return edm::ServiceRegistry::Operate(slcToken);
21  }
static ServiceToken createContaining(std::unique_ptr< T > iService)
create a service token that holds the service defined by iService
def move(src, dest)
Definition: eostools.py:511

◆ sigInventory()

void edm::sigInventory ( )

Definition at line 135 of file UnixSignalHandlers.cc.

References DMR_cfg::cerr, isotrackApplyRegressor::k, and MUST_BE_ZERO.

135  {
136  sigset_t tmpset, oldset;
137  // Make a full house set of signals, except for SIGKILL = 9
138  // and SIGSTOP = 19 which cannot be blocked
139  MUST_BE_ZERO(sigfillset(&tmpset));
140  MUST_BE_ZERO(sigdelset(&tmpset, SIGKILL));
141  MUST_BE_ZERO(sigdelset(&tmpset, SIGSTOP));
142  // Swap it with the current sigset_t
143  MUST_BE_ZERO(pthread_sigmask(SIG_SETMASK, &tmpset, &oldset));
144  // Now see what's included in the set
145  for (int k = 1; k < NSIG; ++k) {
146  std::cerr << "sigismember is " << sigismember(&tmpset, k) << " for signal " << std::setw(2) << k
147 #if defined(__linux__)
148  << " (" << strsignal(k) << ")"
149 #endif
150  << std::endl;
151  }
152  // Finally put the original sigset_t back
153  MUST_BE_ZERO(pthread_sigmask(SIG_SETMASK, &oldset, &tmpset));
154  }
#define MUST_BE_ZERO(fun)

◆ sort_all() [1/2]

template<typename RandomAccessSequence >
void edm::sort_all ( RandomAccessSequence &  s)
inline

◆ sort_all() [2/2]

template<typename RandomAccessSequence , typename Predicate >
void edm::sort_all ( RandomAccessSequence &  s,
Predicate  p 
)
inline

◆ sortAndRemoveOverlaps() [1/2]

std::vector< LuminosityBlockRange > & edm::sortAndRemoveOverlaps ( std::vector< LuminosityBlockRange > &  lumiRange)

Definition at line 89 of file LuminosityBlockRange.cc.

References MillePedeFileConverter_cfg::e, mps_fire::i, beamSpotPI::lumiRange, merge(), sort_all(), and mitigatedMETSequence_cff::U.

89  {
90  if (lumiRange.size() <= 1U)
91  return lumiRange;
92  sort_all(lumiRange, sortByStartLuminosityBlockID);
93  for (std::vector<LuminosityBlockRange>::iterator i = lumiRange.begin() + 1, e = lumiRange.end(); i != e; ++i) {
94  std::vector<LuminosityBlockRange>::iterator iprev = i - 1;
95  if (merge(*iprev, *i)) {
96  i = lumiRange.erase(iprev);
97  e = lumiRange.end();
98  }
99  }
100  return lumiRange;
101  }
int merge(int argc, char *argv[])
Definition: DiMuonVmerge.cc:28
void sort_all(RandomAccessSequence &s)
wrappers for std::sort
Definition: Algorithms.h:92

◆ sortAndRemoveOverlaps() [2/2]

std::vector< EventRange > & edm::sortAndRemoveOverlaps ( std::vector< EventRange > &  eventRange)

Definition at line 98 of file EventRange.cc.

References MillePedeFileConverter_cfg::e, unittestinputsource_cfi::eventRange, mps_fire::i, sort_all(), and mitigatedMETSequence_cff::U.

Referenced by edm::service::CondorStatusService::beginPost(), and edm::EventSkipperByID::EventSkipperByID().

98  {
99  if (eventRange.size() <= 1U)
100  return eventRange;
101  sort_all(eventRange, sortByStartEventIDSpecial);
102  for (std::vector<EventRange>::iterator i = eventRange.begin() + 1, e = eventRange.end(); i != e; ++i) {
103  std::vector<EventRange>::iterator iprev = i - 1;
104  if (mergeSpecial(*iprev, *i)) {
105  i = eventRange.erase(iprev);
106  e = eventRange.end();
107  }
108  }
109  return eventRange;
110  }
void sort_all(RandomAccessSequence &s)
wrappers for std::sort
Definition: Algorithms.h:92

◆ source()

static std::string const edm::source ( "source"  )
static

◆ split() [1/2]

template<class OutIter >
bool edm::split ( OutIter  result,
std::string_view  string_to_split,
char  first,
char  sep,
char  last 
)

Definition at line 70 of file split.h.

References b, contextual_find(), contextual_find_not(), mps_fire::dest, MillePedeFileConverter_cfg::e, dqmdumpme::first, dqmdumpme::last, and alignCSCRings::s.

Referenced by edm::ParameterSetConverter::convertParameterSets(), decode(), decode_deprecated(), and edm::VParameterSetEntry::VParameterSetEntry().

70  {
71  using str_c_iter = std::string_view::const_iterator;
72  str_c_iter b = s.cbegin(), e = s.cend();
73 
74  if (static_cast<unsigned int>(e - b) < 2u)
75  return false;
76 
77  if (*b == first)
78  ++b;
79  else
80  return false;
81 
82  if (*--e != last)
83  return false;
84 
85  // invariant: we've found all items in [b..boi)
86  for (str_c_iter //boi = std::find_if(b, e, is_not_a(sep))
87  boi = contextual_find_not(b, e, first, sep, last),
88  eoi;
89  boi != e
90  //; boi = std::find_if(eoi, e, is_not_a(sep))
91  ;
92  boi = contextual_find_not(eoi, e, first, sep, last)) {
93  // find end of current item:
94  //eoi = std::find_if(boi, e, is_a(sep));
95  eoi = contextual_find(boi, e, first, sep, last);
96 
97  // copy the item formed from characters in [boi..eoi):
98  *dest++ = std::string_view(boi, eoi - boi);
99  } // for
100 
101  return true;
102 } // split< >()
FwdIter contextual_find_not(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:56
double b
Definition: hdecay.h:120
FwdIter contextual_find(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:38

◆ split() [2/2]

template<typename FUNC >
bool edm::split ( std::string_view  string_to_split,
char  first,
char  sep,
char  last,
FUNC  f 
)

Definition at line 105 of file split.h.

References b, contextual_find(), contextual_find_not(), MillePedeFileConverter_cfg::e, f, dqmdumpme::first, dqmdumpme::last, and alignCSCRings::s.

105  {
106  using str_c_iter = std::string_view::const_iterator;
107  str_c_iter b = s.cbegin(), e = s.cend();
108 
109  if (static_cast<unsigned int>(e - b) < 2u)
110  return false;
111 
112  if (*b == first)
113  ++b;
114  else
115  return false;
116 
117  if (*--e != last)
118  return false;
119 
120  // invariant: we've found all items in [b..boi)
121  for (str_c_iter boi = contextual_find_not(b, e, first, sep, last), eoi; boi != e;
122  boi = contextual_find_not(eoi, e, first, sep, last)) {
123  // find end of current item:
124  eoi = contextual_find(boi, e, first, sep, last);
125 
126  // copy the item formed from characters in [boi..eoi):
127  if (not f(std::string_view(boi, eoi - boi))) {
128  return false;
129  }
130  } // for
131 
132  return true;
133 } // split< >()
double f[11][100]
FwdIter contextual_find_not(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:56
double b
Definition: hdecay.h:120
FwdIter contextual_find(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:38

◆ squelchStandAloneMessageCategory()

void edm::squelchStandAloneMessageCategory ( std::string const &  category)

Definition at line 71 of file MessageLogger.cc.

References validateAlignments::category, and edm::MessageLoggerQ::squelch().

static void squelch(std::string const &category)

◆ stable_sort_all() [1/2]

template<typename RandomAccessSequence >
void edm::stable_sort_all ( RandomAccessSequence &  s)
inline

◆ stable_sort_all() [2/2]

template<typename RandomAccessSequence , typename Predicate >
void edm::stable_sort_all ( RandomAccessSequence &  s,
Predicate  p 
)
inline

Definition at line 108 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.

108  {
109  std::stable_sort(s.begin(), s.end(), p);
110  }

◆ stemFromPath()

std::string_view edm::stemFromPath ( std::string_view  path)

Definition at line 4 of file stemFromPath.cc.

References EnsembleCalibrationLA_cfg::path.

Referenced by edm::RootFile::validateFile().

4  {
5  auto begin = path.rfind('/');
6  if (begin == std::string_view::npos) {
7  begin = path.rfind(':');
8  if (begin == std::string_view::npos) {
9  // shouldn't really happen?
10  begin = 0;
11  } else {
12  begin += 1;
13  }
14  } else {
15  begin += 1;
16  }
17  auto end = path.find('.', begin);
18  return path.substr(begin, end - begin);
19  }

◆ stripNamespace()

std::string edm::stripNamespace ( std::string const &  theName)

Definition at line 87 of file TypeID.cc.

References cms::cuda::assert(), DummyCfis::c, and hcalRecHitTable_cff::depth.

Referenced by edm::TypeWithDict::byName(), and edm::TypeWithDict::unscopedName().

87  {
88  // Find last colon
89  std::string::size_type colonIndex = theName.rfind(':');
90  if (colonIndex == std::string::npos) {
91  // No colons, so no namespace to strip
92  return theName;
93  }
94  std::string::size_type bracketIndex = theName.rfind('>');
95  if (bracketIndex == std::string::npos || bracketIndex < colonIndex) {
96  // No '>' after last colon. Strip up to and including last colon.
97  return theName.substr(colonIndex + 1);
98  }
99  // There is a '>' after the last colon.
100  int depth = 1;
101  for (size_t index = bracketIndex; index != 0; --index) {
102  char c = theName[index - 1];
103  if (c == '>') {
104  ++depth;
105  } else if (c == '<') {
106  --depth;
107  assert(depth >= 0);
108  } else if (depth == 0 && c == ':') {
109  return theName.substr(index);
110  }
111  }
112  return theName;
113  }
assert(be >=bs)
uint16_t size_type

◆ stripTemplate()

bool edm::stripTemplate ( std::string &  theName)

Definition at line 61 of file TypeID.cc.

References cms::cuda::assert(), first(), heavyIonCSV_trainingSettings::idx, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::TypeID::userClassName().

61  {
62  std::string const spec("<,>");
63  char const space = ' ';
64  std::string::size_type idx = theName.find_first_of(spec);
65  if (idx == std::string::npos) {
66  return false;
67  }
70  if (theName[idx] == '<') {
71  after = theName.rfind('>');
72  assert(after != std::string::npos);
73  first = ++idx;
74  } else {
75  theName = theName.substr(0, idx);
76  }
77  std::string::size_type idxa = after;
78  while (space == theName[--idxa])
79  --after;
81  while (space == theName[idxf++])
82  ++first;
83  theName = theName.substr(first, after - first);
84  return true;
85  }
assert(be >=bs)
uint16_t size_type

◆ subProcessDoGlobalBeginTransitionAsync() [1/3]

template<typename T >
void edm::subProcessDoGlobalBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
LumiTransitionInfo const &  iTransitionInfo,
bool   
)
inline

Definition at line 36 of file globalTransitionAsync.h.

References edm::SubProcess::doBeginLuminosityBlockAsync(), and eostools::move().

39  {
40  iSubProcess.doBeginLuminosityBlockAsync(std::move(iHolder), iTransitionInfo);
41  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoGlobalBeginTransitionAsync() [2/3]

template<typename T >
void edm::subProcessDoGlobalBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
RunTransitionInfo const &  iTransitionInfo,
bool   
)
inline

Definition at line 44 of file globalTransitionAsync.h.

References edm::SubProcess::doBeginRunAsync(), and eostools::move().

47  {
48  iSubProcess.doBeginRunAsync(std::move(iHolder), iTransitionInfo);
49  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoGlobalBeginTransitionAsync() [3/3]

template<typename Traits >
void edm::subProcessDoGlobalBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
ProcessBlockTransitionInfo const &  iTransitionInfo,
bool  cleaningUpAfterException 
)
inline

Definition at line 52 of file globalTransitionAsync.h.

References edm::SubProcess::doBeginProcessBlockAsync(), and eostools::move().

55  {
56  iSubProcess.doBeginProcessBlockAsync<Traits>(std::move(iHolder), iTransitionInfo, cleaningUpAfterException);
57  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoGlobalEndTransitionAsync() [1/3]

void edm::subProcessDoGlobalEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
LumiTransitionInfo const &  iTransitionInfo,
bool  cleaningUpAfterException 
)
inline

Definition at line 59 of file globalTransitionAsync.h.

References edm::SubProcess::doEndLuminosityBlockAsync(), and eostools::move().

Referenced by endGlobalTransitionAsync().

62  {
63  iSubProcess.doEndLuminosityBlockAsync(std::move(iHolder), iTransitionInfo, cleaningUpAfterException);
64  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoGlobalEndTransitionAsync() [2/3]

void edm::subProcessDoGlobalEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
RunTransitionInfo const &  iTransitionInfo,
bool  cleaningUpAfterException 
)
inline

Definition at line 66 of file globalTransitionAsync.h.

References edm::SubProcess::doEndRunAsync(), and eostools::move().

69  {
70  iSubProcess.doEndRunAsync(std::move(iHolder), iTransitionInfo, cleaningUpAfterException);
71  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoGlobalEndTransitionAsync() [3/3]

void edm::subProcessDoGlobalEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
ProcessBlockTransitionInfo const &  iTransitionInfo,
bool  cleaningUpAfterException 
)
inline

Definition at line 73 of file globalTransitionAsync.h.

References edm::SubProcess::doEndProcessBlockAsync(), and eostools::move().

76  {
77  iSubProcess.doEndProcessBlockAsync(std::move(iHolder), iTransitionInfo, cleaningUpAfterException);
78  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoStreamBeginTransitionAsync() [1/2]

void edm::subProcessDoStreamBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
LumiTransitionInfo const &  iTransitionInfo 
)
inline

Definition at line 33 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamBeginLuminosityBlockAsync(), mps_fire::i, and eostools::move().

Referenced by beginStreamTransitionAsync().

36  {
37  iSubProcess.doStreamBeginLuminosityBlockAsync(std::move(iHolder), i, iTransitionInfo);
38  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoStreamBeginTransitionAsync() [2/2]

void edm::subProcessDoStreamBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
RunTransitionInfo const &  iTransitionInfo 
)
inline

Definition at line 40 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamBeginRunAsync(), mps_fire::i, and eostools::move().

43  {
44  iSubProcess.doStreamBeginRunAsync(std::move(iHolder), i, iTransitionInfo);
45  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoStreamEndTransitionAsync() [1/2]

void edm::subProcessDoStreamEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
LumiTransitionInfo const &  iTransitionInfo,
bool  cleaningUpAfterException 
)
inline

Definition at line 47 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamEndLuminosityBlockAsync(), mps_fire::i, and eostools::move().

Referenced by endStreamTransitionAsync().

51  {
52  iSubProcess.doStreamEndLuminosityBlockAsync(std::move(iHolder), i, iTransitionInfo, cleaningUpAfterException);
53  }
def move(src, dest)
Definition: eostools.py:511

◆ subProcessDoStreamEndTransitionAsync() [2/2]

void edm::subProcessDoStreamEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
RunTransitionInfo const &  iTransitionInfo,
bool  cleaningUpAfterException 
)
inline

Definition at line 55 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamEndRunAsync(), mps_fire::i, and eostools::move().

59  {
60  iSubProcess.doStreamEndRunAsync(std::move(iHolder), i, iTransitionInfo, cleaningUpAfterException);
61  }
def move(src, dest)
Definition: eostools.py:511

◆ swap() [1/40]

void edm::swap ( ElementID a,
ElementID b 
)
inline

Definition at line 40 of file ElementID.h.

References a, and b.

40 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [2/40]

void edm::swap ( ProductID a,
ProductID b 
)
inline

Definition at line 45 of file ProductID.h.

References a, and b.

45 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [3/40]

void edm::swap ( OrphanHandleBase a,
OrphanHandleBase b 
)
inline

Definition at line 58 of file OrphanHandleBase.h.

References a, and b.

Referenced by edm::OrphanHandleBase::swap().

58 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [4/40]

void edm::swap ( Parentage a,
Parentage b 
)
inline

Definition at line 61 of file Parentage.h.

References a, and b.

61 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [5/40]

template<class T , class P >
void edm::swap ( CloningPtr< T, P > &  a,
CloningPtr< T, P > &  b 
)
inline

Definition at line 61 of file CloningPtr.h.

References a, and b.

Referenced by edm::CloningPtr< T, P >::swap().

61  {
62  a.swap(b);
63  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [6/40]

void edm::swap ( ProductData a,
ProductData b 
)
inline

Definition at line 76 of file ProductData.h.

References a, and b.

Referenced by edm::ProductData::swap().

76 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [7/40]

void edm::swap ( TriggerResults lhs,
TriggerResults rhs 
)
inline

Definition at line 87 of file TriggerResults.h.

References edm::TriggerResults::swap().

87 { lhs.swap(rhs); }

◆ swap() [8/40]

template<class T >
void edm::swap ( RefToBaseVector< T > &  a,
RefToBaseVector< T > &  b 
)
inline

Definition at line 92 of file RefToBaseVector.h.

References a, and b.

Referenced by edm::RefToBaseVector< reco::Track >::operator=(), and edm::RefToBaseVector< reco::Track >::swap().

92  {
93  a.swap(b);
94  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [9/40]

void edm::swap ( HLTGlobalStatus lhs,
HLTGlobalStatus rhs 
)
inline

Free swap function.

Definition at line 99 of file HLTGlobalStatus.h.

References edm::HLTGlobalStatus::swap().

99 { lhs.swap(rhs); }

◆ swap() [10/40]

void edm::swap ( ESHandleBase a,
ESHandleBase b 
)
inline

Definition at line 100 of file ESHandle.h.

References a, and b.

Referenced by edm::ESHandleBase::swap().

100 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [11/40]

void edm::swap ( BasicHandle a,
BasicHandle b 
)
inlinenoexcept

Definition at line 104 of file BasicHandle.h.

References a, and b.

Referenced by edm::BasicHandle::swap().

104 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [12/40]

void edm::swap ( ProcessHistory a,
ProcessHistory b 
)
inline

Definition at line 106 of file ProcessHistory.h.

References a, and b.

106 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [13/40]

template<class T >
void edm::swap ( DetSet< T > &  a,
DetSet< T > &  b 
)
inline

Definition at line 110 of file DetSet.h.

References a, and b.

Referenced by edm::DetSet< StripDigiSimLink >::swap().

110  {
111  a.swap(b);
112  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [14/40]

template<typename C >
void edm::swap ( Association< C > &  lhs,
Association< C > &  rhs 
)
inline

Definition at line 112 of file Association.h.

References edm::Association< C >::swap().

Referenced by CMSTopTagger::_split_once(), MkFitGeometryESProducer::GapCollector::add_interval(), BtlSimHitsValidation::analyze(), EcalCosmicsHists::analyze(), DiMuonValidation::analyze(), tnp::TagProbePairMaker::arbitrate(), MkFitOutputConverter::backwardFit(), edm::EventProcessor::beginJob(), BitonicMerge(), SiPixelPhase1Analyzer::BookForwardBins(), HGCalGeometryLoader::buildGeom(), HGCalTBGeometryLoader::buildGeom(), HDetIdAssociator::buildMap(), VectorHitBuilderAlgorithm::buildVectorHit(), calCSVariables(), MuonPathAnalyzerInChamber::calculateFitParameters(), MillePedeAlignmentAlgorithm::callMille2D(), checkPhiInSymRange(), GEMEfficiencyAnalyzer::checkPropagationDirection(), FWCaloDataProxyBuilderBase::clearCaloDataSelection(), MtdSimCluster::clearHitsAndFractions(), SimCluster::clearHitsAndFractions(), SimCluster::clearHitsEnergy(), MtdSimCluster::clearHitsPosition(), MtdSimCluster::clearHitsTime(), hybridBitonicSortUtils::compAndSwap(), PileupJetIdAlgo::computeIdVariables(), MVAJetPuId::computeIdVariables(), AlignmentCorrelationsStore::correlations(), AlignmentExtendedCorrelationsStore::correlations(), AlignmentCorrelationsStore::correlationsAvailable(), AlignmentExtendedCorrelationsStore::correlationsAvailable(), CaloDetIdAssociator::crossedElement(), MSLayer::crossing(), ThirdHitPredictionFromCircle::curvature(), DiskSectorBounds::DiskSectorBounds(), trackerTFP::MiniHoughTransform::dlb(), PulseChiSqSNNLS::DoFit(), edm::IndexIntoFile::doneFileInitialization(), EmissionVetoHook1::doVetoFSREmission(), L1TStage2CaloLayer1::dqmAnalyze(), LA_Filler_Fitter::fill(), HeavyFlavorDQMAnalyzer::fillComponentHistogramsLeadSoft(), MuGEMMuonExtTableProducer::fillTable(), mkfit::MkBuilder::filter_comb_cands(), CaloTruthAccumulator::finalizeEvent(), MtdTruthAccumulator::finalizeEvent(), external::HEPTopTaggerV2_fixed_R::FindHardSubst(), contrib::CMSBoostedTauSeedingAlgorithm::findSubjets(), calo::multifit::fnnls(), FourPointPlaneBounds::FourPointPlaneBounds(), AlignmentExtendedCorrelationsStore::getCorrelations(), EgHLTOfflineSummaryClient::getEgHLTFiltersToMon_(), EgHLTOfflineSource::getHLTFilterNamesUsed(), hitfit::Constraint_Intermed_Labels::has_labels(), HGCDigitizer::HGCDigitizer(), npstat::HistoAxis::HistoAxis(), npstat::HistoND< Numeric, Axis >::HistoND(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), PixelTripletLargeTipGenerator::hitTriplets(), HLTDisplacedtktktkVtxProducer::HLTDisplacedtktktkVtxProducer(), edm::IndexIntoFile::IndexIntoFileItr::IndexIntoFileItr(), HGCDigitizer::initializeEvent(), edm::IndexIntoFile::inputFileClosed(), dqmstorepb::ROOTFilePB_Histo::InternalSwap(), dqmstorepb::ROOTFilePB::InternalSwap(), DTROS25Unpacker::interpretRawData(), npstat::Interval< Numeric >::Interval(), HcalInterpolatedTableFunctor::inverse(), HcalPiecewiseLinearFunctor::inverse(), fireworks::invertBox(), edm::SubProcess::keepOnlyConsumedUnscheduledModules(), CosmicClusterAlgo::makeCluster(), reco::PFBlock::matrix2vector(), reco::PFDisplacedVertexCandidate::matrix2vector(), KDTreeLinkerAlgo< reco::PFRecHit const *>::medianSearch(), PFEGammaAlgo::mergeROsByAnyLink(), PulseChiSqSNNLS::NNLSConstrainParameter(), MahiFit::nnlsConstrainParameter(), PulseChiSqSNNLS::NNLSUnconstrainParameter(), MahiFit::nnlsUnconstrainParameter(), npstat::NUHistoAxis::NUHistoAxis(), ThirdHitRZPrediction< Propagator >::operator()(), ThirdHitPredictionFromCircle::operator()(), npstat::Interval< Numeric >::operator*=(), npstat::Interval< Numeric >::operator/=(), magneticfield::interpolation::binary_ifstream::operator=(), edm::EDCollection< T >::operator=(), l1tpf::corrector::operator=(), DeepCopyPointerByClone< FullConvolutionWithMaterial >::operator=(), DeepCopyPointer< T >::operator=(), cond::serialization::unique_void_ptr::operator=(), edm::WaitingTaskWithArenaHolder::operator=(), edm::WaitingTaskHolder::operator=(), edm::RefToBaseProd< T >::operator=(), TempTrajectory::operator=(), Trajectory::operator=(), TrajectoryMeasurement::operator=(), edm::soa::Table< edm::soa::col::Pt, edm::soa::col::Eta, edm::soa::col::Phi, edm::soa::col::Vz >::operator=(), CovarianceParameterization::pack(), PhiBorderFinder::PhiBorderFinder(), PhiMemoryImage::PhiMemoryImage(), edm::ParameterSet::popParameterSet(), edm::ParameterSet::popVParameterSet(), edm::service::StallMonitor::postBeginJob(), L1TMuonBarrelKalmanRegionModule::process(), PrimitiveSelection::process(), trackerTFP::ZHoughTransform::produce(), trackerTFP::MiniHoughTransform::produce(), StripCompactDigiSimLinksProducer::produce(), FWRecoGeometryESProducer::produce(), MkFitEventOfHitsProducer::produce(), FakeTrackProducer< T >::produce(), PFElecTkProducer::produce(), VirtualJetProducer::produce(), CaloGeometryDBEP< T, U >::produceAligned(), FastjetJetProducer::produceTrackJets(), ThirdHitPredictionFromInvParabola::rangeRPhi(), reco::GhostTrackVertexFinder::reassignTracks(), reco::GhostTrackVertexFinder::recursiveMerge(), MultiHitGeneratorFromChi2::refit2Hits(), reco::GhostTrackVertexFinder::refitGhostTrack(), HGCal3DClustering::reset(), HGCalImagingAlgo::reset(), CMSTopTagger::result(), SubjetFilterAlgorithm::run(), TICLLayerTileT< T >::searchBoxEtaPhi(), SimpleCosmicBONSeeder::seeds(), mkfit::MkFinder::selectHitIndicesV2(), SiStripBaseCondObjDQM::selectModules(), npstat::Interval< Numeric >::setBounds(), AlignmentCorrelationsStore::setCorrelations(), AlignmentExtendedCorrelationsStore::setCorrelations(), emtf::shuffle(), SimpleConeBounds::SimpleConeBounds(), SimpleCylinderBounds::SimpleCylinderBounds(), SimpleDiskBounds::SimpleDiskBounds(), HelixArbitraryPlaneCrossing2Order::solutionByDirection(), hitfit::Top_Decaykin::solve_nu(), hitfit::Top_Decaykin::solve_nu_tmass(), muonisolation::Range< float >::sort(), PixelRecoRange< float >::sort(), TRange< int >::sort(), EcalDccWeightBuilder::sort(), DynamicTruncation::sort(), emtf::sort_uGMT_muons(), SimTrackManager::storeTracks(), trackerDTC::Stub::Stub(), FWGUIManager::subviewSwapped(), edm::MergeableCounter::swap(), PixelFitter::swap(), PixelTrackFilter::swap(), PhiMemoryImage::swap(), edm::reftobase::Holder< T, REF >::swap(), edm::reftobase::RefHolder< REF >::swap(), PixelRecoRange< float >::swap(), edm::ElementID::swap(), CastorElectronicsMap::swap(), edm::ProductID::swap(), HcalDataFrameContainer< Digi >::swap(), GenFilterInfo::swap(), HcalFrontEndMap::swap(), edm::HepMCProduct::swap(), HcalDcsMap::swap(), edm::ErrorObj::swap(), HcalSiPMCharacteristics::swap(), HcalElectronicsMap::swap(), edm::ContainerMask< T >::swap(), FWConfiguration::swap(), lhef::HEPRUP::swap(), SiPixelClusterShapeCache::swap(), edm::FileInPath::swap(), edm::Handle< GenericObject >::swap(), TrackingRegionsSeedingLayerSets::swap(), edm::eventsetup::DataKey::swap(), edm::Handle< FWGenericObject >::swap(), EcalMatacqDigi::swap(), edm::Provenance::swap(), edm::RefToBaseProd< T >::swap(), edmNew::dstvdetails::DetSetVectorTrans::swap(), edm::Exception::swap(), TempTrajectory::swap(), edm::VecArray< std::pair< int, int >, 9 >::swap(), edm::RefProd< Phase2TrackerCluster1Ds >::swap(), GenLumiInfoProduct::swap(), SeedingLayerSetsHits::swap(), edm::StdArray< T, N >::swap(), edm::SoATuple< edm::EDConsumerBase::TokenLookupInfo, bool, edm::EDConsumerBase::LabelPlacement, edm::KindOfType >::swap(), l1extra::L1ParticleMap::swap(), edmNew::DetSetVector< SiStripCluster >::swap(), edm::eventsetup::EventSetupRecordProvider::swapFinder(), FWCustomIconsButton::swapIcons(), edm::impl::WaitingThread::threadLoop(), timestudy::SleepingServer::threadWork(), npstat::ArrayND< Numeric >::transpose(), TrapezoidalCartesianMFGrid::uncheckedValueInTesla(), npstat::UniformAxis::UniformAxis(), CovarianceParameterization::unpack(), CaloSD::update(), edm::service::SimpleMemoryCheck::update(), DQMBasicNet::updateLocalObject(), and reco::GhostTrackVertexFinder::vertices().

112  {
113  lhs.swap(rhs);
114  }

◆ swap() [15/40]

void edm::swap ( HandleBase a,
HandleBase b 
)
inline

Definition at line 114 of file HandleBase.h.

References a, and b.

Referenced by edm::HandleBase::swap().

114 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [16/40]

void edm::swap ( ErrorObj a,
ErrorObj b 
)
inline

Definition at line 125 of file ErrorObj.h.

References a, and b.

125 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [17/40]

void edm::swap ( FileInPath a,
FileInPath b 
)
inline

Definition at line 127 of file FileInPath.h.

References a, and b.

127 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [18/40]

template<class T >
void edm::swap ( EDCollection< T > &  a,
EDCollection< T > &  b 
)
inline

Definition at line 129 of file EDCollection.h.

References a, and b.

129  {
130  a.swap(b);
131  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [19/40]

template<typename K , typename T >
void edm::swap ( MapOfVectors< K, T > &  lhs,
MapOfVectors< K, T > &  rhs 
)
inline

Definition at line 142 of file MapOfVectors.h.

References edm::MapOfVectors< K, T >::swap().

142  {
143  lhs.swap(rhs);
144  }

◆ swap() [20/40]

template<typename KEY >
void edm::swap ( RefVectorBase< KEY > &  a,
RefVectorBase< KEY > &  b 
)
inline

swap two vectors

Definition at line 149 of file RefVectorBase.h.

References a, and b.

149  {
150  a.swap(b);
151  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [21/40]

void edm::swap ( edm::RefCore lhs,
edm::RefCore rhs 
)
inline

Definition at line 155 of file RefCore.h.

References edm::RefCore::swap().

Referenced by edm::RefCore::swap().

155 { lhs.swap(rhs); }
void swap(RefCore &) noexcept
Definition: RefCore.h:149

◆ swap() [22/40]

void edm::swap ( edm::RefCoreWithIndex lhs,
edm::RefCoreWithIndex rhs 
)
inline

Definition at line 157 of file RefCoreWithIndex.h.

References edm::RefCoreWithIndex::swap().

Referenced by edm::RefCoreWithIndex::swap().

157 { lhs.swap(rhs); }
void swap(RefCoreWithIndex &)

◆ swap() [23/40]

template<typename C , typename T , typename F >
void edm::swap ( RefVector< C, T, F > &  a,
RefVector< C, T, F > &  b 
)
inlinenoexcept

Definition at line 172 of file RefVector.h.

References a, and b.

172  {
173  a.swap(b);
174  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [24/40]

template<typename T >
void edm::swap ( edm::RefToBaseProd< T > const &  lhs,
edm::RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 174 of file RefToBaseProd.h.

References edm::RefToBaseProd< T >::swap().

174  {
175  lhs.swap(rhs);
176  }
void swap(RefToBaseProd< T > &)

◆ swap() [25/40]

template<typename T >
void edm::swap ( value_ptr< T > &  vp1,
value_ptr< T > &  vp2 
)
inline

Definition at line 181 of file value_ptr.h.

References edm::value_ptr< T >::swap().

Referenced by edm::value_ptr< edm::service::MessageLoggerDefaults >::swap().

181  {
182  vp1.swap(vp2);
183  }

◆ swap() [26/40]

void edm::swap ( DataFrameContainer lhs,
DataFrameContainer rhs 
)
inline

Definition at line 194 of file DataFrameContainer.h.

References edm::DataFrameContainer::swap().

Referenced by edm::DataFrameContainer::swap().

194 { lhs.swap(rhs); }

◆ swap() [27/40]

template<typename C >
void edm::swap ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 195 of file RefProd.h.

195  {
196  lhs.swap(rhs);
197  }

◆ swap() [28/40]

template<int I>
void edm::swap ( Hash< I > &  a,
Hash< I > &  b 
)
inline

Definition at line 205 of file Hash.h.

References a, and b.

205  {
206  a.swap(b);
207  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [29/40]

template<typename T >
void edm::swap ( PtrVector< T > &  lhs,
PtrVector< T > &  rhs 
)
inline

Definition at line 213 of file PtrVector.h.

References edm::PtrVector< T >::swap().

213  {
214  lhs.swap(rhs);
215  }

◆ swap() [30/40]

template<typename ID , typename C , typename P >
void edm::swap ( RangeMap< ID, C, P > &  a,
RangeMap< ID, C, P > &  b 
)
inline

Definition at line 215 of file RangeMap.h.

References a, and b.

215  {
216  a.swap(b);
217  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [31/40]

template<typename T , typename C >
void edm::swap ( DetSetRefVector< T, C > &  a,
DetSetRefVector< T, C > &  b 
)
inline

Definition at line 253 of file DetSetRefVector.h.

References a, and b.

253  {
254  a.swap(b);
255  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [32/40]

template<typename T >
void edm::swap ( ValueMap< T > &  lhs,
ValueMap< T > &  rhs 
)
inline

Definition at line 275 of file ValueMap.h.

References edm::ValueMap< T >::swap().

275  {
276  lhs.swap(rhs);
277  }

◆ swap() [33/40]

template<typename KeyRefProd , typename CVal , typename KeyRef , typename SizeType , typename KeyReferenceHelper >
void edm::swap ( AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &  a,
AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &  b 
)
inline

Definition at line 280 of file AssociationVector.h.

References a, and b.

281  {
282  a.swap(b);
283  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [34/40]

void edm::swap ( ParameterSet a,
ParameterSet b 
)
inline

Definition at line 293 of file ParameterSet.h.

References a, and b.

293 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [35/40]

template<typename C >
void edm::swap ( MultiAssociation< C > &  lhs,
MultiAssociation< C > &  rhs 
)
inline

Definition at line 306 of file MultiAssociation.h.

306  {
307  lhs.swap(rhs);
308  }

◆ swap() [36/40]

template<typename T >
void edm::swap ( View< T > &  lhs,
View< T > &  rhs 
)
inline

Definition at line 324 of file View.h.

324  {
325  lhs.swap(rhs);
326  }

◆ swap() [37/40]

template<class T >
void edm::swap ( RefToBase< T > &  a,
RefToBase< T > &  b 
)
inline

Definition at line 332 of file RefToBase.h.

References a, and b.

Referenced by edm::RefToBase< TrajectorySeed >::swap().

332  {
333  a.swap(b);
334  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [38/40]

template<typename T , typename SORT >
void edm::swap ( SortedCollection< T, SORT > &  a,
SortedCollection< T, SORT > &  b 
)
inline

Definition at line 336 of file SortedCollection.h.

References a, and b.

Referenced by edm::SortedCollection< EcalRecHit >::operator=().

336  {
337  a.swap(b);
338  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [39/40]

template<class T >
void edm::swap ( DetSetVector< T > &  a,
DetSetVector< T > &  b 
)
inline

Definition at line 378 of file DetSetVector.h.

References a, and b.

378  {
379  a.swap(b);
380  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ swap() [40/40]

template<typename T , typename P >
void edm::swap ( OwnVector< T, P > &  a,
OwnVector< T, P > &  b 
)
inlinenoexcept

Definition at line 540 of file OwnVector.h.

References a, and b.

Referenced by edm::OwnVector< LayerWithHits >::operator=().

540  {
541  a.swap(b);
542  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ syncWait()

template<typename F >
std::exception_ptr edm::syncWait ( F &&  iFunc)

Definition at line 15 of file include_first_syncWait.h.

References watchdog::group, and dqmdumpme::last.

Referenced by edm::SecondaryEventProvider::setupPileUpEvent().

15  {
16  std::exception_ptr exceptPtr{};
17  oneapi::tbb::task_group group;
19  group.run([&]() { iFunc(WaitingTaskHolder(group, &last)); }); //group.run
20 
21  return last.waitNoThrow();
22  }

◆ thinnedRefFrom()

template<typename C , typename T , typename F >
Ref<C, T, F> edm::thinnedRefFrom ( Ref< C, T, F > const &  parent,
RefProd< C > const &  thinned,
edm::EDProductGetter const &  prodGetter 
)

Return a Ref to thinned collection corresponding to an element of the Ref to parent collection.

Definition at line 129 of file RefItemGet.h.

References edm::EDProductGetter::getThinnedKeyFrom(), edm::RefProd< C >::id(), and class-composition::parent.

Referenced by edmtest::ThinningTestAnalyzer::analyze(), edmtest::ThinningDSVTestAnalyzer::analyze(), edmtest::ThinnedRefFromTestAnalyzer::analyze(), edm::ThinnedRefSet< C >::Filler::insert(), and edmtest::ThinningTestAnalyzer::testVectors().

131  {
132  if (parent.id() == thinned.id()) {
133  return parent;
134  }
135 
136  auto thinnedKey = prodGetter.getThinnedKeyFrom(parent.id(), parent.key(), thinned.id());
137  if (std::holds_alternative<unsigned int>(thinnedKey)) {
138  return Ref<C, T, F>(thinned, std::get<unsigned int>(thinnedKey));
139  } else if (std::holds_alternative<detail::GetThinnedKeyFromExceptionFactory>(thinnedKey)) {
140  auto ex = std::get<detail::GetThinnedKeyFromExceptionFactory>(thinnedKey)();
141  ex.addContext("Calling edm::thinnedRefFrom()");
142  throw ex;
143  }
144 
145  return Ref<C, T, F>();
146  }

◆ threadOptions()

ThreadsInfo edm::threadOptions ( edm::ParameterSet const &  pset)

Definition at line 11 of file ThreadsInfo.cc.

References edm::ThreadsInfo::nThreads_, muonDTDigis_cfi::pset, and edm::ThreadsInfo::stackSize_.

11  {
12  // default values
13  ThreadsInfo threadsInfo;
14 
15  // Note: it is important to not check the type or trackedness in
16  // exists() call to ensure that the getUntrackedParameter() calls
17  // will fail if the parameters have an incorrect type
18  if (pset.exists("options")) {
19  auto const& ops = pset.getUntrackedParameterSet("options");
20  if (ops.exists("numberOfThreads")) {
21  threadsInfo.nThreads_ = ops.getUntrackedParameter<unsigned int>("numberOfThreads");
22  }
23  if (ops.exists("sizeOfStackForThreadsInKB")) {
24  threadsInfo.stackSize_ = ops.getUntrackedParameter<unsigned int>("sizeOfStackForThreadsInKB");
25  }
26  }
27  return threadsInfo;
28  }

◆ throwAmbiguousException()

static void edm::throwAmbiguousException ( const char *  where,
TypeID const &  productType,
std::string const &  label,
std::string const &  instance,
std::string const &  process 
)
static

Definition at line 80 of file Principal.cc.

References cppFunctionSkipper::exception, instance, label, and LaserDQM_cfg::process.

Referenced by edm::Principal::findProductByLabel().

84  {
85  cms::Exception exception("AmbiguousProduct");
86  exception << "Principal::" << where
87  << ": More than 1 product matches all criteria\nLooking for type: " << productType << "\n"
88  << "Looking for module label: " << label << "\n"
89  << "Looking for productInstanceName: " << instance << "\n"
90  << (process.empty() ? "" : "Looking for process: ") << process << "\n"
91  << "This can only occur with get function calls using a Handle<View> argument.\n"
92  << "Try a get not using a View or change the instance name of one of the products";
93  throw exception;
94  }
static PFTauRenderPlugin instance
char const * label

◆ throwExceptionWithText()

void edm::throwExceptionWithText ( char const *  txt)

Definition at line 268 of file BranchDescription.cc.

References MillePedeFileConverter_cfg::e, and edm::errors::LogicError.

Referenced by edm::BranchDescription::throwIfInvalid_().

268  {
270  e << "Problem using an incomplete BranchDescription\n"
271  << txt << "\nPlease report this error to the FWCore developers";
272  throw e;
273  }

◆ throwMissingDictionariesException() [1/4]

void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context 
)

◆ throwMissingDictionariesException() [2/4]

void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context,
std::vector< std::string > &  producedTypes 
)

Definition at line 199 of file DictionaryTools.cc.

References addToMissingDictionariesException(), visDQMUpload::context, edm::errors::DictionaryNotFound, cppFunctionSkipper::exception, B2GTnPMonitor_cfi::item, jetUpdater_cfi::sort, and tier0::unique().

201  {
203  addToMissingDictionariesException(exception, missingDictionaries, context);
204 
205  if (!producedTypes.empty()) {
206  std::sort(producedTypes.begin(), producedTypes.end());
207  producedTypes.erase(std::unique(producedTypes.begin(), producedTypes.end()), producedTypes.end());
208 
209  std::ostringstream ostr;
210  for (auto const& item : producedTypes) {
211  ostr << " " << item << "\n";
212  }
213  exception << "\nA type listed above might or might not be the same as a\n"
214  << "type declared by a producer module with the function \'produces\'.\n"
215  << "Instead it might be the type of a data member, base class,\n"
216  << "wrapped type, or other object needed by a produced type. Below\n"
217  << "is some additional information which lists the types declared\n"
218  << "to be produced by a producer module that are associated with\n"
219  << "the types whose dictionaries were not found:\n\n"
220  << ostr.str() << "\n";
221  }
222  throw exception;
223  }
def unique(seq, keepstr=True)
Definition: tier0.py:24
void addToMissingDictionariesException(edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)

◆ throwMissingDictionariesException() [3/4]

void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context,
std::vector< std::string > &  producedTypes,
std::vector< std::string > &  branchNames,
bool  fromStreamerSource = false 
)

Definition at line 225 of file DictionaryTools.cc.

References addToMissingDictionariesException(), haddnano::branchNames, visDQMUpload::context, edm::errors::DictionaryNotFound, cppFunctionSkipper::exception, B2GTnPMonitor_cfi::item, jetUpdater_cfi::sort, and tier0::unique().

229  {
231  addToMissingDictionariesException(exception, missingDictionaries, context);
232 
233  if (!producedTypes.empty()) {
234  std::sort(producedTypes.begin(), producedTypes.end());
235  producedTypes.erase(std::unique(producedTypes.begin(), producedTypes.end()), producedTypes.end());
236 
237  std::ostringstream ostr;
238  for (auto const& item : producedTypes) {
239  ostr << " " << item << "\n";
240  }
241  if (fromStreamerSource) {
242  exception << "\nA type listed above might or might not be the same as a\n"
243  << "type stored in the Event. Instead it might be the type of\n"
244  << "a data member, base class, wrapped type, or other object\n"
245  << "needed by a stored type. Below is some additional information\n"
246  << "which lists the stored types associated with the types whose\n"
247  << "dictionaries were not found:\n\n"
248  << ostr.str() << "\n";
249  } else {
250  exception << "\nA type listed above might or might not be the same as a\n"
251  << "type stored in the Event (or Lumi or Run). Instead it might\n"
252  << "be the type of a data member, base class, wrapped type, or\n"
253  << "other object needed by a stored type. Below is some additional\n"
254  << "information which lists the stored types associated with the\n"
255  << "types whose dictionaries were not found:\n\n"
256  << ostr.str() << "\n";
257  }
258  }
259 
260  if (!branchNames.empty()) {
261  std::sort(branchNames.begin(), branchNames.end());
262  branchNames.erase(std::unique(branchNames.begin(), branchNames.end()), branchNames.end());
263 
264  std::ostringstream ostr;
265  for (auto const& item : branchNames) {
266  ostr << " " << item << "\n";
267  }
268  if (fromStreamerSource) {
269  exception << "Missing dictionaries are associated with these branch names:\n\n" << ostr.str() << "\n";
270  } else {
271  exception << "Missing dictionaries are associated with these branch names:\n\n"
272  << ostr.str() << "\n"
273  << "If you do not need these branches and they are not produced\n"
274  << "in the current process, an alternate solution to adding\n"
275  << "dictionaries is to drop these branches on input using the\n"
276  << "inputCommands parameter of the PoolSource.";
277  }
278  }
279  throw exception;
280  }
def unique(seq, keepstr=True)
Definition: tier0.py:24
void addToMissingDictionariesException(edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)
branchNames
Definition: haddnano.py:54

◆ throwMissingDictionariesException() [4/4]

void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context,
std::set< std::string > &  producedTypes,
bool  consumedWithView 
)

Definition at line 282 of file DictionaryTools.cc.

References addToMissingDictionariesException(), visDQMUpload::context, edm::errors::DictionaryNotFound, cppFunctionSkipper::exception, and B2GTnPMonitor_cfi::item.

285  {
287  addToMissingDictionariesException(exception, missingDictionaries, context);
288 
289  if (!producedTypes.empty()) {
290  std::ostringstream ostr;
291  for (auto const& item : producedTypes) {
292  ostr << " " << item << "\n";
293  }
294  if (consumedWithView) {
295  exception << "\nThe list of types above was generated while checking for\n"
296  << "dictionaries related to products declared to be consumed\n"
297  << "using a View. They will be either the type or a base class\n"
298  << "of the type declared in a consumes declaration as the template\n"
299  << "parameter of a View. Below is some additional information\n"
300  << "which lists the type of the template parameter of the View.\n"
301  << "(It will be the same type unless the missing dictionary is\n"
302  << "for a base type):\n\n"
303  << ostr.str() << "\n";
304  } else {
305  exception << "\nThe list of types above was generated while checking for\n"
306  << "dictionaries related to products declared to be consumed.\n"
307  << "A type listed above might or might not be a type declared\n"
308  << "to be consumed. Instead it might be the type of a data member,\n"
309  << "base class, wrapped type or other object needed by a consumed\n"
310  << "type. Below is some additional information which lists\n"
311  << "the types declared to be consumed by a module and which\n"
312  << "are associated with the types whose dictionaries were not\n"
313  << "found:\n\n"
314  << ostr.str() << "\n";
315  }
316  }
317  throw exception;
318  }
void addToMissingDictionariesException(edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)

◆ throwProductDeletedException()

static void edm::throwProductDeletedException ( ProductID const &  pid,
edm::EventPrincipal::ConstProductResolverPtr const  phb 
)
static

Definition at line 244 of file EventPrincipal.cc.

References cppFunctionSkipper::exception.

Referenced by edm::EventPrincipal::getByProductID().

245  {
247  exception << "get by product ID: The product with given id: " << pid << "\ntype: " << phb->productType()
248  << "\nproduct instance name: " << phb->productInstanceName() << "\nprocess name: " << phb->processName()
249  << "\nwas already deleted. This is a configuration error. Please change the configuration of the module "
250  "which caused this exception to state it reads this data.";
251  throw exception;
252  }

◆ throwProductNotFoundException()

static void edm::throwProductNotFoundException ( char const *  where,
errors::ErrorCodes  error,
BranchID const &  bid 
)
static

Definition at line 51 of file Principal.cc.

References relativeConstraints::error, and Exception.

Referenced by edm::Principal::getProvenance(), and edm::Principal::getStableProvenance().

51  {
52  throw Exception(error, "InvalidID") << "Principal::" << where << ": no product with given branch id: " << bid
53  << "\n";
54  }

◆ throwTypeException()

static void edm::throwTypeException ( std::string const &  function,
std::string const &  typeName 
)
static

Definition at line 48 of file TypeWithDict.cc.

References edm::errors::DictionaryNotFound, Exception, and dqmiodumpindices::typeName.

Referenced by edm::TypeWithDict::TypeWithDict().

48  {
49  throw Exception(errors::DictionaryNotFound) << "Function " << function << ",\n"
50  << "no data dictionary found for type:\n\n"
51  << typeName << "\nMost likely the dictionary was never generated,\n"
52  << "but it may be that it was generated in the wrong package.\n"
53  << "Please add (or move) the specification\n"
54  << "<class name=\"whatever\"/>\n"
55  << "to the appropriate classes_def.xml file.\n"
56  << "If the class is a template instance, you may need\n"
57  << "to define a dummy variable of this type in classes.h.\n"
58  << "Also, if this class has any transient members,\n"
59  << "you need to specify them in classes_def.xml.";
60  }

◆ tokenize()

std::vector< std::string > edm::tokenize ( std::string const &  input,
std::string const &  separator 
)

breaks the input string into tokens, delimited by the separator

Definition at line 52 of file Parse.cc.

References copy_all(), input, mps_fire::result, and separator().

Referenced by MomentumDependentPedeLabeler::buildMomentumDependencyMap(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), decode(), editESInputTag(), editInputTag(), editVInputTag(), edm::ESInputTag::ESInputTag(), edm::FileInPath::findFile(), edm::FileInPath::initialize_(), edm::InputTag::InputTag(), align::makeNonOverlappingRunRanges(), and MultiEventFilter::MultiEventFilter().

52  {
53  typedef boost::char_separator<char> separator_t;
54  typedef boost::tokenizer<separator_t> tokenizer_t;
55 
56  std::vector<std::string> result;
57  separator_t sep(separator.c_str(), "", boost::keep_empty_tokens); // separator for elements in path
58  tokenizer_t tokens(input, sep);
59  copy_all(tokens, std::back_inserter<std::vector<std::string> >(result));
60  return result;
61  }
string separator
Definition: mps_merge.py:79
static std::string const input
Definition: EdmProvDump.cc:50
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:20

◆ toPython11List()

template<typename T >
pybind11::list edm::toPython11List ( const std::vector< T > &  v)

Definition at line 17 of file PyBind11Wrapper.h.

References nnet::cast(), mps_fire::result, and findQualityFiles::v.

Referenced by Python11ParameterSet::getParameters().

17  {
18  pybind11::list result = pybind11::cast(v);
19  return result;
20  }
std::enable_if< std::is_same< data_T, ap_uint< 1 > >::value &&std::is_same< typename CONFIG_T::weight_t, ap_uint< 1 > >::value, ap_int< nnet::ceillog2(CONFIG_T::n_in)+2 > >::type cast(typename CONFIG_T::accum_t x)
Definition: nnet_mult.h:88

◆ toVector()

template<typename T >
std::vector<T> edm::toVector ( pybind11::list &  l)

Definition at line 24 of file PyBind11Wrapper.h.

References mps_fire::i, MainPageGenerator::l, and mps_fire::result.

24  {
25  std::vector<T> result;
26  result.reserve(l.size());
27  for (unsigned i = 0; i < l.size(); ++i) {
28  result.push_back(l[i].cast<T>());
29  }
30  return result;
31  }

◆ transitionName() [1/2]

std::string_view edm::transitionName ( GlobalContext::Transition  iTrans)

Definition at line 132 of file GlobalContext.cc.

References edm::GlobalContext::kAccessInputProcessBlock, edm::GlobalContext::kBeginJob, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginProcessBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndJob, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndProcessBlock, edm::GlobalContext::kEndRun, edm::GlobalContext::kWriteLuminosityBlock, edm::GlobalContext::kWriteProcessBlock, and edm::GlobalContext::kWriteRun.

Referenced by edm::service::Tracer::postModuleGlobalPrefetching(), edm::service::Tracer::postModuleStreamPrefetching(), edm::service::Tracer::preModuleGlobalPrefetching(), and edm::service::Tracer::preModuleStreamPrefetching().

132  {
133  switch (iTrans) {
134  case GlobalContext::Transition::kBeginJob:
135  return "begin Job";
136  case GlobalContext::Transition::kBeginProcessBlock:
137  return "begin ProcessBlock";
138  case GlobalContext::Transition::kAccessInputProcessBlock:
139  return "access input ProcessBlock";
140  case GlobalContext::Transition::kBeginRun:
141  return "global begin Run";
142  case GlobalContext::Transition::kBeginLuminosityBlock:
143  return "global begin LuminosityBlock";
144  case GlobalContext::Transition::kEndLuminosityBlock:
145  return "global end LuminosityBlock";
146  case GlobalContext::Transition::kEndRun:
147  return "global end Run";
148  case GlobalContext::Transition::kEndProcessBlock:
149  return "end ProcessBlock";
150  case GlobalContext::Transition::kEndJob:
151  return "endJob";
152  case GlobalContext::Transition::kWriteProcessBlock:
153  return "write ProcessBlock";
154  case GlobalContext::Transition::kWriteRun:
155  return "write Run";
156  case GlobalContext::Transition::kWriteLuminosityBlock:
157  return "write LuminosityBlock";
158  }
159  return "Unknown";
160  }

◆ transitionName() [2/2]

std::string_view edm::transitionName ( StreamContext::Transition  iTrans)

Definition at line 103 of file StreamContext.cc.

References edm::StreamContext::kBeginLuminosityBlock, edm::StreamContext::kBeginRun, edm::StreamContext::kBeginStream, edm::StreamContext::kEndLuminosityBlock, edm::StreamContext::kEndRun, edm::StreamContext::kEndStream, edm::StreamContext::kEvent, and edm::StreamContext::kInvalid.

103  {
104  switch (iTrans) {
105  case StreamContext::Transition::kBeginStream:
106  return "begin Stream";
107  case StreamContext::Transition::kBeginRun:
108  return "stream begin Run";
109  case StreamContext::Transition::kBeginLuminosityBlock:
110  return "stream begin LuminosityBlock";
111  case StreamContext::Transition::kEvent:
112  return "Event";
113  case StreamContext::Transition::kEndLuminosityBlock:
114  return "stream end LuminosityBlock";
115  case StreamContext::Transition::kEndRun:
116  return "stream end Run";
117  case StreamContext::Transition::kEndStream:
118  return "end Stream";
120  return "Invalid";
121  }
122  return "Unknown";
123  }

◆ triggerResults()

static std::string const edm::triggerResults ( "TriggerResults"  )
static

◆ triggerResultsInserter()

static std::string const edm::triggerResultsInserter ( "TriggerResultsInserter"  )
static

Referenced by moduleName().

◆ tryThinnedRefFrom()

template<typename C , typename T , typename F >
Ref<C, T, F> edm::tryThinnedRefFrom ( Ref< C, T, F > const &  parent,
RefProd< C > const &  thinned,
edm::EDProductGetter const &  prodGetter 
)

Return a Ref to thinned collection corresponding to an element of the Ref to parent collection.

Definition at line 157 of file RefItemGet.h.

References edm::EDProductGetter::getThinnedKeyFrom(), edm::RefProd< C >::id(), and class-composition::parent.

Referenced by edmtest::ThinnedRefFromTestAnalyzer::analyze(), and edm::ThinnedRefSet< C >::Filler::insert().

159  {
160  if (parent.id() == thinned.id()) {
161  return parent;
162  }
163 
164  auto thinnedKey = prodGetter.getThinnedKeyFrom(parent.id(), parent.key(), thinned.id());
165  if (std::holds_alternative<unsigned int>(thinnedKey)) {
166  return Ref<C, T, F>(thinned, std::get<unsigned int>(thinnedKey));
167  }
168 
169  return Ref<C, T, F>();
170  }

◆ tryToGetProductWithCoreFromRef()

template<typename T >
T const* edm::tryToGetProductWithCoreFromRef ( RefCore const &  ref,
EDProductGetter const *  prodGetter 
)
inline

Definition at line 97 of file RefCoreGet.h.

References edm::RefCore::isTransient(), and edm::RefCore::nullPointerForTransientException().

97  {
98  if (ref.isTransient()) {
99  ref.nullPointerForTransientException(typeid(T));
100  }
101  return refcore::tryToGetProductWithCoreFromRef_<T>(ref, prodGetter);
102  }
long double T

◆ typeDemangle()

std::string edm::typeDemangle ( char const *  mangledName)

Definition at line 94 of file TypeDemangler.cc.

References symbols::demangled, Exception, free(), replaceString(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by reco::modules::TrackerTrackHitFilter::checkStoN(), PhysicsTools::VarProcessor::deriv(), PhysicsTools::MVAComputer::evalInternal(), edm::ServiceRegistry::get(), edm::serviceregistry::ServicesManager::get(), L1RegionData< T1 >::getEtaPhiRegions(), edm::ServiceRegistry::isAvailable(), DetSetCounterSelector::operator()(), edm::serviceregistry::ServicesManager::ServicesManager(), and PedeReader::setParameter().

94  {
95  int status = 0;
96  size_t* const nullSize = nullptr;
97  char* const null = nullptr;
98 
99  // The demangled C style string is allocated with malloc, so it must be deleted with free().
100  char* demangled = abi::__cxa_demangle(mangledName, null, nullSize, &status);
101  if (status != 0) {
102  throw cms::Exception("Demangling error") << " '" << mangledName << "'\n";
103  }
104  std::string demangledName(demangled);
105  free(demangled);
106  // We must use the same conventions previously used by REFLEX.
107  // The order of these is important.
108  // No space after comma
109  replaceString(demangledName, ", ", ",");
110  // No space before opening square bracket
111  replaceString(demangledName, " [", "[");
112  // clang libc++ uses __1:: namespace
113  replaceString(demangledName, "std::__1::", "std::");
114  // new gcc abi uses __cxx11:: namespace
115  replaceString(demangledName, "std::__cxx11::", "std::");
116  // Strip default allocator
117  std::string const allocator(",std::allocator<");
118  removeParameter(demangledName, allocator);
119  // Strip default comparator
120  std::string const comparator(",std::less<");
121  removeParameter(demangledName, comparator);
122  // Put const qualifier before identifier.
123  constBeforeIdentifier(demangledName);
124  // No two consecutive '>'
125  replaceString(demangledName, ">>", "> >");
126  // No u or l qualifiers for integers.
127  reformatter(demangledName, "(.*[<,][0-9]+)[ul]l*([,>].*)", "$1$2");
128  // For ROOT 6 and beyond, replace 'unsigned long long' with 'ULong64_t'
129  replaceString(demangledName, "unsigned long long", "ULong64_t");
130  // For ROOT 6 and beyond, replace 'long long' with 'Long64_t'
131  replaceString(demangledName, "long long", "Long64_t");
132  return demangledName;
133  }
void replaceString(std::string &demangledName, std::string const &from, std::string const &to)
void free(void *ptr) noexcept
demangled
Definition: symbols.py:70

◆ uniqueSharedResourceName()

std::string edm::uniqueSharedResourceName ( )

Definition at line 20 of file SharedResourceNames.cc.

References contentValuesCheck::ss.

Referenced by edm::HadronizerFilter< HAD, DEC >::HadronizerFilter(), and edm::GeneratorFilter< HAD, DEC >::init().

20  {
21  std::stringstream ss;
22  ss << "uniqueSharedResourceName" << counter.fetch_add(1);
23  return ss.str();
24 }

◆ untaintString()

bool edm::untaintString ( char const *  pattern,
char const *  regexp 
)

Definition at line 12 of file RegexMatch.cc.

References topSingleLeptonDQM_PU_cfi::pattern, and fetchall_from_DQM_v2::regexp.

12  {
13  std::regex rexp(regexp);
14  return std::regex_match(pattern, rexp);
15  }

◆ validateTopLevelParameterSets()

void edm::validateTopLevelParameterSets ( ParameterSet processParameterSet)

Definition at line 143 of file validateTopLevelParameterSets.cc.

References cms::Exception::addContext(), edm::ParameterSet::addUntrackedParameter(), edm::errors::Configuration, makeListRunsInFiles::description, Exception, fillMaxEventsDescription(), fillMaxLuminosityBlocksDescription(), fillMaxSecondsUntilRampdownDescription(), fillOptionsDescription(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), SimL1EmulatorRepack_CalouGT_cff::processName, muonDTDigis_cfi::pset, crabTemplate::psetName, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::EventProcessor::init(), edm::SubProcess::SubProcess(), edm::test::TestProcessor::TestProcessor(), and edm::test::TestSourceProcessor::TestSourceProcessor().

143  {
144  std::string processName = processParameterSet->getParameter<std::string>("@process_name");
145 
146  std::vector<std::string> psetNames{"options", "maxEvents", "maxLuminosityBlocks", "maxSecondsUntilRampdown"};
147 
148  for (auto const& psetName : psetNames) {
149  bool isTracked{false};
150  ParameterSet* pset = processParameterSet->getPSetForUpdate(psetName, isTracked);
151  if (pset == nullptr) {
152  ParameterSet emptyPset;
153  processParameterSet->addUntrackedParameter<ParameterSet>(psetName, emptyPset);
154  pset = processParameterSet->getPSetForUpdate(psetName, isTracked);
155  }
156  if (isTracked) {
157  throw Exception(errors::Configuration) << "In the configuration the top level parameter set named \'"
158  << psetName << "\' in process \'" << processName << "\' is tracked.\n"
159  << "It must be untracked";
160  }
161 
163  if (psetName == "options") {
165  } else if (psetName == "maxEvents") {
167  } else if (psetName == "maxLuminosityBlocks") {
169  } else if (psetName == "maxSecondsUntilRampdown") {
171  }
172 
173  try {
174  description.validate(*pset);
175  } catch (cms::Exception& ex) {
176  std::ostringstream ost;
177  ost << "Validating top level \'" << psetName << "\' ParameterSet for process \'" << processName << "\'";
178  ex.addContext(ost.str());
179  throw;
180  }
181  }
182  }
void fillOptionsDescription(ParameterSetDescription &description)
void fillMaxEventsDescription(ParameterSetDescription &description)
void fillMaxLuminosityBlocksDescription(ParameterSetDescription &description)
void addContext(std::string const &context)
Definition: Exception.cc:169
void fillMaxSecondsUntilRampdownDescription(ParameterSetDescription &description)

◆ vector_transform()

template<typename InputType , typename Function >
auto edm::vector_transform ( std::vector< InputType > const &  input,
Function  predicate 
) -> std::vector< typename std::remove_cv<typename std::remove_reference<decltype(predicate(input.front()))>::type>::type>

Definition at line 11 of file transform.h.

References input, and convertSQLitetoXML_cfg::output.

Referenced by CaloSimHitAnalysis::CaloSimHitAnalysis(), CaloSimHitStudy::CaloSimHitStudy(), reco::modules::CandCombinerBase::CandCombinerBase(), EcalSimHitDump::EcalSimHitDump(), EcalSimHitStudy::EcalSimHitStudy(), EGammaCutBasedEleIdAnalyzer::EGammaCutBasedEleIdAnalyzer(), ElectronSeedProducer::ElectronSeedProducer(), HLTConfigData::extract(), HGCalHitValidation::HGCalHitValidation(), HGCalSimHitStudy::HGCalSimHitStudy(), HGCGeometryValidation::HGCGeometryValidation(), HLTBTagPerformanceAnalyzer::HLTBTagPerformanceAnalyzer(), HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer(), HOSimHitStudy::HOSimHitStudy(), JetSubstructurePacker::JetSubstructurePacker(), LowPtGsfElectronSeedValueMapsProducer::LowPtGsfElectronSeedValueMapsProducer(), LSTPixelSeedInputProducer::LSTPixelSeedInputProducer(), MultiTrackSelector::MultiTrackSelector(), MultiTrackValidator::MultiTrackValidator(), pat::PATGenericParticleProducer::PATGenericParticleProducer(), pat::PATJetProducer::PATJetProducer(), pat::PATJetUpdater::PATJetUpdater(), pat::PATPFParticleProducer::PATPFParticleProducer(), pat::PATSingleVertexSelector::PATSingleVertexSelector(), PATTauIDEmbedder::PATTauIDEmbedder(), pat::PATTauProducer::PATTauProducer(), pat::PATPhotonProducer::readIsolationLabels(), pat::PATMuonProducer::readIsolationLabels(), pat::PATElectronProducer::readIsolationLabels(), ReducedESRecHitCollectionProducer::ReducedESRecHitCollectionProducer(), ReducedRecHitCollectionProducer::ReducedRecHitCollectionProducer(), SeedCombiner::SeedCombiner(), SiStripClusterizer::SiStripClusterizer(), TagAndProbeBtagTriggerMonitor::TagAndProbeBtagTriggerMonitor(), edmtest::ThinningDSVTestAnalyzer::ThinningDSVTestAnalyzer(), TICLCandidateFromTrackstersProducer::TICLCandidateFromTrackstersProducer(), TICLTrackstersEdgesValidation::TICLTrackstersEdgesValidation(), TrackerDpgAnalysis::TrackerDpgAnalysis(), TrackingMonitor::TrackingMonitor(), TrackingNtuple::TrackingNtuple(), TriggerResultsFilter::TriggerResultsFilter(), and ValidationMisalignedTracker::ValidationMisalignedTracker().

13  {
14  using ReturnType =
15  typename std::remove_cv<typename std::remove_reference<decltype(predicate(input.front()))>::type>::type;
16  std::vector<ReturnType> output;
17  output.reserve(input.size());
18  for (auto const& element : input)
19  output.push_back(predicate(element));
20  return output;
21  }
static std::string const input
Definition: EdmProvDump.cc:50
std::map< DetId, double > ReturnType
Definition: output.py:1

◆ walkTrie()

template<typename V , typename T >
void edm::walkTrie ( V &  v,
TrieNode< T > const &  n,
std::string const &  label = "" 
)

visit each node of the trie

Definition at line 256 of file Trie.h.

References MillePedeFileConverter_cfg::e, label, create_idmaps::n, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

256  {
257  typedef TrieNodeIter<T> node_iterator;
258  node_iterator e;
259  for (node_iterator p(&n); p != e; ++p) {
260  v((*p).value(), label + (char)p.label());
261  walkTrie(v, *p, label + (char)p.label());
262  }
263  }
char const * label
void walkTrie(V &v, TrieNode< T > const &n, std::string const &label="")
visit each node of the trie
Definition: Trie.h:256

◆ withoutQuotes()

std::string edm::withoutQuotes ( std::string const &  from)

Definition at line 33 of file Parse.cc.

References mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

33  {
34  std::string result = from;
35  if (!result.empty()) {
36  // get rid of leading quotes
37  if (result[0] == '"' || result[0] == '\'') {
38  result.erase(0, 1);
39  }
40  }
41 
42  if (!result.empty()) {
43  // and trailing quotes
44  int lastpos = result.size() - 1;
45  if (result[lastpos] == '"' || result[lastpos] == '\'') {
46  result.erase(lastpos, 1);
47  }
48  }
49  return result;
50  }

◆ wrappedClassName()

std::string edm::wrappedClassName ( std::string const &  iFullName)

Definition at line 4 of file WrappedClassName.cc.

References className(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::streamer::StreamerInputSource::buildClassCache(), edm::ProductRegistry::checkDictionariesOfConsumedTypes(), checkDictionaryOfWrappedType(), BareRootProductGetterBase::createNewBuffer(), edm::streamer::StreamerInputSource::declareStreamers(), FWFileEntry::getBranchName(), fwlite::DataGetterHelper::getByBranchDescription(), edm::productholderindexhelper::getContainedType(), edm::root::FWLiteDelayedReader::getTheProduct(), edm::BranchDescription::initFromDictionary(), and FWFileEntry::runFilter().

4  {
5  std::string const wrapperBegin("edm::Wrapper<");
6  std::string const wrapperEnd1(">");
7  std::string const wrapperEnd2(" >");
8  std::string const& wrapperEnd = (className[className.size() - 1] == '>' ? wrapperEnd2 : wrapperEnd1);
9  std::string wrapped;
10  wrapped.reserve(wrapperBegin.size() + className.size() + wrapperEnd.size());
11  wrapped += wrapperBegin;
12  wrapped += className;
13  wrapped += wrapperEnd;
14  return wrapped;
15  }
std::string className(const T &t)
Definition: ClassName.h:31

Variable Documentation

◆ debugit

debugvalue edm::debugit

◆ ELdebug

constexpr const ELseverityLevel edm::ELdebug {ELseverityLevel::ELsev_success}

Definition at line 82 of file ELseverityLevel.h.

Referenced by edm::service::ELoutput::log(), and edm::ErrorObj::setSeverity().

◆ ELerror

constexpr const ELseverityLevel edm::ELerror {ELseverityLevel::ELsev_error}

Definition at line 90 of file ELseverityLevel.h.

Referenced by LoggedErrorsOnlySummary().

◆ ELfwkInfo

constexpr const ELseverityLevel edm::ELfwkInfo {ELseverityLevel::ELsev_fwkInfo}

Definition at line 86 of file ELseverityLevel.h.

◆ ELhighestSeverity

constexpr const ELseverityLevel edm::ELhighestSeverity {ELseverityLevel::ELsev_highestSeverity}

◆ ELinfo

constexpr const ELseverityLevel edm::ELinfo {ELseverityLevel::ELsev_info}

Definition at line 84 of file ELseverityLevel.h.

◆ ELsevere

constexpr const ELseverityLevel edm::ELsevere {ELseverityLevel::ELsev_severe}

Definition at line 94 of file ELseverityLevel.h.

Referenced by edm::service::ELoutput::log(), and edm::ErrorObj::setSeverity().

◆ ELunspecified

constexpr const ELseverityLevel edm::ELunspecified {ELseverityLevel::ELsev_unspecified}

Definition at line 92 of file ELseverityLevel.h.

◆ ELwarning

constexpr const ELseverityLevel edm::ELwarning {ELseverityLevel::ELsev_warning}

◆ ELzeroSeverity

constexpr const ELseverityLevel edm::ELzeroSeverity {ELseverityLevel::ELsev_zeroSeverity}

◆ invalidEventNumber

EventNumber_t const edm::invalidEventNumber = 0U

◆ invalidLuminosityBlockNumber

LuminosityBlockNumber_t const edm::invalidLuminosityBlockNumber = 0U

◆ invalidRunNumber

RunNumber_t const edm::invalidRunNumber = 0U

Definition at line 18 of file RunLumiEventNumber.h.

Referenced by FWGUIManager::runIdChanged().

◆ kAveEventPerSec

unsigned long long constexpr edm::kAveEventPerSec = 200ULL
static

◆ kJobReportEndElement

constexpr std::string_view edm::kJobReportEndElement = "</FrameworkJobReport>\n"
static

◆ kMinSizeOfComment

constexpr int edm::kMinSizeOfComment = 8
static

Definition at line 306 of file JobReport.cc.

Referenced by edm::JobReport::~JobReport().

◆ kNanoSecPerSec

unsigned long long constexpr edm::kNanoSecPerSec = 1000000000ULL
static

◆ MLSCRIBE_RUNNING_INDICATOR

const unsigned char edm::MLSCRIBE_RUNNING_INDICATOR = 29
static

◆ module_type_desc

constexpr const char* edm::module_type_desc[]
Initial value:
{
"Unknown", "Source", "ESSource", "ESProducer", "EDAnalyzer", "EDProducer", "EDFilter", "OutputModule"}

Definition at line 19 of file EDMModuleType.h.

Referenced by edmModuleType(), DependencyGraph::edmModuleType(), edmModuleTypeEnum(), and DependencyGraph::edmModuleTypeEnum().

◆ numberOfRunLumiEventProductTrees

constexpr unsigned int edm::numberOfRunLumiEventProductTrees = 3

◆ requires

template<class REF >
requires edm::requires

◆ s_defaultNumberOfThreads

constexpr unsigned int edm::s_defaultNumberOfThreads = 1

Definition at line 9 of file ThreadsInfo.h.

Referenced by fillOptionsDescription().

◆ s_defaultSizeOfStackForThreadsInKB

constexpr unsigned int edm::s_defaultSizeOfStackForThreadsInKB = 10 * 1024

Definition at line 10 of file ThreadsInfo.h.

◆ s_emptyCache

const std::vector<void const*> edm::s_emptyCache {}
static

Definition at line 184 of file PtrVectorBase.cc.

Referenced by edm::PtrVectorBase::emptyCache().

◆ s_emptyProcessHistory

ProcessHistory const edm::s_emptyProcessHistory
static

Definition at line 37 of file Principal.cc.

Referenced by edm::Principal::fillPrincipal().

◆ s_nextIdentifier

std::atomic<Principal::CacheIdentifier_t> edm::s_nextIdentifier {1}
static

Definition at line 113 of file Principal.cc.

Referenced by nextIdentifier().

◆ s_productGetter

thread_local EDProductGetter const* edm::s_productGetter = nullptr

◆ shift

unsigned int const edm::shift = 8 * sizeof(unsigned int)
static

Definition at line 7 of file LuminosityBlockID.cc.

Referenced by algorithm(), EcalEBPhase2TPParamProducer::analyze(), L1TCSCTF::analyze(), EcalTPGParamBuilder::analyze(), CTPPSDiamondDQMSource::analyze(), HcalTriggerPrimitiveAlgo::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), HcalTriggerPrimitiveAlgo::analyzeHFQIE10(), HcalTriggerPrimitiveAlgo::analyzeQIE11(), RigidBodyAlignmentParameters::apply(), BeamSpotAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), MuScleFitUtils::applyScale(), cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::bin(), cms::alpakatools::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::bin(), CSCTFTrackBuilder::buildTracks(), barrelUtil::calculatePhiWindow(), HGCalDDDConstants::cassetteShiftScintillator(), HGCalDDDConstants::cassetteShiftSilicon(), HGCalDDDConstants::cellHex(), hcal::reconstruction::compute_pulse_shape_value(), ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::compute_pulse_shape_value(), EcalEBPhase2TPParamProducer::computeLinearizerParam(), EcalTPGParamBuilder::computeLinearizerParam(), MuonPathAssociator::correlateMPaths(), DEutils< T >::DEDigi(), trklet::MatchProcessor::execute(), DDCutTubsFromPoints::execute(), Phase2Tracker::extract64(), Py8toJetInput::fillJetAlgoInput(), HGCROCChannelDataFrame< D >::fillPacket(), pat::MET::findMETTotalShift(), MiniFloatConverter::float32to16round(), trackerTFP::Format< v, p >::Format(), l1t::GtRecordDump::formatAsym(), l1t::GtRecordDump::formatCentrality(), l1t::GtRecordDump::formatHMB(), RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), PtAssignmentEngineAux2016::getEtaFromEtaInt(), PtAssignmentEngineAux2016::getEtaInt(), UCTCTP7RawData5BX::getHFFeatureBits(), UCTCTP7RawData::getHFFeatureBits(), UCTCTP7RawData5BX_HCALFB::getHFFeatureBits(), UCTCTP7RawData_HCALFB::getHFFeatureBits(), HGCTriggerDetId::getMaskedId(), popcon::EcalLaser_weekly_Linearization::getNewObjects(), popcon::EcalLaser_weekly_Linearization_Check::getNewObjects(), popcon::EcalTPGPedfromFile::getNewObjects(), popcon::EcalTPGLinPed::getNewObjects(), OptOModifiedRhomboidPrism::getRotatedPlate(), HcalDDDSimConstants::getShift(), gpuClustering::pixelStatus::getStatus(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::getStatus(), HIPplots::GetSubDet(), HGCSample::getWord(), RigidBodyAlignmentParameters::globalParameters(), BeamSpotAlignmentParameters::globalParameters(), PatternGenerator::groupPatterns(), HcalDDDSimConstants::HcalCellTypes(), PixelTripletNoTipGenerator::hitTriplets(), trklet::MatchEngineUnit::init(), SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db(), EcalUncalibRecHitTimingCCAlgo::interpolatePulse(), FFTJetPFPileupCleaner::isRemovable(), trklet::Settings::krinvpars(), l1t::l1t_pack_int(), L1TTwinMuxRawToDigi::L1TTwinMuxRawToDigi(), npstat::ArrayND< Numeric >::linearFill(), npstat::ArrayND< Numeric >::linearFillLoop(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), L1MuDTPtaLut::load(), L1TMuonBarrelParamsHelper::load_pt(), pixelTopology::Phase1::localX(), pixelTopology::Phase1::localY(), trklet::L1TStub::lorentzcor(), MuonPathAnalyticAnalyzer::MuonPathAnalyticAnalyzer(), MuonPathAnalyzerInChamber::MuonPathAnalyzerInChamber(), MuonPathAssociator::MuonPathAssociator(), MuonPathConfirmator::MuonPathConfirmator(), MuonPathFitter::MuonPathFitter(), MuonPathSLFitter::MuonPathSLFitter(), HcalPulseShapes::normalizeShift(), HGCalHistoSeedingImpl::Navigator::offset(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::raw::Kernel_unpack::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep_pulseMatrices_sameNumberOfSamples::operator()(), SiPixelCluster::PixelPos::operator+(), FTLCluster::FTLHitPos::operator+(), HcalTTPDigiProducer::produce(), pat::PATMETSlimmer::produce(), ShiftedMETcorrInputProducer::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), ShiftedParticleProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedParticleProducerT< T >::produce(), l1t::GenToInputProducer::produce(), ShiftedJetProducerT< T, Textractor >::produce(), trklet::ProjectionTemp::ProjectionTemp(), gpuClustering::pixelStatus::promote(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::promote(), pat::PATMETSlimmer::OneMETShift::readAndSet(), HGCROCChannelDataFrame< D >::readPacket(), PseudoBayesGrouping::RecognisePatternsByLayerPairs(), HFPreRecAlgo::reconstruct(), CrossSectionHandler::releaseParameters(), CSCTFSectorProcessor::run(), CSCTFSPCoreLogic::run(), PatternOptimizerBase::savePatternsInRoot(), HFRecHitAuxSetter::setAux(), UCTCTP7RawData5BX::setHFFeatureBits(), UCTCTP7RawData::setHFFeatureBits(), UCTCTP7RawData5BX_HCALFB::setHFFeatureBits(), UCTCTP7RawData_HCALFB::setHFFeatureBits(), HGCTriggerDetId::setMaskedId(), HcalTriggerPrimitiveAlgo::setNCTScaleShift(), BackgroundHandler::setParameters(), HcalTriggerPrimitiveAlgo::setRCTScaleShift(), FFTJetPFPileupCleaner::setRemovalBit(), pat::MET::setUncShift(), HGCSample::setWord(), pat::MET::shiftedP2(), pat::MET::shiftedP2_74x(), pat::MET::shiftedP3(), pat::MET::shiftedP3_74x(), pat::MET::shiftedP4(), pat::MET::shiftedP4_74x(), pat::MET::shiftedPhi(), pat::MET::shiftedPt(), pat::MET::shiftedPx(), pat::MET::shiftedPy(), pat::MET::shiftedSumEt(), pat::MET::shiftedSumEt_74x(), AlignmentProducerBase::simpleMisalignment(), IdealResult::solve(), DTTracoChip::storeCorr(), DTTracoChip::storeUncorr(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), HeterogeneousHGCalHEFCellPositionsConditions::transfer_data_to_heterogeneous_pointers_(), HeterogeneousHGCalHEFConditionsWrapper::transfer_data_to_heterogeneous_pointers_params_(), BeamSpotAlignmentParameters::translation(), RigidBodyAlignmentParameters::translation(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), CSCTFEvent::unpack(), pat::PackedGenParticle::unpack(), pat::PackedCandidate::unpack(), LatencyHistosUsingDb::update(), Alignable::update(), Alignable::updateMother(), edm::LuminosityBlockID::value(), CastorCORData::wasMarkAndPassZS(), and HcalPulseShapes::Y11206().

◆ shutdown_flag

volatile std::atomic< bool > edm::shutdown_flag {false}