CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
edm Namespace Reference

HLT enums. More...

Namespaces

 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
 
 mpl
 
 multicore
 
 one
 
 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
 
 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  AssociationVector
 
class  AssociativeIterator
 
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
 
class  BunchCrossingFilter
 
class  CacheHandle
 
class  CallNTimesNoWait
 
class  CallOnceNoWait
 
class  CFWriter
 
struct  CheckAbility
 
struct  CheckAbility< ABILITY >
 
struct  CheckAbility< ABILITY, T, VArgs...>
 
class  ChildrenCPUTimer
 
struct  ClonePolicy
 
class  CloningPtr
 
class  CloseByParticleGunProducer
 
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  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  DescriptionFillerForEDLoopers
 
class  DescriptionFillerForESProducers
 
class  DescriptionFillerForESSources
 
class  DescriptionFillerForServices
 
struct  DetSet
 
class  DetSetRefVector
 
class  DetSetVector
 
class  DigiAccumulatorMixModFactory
 
struct  do_nothing_deleter
 
class  DocFormatHelper
 
struct  DoNotPostInsert
 
struct  DoNotRecordParents
 
struct  DoNotSortUponInsertion
 
struct  DoPostInsert
 
class  DummyProvenanceReader
 
class  DummyVT
 
class  DuplicateChecker
 
class  DuplicateTreeSentry
 
class  EarlyDeleteHelper
 
class  EcalNoiseStorage
 
class  EDAnalyzer
 
class  EDCollection
 
class  EDConsumerBase
 
class  EDConsumerBaseAdaptor
 
class  EDConsumerBaseESAdaptor
 
class  EDConsumerBaseWithTagESAdaptor
 
class  EDFilter
 
class  EDGetToken
 
class  EDGetTokenT
 
class  EDLooper
 
class  EDLooperBase
 
class  EDProducer
 
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  ESProducerLooper
 
class  ESProductHost
 
struct  ESProducts
 
class  ESProductTag
 
class  ESProxyFactoryProducer
 
class  ESProxyIndex
 
class  ESRecordAuxiliary
 
class  ESRecordIndex
 
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  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  FlatEGunASCIIWriter
 
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_key_compare
 
struct  has_key_compare< T, std::void_t< typename T::key_compare > >
 
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  HepMCProduct
 
class  HiMixingModule
 
class  HiMixingWorker
 
class  HiMixingWorkerBase
 
class  History
 
class  HistoryAppender
 
class  HLTGlobalStatus
 
class  HLTPathStatus
 
class  IDGeneratorSourceBase
 
class  IDVectorMap
 
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  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  MallocOptionSetter
 
struct  MallocOpts
 
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  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  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  ReusableObjectHolder
 
class  RootDebug
 
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
 
struct  RunSummaryCache
 
class  RunTransitionInfo
 
class  Schedule
 
class  ScheduleInfo
 
struct  ScheduleItems
 
class  SecondaryEventIDAndFileInfo
 
class  SecondaryEventProvider
 
class  SecSourceAnalyzer
 
class  SendEvent
 
class  SendJobHeader
 
class  SerialTaskQueue
 
class  SerialTaskQueueChain
 
class  Service
 
class  ServiceRegistry
 
class  ServiceToken
 
class  ServiceWeakToken
 
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
 
struct  StdPairHasher
 
class  StoredMergeableRunProductMetadata
 
class  StoredProcessBlockHelper
 
struct  StoredProductProvenance
 
struct  StreamCache
 
class  StreamContext
 
class  StreamedProduct
 
class  StreamerFileReader
 
class  StreamerFileWriter
 
class  StreamerInputFile
 
class  StreamerInputModule
 
class  StreamerInputSource
 
class  StreamerOutputModule
 
class  StreamerOutputModuleBase
 
class  StreamerOutputModuleCommon
 
class  StreamID
 
class  StreamSchedule
 
class  StreamSerializer
 
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  TestHandle
 
class  TestMix
 
class  TestMixedSource
 
class  TestSource
 
class  ThinnedAssociation
 
class  ThinnedAssociationBranches
 
class  ThinnedAssociationsHelper
 
class  ThinnedRefSet
 
class  ThinningProducer
 
class  ThreadSafeAddOnlyContainer
 
class  ThreadSafeOutputFileStream
 
class  ThreadsController
 
struct  ThreadsInfo
 
struct  TimeOfDay
 
class  TimeoutPoolOutputModule
 
class  Timestamp
 
class  TimingServiceBase
 
class  TRandomAdaptor
 
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  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  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_type
BranchIDList
 
typedef std::vector< BranchIDListBranchIDLists
 
typedef unsigned short BranchListIndex
 
typedef std::vector
< BranchListIndex
BranchListIndexes
 
typedef void(* CFUNC )(int, siginfo_t *, void *)
 
typedef std::vector
< CTPPSFastRecHit
CTPPSFastRecHitContainer
 
typedef std::vector
< CTPPSFastTrack
CTPPSFastTrackContainer
 
typedef DigiAccumulatorMixMod *( DAFunc )(ParameterSet const &, ProducesCollector, ConsumesCollector &)
 
typedef uint32_t det_id_type
 
typedef
edmplugin::PluginFactory
< DAFunc
DigiAccumulatorMixModPluginFactory
 
typedef std::list
< ELdestination * > 
ELlist_dest
 
typedef std::list< std::string > ELlist_string
 
typedef std::map< ELextendedID,
CountAndLimit
ELmap_counts
 
typedef std::map< std::string,
LimitAndTimespan
ELmap_limits
 
typedef std::map< ELextendedID,
StatsCount
ELmap_stats
 
typedef Hash
< EntryDescriptionType
EntryDescriptionID
 
using EntryDescriptionMap = std::map< EntryDescriptionID, EventEntryDescription >
 
using ESConsumesInfo = std::vector< ESConsumesInfoEntry >
 
typedef std::vector
< EventEntryInfo
EventEntryInfoVector
 
typedef unsigned long long EventNumber_t
 
typedef ParameterSetID EventSelectionID
 
typedef std::vector
< EventSelectionID
EventSelectionIDVector
 
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
< ISFunc
InputSourcePluginFactory
 
typedef InputSource *( ISFunc )(ParameterSet const &, InputSourceDescription const &)
 
typedef VectorInputSource *( ISVecFunc )(ParameterSet const &, VectorInputSourceDescription const &)
 
typedef std::vector
< LHCTransportLink
LHCTransportLinkContainer
 
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
< MaterialInformation
MaterialInformationContainer
 
typedef Hash
< ModuleDescriptionType
ModuleDescriptionID
 
using OptionalThinnedKey = std::variant< unsigned int, detail::GetThinnedKeyFromExceptionFactory, std::monostate >
 
typedef
edmplugin::PluginFactory
< ParameterSetDescriptionFillerBase
*(void)> 
ParameterSetDescriptionFillerPluginFactory
 
typedef Hash< ParameterSetTypeParameterSetID
 
typedef std::map
< ParameterSetID,
ParameterSetBlob
ParameterSetMap
 
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_heap
Place_for_passing_exception_ptr
 
typedef std::shared_ptr
< edm::Exception
Pointer_to_new_exception_on_heap
 
typedef Presence *( PresenceFunc )()
 
typedef
edmplugin::PluginFactory
< Presence *()> 
PresencePluginFactory
 
typedef Hash
< ProcessConfigurationType
ProcessConfigurationID
 
typedef std::vector
< ProcessConfiguration
ProcessConfigurationVector
 
typedef Hash< ProcessHistoryTypeProcessHistoryID
 
typedef std::map
< ProcessHistoryID,
ProcessHistory
ProcessHistoryMap
 
typedef std::vector
< ProcessHistory
ProcessHistoryVector
 
typedef unsigned short ProcessIndex
 
typedef std::string ProcessingTask
 
typedef unsigned short ProductIndex
 
typedef std::vector
< ProductProvenance
ProductProvenanceVector
 
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,
NumBranchTypes
SelectedProductsForBranchType
 
typedef std::vector
< BranchDescription
SendDescs
 
typedef std::vector
< StreamedProduct
SendProds
 
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
< StoredProductProvenance
StoredProductProvenanceVector
 
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
< ISVecFunc
VectorInputSourcePluginFactory
 
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  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_string = 'S',
  k_vstring = '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  StreamerCompressionAlgo { UNCOMPRESSED = 0, ZLIB = 1, LZMA = 2, ZSTD = 4 }
 
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)
 
 all_output_communicators_ ()
 
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)
 
template<class To , class From >
To bit_cast (const From &src) noexcept
 
 branchIDToIndex_ ()
 
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)
 
static void cleanup (const Factory::MakerMap::value_type &v)
 
void clearLoggedErrorsSummary (unsigned int iStreamID)
 
void clearMessageLog ()
 
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 const &)
 
bool decode (std::vector< bool > &, std::string const &)
 
bool decode (int &, std::string const &)
 
bool decode (std::vector< int > &, std::string const &)
 
bool decode (unsigned int &, std::string const &)
 
bool decode (std::vector< unsigned int > &, std::string const &)
 
bool decode (long long &, std::string const &)
 
bool decode (std::vector< long long > &, std::string const &)
 
bool decode (unsigned long long &, std::string const &)
 
bool decode (std::vector< unsigned long long > &, std::string const &)
 
bool decode (double &, std::string const &)
 
bool decode (std::vector< double > &, std::string const &)
 
bool decode (std::string &, std::string const &)
 
bool decode (std::vector< std::string > &, std::string const &)
 
bool decode (edm::FileInPath &, std::string const &)
 
bool decode (edm::InputTag &, std::string const &)
 
bool decode (std::vector< edm::InputTag > &, std::string const &)
 
bool decode (edm::ESInputTag &, std::string const &)
 
bool decode (std::vector< edm::ESInputTag > &, std::string const &)
 
bool decode (edm::EventID &, std::string const &)
 
bool decode (std::vector< edm::EventID > &, std::string const &)
 
bool decode (edm::LuminosityBlockID &, std::string const &)
 
bool decode (std::vector< edm::LuminosityBlockID > &, std::string const &)
 
bool decode (edm::LuminosityBlockRange &, std::string const &)
 
bool decode (std::vector< edm::LuminosityBlockRange > &, std::string const &)
 
bool decode (edm::EventRange &, std::string const &)
 
bool decode (std::vector< edm::EventRange > &, std::string const &)
 
bool decode (ParameterSet &, std::string const &)
 
bool decode (std::vector< ParameterSet > &, std::string const &)
 
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 doBuildRealData (const std::string &name)
 
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 &)
 
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 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 &, 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 ()
 
 for (const auto &name:names)
 
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 , typename R = typename eventsetup::data_default_record_trait<typename T::value_type>::type>
T const & get (EventSetup const &setup)
 
template<typename T >
T const & get (ProcessBlock const &processBlock, EDGetToken const &token)
 
template<typename T , typename R = typename eventsetup::data_default_record_trait<typename T::value_type>::type, typename L >
T const & get (EventSetup const &setup, L &&label)
 
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 ()
 
MallocOptionSettergetGlobalOptionSetter ()
 
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::ParameterSet
getPSetFromConfig (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 ()
 
TClass * getTClass (const std::type_info &ti)
 
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)
 
 hack ("ecal")
 
 hack ("hcal")
 
 hack ("strip")
 
 hack ("pixel")
 
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 isWarningEnabled ()
 
template<typename V , typename T >
bool iterateTrieLeaves (V &v, TrieNode< T > const &n, std::string const &label="")
 visits only leaf nodes More...
 
static const std::string kBaseType ("EDProducer")
 
static std::string const kBaseType ("Source")
 
static const std::string kBaseType ("EDFilter")
 
static const std::string kBaseType ("EDAnalyzer")
 
bool lessThan (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool lessThan (EventRange const &lh, EventRange const &rh)
 
bool lessThanSpecial (EventRange const &lh, EventRange const &rh)
 
bool loadCap (const std::string &name, std::vector< std::string > &missingDictionaries)
 
void loadExtraClasses ()
 
std::vector
< messagelogger::ErrorSummaryEntry
LoggedErrorsOnlySummary (unsigned int iStreamID)
 
std::vector
< messagelogger::ErrorSummaryEntry
LoggedErrorsSummary (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)
 
template<typename T >
std::shared_ptr
< ESHandleExceptionFactory
makeESHandleExceptionFactory (T &&iFunctor)
 
template<typename U >
auto makeESValid (const U &iOtherHandleType) noexcept(false)
 
template<typename T >
std::shared_ptr
< HandleExceptionFactory
makeHandleExceptionFactory (T &&iFunctor)
 
std::unique_ptr< InputSourcemakeInput (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)
 
static std::shared_ptr
< cms::Exception
makeNotFoundException (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)
 
 moduleRegistry_ (new ModuleRegistry())
 
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 ()
 
 nextIndexValues_ ()
 
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)
 
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)
 
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!= (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)
 
std::unique_ptr
< ParameterDescriptionNode
operator&& (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator&& (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator&& (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator&& (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
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 &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 &iOS, ESProxyIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &ost, const MallocOpts &)
 
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 &os, TypeID const &id)
 
std::ostream & operator<< (std::ostream &os, const RunAuxiliary &p)
 
std::ostream & operator<< (std::ostream &, ParentContext const &)
 
std::ostream & operator<< (std::ostream &os, const ProductSelector &gs)
 
std::ostream & operator<< (std::ostream &os, Parentage const &p)
 
std::ostream & operator<< (std::ostream &os, StableProvenance const &p)
 
std::ostream & operator<< (std::ostream &os, const LuminosityBlockAuxiliary &p)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockRange const &iID)
 
std::ostream & operator<< (std::ostream &oStream, EventRange const &iID)
 
std::ostream & operator<< (std::ostream &oStream, RunID const &iID)
 
std::ostream & operator<< (std::ostream &os, ProcessConfiguration const &pc)
 
std::ostream & operator<< (std::ostream &ost, InputTag const &tag)
 
std::ostream & operator<< (std::ostream &iOS, ESTokenIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &t, OStreamColumn const &c)
 
std::ostream & operator<< (std::ostream &, GlobalContext const &)
 
template<typename E >
std::ostream & operator<< (std::ostream &t, OStreamColumnEntry< E > const &ce)
 
std::ostream & operator<< (std::ostream &, StreamContext const &)
 
std::ostream & operator<< (std::ostream &os, ModuleDescription const &p)
 
std::ostream & operator<< (std::ostream &, ModuleCallingContext const &)
 
std::ostream & operator<< (std::ostream &os, ParameterSetEntry const &psetEntry)
 
std::ostream & operator<< (std::ostream &os, Provenance const &p)
 
std::ostream & operator<< (std::ostream &iOS, ESRecordIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &os, JobReport::RunReport const &f)
 
std::ostream & operator<< (std::ostream &os, const EventAuxiliary &p)
 
std::ostream & operator<< (std::ostream &ost, const HLTGlobalStatus &hlt)
 Formatted printout of trigger tbale. More...
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockID const &iID)
 
template<class T >
ErrorObjoperator<< (ErrorObj &e, const T &t)
 
ErrorObjoperator<< (ErrorObj &e, const char s[])
 
std::ostream & operator<< (std::ostream &oStream, EventID const &iID)
 
std::ostream & operator<< (std::ostream &, ESInputTag const &)
 
std::ostream & operator<< (std::ostream &ost, ProcessHistory const &ph)
 
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 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== (edm::FileInPath const &a, edm::FileInPath const &b)
 
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== (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<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
< ParameterDescriptionNode
operator^ (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator^ (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator^ (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator^ (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
< ParameterDescriptionNode
operator|| (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator|| (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator|| (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr
< ParameterDescriptionNode
operator|| (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) 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 > > (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, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (std::string const &name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string 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 > > (char const *name) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name, std::vector< EventRange > const &defaultValue) 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 > > (std::string const &name) 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, std::vector< int > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (char 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 > > (std::string const &name) 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) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (char const *name, std::vector< LuminosityBlockID > const &defaultValue) 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 > > (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< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (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< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (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 > > (char const *name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name) 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) 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 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 > > (std::string 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
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name) 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)
 
 preallocConfig_ (prealloc)
 
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)
 
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< TypeWithDict > &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::ParameterSet
readConfig (std::string const &config, int argc, char *argv[])
 same, but with arguments More...
 
std::unique_ptr
< edm::ParameterSet
readConfig (std::string const &config)
 
std::unique_ptr
< edm::ParameterSet
readPSetsFrom (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__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 const &string_to_split, char first, char sep, char last)
 
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)
 
template<class T , class P >
void swap (CloningPtr< T, P > &a, CloningPtr< T, P > &b)
 
void swap (Parentage &a, Parentage &b)
 
void swap (OrphanHandleBase &a, OrphanHandleBase &b)
 
void swap (ProductData &a, ProductData &b)
 
template<class T >
void swap (RefToBaseVector< T > &a, RefToBaseVector< T > &b)
 
void swap (TriggerResults &lhs, TriggerResults &rhs)
 
void swap (ESHandleBase &a, ESHandleBase &b)
 
void swap (HLTGlobalStatus &lhs, HLTGlobalStatus &rhs)
 Free swap function. More...
 
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)
 
void swap (HandleBase &a, HandleBase &b)
 
template<typename C >
void swap (Association< C > &lhs, Association< C > &rhs)
 
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 T >
void swap (edm::RefToBaseProd< T > const &lhs, edm::RefToBaseProd< T > const &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 (value_ptr< T > &vp1, value_ptr< T > &vp2)
 
template<typename C >
void swap (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
void swap (DataFrameContainer &lhs, DataFrameContainer &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 (IDVectorMap< ID, C, P > &a, IDVectorMap< ID, C, P > &b)
 
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 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)
 
template<typename T >
void swap (ValueMap< T > &lhs, ValueMap< T > &rhs)
 
void swap (ParameterSet &a, ParameterSet &b)
 
template<typename C >
void swap (MultiAssociation< C > &lhs, MultiAssociation< C > &rhs)
 
template<typename T , typename SORT >
void swap (SortedCollection< T, SORT > &a, SortedCollection< T, SORT > &b)
 
template<typename T >
void swap (View< T > &lhs, View< T > &rhs)
 
template<class T >
void swap (RefToBase< T > &a, RefToBase< T > &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)
 
pathNames_ & tns ()), endPathNames_(&tns.getEndPaths()), wantSummary_(tns.wantSummary()
 
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)
 
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 validateLooper (ParameterSet &pset)
 
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

 __pad0__
 
 actions
 
 areg
 
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}
 
MallocOptionSetter global_malloc_options
 
auto hack
 
EventNumber_t const invalidEventNumber = 0U
 
LuminosityBlockNumber_t const invalidLuminosityBlockNumber = 0U
 
RunNumber_t const invalidRunNumber = 0U
 
static unsigned long long constexpr kAveEventPerSec = 200ULL
 
static unsigned long long constexpr kNanoSecPerSec = 1000000000ULL
 
static const unsigned char MLSCRIBE_RUNNING_INDICATOR = 29
 
constexpr const char * module_type_desc []
 
std::vector< std::string > names = workers.getParameterNames()
 
constexpr unsigned int numberOfRunLumiEventProductTrees = 3
 
 prealloc
 
 preg
 
 processConfiguration
 
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_t
s_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}
 
const auto & workers = ps.getParameter<edm::ParameterSet>("workers")
 

Detailed Description

HLT enums.

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

Register the record.

classes declaration

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.

This module is an source module reading continously file as they are copied in the input directory. The processed file is moved to directoryt inprocessDir before being processed. Once it is processed it is moved to processedDir. To prevent processing files before their transfer is finished, it is waited than file size is stable during one second before the file is processed. This protection is obviously not full proof, especially to transfer lag.

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

edm::bit_cast bit_cast.h "FWCore/Utilities/interface/bit_cast.h"

Description: C++ 20 std::bit_cast stand-in

Usage: See documentation on std::bit_cast in C++ 20

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

StreamSerializer.cc

Utility class for serializing framework objects (e.g. ProductRegistry and Event) into streamer message objects.

jet parton energy corrections

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

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

Definition at line 105 of file SoATuple.h.

Definition at line 18 of file BranchIDList.h.

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

Definition at line 19 of file BranchIDList.h.

typedef unsigned short edm::BranchListIndex

Definition at line 17 of file BranchListIndex.h.

Definition at line 18 of file BranchListIndex.h.

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

Definition at line 20 of file UnixSignalHandlers.h.

Definition at line 13 of file CTPPSFastRecHitContainer.h.

Definition at line 11 of file CTPPSFastTrackContainer.h.

Definition at line 12 of file DigiAccumulatorMixModFactory.h.

typedef uint32_t edm::det_id_type

Definition at line 20 of file DetSet.h.

Definition at line 13 of file DigiAccumulatorMixModFactory.h.

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

Definition at line 30 of file ELlist.h.

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

Definition at line 33 of file ELlist.h.

Definition at line 86 of file ELmap.h.

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

Definition at line 84 of file ELmap.h.

Definition at line 88 of file ELmap.h.

Definition at line 8 of file EntryDescriptionID.h.

Definition at line 62 of file RootFile.h.

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

Definition at line 59 of file ESConsumesCollector.h.

Definition at line 50 of file EventEntryInfo.h.

typedef unsigned long long edm::EventNumber_t

Definition at line 12 of file RunLumiEventNumber.h.

Definition at line 15 of file EventSelectionID.h.

Definition at line 16 of file EventSelectionID.h.

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

Definition at line 30 of file FillViewHelperVector.h.

Definition at line 125 of file FWGenericHandle.h.

Definition at line 121 of file GenericHandle.h.

typedef long long int edm::HRTimeDiffType

Definition at line 87 of file HRRealTime.h.

typedef unsigned long long int edm::HRTimeType

Definition at line 88 of file HRRealTime.h.

Definition at line 14 of file InputSourceFactory.h.

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

Definition at line 12 of file InputSourceFactory.h.

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

Definition at line 14 of file VectorInputSourceFactory.h.

Definition at line 8 of file LHCTransportLinkContainer.h.

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

Definition at line 134 of file MessageLogger.h.

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

Definition at line 123 of file MessageLogger.h.

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

Definition at line 126 of file MessageLogger.h.

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

Definition at line 129 of file MessageLogger.h.

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

Definition at line 133 of file MessageLogger.h.

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

Definition at line 125 of file MessageLogger.h.

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

Definition at line 130 of file MessageLogger.h.

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

Definition at line 131 of file MessageLogger.h.

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

Definition at line 124 of file MessageLogger.h.

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

Definition at line 128 of file MessageLogger.h.

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

Definition at line 122 of file MessageLogger.h.

Definition at line 43 of file RunLumiEntryInfo.h.

typedef unsigned int edm::LuminosityBlockNumber_t

Definition at line 13 of file RunLumiEventNumber.h.

Definition at line 9 of file MakerPluginFactory.h.

Definition at line 48 of file MaterialInformation.h.

Definition at line 62 of file classes.h.

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

Definition at line 39 of file EDProductGetter.h.

Definition at line 30 of file ParameterSetDescriptionFillerPluginFactory.h.

Definition at line 21 of file ParameterSetID.h.

Definition at line 39 of file ParameterSetConverter.h.

Definition at line 8 of file ParentageID.h.

typedef std::string edm::PassID

Definition at line 7 of file PassID.h.

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

Definition at line 100 of file PassiveHit.h.

using edm::PathStatus = typedef HLTPathStatus

Definition at line 7 of file PathStatus.h.

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

Definition at line 8 of file PCaloHitContainer.h.

Definition at line 13 of file ConfigurationHandshake.h.

Definition at line 10 of file ConfigurationHandshake.h.

typedef Presence*( edm::PresenceFunc)()

Definition at line 13 of file PresenceFactory.h.

Definition at line 11 of file PresenceFactory.h.

Definition at line 8 of file ProcessConfigurationID.h.

Definition at line 62 of file ProcessConfiguration.h.

Definition at line 8 of file ProcessHistoryID.h.

Definition at line 15 of file ProcessHistoryRegistry.h.

Definition at line 16 of file ProcessHistoryRegistry.h.

typedef unsigned short edm::ProcessIndex

Definition at line 25 of file ProductID.h.

typedef std::string edm::ProcessingTask

Definition at line 7 of file ProcessingTask.h.

typedef unsigned short edm::ProductIndex

Definition at line 26 of file ProductID.h.

Definition at line 60 of file ProductProvenance.h.

typedef unsigned int edm::ProductResolverIndex

Definition at line 8 of file ProductResolverIndex.h.

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

Definition at line 11 of file PSimHitContainer.h.

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

Definition at line 28 of file ESProxyFactoryProducer.cc.

typedef std::string edm::ReleaseVersion

Definition at line 6 of file ReleaseVersion.h.

Definition at line 44 of file RunLumiEntryInfo.h.

typedef unsigned int edm::RunNumber_t

Definition at line 14 of file RunLumiEventNumber.h.

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

Definition at line 11 of file SelectedProducts.h.

Definition at line 13 of file SelectedProducts.h.

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

Definition at line 100 of file StreamedProducts.h.

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

Definition at line 67 of file StreamedProducts.h.

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

Definition at line 12 of file SimTrackContainer.h.

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

Definition at line 12 of file SimVertexContainer.h.

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

Definition at line 13 of file SimVertexContainer.h.

Definition at line 14 of file SimVertexContainer.h.

Definition at line 15 of file SimVertexContainer.h.

Definition at line 34 of file StoredProductProvenance.h.

using edm::Strings = typedef EventSelector::Strings

Definition at line 47 of file EventSelector.cc.

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

Definition at line 16 of file ParameterSetConverter.h.

typedef unsigned long long edm::TimeValue_t

Definition at line 28 of file Timestamp.h.

Definition at line 16 of file StreamerOutputModuleBase.h.

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

Definition at line 16 of file ProductSelector.cc.

Definition at line 15 of file VectorInputSourceFactory.h.

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

Definition at line 34 of file ParameterSet.h.

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

Definition at line 667 of file Schedule.cc.

Enumeration Type Documentation

Enumerator
BranchActionGlobalBegin 
BranchActionStreamBegin 
BranchActionStreamEnd 
BranchActionGlobalEnd 
BranchActionProcessBlockInput 

Definition at line 11 of file BranchActionType.h.

Enumerator
InEvent 
InLumi 
InRun 
InProcess 
NumBranchTypes 

Definition at line 11 of file BranchType.h.

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

Definition at line 8 of file EDMModuleType.h.

Enumerator
ModuleDescriptionType 
ParameterSetType 
ProcessHistoryType 
ProcessConfigurationType 
EntryDescriptionType 
ParentageType 

Definition at line 8 of file HashedTypes.h.

enum edm::InputType
strong
Enumerator
Primary 
SecondaryFile 
SecondarySource 

Definition at line 5 of file InputType.h.

Enumerator
GridJobMode 
ReleaseValidationJobMode 
AnalysisJobMode 
NilJobMode 

Definition at line 15 of file JobMode.h.

Enumerator
PRODUCT_TYPE 
ELEMENT_TYPE 

Definition at line 5 of file ProductKindOfType.h.

Enumerator
k_int32 
k_vint32 
k_uint32 
k_vuint32 
k_int64 
k_vint64 
k_uint64 
k_vuint64 
k_double 
k_vdouble 
k_bool 
k_string 
k_vstring 
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 33 of file ParameterDescriptionNode.h.

33  {
34  k_int32 = 'I',
35  k_vint32 = 'i',
36  k_uint32 = 'U',
37  k_vuint32 = 'u',
38  k_int64 = 'L',
39  k_vint64 = 'l',
40  k_uint64 = 'X',
41  k_vuint64 = 'x',
42  k_double = 'D',
43  k_vdouble = 'd',
44  k_bool = 'B',
45  k_string = 'S',
46  k_vstring = 's',
47  k_EventID = 'E',
48  k_VEventID = 'e',
49  k_LuminosityBlockID = 'M',
51  k_InputTag = 't',
52  k_VInputTag = 'v',
53  k_ESInputTag = 'g',
54  k_VESInputTag = 'G',
55  k_FileInPath = 'F',
58  k_EventRange = 'R',
59  k_VEventRange = 'r',
60  k_PSet = 'Q',
61  k_VPSet = 'q'
62  };
Enumerator
ProductResolverIndexValuesBit 
ProductResolverIndexInvalid 
ProductResolverIndexInitializing 
ProductResolverIndexAmbiguous 

Definition at line 10 of file ProductResolverIndex.h.

Enumerator
UNCOMPRESSED 
ZLIB 
LZMA 
ZSTD 

Definition at line 66 of file StreamSerializer.h.

Enumerator
throwOnInvalidParentRef 
ignoreInvalidParentRef 

Definition at line 54 of file ThinnedRefSet.h.

enum edm::Transition
strong
Enumerator
Event 
BeginLuminosityBlock 
EndLuminosityBlock 
BeginRun 
EndRun 
BeginProcessBlock 
EndProcessBlock 
AccessInputProcessBlock 
NumberOfTransitions 
NumberOfEventSetupTransitions 

Definition at line 12 of file Transition.h.

Enumerator
RequireZeroOrMore 
RequireAtLeastOne 
RequireExactlyOne 

Definition at line 17 of file ParameterWildcardBase.h.

Function Documentation

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

Definition at line 11 of file ExceptionHelpers.cc.

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

Referenced by callWithTryCatchAndPrint(), edm::StreamSchedule::finishProcessOneEvent(), edm::GlobalSchedule::processOneGlobalAsync(), and edm::StreamSchedule::processOneStreamAsync().

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(true);
24  }
25  }
void setAlreadyPrinted(bool value)
Definition: Exception.cc:179
void printCmsException(cms::Exception &e, edm::JobReport *jobRep=nullptr, int rc=-1)
void addContext(std::string const &context)
Definition: Exception.cc:165
int returnCode() const
Definition: Exception.cc:151
void edm::addToMissingDictionariesException ( edm::Exception exception,
std::vector< std::string > &  missingDictionaries,
std::string const &  context 
)

Definition at line 167 of file DictionaryTools.cc.

References cms::Exception::addContext(), B2GTnPMonitor_cfi::item, and tier0::unique().

Referenced by throwMissingDictionariesException().

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

Referenced by tns().

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  }
static std::string edm::appendCurrentProcessIfAlias ( std::string const &  processFromInputTag,
std::string const &  currentProcess 
)
static

Definition at line 36 of file Principal.cc.

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

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

37  {
38  if (processFromInputTag == InputTag::kCurrentProcess) {
39  std::string returnValue = processFromInputTag;
40  returnValue += " (";
41  returnValue += currentProcess;
42  returnValue += ")";
43  return returnValue;
44  }
45  return processFromInputTag;
46  }
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 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
Definition: eostools.py:511
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  }
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 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
def move
Definition: eostools.py:511
void subProcessDoStreamBeginTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LumiTransitionInfo const &iTransitionInfo)
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 ztail::d.

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  }
tuple d
Definition: ztail.py:151
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 ztail::d, and AlCaHLTBitMon_ParallelJobs::p.

63  {
64  return std::binary_search(s.begin(), s.end(), d, p);
65  }
tuple d
Definition: ztail.py:151
template<class To , class From >
To edm::bit_cast ( const From &  src)
inlinenoexcept
edm::branchIDToIndex_ ( )

Definition at line 43 of file ProductRegistry.cc.

Referenced by edm::ProductRegistry::Transients::reset().

43  {
44  for (bool& isProduced : productProduced_)
45  isProduced = false;
46  }
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)
std::string const & edm::BranchTypeToAuxiliaryBranchName ( BranchType const &  branchType)
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)
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)
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)
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)
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)
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)
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 FSQHLTOfflineSource_cfi::processName.

100  {
101  assert(branchType == InProcess);
102  return branchTypeNames[InProcess] + "s" + processName;
103  }
assert(be >=bs)
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]; }
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())
template<typename T >
static void edm::check ( T const &  p,
std::string const &  id,
SelectedProducts const &  iProducts,
bool  iVerbose 
)
static

Definition at line 84 of file GetProductCheckerOutputModule.cc.

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

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

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

Definition at line 102 of file DictionaryTools.cc.

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

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

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

Definition at line 139 of file DictionaryTools.cc.

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

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

Definition at line 67 of file DictionaryTools.cc.

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

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

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

Definition at line 92 of file DictionaryTools.cc.

References edm::TypeWithDict::invalidTypeInfo().

94  {
95  if (!bool(typeWithDict) || typeWithDict.invalidTypeInfo()) {
96  missingDictionaries.emplace_back(name);
97  return false;
98  }
99  return true;
100  }
bool edm::checkDictionaryOfWrappedType ( std::vector< std::string > &  missingDictionaries,
TypeID const &  unwrappedTypeID 
)

Definition at line 80 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().

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

Definition at line 86 of file DictionaryTools.cc.

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

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

Definition at line 332 of file PathsAndConsumesOfModules.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), cms::cuda::assert(), submitPVResolutionJobs::count, symbols::deps, getPayloadData::description, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, spr::find(), newFWLiteAna::found, mps_fire::i, gpuClustering::id, dqmiolumiharvest::j, kInvalidIndex, lastIndex, SiStripPI::max, mod(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), eostools::move(), hltrates_dqm_sourceclient-live_cfg::offset, operator==(), AlCaHLTBitMon_ParallelJobs::p, EgammaValidation_cff::pathName, edm::PathsAndConsumesOfModulesBase::paths(), mergeAndRegister::paths, alignCSCRings::s, edm::errors::ScheduleExecutionFailure, second(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.

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

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

Definition at line 340 of file BranchDescription.cc.

References edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::BranchDescription::friendlyClassName(), edm::BranchDescription::fullClassName(), edm::BranchDescription::moduleLabel(), edm::BranchDescription::processName(), and edm::BranchDescription::productInstanceName().

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

340  {
341  return (a.branchType() == b.branchType()) && (a.processName() == b.processName()) &&
342  (a.fullClassName() == b.fullClassName()) && (a.friendlyClassName() == b.friendlyClassName()) &&
343  (a.productInstanceName() == b.productInstanceName()) && (a.moduleLabel() == b.moduleLabel()) &&
344  (a.branchID() == b.branchID());
345  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename C , typename K >
bool edm::compare_key ( K const &  lhs,
K const &  rhs 
)

Definition at line 130 of file Ref.h.

130  {
131  if constexpr (has_key_compare<C>::value) {
132  using comparison_functor = typename C::key_compare;
133  return comparison_functor()(lhs, rhs);
134  } else {
135  return lhs < rhs;
136  }
137  }
bool edm::contains ( EventRange const &  lh,
EventID const &  rh 
)
bool edm::contains ( LuminosityBlockRange const &  lh,
LuminosityBlockID const &  rh 
)

Definition at line 48 of file LuminosityBlockRange.cc.

References edm::LuminosityBlockRange::endLumiID(), and edm::LuminosityBlockRange::startLumiID().

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

Definition at line 55 of file LuminosityBlockRange.cc.

References contains(), edm::LuminosityBlockRange::endLumiID(), 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:20
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(), 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:20
assert(be >=bs)
bool edm::contains_ ( EventRange const &  lh,
EventID const &  rh 
)

Definition at line 44 of file EventRange.cc.

References edm::EventRange::endEventID(), and edm::EventRange::startEventID().

Referenced by contains().

44 { return (rh >= lh.startEventID() && rh <= lh.endEventID()); }
bool int lh
Definition: SIMDVec.h:20
template<class FwdIter >
FwdIter edm::contextual_find ( FwdIter  b,
FwdIter  e,
char  first,
char  sep,
char  last 
)

Definition at line 36 of file split.h.

References b, and alignCSCRings::e.

Referenced by split().

36  {
37  for (int nested = 0; b != e; ++b) {
38  if (*b == first)
39  ++nested;
40  else if (*b == last)
41  --nested;
42  else if (*b == sep && nested == 0)
43  return b;
44  }
45 
46  return e;
47 
48 } // contextual_find()
double b
Definition: hdecay.h:118
tuple last
Definition: dqmdumpme.py:56
template<class FwdIter >
FwdIter edm::contextual_find_not ( FwdIter  b,
FwdIter  e,
char  first,
char  sep,
char  last 
)

Definition at line 54 of file split.h.

References b, and alignCSCRings::e.

Referenced by split().

54  {
55  for (; b != e; ++b) {
56  if (*b != sep)
57  return b;
58  }
59 
60  return e;
61 
62 } // contextual_find_not()
double b
Definition: hdecay.h:118
void edm::conversion ( LuminosityBlockAux const &  from,
LuminosityBlockAuxiliary &  to 
)

Definition at line 11 of file LuminosityBlockAux.cc.

References edm::LuminosityBlockAuxiliary::beginTime_, edm::LuminosityBlockAuxiliary::endTime_, edm::LuminosityBlockAux::id_, edm::LuminosityBlockAuxiliary::id_, edm::Timestamp::invalidTimestamp(), edm::LuminosityBlockAux::processHistoryID_, edm::LuminosityBlockAuxiliary::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  }
void edm::conversion ( RunAux const &  from,
RunAuxiliary &  to 
)

Definition at line 11 of file RunAux.cc.

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

11  {
12  to.processHistoryID_ = from.processHistoryID_;
13  to.id_ = RunID(from.id_);
14  to.beginTime_ = to.endTime_ = Timestamp::invalidTimestamp();
15  }
void edm::conversion ( EventAux const &  from,
EventAuxiliary &  to 
)
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(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, Exception, edm::BasicHandle::failedToGet(), edm::ObjectWithDict::get(), h, edm::BasicHandle::id(), edm::errors::InvalidReference, edm::errors::LogicError, edm::TypeWithDict::name(), edm::BasicHandle::provenance(), edm::Handle< FWGenericObject >::setWhyFailed(), edm::Handle< FWGenericObject >::type(), 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
template<typename T >
Handle<T> edm::convert_handle ( BasicHandle &&  bh)
noexcept

Definition at line 22 of file ConvertHandle.h.

References runTheMatrix::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  }
def move
Definition: eostools.py:511
#define UNLIKELY(x)
Definition: Likely.h:21
std::shared_ptr< edm::HandleExceptionFactory const > makeInvalidReferenceException()
static HepMC::HEPEVT_Wrapper wrapper
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, edm::ObjectWithDict::get(), h, edm::errors::InvalidReference, edm::errors::LogicError, edm::TypeWithDict::name(), edm::Handle< GenericObject >::setWhyFailedFactory(), edm::Handle< GenericObject >::type(), 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
template<typename T >
Handle<T> edm::convert_handle_check_type ( BasicHandle &&  bh)

Definition at line 36 of file ConvertHandle.h.

References runTheMatrix::const, edm::handleimpl::makeInvalidReferenceException(), eostools::move(), edm::Wrapper< T >::product(), 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)
def move
Definition: eostools.py:511
#define UNLIKELY(x)
Definition: Likely.h:21
long double T
std::shared_ptr< edm::HandleExceptionFactory const > makeInvalidReferenceException()
static HepMC::HEPEVT_Wrapper wrapper
constexpr BranchType edm::convertToBranchType ( Transition  iValue)

Definition at line 26 of file Transition.h.

References InEvent, InLumi, InProcess, and InRun.

Referenced by edm::ProductRegistryHelper::addToRegistry(), and edm::ProducerBase::resolvePutIndicies().

26  {
27  constexpr BranchType branches[] = {InEvent, InLumi, InLumi, InRun, InRun, InProcess, InProcess};
28  return branches[static_cast<std::underlying_type<Transition>::type>(iValue)];
29  }
BranchType
Definition: BranchType.h:11
constexpr Transition edm::convertToTransition ( BranchType  iValue)

Definition at line 31 of file Transition.h.

References BeginLuminosityBlock, BeginProcessBlock, BeginRun, and Event.

Referenced by edm::ProductRegistryHelper::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
template<typename ForwardSequence , typename Func >
Func edm::copy_all ( ForwardSequence &  s,
Func  f 
)
inline
std::string edm::createGlobalIdentifier ( bool  binary = false)
bool edm::decode ( bool &  to,
std::string const &  from 
)

Definition at line 71 of file types.cc.

Referenced by BeautifulSoup.NavigableString::__unicode__(), compareDQMOutput::compare(), decode(), 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(), validateAlignments::main(), uploadConditions::re_upload(), o2oRun_SiStripDAQ::run(), edm::Entry::validate(), and mps_fire::write_HTCondor_submit_file_pede().

71  {
72  if (from == "true") {
73  to = true;
74  return true;
75  } else if (from == "false") {
76  to = false;
77  return true;
78  } else {
79  return false;
80  }
81 } // decode to bool
bool edm::decode ( std::vector< bool > &  to,
std::string const &  from 
)

Definition at line 94 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

94  {
95  std::vector<std::string> temp;
96  if (!split(std::back_inserter(temp), from, '{', ',', '}')) {
97  return false;
98  }
99 
100  to.clear();
101  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
102  bool val = false;
103  if (!decode(val, *b)) {
104  return false;
105  }
106  to.push_back(val);
107  }
108  return true;
109 } // decode to vector<bool>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( int &  to,
std::string const &  from 
)

Definition at line 134 of file types.cc.

References b, alignCSCRings::e, and jetcorrextractor::sign().

134  {
135  std::string::const_iterator b = from.begin(), e = from.end();
136 
137  if (*b != '+' && *b != '-') {
138  return false;
139  }
140  int sign = (*b == '+') ? +1 : -1;
141 
142  to = 0;
143  while (++b != e) {
144  if (!std::isdigit(*b)) {
145  return false;
146  }
147  to = 10 * to + (*b - '0');
148  }
149  to *= sign;
150 
151  return true;
152 } // decode to int
double sign(double x)
double b
Definition: hdecay.h:118
bool edm::decode ( std::vector< int > &  to,
std::string const &  from 
)

Definition at line 217 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

217  {
218  std::vector<std::string> temp;
219  if (!split(std::back_inserter(temp), from, '{', ',', '}')) {
220  return false;
221  }
222 
223  to.clear();
224  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
225  int val = 0;
226  if (!decode(val, *b)) {
227  return false;
228  }
229  to.push_back(val);
230  }
231 
232  return true;
233 } // decode to vector<int>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( unsigned int &  to,
std::string const &  from 
)

Definition at line 301 of file types.cc.

References b, and alignCSCRings::e.

301  {
302  std::string::const_iterator b = from.begin(), e = from.end();
303 
304  to = 0u;
305  for (; b != e; ++b) {
306  if (*b == 'u' || *b == 'U') {
307  return true;
308  }
309  if (!std::isdigit(*b)) {
310  return false;
311  }
312  to = 10u * to + (*b - '0');
313  }
314  return true;
315 } // decode to unsigned
double b
Definition: hdecay.h:118
bool edm::decode ( std::vector< unsigned int > &  to,
std::string const &  from 
)

Definition at line 364 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

364  {
365  std::vector<std::string> temp;
366  if (!split(std::back_inserter(temp), from, '{', ',', '}')) {
367  return false;
368  }
369  to.clear();
370  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
371  unsigned int val = 0;
372  if (!decode(val, *b)) {
373  return false;
374  }
375  to.push_back(val);
376  }
377 
378  return true;
379 } // decode to vector<unsigned int>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( long long &  to,
std::string const &  from 
)

Definition at line 175 of file types.cc.

References b, alignCSCRings::e, and jetcorrextractor::sign().

175  {
176  std::string::const_iterator b = from.begin(), e = from.end();
177 
178  if (*b != '+' && *b != '-') {
179  return false;
180  }
181  int sign = (*b == '+') ? +1 : -1;
182 
183  to = 0;
184  while (++b != e) {
185  if (!std::isdigit(*b)) {
186  return false;
187  }
188  to = 10 * to + (*b - '0');
189  }
190  to *= sign;
191 
192  return true;
193 } // decode to int
double sign(double x)
double b
Definition: hdecay.h:118
bool edm::decode ( std::vector< long long > &  to,
std::string const &  from 
)

Definition at line 260 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

260  {
261  std::vector<std::string> temp;
262  if (!split(std::back_inserter(temp), from, '{', ',', '}')) {
263  return false;
264  }
265 
266  to.clear();
267  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
268  long long val = 0LL;
269  if (!decode(val, *b)) {
270  return false;
271  }
272  to.push_back(val);
273  }
274 
275  return true;
276 } // decode to vector<int>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( unsigned long long &  to,
std::string const &  from 
)

Definition at line 333 of file types.cc.

References b, and alignCSCRings::e.

333  {
334  std::string::const_iterator b = from.begin(), e = from.end();
335  to = 0u;
336  for (; b != e; ++b) {
337  if (*b == 'u' || *b == 'U') {
338  return true;
339  }
340  if (!std::isdigit(*b)) {
341  return false;
342  }
343  to = 10u * to + (*b - '0');
344  }
345  return true;
346 } // decode to unsigned
double b
Definition: hdecay.h:118
bool edm::decode ( std::vector< unsigned long long > &  to,
std::string const &  from 
)

Definition at line 405 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

405  {
406  std::vector<std::string> temp;
407  if (!split(std::back_inserter(temp), from, '{', ',', '}')) {
408  return false;
409  }
410  to.clear();
411  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
412  unsigned long long val = 0ULL;
413  if (!decode(val, *b)) {
414  return false;
415  }
416  to.push_back(val);
417  }
418 
419  return true;
420 } // decode to vector<unsigned int>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( double &  to,
std::string const &  from 
)

Definition at line 447 of file types.cc.

References cppFunctionSkipper::exception, infinity, and SiStripPI::max.

447  {
448  if (from == "NaN") {
449  to = std::numeric_limits<double>::quiet_NaN();
450  } else if (from == "+inf" || from == "inf") {
451  to = std::numeric_limits<double>::has_infinity ? std::numeric_limits<double>::infinity()
452  : std::numeric_limits<double>::max();
453  } else if (from == "-inf") {
454  to = std::numeric_limits<double>::has_infinity ? -std::numeric_limits<double>::infinity()
455  : -std::numeric_limits<double>::max();
456  }
457 
458  else {
459  try {
460  // std::cerr << "from:" << from << std::endl;
461  to = std::stod(from);
462  // std::cerr << "to:" << to << std::endl;
463  } catch (const std::exception&) {
464  return false;
465  }
466  }
467  return true;
468 }
const double infinity
bool edm::decode ( std::vector< double > &  to,
std::string const &  from 
)

Definition at line 486 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

486  {
487  std::vector<std::string> temp;
488  if (!split(std::back_inserter(temp), from, '{', ',', '}'))
489  return false;
490 
491  to.clear();
492  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
493  double val;
494  if (!decode(val, *b))
495  return false;
496  to.push_back(val);
497  }
498 
499  return true;
500 } // decode to vector<double>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( std::string &  to,
std::string const &  from 
)

Definition at line 525 of file types.cc.

References b, c, alignCSCRings::e, and from_hex().

525  {
526  /*std::cerr << "Decoding: " << from << '\n'; //DEBUG*/
527  std::string::const_iterator b = from.begin(), e = from.end();
528 
529  to = "";
530  to.reserve((e - b) / 2);
531  char c = '\0';
532  for (bool even_pos = true; b != e; ++b, even_pos = !even_pos) {
533  if (even_pos) {
534  /*std::cerr << "Even: |"
535  << *b
536  << "| giving "
537  << from_hex(*b)
538  << "\n"; //DEBUG*/
539  c = static_cast<char>(from_hex(*b));
540  } else {
541  /*std::cerr << "Odd: |"
542  << *b
543  << "| giving "
544  << from_hex(*b)
545  << "\n"; //DEBUG*/
546  c = static_cast<char>(c * 16 + from_hex(*b));
547  // if(std::isalnum(c)) {
548  /*std::cerr << "Ans: |" << c << "|\n"; //DEBUG*/
549  to += c;
550  //}
551  //else { // keep all special chars encoded
552  //to += "\\x";
553  //to += to_hex_rep(c);
554  //}
555  }
556  }
557  /*std::cerr << "Decoded: " << to << '\n'; //DEBUG*/
558  return true;
559 } // decode to String
const edm::EventSetup & c
static unsigned int from_hex(char c)
Definition: types.cc:30
double b
Definition: hdecay.h:118
bool edm::decode ( std::vector< std::string > &  to,
std::string const &  from 
)

Definition at line 1018 of file types.cc.

References b, decode(), alignCSCRings::e, split(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

1018  {
1019  std::vector<std::string> temp;
1020  if (!split(std::back_inserter(temp), from, '{', ',', '}'))
1021  return false;
1022 
1023  to.clear();
1024  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
1025  std::string val;
1026  // treat blank string specially
1027  if (*b == "XXX") {
1028  val = "";
1029  } else if (!decode(val, *b)) {
1030  return false;
1031  }
1032  to.push_back(val);
1033  }
1034 
1035  return true;
1036 } // decode to vector<string>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
bool edm::decode ( edm::FileInPath to,
std::string const &  from 
)

Definition at line 565 of file types.cc.

References edm::FileInPath::readFromParameterSetBlob(), and groupFilesInBlocks::temp.

565  {
566  std::istringstream is(from);
568  temp.readFromParameterSetBlob(is);
569  if (!is)
570  return false;
571  to = temp;
572  return true;
573 } // decode to FileInPath
void readFromParameterSetBlob(std::istream &is)
Definition: FileInPath.cc:273
bool edm::decode ( edm::InputTag to,
std::string const &  from 
)

Definition at line 588 of file types.cc.

References HLT_FULL_cff::InputTag.

588  {
589  to = InputTag(from);
590  return true;
591 } // decode to InputTag
bool edm::decode ( std::vector< edm::InputTag > &  to,
std::string const &  from 
)

Definition at line 602 of file types.cc.

References decode(), and HLT_FULL_cff::InputTag.

602  {
603  std::vector<std::string> strings;
604  decode(strings, from);
605 
606  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
607  stringItr != stringItrEnd;
608  ++stringItr) {
609  to.push_back(InputTag(*stringItr));
610  }
611  return true;
612 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:71
bool edm::decode ( edm::ESInputTag to,
std::string const &  from 
)

Definition at line 628 of file types.cc.

628  {
629  if (not from.empty() and std::string::npos == from.find(':')) {
630  to = ESInputTag(from, "");
631  } else {
632  to = ESInputTag(from);
633  }
634  return true;
635 } // decode to InputTag
bool edm::decode ( std::vector< edm::ESInputTag > &  to,
std::string const &  from 
)

Definition at line 649 of file types.cc.

References decode().

649  {
650  std::vector<std::string> strings;
651  decode(strings, from);
652 
653  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
654  stringItr != stringItrEnd;
655  ++stringItr) {
656  to.push_back(ESInputTag(*stringItr));
657  }
658  return true;
659 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:71
bool edm::decode ( edm::EventID to,
std::string const &  from 
)

Definition at line 675 of file types.cc.

References cms::cuda::assert(), edmPickEvents::event, dqmdumpme::lumi, submitPVValidationJobs::run, and tokenize().

675  {
676  std::vector<std::string> tokens = edm::tokenize(from, ":");
677  assert(tokens.size() == 2 || tokens.size() == 3);
678  unsigned int run = strtoul(tokens[0].c_str(), nullptr, 0);
679  unsigned int lumi = (tokens.size() == 2 ? 0 : strtoul(tokens[1].c_str(), nullptr, 0));
680  unsigned long long event = strtoull(tokens[tokens.size() - 1].c_str(), nullptr, 0);
681  to = edm::EventID(run, lumi, event);
682 
683  return true;
684 } // decode to EventID
assert(be >=bs)
list lumi
Definition: dqmdumpme.py:53
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 edm::decode ( std::vector< edm::EventID > &  to,
std::string const &  from 
)

Definition at line 701 of file types.cc.

References decode().

701  {
702  std::vector<std::string> strings;
703  decode(strings, from);
704 
705  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
706  stringItr != stringItrEnd;
707  ++stringItr) {
708  edm::EventID eventID;
709  decode(eventID, *stringItr);
710  to.push_back(eventID);
711  }
712  return true;
713 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:71
bool edm::decode ( edm::LuminosityBlockID to,
std::string const &  from 
)

Definition at line 731 of file types.cc.

References cms::cuda::assert(), dqmdumpme::lumi, submitPVValidationJobs::run, and tokenize().

731  {
732  std::vector<std::string> tokens = edm::tokenize(from, ":");
733  assert(tokens.size() == 2);
734  unsigned int run = strtoul(tokens[0].c_str(), nullptr, 0);
735  unsigned int lumi = strtoul(tokens[1].c_str(), nullptr, 0);
736  to = edm::LuminosityBlockID(run, lumi);
737  return true;
738 } // decode to LuminosityBlockID
assert(be >=bs)
list lumi
Definition: dqmdumpme.py:53
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 edm::decode ( std::vector< edm::LuminosityBlockID > &  to,
std::string const &  from 
)

Definition at line 751 of file types.cc.

References decode().

751  {
752  std::vector<std::string> strings;
753  decode(strings, from);
754 
755  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
756  stringItr != stringItrEnd;
757  ++stringItr) {
758  edm::LuminosityBlockID lumiID;
759  decode(lumiID, *stringItr);
760  to.push_back(lumiID);
761  }
762  return true;
763 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:71
bool edm::decode ( edm::LuminosityBlockRange to,
std::string const &  from 
)

Definition at line 782 of file types.cc.

References cms::cuda::assert(), SplitLinear::begin, decode(), dataset::end, edm::LuminosityBlockID::luminosityBlock(), edm::LuminosityBlockID::run(), and tokenize().

782  {
783  std::vector<std::string> tokens = edm::tokenize(from, "-");
784  assert(tokens.size() == 2);
787  edm::decode(begin, tokens[0]);
788  edm::decode(end, tokens[1]);
789  to = edm::LuminosityBlockRange(begin.run(), begin.luminosityBlock(), end.run(), end.luminosityBlock());
790  return true;
791 } // decode to LuminosityBlockRange
assert(be >=bs)
RunNumber_t run() const
bool decode(bool &, std::string const &)
Definition: types.cc:71
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
LuminosityBlockNumber_t luminosityBlock() const
string end
Definition: dataset.py:937
bool edm::decode ( std::vector< edm::LuminosityBlockRange > &  to,
std::string const &  from 
)

Definition at line 804 of file types.cc.

References decode(), and BeamSpotPI::lumiRange.

804  {
805  std::vector<std::string> strings;
806  decode(strings, from);
807 
808  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
809  stringItr != stringItrEnd;
810  ++stringItr) {
812  decode(lumiRange, *stringItr);
813  to.push_back(lumiRange);
814  }
815  return true;
816 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:71
bool edm::decode ( edm::EventRange to,
std::string const &  from 
)

Definition at line 835 of file types.cc.

References cms::cuda::assert(), SplitLinear::begin, decode(), dataset::end, edm::EventID::event(), edm::EventID::luminosityBlock(), edm::EventID::run(), and tokenize().

835  {
836  std::vector<std::string> tokens = edm::tokenize(from, "-");
837  assert(tokens.size() == 2);
840  edm::decode(begin, tokens[0]);
841  edm::decode(end, tokens[1]);
842  assert((begin.luminosityBlock() == 0) == (end.luminosityBlock() == 0));
843  to = edm::EventRange(
844  begin.run(), begin.luminosityBlock(), begin.event(), end.run(), end.luminosityBlock(), end.event());
845  return true;
846 } // decode to EventRange
RunNumber_t run() const
Definition: EventID.h:38
EventNumber_t event() const
Definition: EventID.h:40
assert(be >=bs)
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
bool decode(bool &, std::string const &)
Definition: types.cc:71
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
string end
Definition: dataset.py:937
bool edm::decode ( std::vector< edm::EventRange > &  to,
std::string const &  from 
)

Definition at line 866 of file types.cc.

References decode(), and unittestinputsource_cfi::eventRange.

866  {
867  std::vector<std::string> strings;
868  decode(strings, from);
869 
870  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
871  stringItr != stringItrEnd;
872  ++stringItr) {
874  decode(eventRange, *stringItr);
875  to.push_back(eventRange);
876  }
877  return true;
878 }
bool decode(bool &, std::string const &)
Definition: types.cc:71
bool edm::decode ( ParameterSet to,
std::string const &  from 
)

Definition at line 1065 of file types.cc.

1065  {
1066  to = ParameterSet(from);
1067  return true;
1068 } // decode to ParameterSet
bool edm::decode ( std::vector< ParameterSet > &  to,
std::string const &  from 
)

Definition at line 1081 of file types.cc.

References b, decode(), alignCSCRings::e, split(), groupFilesInBlocks::temp, and hgcalPerformanceValidation::val.

1081  {
1082  std::vector<std::string> temp;
1083  if (!split(std::back_inserter(temp), from, '{', ',', '}'))
1084  return false;
1085 
1086  to.clear();
1087  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
1088  ParameterSet val;
1089  if (!decode(val, *b)) {
1090  return false;
1091  }
1092  to.push_back(val);
1093  }
1094 
1095  return true;
1096 } // decode to vector<ParameterSet>
bool decode(bool &, std::string const &)
Definition: types.cc:71
double b
Definition: hdecay.h:118
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  "CondorStatusService",
27  "XrdStatisticsService"};
28 
29  return returnValue;
30  }
std::string edm::defaultModuleLabel ( std::string  label)

Definition at line 6 of file defaultModuleLabel.cc.

References c, 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  // the following code originates from HLTrigger/HLTcore/interface/defaultModuleLabel.h
11  // if the label is all uppercase, change it to all lowercase
12  // if the label starts with more than one uppercase letter, change n-1 to lowercase
13  // otherwise, change the first letter to lowercase
14  unsigned int ups = 0;
15  for (char c : label)
16  if (std::isupper(c))
17  ++ups;
18  else
19  break;
20  if (ups > 1 and ups != label.size())
21  --ups;
22  for (unsigned int i = 0; i < ups; ++i)
23  label[i] = std::tolower(label[i]);
24 
25  return label;
26  }
const edm::EventSetup & c
char const * label
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)
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  }
tuple ret
prodAgent to be discontinued
static std::atomic< bool > errorSummaryIsBeingKept
void edm::disableRTSigs ( )

Definition at line 47 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO, and pileupDistInMC::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)
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)
bool edm::distinct ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 68 of file LuminosityBlockRange.cc.

References lessThan().

68  {
69  return lessThan(lh, rh) || lessThan(rh, lh);
70  }
bool int lh
Definition: SIMDVec.h:20
bool edm::distinct ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 69 of file EventRange.cc.

References cms::cuda::assert(), lessThan(), 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:20
assert(be >=bs)
void edm::doBuildRealData ( const std::string &  name)

Definition at line 22 of file ClassFiller.cc.

References edm::errors::Configuration, Exception, and FDEBUG.

Referenced by edm::StreamerInputSource::buildClassCache().

22  {
23  FDEBUG(3) << "doing BuildRealData for " << name << "\n";
24  TClass* ttest = TClass::GetClass(name.c_str());
25  if (ttest != nullptr) {
26  ttest->BuildRealData();
27  } else {
28  throw edm::Exception(errors::Configuration) << "Could not find TClass for " << name << "\n";
29  }
30  }
#define FDEBUG(lev)
Definition: DebugMacros.h:19
void edm::dumpOptionsToLogFile ( unsigned int  nThreads,
unsigned int  nStreams,
unsigned int  nConcurrentLumis,
unsigned int  nConcurrentRuns 
)

Definition at line 156 of file validateTopLevelParameterSets.cc.

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

159  {
160  LogAbsolute("Options") << "Number of Threads = " << nThreads << "\nNumber of Streams = " << nStreams
161  << "\nNumber of Concurrent Lumis = " << nConcurrentLumis
162  << "\nNumber of Concurrent Runs = " << nConcurrentRuns;
163  }
Log< level::System, true > LogAbsolute
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)
tuple module
Definition: callgraph.py:69
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, edm::ModuleDescription::parameterSetID(), TrackValidation_cff::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
tuple module
Definition: callgraph.py:69
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::EDAnalyzer::prevalidate(), edm::EDProducer::prevalidate(), edm::stream::EDAnalyzerBase::prevalidate(), edm::EDFilter::prevalidate(), edm::stream::EDFilterBase::prevalidate(), edm::global::EDAnalyzerBase::prevalidate(), edm::stream::EDProducerBase::prevalidate(), edm::limited::EDAnalyzerBase::prevalidate(), edm::one::EDFilterBase::prevalidate(), edm::one::EDProducerBase::prevalidate(), edm::one::EDAnalyzerBase::prevalidate(), edm::limited::EDFilterBase::prevalidate(), edm::global::EDFilterBase::prevalidate(), edm::limited::EDProducerBase::prevalidate(), and edm::global::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")
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  }
tuple ret
prodAgent to be discontinued
static std::atomic< bool > errorSummaryIsBeingKept
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)
bool edm::encode ( std::string &  to,
bool  from 
)

Definition at line 85 of file types.cc.

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

85  {
86  to = from ? "true" : "false";
87  return true;
88 } // encode from bool
bool edm::encode ( std::string &  to,
std::vector< bool > const &  from 
)

Definition at line 113 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

113  {
114  to = "{";
115 
116  std::string converted;
117  for (std::vector<bool>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
118  if (!encode(converted, *b)) {
119  return false;
120  }
121  if (b != from.begin()) {
122  to += ",";
123  }
124  to += converted;
125  }
126  to += '}';
127  return true;
128 } // encode from vector<bool>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
int  from 
)

Definition at line 156 of file types.cc.

156  {
157  bool is_negative = (from < 0);
158  if (is_negative) {
159  from = -from; // TODO: work around this for most negative integer
160  }
161  to.clear();
162  do {
163  to = static_cast<char>(from % 10 + '0') + to;
164  from /= 10;
165  } while (from > 0);
166  to = (is_negative ? '-' : '+') + to;
167 
168  return true;
169 } // encode from int
bool edm::encode ( std::string &  to,
std::vector< int > const &  from 
)

Definition at line 237 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

237  {
238  to = "{";
239 
240  std::string converted;
241  for (std::vector<int>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
242  if (!encode(converted, *b)) {
243  return false;
244  }
245 
246  if (b != from.begin()) {
247  to += ",";
248  }
249  to += converted;
250  }
251 
252  to += '}';
253  return true;
254 } // encode from vector<int>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
unsigned int  from 
)

Definition at line 319 of file types.cc.

319  {
320  to.clear();
321  do {
322  to = static_cast<char>(from % 10 + '0') + to;
323  from /= 10u;
324  } while (from > 0u);
325 
326  return true;
327 } // encode from unsigned
bool edm::encode ( std::string &  to,
std::vector< unsigned int > const &  from 
)

Definition at line 383 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

383  {
384  to = "{";
385 
386  std::string converted;
387  for (std::vector<unsigned int>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
388  if (!encode(converted, *b)) {
389  return false;
390  }
391  if (b != from.begin()) {
392  to += ",";
393  }
394  to += converted;
395  }
396 
397  to += '}';
398  return true;
399 } // encode from vector<unsigned int>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
long long  from 
)

Definition at line 197 of file types.cc.

197  {
198  bool is_negative = (from < 0);
199  if (is_negative) {
200  from = -from; // TODO: work around this for most negative integer
201  }
202 
203  to.clear();
204  do {
205  to = static_cast<char>(from % 10 + '0') + to;
206  from /= 10;
207  } while (from > 0);
208  to = (is_negative ? '-' : '+') + to;
209 
210  return true;
211 } // encode from int
bool edm::encode ( std::string &  to,
std::vector< long long > const &  from 
)

Definition at line 280 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

280  {
281  to = "{";
282 
283  std::string converted;
284  for (std::vector<long long>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
285  if (!encode(converted, *b)) {
286  return false;
287  }
288  if (b != from.begin()) {
289  to += ",";
290  }
291  to += converted;
292  }
293  to += '}';
294  return true;
295 } // encode from vector<int>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
unsigned long long  from 
)

Definition at line 350 of file types.cc.

350  {
351  to.clear();
352  do {
353  to = static_cast<char>(from % 10 + '0') + to;
354  from /= 10u;
355  } while (from > 0u);
356 
357  return true;
358 } // encode from unsigned
bool edm::encode ( std::string &  to,
std::vector< unsigned long long > const &  from 
)

Definition at line 424 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

424  {
425  to = "{";
426 
427  std::string converted;
428  for (std::vector<unsigned long long>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
429  if (!encode(converted, *b)) {
430  return false;
431  }
432 
433  if (b != from.begin()) {
434  to += ",";
435  }
436  to += converted;
437  }
438 
439  to += '}';
440  return true;
441 } // encode from vector<unsigned int>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
double  from 
)

Definition at line 472 of file types.cc.

472  {
473  std::ostringstream ost;
474  ost.precision(std::numeric_limits<double>::max_digits10);
475  ost << from;
476  if (!ost)
477  return false;
478  to = ost.str();
479  return true;
480 }
bool edm::encode ( std::string &  to,
std::vector< double > const &  from 
)

Definition at line 504 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

504  {
505  to = "{";
506 
507  std::string converted;
508  for (std::vector<double>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
509  if (!encode(converted, *b))
510  return false;
511 
512  if (b != from.begin())
513  to += ",";
514  to += converted;
515  }
516 
517  to += '}';
518  return true;
519 } // encode from vector<double>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
std::string const &  from 
)

Definition at line 894 of file types.cc.

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

894  {
895  std::string::const_iterator b = from.begin(), e = from.end();
896 
897  enum escape_state { NONE, BACKSLASH, HEX, HEX1, OCT1, OCT2 };
898 
899  escape_state state = NONE;
900  int code = 0;
901  to = "";
902  for (; b != e; ++b) {
903  /*std::cerr << "State: " << state << "; char = " << *b << '\n'; //DEBUG*/
904  switch (state) {
905  case NONE: {
906  if (*b == '\\')
907  state = BACKSLASH;
908  else
909  append_hex_rep(to, *b);
910  /*std::cerr << "To: |" << to << "|\n"; //DEBUG*/
911  break;
912  }
913  case BACKSLASH: {
914  code = 0;
915  switch (*b) {
916  case 'x':
917  case 'X': {
918  state = HEX;
919  break;
920  }
921  case '0':
922  case '1':
923  case '2':
924  case '3':
925  case '4':
926  case '5':
927  case '6':
928  case '7': {
929  code = 8 * code + from_hex(*b);
930  state = OCT1;
931  break;
932  }
933  case 'n': {
934  append_hex_rep(to, 10);
935  state = NONE;
936  break;
937  }
938  case 't': {
939  append_hex_rep(to, 9);
940  state = NONE;
941  break;
942  }
943  default: {
944  append_hex_rep(to, *b);
945  state = NONE;
946  break;
947  }
948  }
949  break;
950  }
951  case HEX: {
952  to += *b;
953  state = HEX1;
954  break;
955  }
956  case HEX1: {
957  to += *b;
958  state = NONE;
959  break;
960  }
961  case OCT1: {
962  switch (*b) {
963  case '0':
964  case '1':
965  case '2':
966  case '3':
967  case '4':
968  case '5':
969  case '6':
970  case '7': {
971  code = 8 * code + from_hex(*b);
972  state = OCT2;
973  break;
974  }
975  default: {
976  append_hex_rep(to, code);
977  state = NONE;
978  break;
979  }
980  }
981  break;
982  }
983  case OCT2: {
984  switch (*b) {
985  case '0':
986  case '1':
987  case '2':
988  case '3':
989  case '4':
990  case '5':
991  case '6':
992  case '7': {
993  code = 8 * code + from_hex(*b);
994  break;
995  }
996  default: {
997  append_hex_rep(to, code);
998  break;
999  }
1000  }
1001  state = NONE;
1002  break;
1003  }
1004  default: {
1005  throw std::logic_error("can't happen");
1006  break;
1007  }
1008  }
1009  } // for
1010 
1011  return true;
1012 } // encode from String
static unsigned int from_hex(char c)
Definition: types.cc:30
static void append_hex_rep(std::string &s, unsigned int c)
Definition: types.cc:62
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
std::vector< std::string > const &  from 
)

Definition at line 1040 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

1040  {
1041  to = "{";
1042 
1043  std::string converted;
1044  for (std::vector<std::string>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1045  // treat blank string specially
1046  if (b->empty()) {
1047  converted = "XXX";
1048  } else if (!encode(converted, *b)) {
1049  return false;
1050  }
1051 
1052  if (b != from.begin())
1053  to += ",";
1054  to += converted;
1055  }
1056 
1057  to += '}';
1058  return true;
1059 } // encode from vector<string>
double b
Definition: hdecay.h:118
bool edm::encode ( std::string &  to,
edm::FileInPath const &  from 
)

Definition at line 575 of file types.cc.

575  {
576  std::ostringstream ost;
577  ost << from;
578  if (!ost)
579  return false;
580  to = ost.str();
581  return true;
582 }
bool edm::encode ( std::string &  to,
edm::InputTag const &  from 
)

Definition at line 593 of file types.cc.

References edm::InputTag::encode().

593  {
594  to = from.encode();
595  return true;
596 }
bool edm::encode ( std::string &  to,
std::vector< edm::InputTag > const &  from 
)

Definition at line 614 of file types.cc.

References encode().

614  {
615  std::vector<std::string> strings;
616  for (std::vector<InputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end(); tagItr != tagItrEnd;
617  ++tagItr) {
618  strings.push_back(tagItr->encode());
619  }
620  encode(to, strings);
621  return true;
622 }
bool edm::encode ( std::string &  to,
edm::ESInputTag const &  from 
)

Definition at line 637 of file types.cc.

References edm::ESInputTag::encode().

637  {
638  to = from.encode();
639  if (not to.empty() and to.back() == ':') {
640  to.pop_back();
641  }
642  return true;
643 }
bool edm::encode ( std::string &  to,
std::vector< edm::ESInputTag > const &  from 
)

Definition at line 661 of file types.cc.

References encode().

661  {
662  std::vector<std::string> strings;
663  for (std::vector<ESInputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end(); tagItr != tagItrEnd;
664  ++tagItr) {
665  strings.push_back(tagItr->encode());
666  }
667  encode(to, strings);
668  return true;
669 }
bool edm::encode ( std::string &  to,
edm::EventID const &  from 
)

Definition at line 686 of file types.cc.

References edm::EventID::event(), edm::EventID::luminosityBlock(), and edm::EventID::run().

686  {
687  std::ostringstream os;
688  if (from.luminosityBlock() == 0U) {
689  os << from.run() << ":" << from.event();
690  } else {
691  os << from.run() << ":" << from.luminosityBlock() << ":" << from.event();
692  }
693  to = os.str();
694  return true;
695 }
bool edm::encode ( std::string &  to,
std::vector< edm::EventID > const &  from 
)

Definition at line 715 of file types.cc.

References encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

715  {
716  std::vector<std::string> strings;
717  for (std::vector<edm::EventID>::const_iterator idItr = from.begin(), idItrEnd = from.end(); idItr != idItrEnd;
718  ++idItr) {
719  std::string encodedEventID;
720  encode(encodedEventID, *idItr);
721  strings.push_back(encodedEventID);
722  }
723  encode(to, strings);
724  return true;
725 }
bool edm::encode ( std::string &  to,
edm::LuminosityBlockID const &  from 
)

Definition at line 740 of file types.cc.

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

740  {
741  std::ostringstream os;
742  os << from.run() << ":" << from.luminosityBlock();
743  to = os.str();
744  return true;
745 }
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockID > const &  from 
)

Definition at line 765 of file types.cc.

References encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

765  {
766  std::vector<std::string> strings;
767  for (std::vector<edm::LuminosityBlockID>::const_iterator idItr = from.begin(), idItrEnd = from.end();
768  idItr != idItrEnd;
769  ++idItr) {
770  std::string encodedLuminosityBlockID;
771  encode(encodedLuminosityBlockID, *idItr);
772  strings.push_back(encodedLuminosityBlockID);
773  }
774  encode(to, strings);
775  return true;
776 }
bool edm::encode ( std::string &  to,
edm::LuminosityBlockRange const &  from 
)

Definition at line 793 of file types.cc.

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

793  {
794  std::ostringstream os;
795  os << from.startRun() << ":" << from.startLumi() << "-" << from.endRun() << ":" << from.endLumi();
796  to = os.str();
797  return true;
798 }
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockRange > const &  from 
)

Definition at line 818 of file types.cc.

References encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

818  {
819  std::vector<std::string> strings;
820  for (std::vector<edm::LuminosityBlockRange>::const_iterator idItr = from.begin(), idItrEnd = from.end();
821  idItr != idItrEnd;
822  ++idItr) {
823  std::string encodedLuminosityBlockRange;
824  encode(encodedLuminosityBlockRange, *idItr);
825  strings.push_back(encodedLuminosityBlockRange);
826  }
827  encode(to, strings);
828  return true;
829 }
bool edm::encode ( std::string &  to,
edm::EventRange const &  from 
)

Definition at line 848 of file types.cc.

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

848  {
849  std::ostringstream os;
850  if (from.startLumi() == 0) {
851  assert(from.endLumi() == 0);
852  os << from.startRun() << ":" << from.startEvent() << "-" << from.endRun() << ":" << from.endEvent();
853  } else {
854  assert(from.endLumi() != 0);
855  os << from.startRun() << ":" << from.startLumi() << ":" << from.startEvent() << "-" << from.endRun() << ":"
856  << from.endLumi() << ":" << from.endEvent();
857  }
858  to = os.str();
859  return true;
860 }
assert(be >=bs)
bool edm::encode ( std::string &  to,
std::vector< edm::EventRange > const &  from 
)

Definition at line 880 of file types.cc.

References encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

880  {
881  std::vector<std::string> strings;
882  for (std::vector<edm::EventRange>::const_iterator idItr = from.begin(), idItrEnd = from.end(); idItr != idItrEnd;
883  ++idItr) {
884  std::string encodedEventRange;
885  encode(encodedEventRange, *idItr);
886  strings.push_back(encodedEventRange);
887  }
888  encode(to, strings);
889  return true;
890 }
bool edm::encode ( std::string &  to,
ParameterSet const &  from 
)

Definition at line 1072 of file types.cc.

References edm::ParameterSet::toString().

1072  {
1073  to = from.toString();
1074  return true;
1075 } // encode from ParameterSet
bool edm::encode ( std::string &  to,
std::vector< ParameterSet > const &  from 
)

Definition at line 1100 of file types.cc.

References b, alignCSCRings::e, encode(), and AlCaHLTBitMon_QueryRunRegistry::string.

1100  {
1101  to = "{";
1102 
1103  std::string converted;
1104  for (std::vector<ParameterSet>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1105  if (!encode(converted, *b)) {
1106  return false;
1107  }
1108  if (b != from.begin()) {
1109  to += ",";
1110  }
1111  to += converted;
1112  }
1113  to += '}';
1114  return true;
1115 } // encode from vector<ParameterSet>
double b
Definition: hdecay.h:118
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 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
Definition: eostools.py:511
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  }
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 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)
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
unsigned int edm::eventProcessBlockIndex ( Event const &  event,
std::string const &  processName 
)

Definition at line 7 of file processBlockUtilities.cc.

7  {
8  return event.processBlockIndex(processName);
9  }
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::ESModuleCallingContext::kPrefetching, edm::eventsetup::ComponentDescription::label_, edm::ESModuleCallingContext::moduleCallingContext(), edm::ESModuleCallingContext::state(), edm::ESModuleCallingContext::type(), and edm::eventsetup::ComponentDescription::type_.

Referenced by exceptionContext(), edm::Worker::handleExternalWorkException(), edm::Worker::runAcquire(), edm::Worker::runModule(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().

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  edm::exceptionContext(ex, *imcc->moduleCallingContext());
29  }
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
void addContext(std::string const &context)
Definition: Exception.cc:165
void edm::exceptionContext ( std::ostream &  os,
GlobalContext const &  gc 
)

Definition at line 71 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::LuminosityBlockID::run(), and edm::GlobalContext::transition().

71  {
72  os << "Processing ";
73  switch (gc.transition()) {
74  case GlobalContext::Transition::kBeginJob:
75  os << "begin Job";
76  break;
77  case GlobalContext::Transition::kBeginProcessBlock:
78  os << "begin ProcessBlock";
79  break;
80  case GlobalContext::Transition::kAccessInputProcessBlock:
81  os << "access input ProcessBlock";
82  break;
83  case GlobalContext::Transition::kBeginRun:
84  os << "global begin Run " << RunID(gc.luminosityBlockID().run());
85  break;
86  case GlobalContext::Transition::kBeginLuminosityBlock:
87  os << "global begin LuminosityBlock " << gc.luminosityBlockID();
88  break;
89  case GlobalContext::Transition::kEndLuminosityBlock:
90  os << "global end LuminosityBlock " << gc.luminosityBlockID();
91  break;
92  case GlobalContext::Transition::kEndRun:
93  os << "global end Run " << RunID(gc.luminosityBlockID().run());
94  break;
95  case GlobalContext::Transition::kEndProcessBlock:
96  os << "end ProcessBlock";
97  break;
98  case GlobalContext::Transition::kEndJob:
99  os << "endJob";
100  break;
101  case GlobalContext::Transition::kWriteProcessBlock:
102  os << "write ProcessBlock";
103  break;
104  case GlobalContext::Transition::kWriteRun:
105  os << "write Run " << RunID(gc.luminosityBlockID().run());
106  break;
107  case GlobalContext::Transition::kWriteLuminosityBlock:
108  os << "write LuminosityBlock " << gc.luminosityBlockID();
109  break;
110  }
111  }
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, submitPVValidationJobs::run, edm::StreamContext::streamID(), and edm::StreamContext::transition().

71  {
72  os << "Processing ";
73  auto id = sc.eventID();
74  switch (sc.transition()) {
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;
94  os << "end Stream";
95  break;
96  case StreamContext::Transition::kInvalid:
97  os << "Invalid";
98  break;
99  }
100  os << " stream: " << sc.streamID();
101  }
void edm::exceptionContext ( cms::Exception ex,
ModuleCallingContext const &  mcc 
)

Definition at line 86 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().

86  {
87  ModuleCallingContext const* imcc = &mcc;
88  while ((imcc->type() == ParentContext::Type::kModule) or (imcc->type() == ParentContext::Type::kInternal)) {
89  std::ostringstream iost;
90  if (imcc->state() == ModuleCallingContext::State::kPrefetching) {
91  iost << "Prefetching for module ";
92  } else {
93  iost << "Calling method for module ";
94  }
95  iost << imcc->moduleDescription()->moduleName() << "/'" << imcc->moduleDescription()->moduleLabel() << "'";
96 
97  if (imcc->type() == ParentContext::Type::kInternal) {
98  iost << " (probably inside some kind of mixing module)";
99  imcc = imcc->internalContext()->moduleCallingContext();
100  } else {
101  imcc = imcc->moduleCallingContext();
102  }
103  ex.addContext(iost.str());
104  }
105  std::ostringstream ost;
106  if (imcc->state() == ModuleCallingContext::State::kPrefetching) {
107  ost << "Prefetching for module ";
108  } else {
109  ost << "Calling method for module ";
110  }
111  ost << imcc->moduleDescription()->moduleName() << "/'" << imcc->moduleDescription()->moduleLabel() << "'";
112  ex.addContext(ost.str());
113 
114  if (imcc->type() == ParentContext::Type::kPlaceInPath) {
115  ost.str("");
116  ost << "Running path '";
117  ost << imcc->placeInPathContext()->pathContext()->pathName() << "'";
118  ex.addContext(ost.str());
119  auto streamContext = imcc->placeInPathContext()->pathContext()->streamContext();
120  if (streamContext) {
121  ost.str("");
122  edm::exceptionContext(ost, *streamContext);
123  ex.addContext(ost.str());
124  }
125  } else {
126  if (imcc->type() == ParentContext::Type::kStream) {
127  ost.str("");
128  edm::exceptionContext(ost, *(imcc->streamContext()));
129  ex.addContext(ost.str());
130  } else if (imcc->type() == ParentContext::Type::kGlobal) {
131  ost.str("");
132  edm::exceptionContext(ost, *(imcc->globalContext()));
133  ex.addContext(ost.str());
134  }
135  }
136  }
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::EventIDconst &, edm::Timestampconst & > 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:165
void edm::fillDescriptionFromPSet ( ParameterSet const &  pset,
ParameterSetDescription desc 
)

Definition at line 102 of file FillDescriptionFromPSet.cc.

References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, mps_splice::entry, edm::ParameterSet::getParameterSet(), edm::ParameterSet::getParameterSetVector(), edm::ParameterSet::getUntrackedParameterSet(), edm::ParameterSet::getUntrackedParameterSetVector(), eostools::move(), edm::ParameterSet::psetTable(), edm::ParameterSet::tbl(), and edm::ParameterSet::vpsetTable().

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

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

Definition at line 214 of file EventProcessor.cc.

References cms::cuda::assert(), edm::eventsetup::ComponentFactory< T >::get(), edm::ParameterSet::getPSetForUpdate(), edm::ParameterSet::registerIt(), and validateLooper().

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

217  {
218  std::shared_ptr<EDLooperBase> vLooper;
219 
220  assert(1 == loopers.size());
221 
222  for (auto const& looperName : loopers) {
223  ParameterSet* providerPSet = params.getPSetForUpdate(looperName);
224  validateLooper(*providerPSet);
225  providerPSet->registerIt();
226  vLooper = eventsetup::LooperFactory::get()->addTo(esController, cp, *providerPSet);
227  }
228  return vLooper;
229  }
assert(be >=bs)
void validateLooper(ParameterSet &pset)
#define get
void edm::fillMaxEventsDescription ( ParameterSetDescription description)

Definition at line 97 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addOptionalNode(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterSetDescription::addWildcardUntracked().

Referenced by validateTopLevelParameterSets().

97  {
98  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
99 
100  ParameterSetDescription nestedDescription;
101  nestedDescription.addWildcardUntracked<int>("*");
102  description.addOptionalNode(ParameterDescription<int>("output", false) xor
103  ParameterDescription<ParameterSetDescription>("output", nestedDescription, false),
104  false);
105  }
void edm::fillMaxLuminosityBlocksDescription ( ParameterSetDescription description)

Definition at line 107 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addUntracked().

Referenced by validateTopLevelParameterSets().

107  {
108  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
109  }
void edm::fillMaxSecondsUntilRampdownDescription ( ParameterSetDescription description)

Definition at line 111 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addUntracked().

Referenced by validateTopLevelParameterSets().

111  {
112  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
113  }
static void edm::fillModuleInPathSummary ( Path const &  path,
size_t  which,
ModuleInPathSummary &  sum 
)
static

Definition at line 834 of file StreamSchedule.cc.

References edm::Worker::description(), edm::Path::getWorker(), edm::ModuleInPathSummary::moduleLabel, edm::ModuleDescription::moduleLabel(), edm::ModuleInPathSummary::timesExcept, edm::Path::timesExcept(), edm::ModuleInPathSummary::timesFailed, edm::Path::timesFailed(), edm::ModuleInPathSummary::timesPassed, edm::Path::timesPassed(), edm::ModuleInPathSummary::timesVisited, and edm::Path::timesVisited().

Referenced by fillPathSummary().

834  {
835  sum.timesVisited += path.timesVisited(which);
836  sum.timesPassed += path.timesPassed(which);
837  sum.timesFailed += path.timesFailed(which);
838  sum.timesExcept += path.timesExcept(which);
839  sum.moduleLabel = path.getWorker(which)->description()->moduleLabel();
840  }
def which
Definition: eostools.py:336
void edm::fillOptionsDescription ( ParameterSetDescription description)

Definition at line 22 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addOptionalUntracked(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addWildcardUntracked(), 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 
37  edm::ParameterSetDescription eventSetupDescription;
38  eventSetupDescription.addUntracked<unsigned int>("numberOfConcurrentIOVs", 0)
39  ->setComment(
40  "If zero, use the Framework default which currently means the same as the "
41  "number of concurrent luminosity blocks. Can be overridden by a hard coded "
42  "static in a record C++ definition or by forceNumberOfConcurrentIOVs. "
43  "In all cases, the number of concurrent IOVs will be reset to be the "
44  "same as the number of concurrent luminosity blocks if greater than the "
45  "number of concurrent luminosity blocks.");
46  edm::ParameterSetDescription nestedDescription;
47  nestedDescription.addWildcardUntracked<unsigned int>("*")->setComment(
48  "Parameter names should be record names and the values are the number of concurrent IOVS for each record."
49  " Overrides all other methods of setting number of concurrent IOVs.");
50  eventSetupDescription.addUntracked<edm::ParameterSetDescription>("forceNumberOfConcurrentIOVs", nestedDescription);
51  description.addUntracked<edm::ParameterSetDescription>("eventSetup", eventSetupDescription);
52 
53  description.addUntracked<bool>("wantSummary", false)
54  ->setComment("Set true to print a report on the trigger decisions and timing of modules");
55  description.addUntracked<std::string>("fileMode", "FULLMERGE")
56  ->setComment("Legal values are 'NOMERGE' and 'FULLMERGE'");
57  description.addUntracked<bool>("forceEventSetupCacheClearOnNewRun", false);
58  description.addUntracked<bool>("throwIfIllegalParameter", true)
59  ->setComment("Set false to disable exception throws when configuration validation detects illegal parameters");
60  description.addUntracked<bool>("printDependencies", false)->setComment("Print data dependencies between modules");
61  description.addUntracked<bool>("deleteNonConsumedUnscheduledModules", true)
62  ->setComment(
63  "Delete modules that are unscheduled, i.e. only in Tasks, whose products are not consumed by any other "
64  "otherwise-running module");
65 
66  // No default for this one because the parameter value is
67  // actually used in the main function in cmsRun.cpp before
68  // the parameter set is validated here.
69  description.addOptionalUntracked<unsigned int>("sizeOfStackForThreadsInKB");
70 
71  std::vector<std::string> emptyVector;
72 
73  description.addUntracked<std::vector<std::string>>("Rethrow", emptyVector);
74  description.addUntracked<std::vector<std::string>>("SkipEvent", emptyVector);
75  description.addUntracked<std::vector<std::string>>("FailPath", emptyVector);
76  description.addUntracked<std::vector<std::string>>("IgnoreCompletely", emptyVector);
77 
78  description.addUntracked<std::vector<std::string>>("canDeleteEarly", emptyVector)
79  ->setComment("Branch names of products that the Framework can try to delete before the end of the Event");
80 
81  description.addUntracked<bool>("dumpOptions", false)
82  ->setComment(
83  "Print values of selected Framework parameters. The Framework might modify the values "
84  "in the options parameter set and this prints the values after that modification.");
85 
86  description.addOptionalUntracked<bool>("allowUnscheduled")
87  ->setComment(
88  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
89  description.addOptionalUntracked<std::string>("emptyRunLumiMode")
90  ->setComment(
91  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
92  description.addOptionalUntracked<bool>("makeTriggerResults")
93  ->setComment(
94  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
95  }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
ParameterWildcardBase * addWildcardUntracked(U const &pattern)
constexpr unsigned int s_defaultNumberOfThreads
Definition: ThreadsInfo.h:9
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 TrackValidation_cff::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  }
std::string const & idToParameterSetBlobsBranchName()
Definition: BranchType.cc:218
static PFTauRenderPlugin instance
double b
Definition: hdecay.h:118
static void edm::fillPathSummary ( Path const &  path,
PathSummary &  sum 
)
static

Definition at line 842 of file StreamSchedule.cc.

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

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

842  {
843  sum.name = path.name();
844  sum.bitPosition = path.bitPosition();
845  sum.timesRun += path.timesRun();
846  sum.timesPassed += path.timesPassed();
847  sum.timesFailed += path.timesFailed();
848  sum.timesExcept += path.timesExcept();
849 
850  Path::size_type sz = path.size();
851  if (sum.moduleInPathSummaries.empty()) {
852  std::vector<ModuleInPathSummary> temp(sz);
853  for (size_t i = 0; i != sz; ++i) {
855  }
856  sum.moduleInPathSummaries.swap(temp);
857  } else {
858  assert(sz == sum.moduleInPathSummaries.size());
859  for (size_t i = 0; i != sz; ++i) {
860  fillModuleInPathSummary(path, i, sum.moduleInPathSummaries[i]);
861  }
862  }
863  }
static void fillModuleInPathSummary(Path const &path, size_t which, ModuleInPathSummary &sum)
assert(be >=bs)
uint16_t size_type
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
assert(be >=bs)
std::string const & processHistoryBranchName()
Definition: BranchType.cc:177
double b
Definition: hdecay.h:118
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 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
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 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
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 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
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 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
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.

397  {
398  obj.fillPtrVector(toType, indices, ptrs);
399  }
list indices
Definition: dqmdumpme.py:50
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 edm::OwnVector< T, P >::fillPtrVector().

584  {
585  obj.fillPtrVector(toType, indices, ptrs);
586  }
list indices
Definition: dqmdumpme.py:50
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 edm::detail::reallyFillView().

48  {
49  detail::reallyFillView(obj, id, ptrs, helpers);
50  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25
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 edm::detail::reallyFillView().

56  {
57  detail::reallyFillView(obj, id, ptrs, helpers);
58  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25
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 edm::detail::reallyFillView().

64  {
65  detail::reallyFillView(obj, id, ptrs, helpers);
66  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25
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 edm::detail::reallyFillView().

72  {
73  detail::reallyFillView(obj, id, ptrs, helpers);
74  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:25
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.

195  {
196  obj.fillView(id, pointers, helpers);
197  }
template<typename T >
void edm::fillView ( PtrVector< T > const &  obj,
ProductID const &  ,
std::vector< void const * > &  pointers,
FillViewHelperVector &  helpers 
)
inline

Definition at line 196 of file PtrVector.h.

References edm::PtrVector< T >::fillView().

199  {
200  obj.fillView(pointers, helpers);
201  }
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 edm::RefToBaseVector< T >::fillView().

207  {
208  obj.fillView(pointers, helpers);
209  }
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 260 of file Ptr.h.

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

263  {
264  pointers.reserve(obj.size());
265  helpers.reserve(obj.size());
266  for (auto const& p : obj) {
267  if (p.isAvailable()) {
268  pointers.push_back(p.get());
269  } else {
270  pointers.push_back(nullptr);
271  }
272  helpers.emplace_back(p.id(), p.key());
273  }
274  }
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 edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fillView().

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

293  {
294  obj.fillView(id, pointers, helpers);
295  }
template<class T >
void edm::fillView ( DetSetVector< T > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
FillViewHelperVector &  helpers 
)
inline

Definition at line 373 of file DetSetVector.h.

376  {
377  obj.fillView(id, pointers, helpers);
378  }
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.

380  {
381  obj.fillView(id, pointers, helpers);
382  }
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 edm::OwnVector< T, P >::fillView().

552  {
553  obj.fillView(id, pointers, helpers);
554  }
static void edm::fillWorkerSummary ( Worker const *  pw,
WorkerSummary &  sum 
)
static

Definition at line 874 of file StreamSchedule.cc.

References fillWorkerSummaryAux().

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

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

Definition at line 865 of file StreamSchedule.cc.

References edm::Worker::description(), edm::ModuleDescription::moduleLabel(), edm::WorkerSummary::moduleLabel, edm::WorkerSummary::timesExcept, edm::Worker::timesExcept(), edm::WorkerSummary::timesFailed, edm::Worker::timesFailed(), edm::WorkerSummary::timesPassed, edm::Worker::timesPassed(), edm::WorkerSummary::timesRun, edm::Worker::timesRun(), edm::WorkerSummary::timesVisited, and edm::Worker::timesVisited().

Referenced by fillWorkerSummary().

865  {
866  sum.timesVisited += w.timesVisited();
867  sum.timesRun += w.timesRun();
868  sum.timesPassed += w.timesPassed();
869  sum.timesFailed += w.timesFailed();
870  sum.timesExcept += w.timesExcept();
871  sum.moduleLabel = w.description()->moduleLabel();
872  }
const double w
Definition: UKUtility.cc:23
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.

42  {
43  return std::find_if(s.begin(), s.end(), p);
44  }
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.

47  {
48  return std::find_if(s.begin(), s.end(), p);
49  }
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, and spr::find().

Referenced by edm::RootFile::fillIndexIntoFile(), edm::ParameterSet::fromString(), 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
tuple d
Definition: ztail.py:151
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, and spr::find().

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
tuple d
Definition: ztail.py:151
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().

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)
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().

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)
template<typename Key , typename Value >
Value const& edm::findOrDefault ( std::map< Key, Value > const &  m,
Key const &  k,
Value const &  defaultValue 
)
inline

Definition at line 24 of file Map.h.

Referenced by edm::JobReport::dumpFiles(), and edm::JobReport::JobReportImpl::writeOutputFile().

24  {
25  typename std::map<Key, Value>::const_iterator it = m.find(k);
26  return (it == m.end() ? defaultValue : it->second);
27  }
template<typename Key , typename Value >
Value& edm::findOrDefault ( std::map< Key, Value > &  m,
Key const &  k,
Value &  defaultValue 
)
inline

Definition at line 30 of file Map.h.

30  {
31  typename std::map<Key, Value>::const_iterator it = m.find(k);
32  return (it == m.end() ? defaultValue : it->second);
33  }
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.

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
template<typename Key , typename Value >
Value& edm::findOrInsert ( std::map< Key, Value > &  m,
Key const &  k 
)
inline

Definition at line 16 of file Map.h.

References isotrackApplyRegressor::k.

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

Definition at line 34 of file MessageLogger.cc.

References edm::MessageDrop::instance(), edm::MessageLoggerQ::MLqFLS(), and MLSCRIBE_RUNNING_INDICATOR.

Referenced by lhef::logFileAction(), edm::InputFile::logFileAction(), edm::StreamerInputFile::logFileAction(), dqm::DQMFileSaverBase::logFileAction(), dqmservices::DQMFileIterator::logFileAction(), and DQMRootSource::logFileAction().

34  {
35  if (MessageDrop::instance()->messageLoggerScribeIsRunning != MLSCRIBE_RUNNING_INDICATOR)
36  return;
37  edm::MessageLoggerQ::MLqFLS(); // Flush the message log queue
38  }
static PFTauRenderPlugin instance
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:83
static void MLqFLS()
edm::for ( const auto &name:names  )

Definition at line 140 of file PreMixingModule.cc.

References beamerCreator::create(), get, mergeVDriftHistosByStation::name, TrackValidation_cff::pset, AlCaHLTBitMon_QueryRunRegistry::string, workers, and edm::PreMixingModule::workers_.

Referenced by SiPixelTemplate::interpolate(), SiPixelGenError::postInit(), and SiPixelTemplate::postInit().

140  : names) {
141  if (name == "pileup") {
142  continue;
143  }
144  const auto& pset = workers.getParameter<edm::ParameterSet>(name);
145  std::string type = pset.getParameter<std::string>("workerType");
146  workers_.emplace_back(
147  PreMixingWorkerFactory::get()->create(type, pset, producesCollector(), consumesCollector()));
148  }
const auto & workers
const std::string names[nVars_]
#define get
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 validate-o2o-wbm::f.

Referenced by edm::WorkerManager::beginJob(), edm::EventProcessor::beginJob(), edm::SubProcess::beginJob(), edm::ParameterSwitch< T >::checkAndGetLabelsAndTypes_(), edm::Path::clearCounters(), edm::SubProcess::clearCounters(), edm::StreamSchedule::clearCounters(), edm::SubProcess::closeOutputFiles(), edm::Schedule::closeOutputFiles(), edm::EventProcessor::closeOutputFiles(), edm::SubProcess::deleteRunFromCache(), edm::EventProcessor::deleteRunFromCache(), edm::SubProcess::doBeginStream(), edm::SubProcess::doEndStream(), edm::RootOutputTree::fillTTree(), edm::SubProcess::fixBranchIDListsForEDAliases(), edm::SubProcess::keepOnlyConsumedUnscheduledModules(), main(), edm::SubProcess::openOutputFiles(), edm::Schedule::openOutputFiles(), edm::EventProcessor::openOutputFiles(), edm::service::StallMonitor::postEndJob(), edm::EDLooperBase::prepareForNextLoop(), edm::ParameterSetDescription::print(), edm::ParameterSwitch< T >::printNestedContent_(), edm::WorkerManager::resetAll(), edm::eventsetup::EventSetupRecordProvider::resetRecordToProxyPointers(), edm::SubProcess::respondToCloseInputFile(), edm::Schedule::respondToCloseInputFile(), edm::EventProcessor::respondToCloseInputFile(), edm::SubProcess::respondToOpenInputFile(), edm::Schedule::respondToOpenInputFile(), edm::EventProcessor::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::ParameterSetDescription::writeCfi(), edm::ParameterDescription< std::vector< ParameterSet > >::writeCfi_(), edm::ConfigurationDescriptions::writeCfis(), edm::writeParameterValue::writeVector(), and edm::Factory::~Factory().

14  {
15  return std::for_each(s.begin(), s.end(), f);
16  }
template<typename S , typename T >
S& edm::formatFile ( T const &  f,
S os 
)

Definition at line 40 of file JobReport.cc.

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
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  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
assert(be >=bs)
template<typename T , typename R = typename eventsetup::data_default_record_trait<typename T::value_type>::type>
T const& edm::get ( EventSetup const &  setup)

Definition at line 208 of file EventSetup.h.

References patZpeak::handle, edm::ESHandle< class >::product(), dttmaxenums::R, and GeneralSetup::setup().

208  {
210  // throw if the record is not available
211  setup.get<R>().get(handle);
212  // throw if the handle is not valid
213  return *handle.product();
214  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( ProcessBlock const &  processBlock,
EDGetToken const &  token 
)

Definition at line 218 of file ProcessBlock.h.

References patZpeak::handle, and edm::Handle< T >::product().

218  {
220  processBlock.getByToken(token, handle);
221  // throw if the handle is not valid
222  return *handle.product();
223  }
tuple handle
Definition: patZpeak.py:23
template<typename T , typename R = typename eventsetup::data_default_record_trait<typename T::value_type>::type, typename L >
T const& edm::get ( EventSetup const &  setup,
L &&  label 
)

Definition at line 219 of file EventSetup.h.

References patZpeak::handle, label, and edm::ESHandle< class >::product().

219  {
221  // throw if the record is not available
222  setup.get<R>().get(std::forward(label), handle);
223  // throw if the handle is not valid
224  return *handle.product();
225  }
char const * label
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( ProcessBlock const &  processBlock,
EDGetTokenT< T > const &  token 
)

Definition at line 226 of file ProcessBlock.h.

References patZpeak::handle, and edm::Handle< T >::product().

226  {
228  processBlock.getByToken(token, handle);
229  // throw if the handle is not valid
230  return *handle.product();
231  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( Run const &  event,
InputTag const &  tag 
)

Definition at line 375 of file Run.h.

References patZpeak::handle, edm::Handle< T >::product(), and GlobalPosition_Frontier_DevDB_cff::tag.

375  {
377  event.getByLabel(tag, handle);
378  // throw if the handle is not valid
379  return *handle.product();
380  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
InputTag const &  tag 
)

Definition at line 378 of file LuminosityBlock.h.

References patZpeak::handle, edm::Handle< T >::product(), and GlobalPosition_Frontier_DevDB_cff::tag.

378  {
380  event.getByLabel(tag, handle);
381  // throw if the handle is not valid
382  return *handle.product();
383  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( Run const &  event,
EDGetToken const &  token 
)

Definition at line 383 of file Run.h.

References patZpeak::handle, and edm::Handle< T >::product().

383  {
385  event.getByToken(token, handle);
386  // throw if the handle is not valid
387  return *handle.product();
388  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
EDGetToken const &  token 
)

Definition at line 386 of file LuminosityBlock.h.

References patZpeak::handle, and edm::Handle< T >::product().

386  {
388  event.getByToken(token, handle);
389  // throw if the handle is not valid
390  return *handle.product();
391  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( Run const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 391 of file Run.h.

References patZpeak::handle, and edm::Handle< T >::product().

391  {
393  event.getByToken(token, handle);
394  // throw if the handle is not valid
395  return *handle.product();
396  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 394 of file LuminosityBlock.h.

References patZpeak::handle, and edm::Handle< T >::product().

394  {
396  event.getByToken(token, handle);
397  // throw if the handle is not valid
398  return *handle.product();
399  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( Event const &  event,
InputTag const &  tag 
)
noexcept

Definition at line 679 of file Event.h.

References patZpeak::handle, edm::Handle< T >::product(), and GlobalPosition_Frontier_DevDB_cff::tag.

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

679  {
681  event.getByLabel(tag, handle);
682  // throw if the handle is not valid
683  return *handle.product();
684  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( Event const &  event,
EDGetToken const &  token 
)
noexcept

Definition at line 687 of file Event.h.

References patZpeak::handle, and edm::Handle< T >::product().

687  {
689  event.getByToken(token, handle);
690  // throw if the handle is not valid
691  return *handle.product();
692  }
tuple handle
Definition: patZpeak.py:23
template<typename T >
T const& edm::get ( Event const &  event,
EDGetTokenT< T > const &  token 
)
noexcept

Definition at line 695 of file Event.h.

695  {
696  return event.get(token);
697  }
template<typename T >
constexpr T & edm::get_underlying ( propagate_const< T > &  iP)
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  }
template<typename T >
constexpr std::decay_t< T > & edm::get_underlying ( propagate_const_array< T > &  iP)

Definition at line 120 of file propagate_const_array.h.

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

120  {
121  return iP.m_value;
122  }
template<typename T >
constexpr std::decay_t< T > const & edm::get_underlying ( propagate_const_array< T > const &  iP)

Definition at line 125 of file propagate_const_array.h.

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

125  {
126  return iP.m_value;
127  }
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::addProxiesToRecordHelper(), edm::RootFile::branchChildren(), edm::ScheduleItems::branchIDListHelper(), edm::InputSource::branchIDListHelper(), edm::root::TFWLiteSelectorMembers::branchIDListHelper(), edm::SubProcess::branchIDListHelper(), edm::RootFile::branchIDListHelper(), edm::EventProcessor::branchIDListHelper(), 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::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::eventsetup::EventSetupRecordProvider::proxyProvider(), edm::RandomEngineSentry< T >::randomEngine(), edm::Principal::recombine(), edm::root::TFWLiteSelectorMembers::reg(), edm::storage::StorageAccountProxy::releaseStorage(), TStorageFactoryFile::releaseStorage(), 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::InputSource::thinnedAssociationsHelper(), edm::root::TFWLiteSelectorMembers::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 > &)
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 > &)
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 > &)
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 > &)
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 > &)
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
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 > &)
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
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 > &)
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 > &)
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 > &)
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 > &)
std::vector< std::string > const & edm::getAllTriggerNames ( )
template<typename T >
std::unique_ptr<T> edm::getAnyPtr ( void *  p,
int  offset 
)
inline

Definition at line 9 of file getAnyPtr.h.

References 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
std::string edm::getEnvironmentVariable ( std::string const &  name,
std::string const &  defaultValue = std::string() 
)
inline
int edm::getFileFormatVersion ( )

Definition at line 4 of file GetFileFormatVersion.cc.

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

4 { return 20; }
MallocOptionSetter & edm::getGlobalOptionSetter ( )

Definition at line 197 of file MallocOpts.cc.

References global_malloc_options.

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

197 { return global_malloc_options; }
MallocOptionSetter global_malloc_options
Definition: MallocOpts.cc:195
ParameterSet const & edm::getParameterSet ( ParameterSetID const &  id)
std::string edm::getPassID ( )
inline

Definition at line 7 of file GetPassID.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::DaqProvenanceHelper::daqInit(), edm::ScheduleItems::initMisc(), and edm::LHEProvenanceHelper::lheInit().

7  {
8  static std::string const passID;
9  // return empty string for now.
10  return passID;
11  }
ParameterSet const & edm::getProcessParameterSetContainingModule ( ModuleDescription const &  moduleDescription)

Definition at line 870 of file ParameterSet.cc.

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

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

870  {
871  return getParameterSet(moduleDescription.mainParameterSetID());
872  }
ParameterSet const & getParameterSet(ParameterSetID const &id)
ParameterSet const * edm::getProducerParameterSet ( Provenance const &  provenance,
ProcessHistory const &  processHistory 
)

Definition at line 16 of file getProducerParameterSet.cc.

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

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
tuple process
Definition: LaserDQM_cfg.py:3
template<typename T >
T const* edm::getProduct ( RefCore const &  ref)
inline

Definition at line 37 of file RefCoreGet.h.

References runTheMatrix::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
template<typename PROD >
std::shared_ptr<Wrapper<PROD> const> edm::getProductByTag ( Principal const &  ep,
InputTag const &  tag,
ModuleCallingContext const *  mcc 
)
inline

Definition at line 304 of file Principal.h.

References edm::WrapperBase::dynamicTypeInfo(), edm::Principal::findProductByTag(), PROD, mps_fire::result, edm::ProductData::sharedConstWrapper(), edm::handleimpl::throwConvertTypeError(), and edm::ProductData::wrapper().

306  {
307  TypeID tid = TypeID(typeid(PROD));
308  ProductData const* result = ep.findProductByTag(tid, tag, mcc);
309  if (result == nullptr) {
310  return std::shared_ptr<Wrapper<PROD> const>();
311  }
312 
313  if (!(result->wrapper()->dynamicTypeInfo() == typeid(PROD))) {
314  handleimpl::throwConvertTypeError(typeid(PROD), result->wrapper()->dynamicTypeInfo());
315  }
316  return std::static_pointer_cast<Wrapper<PROD> const>(result->sharedConstWrapper());
317  }
tuple result
Definition: mps_fire.py:311
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
#define PROD(A, B)
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
std::unique_ptr< edm::ParameterSet > edm::getPSetFromConfig ( const std::string &  config)

Definition at line 5 of file ParameterSetReader.cc.

References PyBind11ProcessDesc::parameterSet().

5  {
7 }
std::unique_ptr< edm::ParameterSet > parameterSet() const
tuple config
parse the configuration file
template<typename C >
helper::MatcherGetRef<C>::ref_type edm::getRef ( const Handle< C > &  c,
size_t  k 
)
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  }
std::string edm::getReleaseVersion ( )
TClass * edm::getTClass ( const std::type_info &  ti)

Definition at line 63 of file ClassFiller.cc.

References edm::TypeID::className().

Referenced by edm::StreamerInputSource::deserializeRegistry(), dumpInitVerbose(), and edm::StreamSerializer::serializeRegistry().

63  {
64  TypeID const type(ti);
65  return getRootClass(type.className());
66  }
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  }
tuple key
prepare the HTCondor submission files and eventually submit them
long double T
std::string edm::getUuid ( TTree *  uuidTree)

Definition at line 98 of file CollUtil.cc.

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

98  {
99  FileID fid;
100  FileID *fidPtr = &fid;
101  uuidTree->SetBranchAddress(poolNames::fileIdentifierBranchName().c_str(), &fidPtr);
102  uuidTree->GetEntry(0);
103  return fid.fid();
104  }
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:192
std::unique_ptr<WrapperBase> edm::getWrapperBasePtr ( void *  p,
int  offset 
)
inline
std::string edm::glob2reg ( std::string const &  pattern)

Definition at line 19 of file RegexMatch.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by L1TdeStage2uGT::analyze(), triggerExpression::L1uGTReader::init(), HLTConfigProvider::matched(), regexMatch(), and TriggerResultsFilter::TriggerResultsFilter().

19  {
20  std::string regexp = pattern;
21  boost::replace_all(regexp, "*", ".*");
22  boost::replace_all(regexp, "?", ".");
23  return regexp;
24  }
void edm::GroupLogStatistics ( std::string_view  category)

Definition at line 49 of file MessageLogger.cc.

References 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 const char category[]
static void MLqGRP(std::string *cat_p)
edm::hack ( "ecal"  )
edm::hack ( "hcal"  )
edm::hack ( "strip"  )
edm::hack ( "pixel"  )
void edm::HaltMessageLogging ( )

Definition at line 30 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSHT().

30  {
31  edm::MessageLoggerQ::MLqSHT(); // Shut the logger up
32  }
static void MLqSHT()
bool edm::hasDictionary ( std::type_info const &  ti)

Definition at line 809 of file TypeWithDict.cc.

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

809  {
810  if (ti.name()[1] == '\0') {
811  // returns true for built in types (single character mangled names)
812  return true;
813  }
814  return (TClassTable::GetDict(ti) != nullptr);
815  }
template<typename T >
void edm::hash_combine ( std::size_t &  seed,
const T val 
)
inline

Definition at line 25 of file hash_combine.h.

Referenced by hash_combine(), and hash_value().

25  {
26  seed ^= std::hash<T>()(val) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
27  }
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 hash_combine().

30  {
32  hash_combine(seed, args...);
33  }
void hash_combine(std::size_t &seed, const T &val)
Definition: hash_combine.h:25
template<typename... Types>
std::size_t edm::hash_value ( const Types &...  args)
inline

Definition at line 36 of file hash_combine.h.

References hash_combine(), and fileCollector::seed.

Referenced by UniqueSimTrackIdHash::operator()(), edm::StdPairHasher::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)
Definition: hash_combine.h:25
HRTimeType edm::hrRealTime ( )
inline

Definition at line 91 of file HRRealTime.h.

91 { return details::rdtsc(); }
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::BranchDescription::branchType(), edm::TypeWithDict::byName(), edm::TypeWithDict::getClass(), InProcess, InRun, hltrates_dqm_sourceclient-live_cfg::offset, AlCaHLTBitMon_ParallelJobs::p, edm::BranchDescription::processName(), edm::BranchDescription::produced(), and edm::BranchDescription::wrappedType().

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  }
list processes
Run mode ##.
void edm::installCustomHandler ( int  signum,
CFUNC  func 
)

Definition at line 93 of file UnixSignalHandlers.cc.

References disableAllSigs(), disableRTSigs(), 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)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
void reenableSigs(sigset_t *oldset)
void disableRTSigs()
void edm::installSig ( int  signum,
CFUNC  func 
)

Definition at line 105 of file UnixSignalHandlers.cc.

References cms::cuda::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  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
#define MUST_BE_ZERO(fun)
bool edm::is_glob ( std::string const &  pattern)
bool edm::isAncestor ( ProcessHistory const &  a,
ProcessHistory const &  b 
)

Definition at line 53 of file ProcessHistory.cc.

References edm::ProcessHistory::data(), and edm::ProcessHistory::size().

Referenced by 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:118
double a
Definition: hdecay.h:119
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::parseCalo(), L1GtTriggerMenuXmlParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), L1GtTriggerMenuXmlParser::parseCastor(), l1t::TriggerMenuParser::parseCorrelation(), L1GtTriggerMenuXmlParser::parseCorrelation(), l1t::TriggerMenuParser::parseCorrelationThreeBody(), l1t::TriggerMenuParser::parseCorrelationWithOverlapRemoval(), l1t::TriggerMenuParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), l1t::TriggerMenuParser::parseMuon(), L1GtTriggerMenuXmlParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), jpt::Efficiency::print(), QuarkoniaTrackSelector::produce(), sistrip::DigiToRawModule::produce(), L1GlobalTriggerRecordProducer::produce(), BSCTrigger::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
bool edm::isDescendant ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 114 of file ProcessHistory.h.

References isAncestor().

114 { return isAncestor(b, a); }
bool isAncestor(ProcessHistory const &a, ProcessHistory const &b)
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
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
template<typename T >
constexpr bool edm::isFinite ( T  x)
template<>
constexpr bool edm::isFinite ( float  x)

Definition at line 14 of file isFinite.h.

References ztail::d, cmsLHEtoEOSManager::l, and findQualityFiles::v.

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  }
tuple d
Definition: ztail.py:151
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
template<>
constexpr bool edm::isFinite ( double  x)

Definition at line 24 of file isFinite.h.

References ztail::d, cmsLHEtoEOSManager::l, and findQualityFiles::v.

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  }
tuple d
Definition: ztail.py:151
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
template<>
constexpr bool edm::isFinite ( long double  x)

Definition at line 34 of file isFinite.h.

References isFinite().

34  {
35  double xx = x;
36  return isFinite(xx);
37  }
constexpr bool isFinite(T x)
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
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
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
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
template<typename T >
constexpr bool edm::isNotFinite ( T  x)

Definition at line 9 of file isFinite.h.

References isFinite().

Referenced by HcalSiPMHitResponse::add(), EcalHitResponse::add(), CaloHitResponse::add(), EcalTimeMapDigitizer::add(), ElectronCalibration::analyze(), Vx3DHLTAnalyzer::analyze(), ElectronCalibrationUniv::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(), L2TauNNProducer::checknan(), TwoBodyDecayEstimator::checkValues(), HcalPulseShapes::convolve(), Qjets::d_ij(), HLTScalersClient::endLuminosityBlock(), FitterFuncs::PulseShapeFunctor::EvalPulseM2(), MagGeometry::fieldInTesla(), EcalRegressionData::fill(), DAClusterizerInZ_vect::fill(), DAClusterizerInZT_vect::fill(), AlignmentExtendedCorrelationsStore::fillCovariance(), AlignmentExtendedCorrelationsStore::fillCovarianceT(), MatrixFillMap::fillEBMap(), MatrixFillMap::fillEEMap(), ClusterFillMap::fillMap(), DivisiveVertexFinder::findVertexes(), DivisiveVertexFinder::findVertexesAlt(), BSFitter::Fit(), KFTrajectoryFitter::fitOne(), SplitVertexResolution::fitResiduals(), FitterFuncs::PulseShapeFunctor::funcShape(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), SequentialVertexFitter< 5 >::hasNan(), ConversionFastHelix::helixStateAtVertex(), CAHitTripletGenerator::hitNtuplets(), CAHitQuadrupletGenerator::hitNtuplets(), MultiHitGeneratorFromChi2::hitSets(), cms::SubEventGenJetProducer::inputTowers(), HiPuRhoProducer::inputTowers(), VirtualJetProducer::inputTowers(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::inspectTrack(), GlobalTrackQualityProducer::kink(), fftjetcms::FFTJetInterface::loadInputCollection(), OptOCOPS::makeMeasurement(), Vx3DHLTAnalyzer::MyFit(), SensitiveDetector::NaNTrap(), CaloSteppingAction::NaNTrap(), reco::mlpf::normalize(), reco::InverseCrosstalkMatrix::operator()(), TtHadLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), HelixForwardPlaneCrossing::pathLength(), StraightLinePlaneCrossing::pathLength(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::PerformAnalyticFit(), pat::PATPhotonSlimmer::produce(), TrackFromPackedCandidateProducer::produce(), ShiftedParticleProducer::produce(), ShiftedParticleProducerT< T >::produce(), PhotonIDValueMapProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), CTPPSFastTrackingProducer::ReconstructArm(), IMACalibBlock::riempiMtr(), IMACalibBlock::riempiVtr(), EcalHitResponse::run(), PVFitter::runFitter(), CTPPSFastTrackingProducer::SearchTrack(), SeedGeneratorForCosmics::seeds(), SimpleCosmicBONSeeder::seeds(), HelixArbitraryPlaneCrossing2Order::solutionByDirection(), ConversionFastHelix::straightLineStateAtVertex(), TrackWithVertexSelector::testVertices(), TrackingNtuple::tpHitIndexListLessSort(), KinematicConstrainedVertexUpdator::update(), DAClusterizerInZ_vect::update(), DAClusterizerInZT_vect::update(), SteppingAction::UserSteppingAction(), PrimaryVertexMonitor::vertexPlots(), DAClusterizerInZ_vect::vertices(), DAClusterizerInZT_vect::vertices(), GeometricAnnealing::weight(), DeterministicAnnealing::weight(), and VirtualJetProducer::writeJets().

9  {
10  return !isFinite(x);
11  }
constexpr bool isFinite(T x)
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
bool edm::isSameEvent ( EventAuxiliary const &  a,
EventAuxiliary const &  b 
)

Definition at line 15 of file EventAuxiliary.cc.

References edm::EventAuxiliary::bunchCrossing(), edm::EventAuxiliary::experimentType(), edm::EventAuxiliary::id(), edm::EventAuxiliary::isRealData(), edm::EventAuxiliary::luminosityBlock(), edm::EventAuxiliary::processGUID(), edm::EventAuxiliary::storeNumber(), and edm::EventAuxiliary::time().

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:118
double a
Definition: hdecay.h:119
bool edm::isSameEvent ( EventPrincipal const &  a,
EventPrincipal const &  b 
)
inline

Definition at line 204 of file EventPrincipal.h.

References edm::EventPrincipal::aux(), and isSameEvent().

204 { return isSameEvent(a.aux(), b.aux()); }
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
bool edm::isTransientEqual ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 777 of file ParameterSet.cc.

References alignCSCRings::e, validate-o2o-wbm::f, mps_fire::i, gpuVertexFinder::iv, dqmiolumiharvest::j, isotrackApplyRegressor::k, Pi, edm::ParameterSet::psetTable(), edm::ParameterSet::tbl(), and edm::ParameterSet::vpsetTable().

Referenced by edm::eventsetup::EventSetupsController::getESProducerAndRegisterProcess(), edm::eventsetup::EventSetupsController::getESSourceAndRegisterProcess(), and operator==().

777  {
778  if (a.tbl().size() != b.tbl().size()) {
779  return false;
780  }
781  if (a.psetTable().size() != b.psetTable().size()) {
782  return false;
783  }
784  if (a.vpsetTable().size() != b.vpsetTable().size()) {
785  return false;
786  }
787  typedef ParameterSet::table::const_iterator Ti;
788  for (Ti i = a.tbl().begin(), e = a.tbl().end(), j = b.tbl().begin(), f = b.tbl().end(); i != e && j != f;
789  ++i, ++j) {
790  if (*i != *j) {
791  return false;
792  }
793  }
794  typedef ParameterSet::psettable::const_iterator Pi;
795  for (Pi i = a.psetTable().begin(), e = a.psetTable().end(), j = b.psetTable().begin(), f = b.psetTable().end();
796  i != e && j != f;
797  ++i, ++j) {
798  if (i->first != j->first) {
799  return false;
800  }
801  if (i->second.isTracked() != j->second.isTracked()) {
802  return false;
803  }
804  if (!isTransientEqual(i->second.pset(), j->second.pset())) {
805  return false;
806  }
807  }
808  typedef ParameterSet::vpsettable::const_iterator PVi;
809  for (PVi i = a.vpsetTable().begin(), e = a.vpsetTable().end(), j = b.vpsetTable().begin(), f = b.vpsetTable().end();
810  i != e && j != f;
811  ++i, ++j) {
812  if (i->first != j->first) {
813  return false;
814  }
815  if (i->second.isTracked() != j->second.isTracked()) {
816  return false;
817  }
818  std::vector<ParameterSet> const& iv = i->second.vpset();
819  std::vector<ParameterSet> const& jv = j->second.vpset();
820  if (iv.size() != jv.size()) {
821  return false;
822  }
823  for (size_t k = 0; k < iv.size(); ++k) {
824  if (!isTransientEqual(iv[k], jv[k])) {
825  return false;
826  }
827  }
828  }
829  return true;
830  }
const double Pi
int32_t *__restrict__ iv
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)
bool edm::isWarningEnabled ( )
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 alignCSCRings::e, label, 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
static const std::string edm::kBaseType ( "EDProducer"  )
static
static std::string const edm::kBaseType ( "Source"  )
static
static const std::string edm::kBaseType ( "EDFilter"  )
static
static const std::string edm::kBaseType ( "EDAnalyzer"  )
static
bool edm::lessThan ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 64 of file LuminosityBlockRange.cc.

References edm::LuminosityBlockRange::endLumiID(), and edm::LuminosityBlockRange::startLumiID().

64  {
65  return lh.endLumiID() < rh.startLumiID();
66  }
bool int lh
Definition: SIMDVec.h:20
bool edm::lessThan ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 64 of file EventRange.cc.

References cms::cuda::assert(), edm::EventRange::endEventID(), 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:20
assert(be >=bs)
bool edm::lessThanSpecial ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 56 of file EventRange.cc.

References edm::EventRange::endEventID(), 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:20
bool edm::loadCap ( const std::string &  name,
std::vector< std::string > &  missingDictionaries 
)

Definition at line 16 of file ClassFiller.cc.

References edm::TypeWithDict::byName(), checkClassDictionaries(), and FDEBUG.

Referenced by edm::StreamerInputSource::declareStreamers(), and loadExtraClasses().

16  {
17  FDEBUG(1) << "Loading dictionary for " << name << "\n";
18  TypeWithDict typeWithDict = TypeWithDict::byName(name);
19  return checkClassDictionaries(missingDictionaries, name, typeWithDict);
20  }
#define FDEBUG(lev)
Definition: DebugMacros.h:19
bool checkClassDictionaries(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
void edm::loadExtraClasses ( )

Definition at line 33 of file ClassFiller.cc.

References visDQMUpload::context, fileCollector::done, loadCap(), AlCaHLTBitMon_QueryRunRegistry::string, and throwMissingDictionariesException().

Referenced by edm::StreamerInputSource::mergeIntoRegistry().

33  {
34  static bool done = false;
35  if (done == false) {
36  std::vector<std::string> missingDictionaries;
37  loadCap(std::string("edm::StreamedProduct"), missingDictionaries);
38  loadCap(std::string("std::vector<edm::StreamedProduct>"), missingDictionaries);
39  loadCap(std::string("edm::SendEvent"), missingDictionaries);
40  loadCap(std::string("std::vector<edm::BranchDescription>"), missingDictionaries);
41  loadCap(std::string("edm::SendJobHeader"), missingDictionaries);
42  if (!missingDictionaries.empty()) {
43  std::string context("Calling loadExtraClasses, checking dictionaries");
44  throwMissingDictionariesException(missingDictionaries, context);
45  }
46  }
47  done = true;
48  }
void throwMissingDictionariesException(std::vector< std::string > &missingDictionaries, std::string const &context)
bool loadCap(const std::string &name, std::vector< std::string > &missingDictionaries)
Definition: ClassFiller.cc:16
std::vector< ErrorSummaryEntry > edm::LoggedErrorsOnlySummary ( unsigned int  iStreamID)

Definition at line 189 of file MessageSender.cc.

References cms::cuda::assert(), alignCSCRings::e, ELerror, dataset::end, errorSummaryMaps, mps_fire::i, submitPVResolutionJobs::key, 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  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
assert(be >=bs)
tuple key
prepare the HTCondor submission files and eventually submit them
constexpr const ELseverityLevel ELerror
string end
Definition: dataset.py:937
std::vector< ErrorSummaryEntry > edm::LoggedErrorsSummary ( unsigned int  iStreamID)

Definition at line 166 of file MessageSender.cc.

References cms::cuda::assert(), alignCSCRings::e, dataset::end, errorSummaryMaps, mps_fire::i, submitPVResolutionJobs::key, 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  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
assert(be >=bs)
tuple key
prepare the HTCondor submission files and eventually submit them
string end
Definition: dataset.py:937
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()
void edm::longBranchPrint ( TTree *  tr)

Definition at line 87 of file CollUtil.cc.

References gather_cfg::cout, and mps_fire::i.

87  {
88  if (tr != nullptr) {
89  Long64_t nB = tr->GetListOfBranches()->GetEntries();
90  for (Long64_t i = 0; i < nB; ++i) {
91  tr->GetListOfBranches()->At(i)->Print();
92  }
93  } else {
94  std::cout << "Missing Events tree?\n";
95  }
96  }
tuple cout
Definition: gather_cfg.py:144
template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator edm::lower_bound_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

wrappers for std::lower_bound

Definition at line 69 of file Algorithms.h.

References ztail::d, and cuda_std::lower_bound().

Referenced by edm::RootFile::fillEventHistory(), edm::FileIndex::findEventEntryPosition(), and edm::FileIndex::findPosition().

69  {
70  return std::lower_bound(s.begin(), s.end(), d);
71  }
tuple d
Definition: ztail.py:151
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator edm::lower_bound_all ( ForwardSequence &  s,
Datum const &  d 
)
inline

Definition at line 74 of file Algorithms.h.

References ztail::d, and cuda_std::lower_bound().

74  {
75  return std::lower_bound(s.begin(), s.end(), d);
76  }
tuple d
Definition: ztail.py:151
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::const_iterator edm::lower_bound_all ( ForwardSequence const &  s,
Datum const &  d,
Predicate  p 
)
inline

Definition at line 79 of file Algorithms.h.

References ztail::d, cuda_std::lower_bound(), and AlCaHLTBitMon_ParallelJobs::p.

81  {
82  return std::lower_bound(s.begin(), s.end(), d, p);
83  }
tuple d
Definition: ztail.py:151
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::iterator edm::lower_bound_all ( ForwardSequence &  s,
Datum const &  d,
Predicate  p 
)
inline

Definition at line 86 of file Algorithms.h.

References ztail::d, cuda_std::lower_bound(), and AlCaHLTBitMon_ParallelJobs::p.

86  {
87  return std::lower_bound(s.begin(), s.end(), d, p);
88  }
tuple d
Definition: ztail.py:151
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
template<typename F >
FunctorTask<F>* edm::make_functor_task ( F  f)
template<typename F >
auto edm::make_lambda_with_holder ( WaitingTaskWithArenaHolder  h,
F &&  f 
)

Definition at line 93 of file WaitingTaskWithArenaHolder.h.

References validate-o2o-wbm::f, cms::cuda::func, and eostools::move().

Referenced by make_waiting_task_with_holder().

93  {
94  return [holder = std::move(h), func = std::forward<F>(f)]() mutable {
95  try {
96  func(holder);
97  } catch (...) {
98  holder.doneWaiting(std::current_exception());
99  }
100  };
101  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
def move
Definition: eostools.py:511
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
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  }
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
template<typename F >
FunctorWaitingTask<F>* edm::make_waiting_task ( F  f)
template<typename F >
auto edm::make_waiting_task_with_holder ( WaitingTaskWithArenaHolder  h,
F &&  f 
)

Definition at line 104 of file WaitingTaskWithArenaHolder.h.

References validate-o2o-wbm::f, cms::cuda::func, make_lambda_with_holder(), and make_waiting_task().

Referenced by cms::cuda::impl::ScopedContextHolderHelper::pushNextTask().

104  {
105  return make_waiting_task(
106  [holder = h, func = make_lambda_with_holder(h, std::forward<F>(f))](std::exception_ptr const* excptr) mutable {
107  if (excptr) {
108  holder.doneWaiting(*excptr);
109  return;
110  }
111  func();
112  });
113  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
FunctorWaitingTask< F > * make_waiting_task(F f)
Definition: WaitingTask.h:101
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
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.

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.
template<typename T >
std::shared_ptr<ESHandleExceptionFactory> edm::makeESHandleExceptionFactory ( T &&  iFunctor)
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: ValidHandle.cc:5
template<typename T >
std::shared_ptr<HandleExceptionFactory> edm::makeHandleExceptionFactory ( T &&  iFunctor)
std::unique_ptr<InputSource> edm::makeInput ( 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 122 of file EventProcessor.cc.

References cms::Exception::addContext(), edm::errors::Configuration, beamerCreator::create(), Exception, edm::InputSourceFactory::get(), get, edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), edm::ModuleDescription::getUniqueID(), edm::ParameterSet::id(), input, edm::InputSourceFactory::makeInputSource(), edm::CommonParams::maxEventsInput_, edm::CommonParams::maxLumisInput_, edm::CommonParams::maxSecondsUntilRampdown_, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::convertException::wrap().

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

130  {
131  ParameterSet* main_input = params.getPSetForUpdate("@main_input");
132  if (main_input == nullptr) {
134  << "There must be exactly one source in the configuration.\n"
135  << "It is missing (or there are sufficient syntax errors such that it is not recognized as the source)\n";
136  }
137 
138  std::string modtype(main_input->getParameter<std::string>("@module_type"));
139 
140  std::unique_ptr<ParameterSetDescriptionFillerBase> filler(
142  ConfigurationDescriptions descriptions(filler->baseType(), modtype);
143  filler->fill(descriptions);
144 
145  try {
146  convertException::wrap([&]() { descriptions.validate(*main_input, std::string("source")); });
147  } catch (cms::Exception& iException) {
148  std::ostringstream ost;
149  ost << "Validating configuration of input source of type " << modtype;
150  iException.addContext(ost.str());
151  throw;
152  }
153 
154  main_input->registerIt();
155 
156  // Fill in "ModuleDescription", in case the input source produces
157  // any EDProducts, which would be registered in the ProductRegistry.
158  // Also fill in the process history item for this process.
159  // There is no module label for the unnamed input source, so
160  // just use "source".
161  // Only the tracked parameters belong in the process configuration.
162  ModuleDescription md(main_input->id(),
163  main_input->getParameter<std::string>("@module_type"),
164  "source",
165  processConfiguration.get(),
166  ModuleDescription::getUniqueID());
167 
168  InputSourceDescription isdesc(md,
169  preg,
170  branchIDListHelper,
171  processBlockHelper,
172  thinnedAssociationsHelper,
173  areg,
174  common.maxEventsInput_,
175  common.maxLumisInput_,
176  common.maxSecondsUntilRampdown_,
177  allocations);
178 
179  areg->preSourceConstructionSignal_(md);
180  std::unique_ptr<InputSource> input;
181  try {
182  //even if we have an exception, send the signal
183  std::shared_ptr<int> sentry(nullptr, [areg, &md](void*) { areg->postSourceConstructionSignal_(md); });
184  convertException::wrap([&]() {
185  input = std::unique_ptr<InputSource>(InputSourceFactory::get()->makeInputSource(*main_input, isdesc).release());
186  input->preEventReadFromSourceSignal_.connect(std::cref(areg->preEventReadFromSourceSignal_));
187  input->postEventReadFromSourceSignal_.connect(std::cref(areg->postEventReadFromSourceSignal_));
188  });
189  } catch (cms::Exception& iException) {
190  std::ostringstream ost;
191  ost << "Constructing input source of type " << modtype;
192  iException.addContext(ost.str());
193  throw;
194  }
195  return input;
196  }
processConfiguration
Definition: Schedule.cc:687
static std::string const input
Definition: EdmProvDump.cc:47
areg
Definition: Schedule.cc:687
void addContext(std::string const &context)
Definition: Exception.cc:165
auto wrap(F iFunc) -> decltype(iFunc())
#define get
preg
Definition: Schedule.cc:687
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 53 of file Principal.cc.

References cppFunctionSkipper::exception, PRODUCT_TYPE, and edm::errors::ProductNotFound.

Referenced by edm::Principal::getByLabel().

58  {
59  std::shared_ptr<cms::Exception> exception = std::make_shared<Exception>(errors::ProductNotFound);
60  if (kindOfType == PRODUCT_TYPE) {
61  *exception << "Principal::" << where
62  << ": Found zero products matching all criteria\nLooking for type: " << productType << "\n"
63  << "Looking for module label: " << label << "\n"
64  << "Looking for productInstanceName: " << instance << "\n"
65  << (process.empty() ? "" : "Looking for process: ") << process << "\n";
66  } else {
67  *exception << "Principal::" << where
68  << ": Found zero products matching all criteria\nLooking for a container with elements of type: "
69  << productType << "\n"
70  << "Looking for module label: " << label << "\n"
71  << "Looking for productInstanceName: " << instance << "\n"
72  << (process.empty() ? "" : "Looking for process: ") << process << "\n";
73  }
74  return exception;
75  }
static PFTauRenderPlugin instance
char const * label
tuple process
Definition: LaserDQM_cfg.py:3
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 }
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method
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 418 of file DetSetVector.h.

References edm::errors::InvalidReference, and edm::Exception::throwThis().

Referenced by makeRefToDetSetVector(), trackerDTC::ProducerED::produce(), and TTClusterBuilder< T >::RetrieveRawHits().

419  {
420  typedef typename HandleT::element_type Vec;
422  typename Vec::const_iterator itFound = iHandle->find(iDetID);
423  if (itFound == iHandle->end()) {
424  Exception::throwThis(errors::InvalidReference,
425  "an edm::Ref to an edm::DetSetVector was given a DetId, ",
426  iDetID,
427  ", that is not in the DetSetVector");
428  }
429  index += (itIter - itFound->data.begin());
430  if (index >= itFound->data.size()) {
431  Exception::throwThis(errors::InvalidReference,
432  "an edm::Ref to a edm::DetSetVector is being made with an interator that is not part of the "
433  "edm::DetSet itself");
434  }
435  return Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type>(
436  iHandle, std::make_pair(iDetID, index));
437  }
uint16_t size_type
template<typename T >
RefToBaseProd<T> edm::makeRefToBaseProdFrom ( RefToBase< T > const &  iRef,
Event const &  iEvent 
)
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
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::const_iterator itIter)
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 441 of file DetSetVector.h.

References makeRefTo().

443  {
444  typedef typename HandleT::element_type Vec;
445  typename Vec::detset::const_iterator itIter2 = itIter;
446  return makeRefTo(iHandle, iDetID, itIter2);
447  }
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:418
std::unique_ptr< RunHelperBase > edm::makeRunHelper ( ParameterSet const &  pset)

Definition at line 12 of file RunHelper.cc.

References edm::ParameterSet::exists(), edm::ParameterSet::getUntrackedParameter(), TrackValidation_cff::pset, submitPVValidationJobs::run, and gather_cfg::runs.

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  }
tuple runs
Definition: gather_cfg.py:88
unsigned int RunNumber_t
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(), MtdTracksValidation::analyze(), EtlSimHitsValidation::analyze(), EtlLocalRecoValidation::analyze(), BtlSimHitsValidation::analyze(), BtlLocalRecoValidation::analyze(), 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
std::string edm::match ( BranchDescription const &  a,
BranchDescription const &  b,
std::string const &  fileName 
)

Definition at line 351 of file BranchDescription.cc.

References edm::BranchDescription::branchID(), edm::BranchDescription::branchName(), edm::BranchDescription::branchType(), edm::BranchDescription::dropped(), and edm::BranchDescription::fullClassName().

Referenced by edm::RootOutputFile::beginInputFile(), edm::eventsetup::EventSetupProvider::checkESProducerSharing(), edm::eventsetup::EventSetupProvider::doRecordsMatch(), edm::EventSelector::identical(), ConversionTools::matchedConversion(), ConversionTools::matchedPromptElectron(), edm::ProductRegistry::merge(), reco::modules::MCMatchCandRefSelector::newEvent(), edm::InputTagMatch::operator()(), CosmicMuonLinksProducer::sharedHits(), edm::ThinnedAssociationsHelper::shouldKeepAssociation(), and edm::detail::TriggerResultsBasedEventSelector::wantEvent().

351  {
352  std::ostringstream differences;
353  if (a.branchName() != b.branchName()) {
354  differences << "Branch name '" << b.branchName() << "' does not match '" << a.branchName() << "'.\n";
355  // Need not compare components of branch name individually.
356  // (a.friendlyClassName() != b.friendlyClassName())
357  // (a.moduleLabel() != b.moduleLabel())
358  // (a.productInstanceName() != b.productInstanceName())
359  // (a.processName() != b.processName())
360  }
361  if (a.branchType() != b.branchType()) {
362  differences << "Branch '" << b.branchName() << "' is a(n) '" << b.branchType() << "' branch\n";
363  differences << " in file '" << fileName << "', but a(n) '" << a.branchType()
364  << "' branch in previous files.\n";
365  }
366  if (a.branchID() != b.branchID()) {
367  differences << "Branch '" << b.branchName() << "' has a branch ID of '" << b.branchID() << "'\n";
368  differences << " in file '" << fileName << "', but '" << a.branchID() << "' in previous files.\n";
369  }
370  if (a.fullClassName() != b.fullClassName()) {
371  differences << "Products on branch '" << b.branchName() << "' have type '" << b.fullClassName() << "'\n";
372  differences << " in file '" << fileName << "', but '" << a.fullClassName() << "' in previous files.\n";
373  }
374  if (!b.dropped() && a.dropped()) {
375  differences << "Branch '" << a.branchName() << "' was dropped in the first input file but is present in '"
376  << fileName << "'.\n";
377  }
378  return differences.str();
379  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
LuminosityBlockID const& edm::max ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 115 of file LuminosityBlockID.h.

115  {
116  return (rh < lh ? lh : rh);
117  }
bool int lh
Definition: SIMDVec.h:20
EventID const& edm::max ( EventID const &  lh,
EventID const &  rh 
)
inline
const unsigned int edm::maxIDlength ( 200  )

Referenced by edm::ErrorObj::setID().

bool edm::merge ( LuminosityBlockRange lh,
LuminosityBlockRange rh 
)

Definition at line 72 of file LuminosityBlockRange.cc.

References SplitLinear::begin, dataset::end, edm::LuminosityBlockRange::endLumiID(), 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());
76  rh = lh = LuminosityBlockRange(begin, end);
77  return true;
78  }
79  return false;
80  }
T min(T a, T b)
Definition: MathUtil.h:58
string end
Definition: dataset.py:937
LuminosityBlockID const& edm::min ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 111 of file LuminosityBlockID.h.

111  {
112  return (rh < lh ? rh : lh);
113  }
bool int lh
Definition: SIMDVec.h:20
EventID const& edm::min ( EventID const &  lh,
EventID const &  rh 
)
inline
std::string edm::moduleName ( StableProvenance const &  provenance,
ProcessHistory const &  history 
)

Definition at line 27 of file Provenance.cc.

References edm::ParameterSet::getParameter(), edm::StableProvenance::moduleLabel(), parameterSet(), AlCaHLTBitMon_QueryRunRegistry::string, triggerResults(), and triggerResultsInserter().

Referenced by TopDecaySubset::checkShowerModel(), edm::DaqProvenanceHelper::DaqProvenanceHelper(), edm::LHEProvenanceHelper::fillCommonProcessParameterSet(), OniaVtxReProducer::OniaVtxReProducer(), HadronAndPartonSelector::produce(), edm::RootFile::reportOpened(), 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  }
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:44
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::moduleRegistry_ ( new   ModuleRegistry())

Referenced by tns().

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  }
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  }
static Principal::CacheIdentifier_t edm::nextIdentifier ( )
inlinestatic

Definition at line 118 of file Principal.cc.

References s_nextIdentifier.

Referenced by edm::Principal::fillPrincipal().

118  {
119  return s_nextIdentifier.fetch_add(1, std::memory_order_acq_rel);
120  }
static std::atomic< Principal::CacheIdentifier_t > s_nextIdentifier
Definition: Principal.cc:117
edm::nextIndexValues_ ( )
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, filterCSVwithJSON::copy, getPayloadData::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  }
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
Long64_t edm::numEntries ( TFile *  hdl,
std::string const &  trname 
)

Definition at line 50 of file CollUtil.cc.

References gather_cfg::cout, and MainPageGenerator::tree.

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  }
tuple cout
Definition: gather_cfg.py:144
TFile * edm::openFileHdl ( std::string const &  fname)

Definition at line 24 of file CollUtil.cc.

References gather_cfg::cout, and beamvalidation::exit().

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
tuple cout
Definition: gather_cfg.py:144
bool edm::operator!= ( FileID const &  lh,
FileID const &  rh 
)
inline

Definition at line 27 of file FileID.h.

27 { return !(lh == rh); }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator!= ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 41 of file RunLumiEntryInfo.h.

References b.

41 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( ElementID const &  lh,
ElementID const &  rh 
)
inline

Definition at line 46 of file ElementID.h.

46 { return !(lh == rh); }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator!= ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 49 of file EventEntryInfo.h.

References b.

49 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 50 of file ProductID.h.

50 { return !(lh == rh); }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator!= ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 51 of file BranchKey.h.

References b.

51 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( TypeID const &  a,
TypeID const &  b 
)
inline

Definition at line 55 of file TypeID.h.

References b.

55 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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.

57  {
58  return static_cast<B1<T1> >(a) != static_cast<B2<T2> >(b);
59  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( EventEntryDescription const &  a,
EventEntryDescription const &  b 
)
inline

Definition at line 57 of file EventEntryDescription.h.

References b.

57 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 59 of file ProductProvenance.h.

References b.

59 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( const TypeIDBase a,
const TypeIDBase b 
)
inline

Definition at line 64 of file TypeIDBase.h.

References b.

64 { return !(a == b); }
double b
Definition: hdecay.h:118
bool edm::operator!= ( Parentage const &  a,
Parentage const &  b 
)
inline

Definition at line 70 of file Parentage.h.

References b.

70 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 71 of file ProcessConfiguration.h.

References b.

71 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
constexpr bool edm::operator!= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 105 of file ELseverityLevel.h.

105  {
106  return e1.cmp(e2) != 0;
107  }
bool edm::operator!= ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 110 of file ProcessHistory.h.

References b.

110 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
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:20
bool edm::operator!= ( TypeWithDict const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 141 of file TypeWithDict.h.

References b.

141 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 142 of file RefCore.h.

142 { return !(lhs == rhs); }
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  }
bool edm::operator!= ( TypeWithDict const &  a,
std::type_info const &  b 
)
inline

Definition at line 145 of file TypeWithDict.h.

References b.

145 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
bool edm::operator!= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 310 of file View.h.

310  {
311  return !(lhs == rhs);
312  }
bool edm::operator!= ( std::type_info const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 149 of file TypeWithDict.h.

References a.

149 { return !(b == a); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
bool edm::operator!= ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 158 of file RefToBaseProd.h.

158  {
159  return !(lhs == rhs);
160  }
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  }
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  }
template<typename C >
bool edm::operator!= ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 183 of file RefProd.h.

183  {
184  return !(lhs == rhs);
185  }
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  }
bool edm::operator!= ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 198 of file ProductRegistry.h.

References b.

198 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator!= ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 201 of file Entry.h.

References b.

201 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
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  }
template<typename T >
bool edm::operator!= ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 241 of file Ptr.h.

241  {
242  return !(lhs == rhs);
243  }
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  }
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  }
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  }
bool edm::operator!= ( ParameterSet const &  a,
ParameterSet const &  b 
)
inline

Definition at line 295 of file ParameterSet.h.

References b.

295 { return !(a == b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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 578 of file Ref.h.

578  {
579  return !(lhs == rhs);
580  }
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 182 of file ParameterDescriptionNode.cc.

183  {
184  return std::make_unique<ANDGroupDescription>(node_left, node_right);
185  }
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( std::unique_ptr< ParameterDescriptionNode >  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 187 of file ParameterDescriptionNode.cc.

References eostools::move().

188  {
189  return std::make_unique<ANDGroupDescription>(std::move(node_left), node_right);
190  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 192 of file ParameterDescriptionNode.cc.

References eostools::move().

193  {
194  return std::make_unique<ANDGroupDescription>(node_left, std::move(node_right));
195  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( std::unique_ptr< ParameterDescriptionNode >  node_left,
std::unique_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 197 of file ParameterDescriptionNode.cc.

References eostools::move().

198  {
199  return std::make_unique<ANDGroupDescription>(std::move(node_left), std::move(node_right));
200  }
def move
Definition: eostools.py:511
template<typename C >
Association<C> edm::operator+ ( const Association< C > &  a1,
const Association< C > &  a2 
)
inline

Definition at line 122 of file Association.h.

References a, isotrackTrainRegressor::a1, and isotrackTrainRegressor::a2.

122  {
123  Association<C> a = a1;
124  a += a2;
125  return a;
126  }
double a
Definition: hdecay.h:119
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 130 of file RefVectorIterator.h.

References dqmiodumpmetadata::n.

131  {
132  return iter + n;
133  }
template<typename T >
ValueMap<T> edm::operator+ ( const ValueMap< T > &  a1,
const ValueMap< T > &  a2 
)
inline

Definition at line 273 of file ValueMap.h.

References a, isotrackTrainRegressor::a1, and isotrackTrainRegressor::a2.

273  {
274  ValueMap<T> a = a1;
275  a += a2;
276  return a;
277  }
double a
Definition: hdecay.h:119
bool edm::operator< ( EventProcessHistoryID const &  lh,
EventProcessHistoryID const &  rh 
)
inline

Definition at line 22 of file EventProcessHistoryID.h.

References edm::EventProcessHistoryID::eventID().

22  {
23  return lh.eventID() < rh.eventID();
24  }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator< ( ModuleProcessName const &  a,
ModuleProcessName const &  b 
)
inline

Definition at line 25 of file ModuleProcessName.h.

References edm::ModuleProcessName::moduleLabel(), and edm::ModuleProcessName::processName().

25  {
26  return a.processName() == b.processName() ? a.moduleLabel() < b.moduleLabel() : a.processName() < b.processName();
27  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 32 of file RunLumiEntryInfo.h.

References edm::RunLumiEntryInfo::branchID().

32 { return a.branchID() < b.branchID(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( StoredProductProvenance const &  a,
StoredProductProvenance const &  b 
)
inline

Definition at line 36 of file StoredProductProvenance.h.

References edm::StoredProductProvenance::branchID_.

36  {
37  return a.branchID_ < b.branchID_;
38  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 38 of file BranchKey.h.

References edm::BranchKey::friendlyClassName(), edm::BranchKey::moduleLabel(), edm::BranchKey::processName(), and edm::BranchKey::productInstanceName().

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:118
double a
Definition: hdecay.h:119
bool edm::operator< ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 40 of file EventEntryInfo.h.

References edm::EventEntryInfo::branchID().

40 { return a.branchID() < b.branchID(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( ElementID const &  lh,
ElementID const &  rh 
)

Definition at line 11 of file ElementID.cc.

References edm::ElementID::id(), and edm::ElementID::index().

11  {
12  return lh.id() < rh.id() || (lh.id() == rh.id() && lh.index() < rh.index());
13  }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator< ( WorkerTimingSummary const &  a,
WorkerTimingSummary const &  b 
)
inline

Definition at line 48 of file TriggerTimingReport.h.

References edm::WorkerTimingSummary::moduleLabel.

48  {
49  return a.moduleLabel < b.moduleLabel;
50  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 50 of file ProductProvenance.h.

References edm::ProductProvenance::branchID().

50 { return a.branchID() < b.branchID(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( ProductID const &  lh,
ProductID const &  rh 
)

Definition at line 11 of file ProductID.cc.

References 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:20
bool edm::operator< ( WorkerSummary const &  a,
WorkerSummary const &  b 
)
inline

Definition at line 54 of file TriggerReport.h.

References edm::WorkerSummary::moduleLabel.

54 { return a.moduleLabel < b.moduleLabel; }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator< ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)

Definition at line 88 of file ProcessConfiguration.cc.

References edm::ProcessConfiguration::parameterSetID(), edm::ProcessConfiguration::passID(), edm::ProcessConfiguration::processName(), and edm::ProcessConfiguration::releaseVersion().

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:118
double a
Definition: hdecay.h:119
template<class T >
bool edm::operator< ( DetSet< T > const &  x,
DetSet< T > const &  y 
)
inline

Definition at line 89 of file DetSet.h.

89  {
90  return x.detId() < y.detId();
91  }
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
template<class T >
bool edm::operator< ( DetSet< T > const &  x,
det_id_type  y 
)
inline

Definition at line 94 of file DetSet.h.

94  {
95  return x.detId() < y;
96  }
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
template<class T >
bool edm::operator< ( det_id_type  x,
DetSet< T > const &  y 
)
inline

Definition at line 99 of file DetSet.h.

99  {
100  return x < y.detId();
101  }
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
constexpr bool edm::operator< ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 108 of file ELseverityLevel.h.

108  {
109  return e1.cmp(e2) < 0;
110  }
bool edm::operator< ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)

Definition at line 185 of file FileIndex.cc.

References edm::FileIndex::Element::event_, 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:20
bool edm::operator< ( TypeWithDict const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 137 of file TypeWithDict.h.

References edm::TypeWithDict::name().

137 { return a.name() < b.name(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
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(), and edm::RefCore::productPtr().

144  {
145  return lhs.isTransient() ? (rhs.isTransient() ? lhs.productPtr() < rhs.productPtr() : false)
146  : (rhs.isTransient() ? true : lhs.id() < rhs.id());
147  }
template<typename T >
bool edm::operator< ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 315 of file View.h.

315  {
316  return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
317  }
template<typename T >
bool edm::operator< ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 163 of file RefToBaseProd.h.

163  {
164  return (lhs.refCore() < rhs.refCore());
165  }
template<typename C >
bool edm::operator< ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 188 of file RefProd.h.

188  {
189  return (lhs.refCore() < rhs.refCore());
190  }
bool edm::operator< ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 300 of file BranchDescription.cc.

References edm::BranchDescription::branchAliases(), edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::BranchDescription::friendlyClassName(), edm::BranchDescription::fullClassName(), edm::BranchDescription::moduleLabel(), edm::BranchDescription::present(), edm::BranchDescription::processName(), and edm::BranchDescription::productInstanceName().

300  {
301  if (a.processName() < b.processName())
302  return true;
303  if (b.processName() < a.processName())
304  return false;
305  if (a.fullClassName() < b.fullClassName())
306  return true;
307  if (b.fullClassName() < a.fullClassName())
308  return false;
309  if (a.friendlyClassName() < b.friendlyClassName())
310  return true;
311  if (b.friendlyClassName() < a.friendlyClassName())
312  return false;
313  if (a.productInstanceName() < b.productInstanceName())
314  return true;
315  if (b.productInstanceName() < a.productInstanceName())
316  return false;
317  if (a.moduleLabel() < b.moduleLabel())
318  return true;
319  if (b.moduleLabel() < a.moduleLabel())
320  return false;
321  if (a.branchType() < b.branchType())
322  return true;
323  if (b.branchType() < a.branchType())
324  return false;
325  if (a.branchID() < b.branchID())
326  return true;
327  if (b.branchID() < a.branchID())
328  return false;
329  if (a.branchAliases() < b.branchAliases())
330  return true;
331  if (b.branchAliases() < a.branchAliases())
332  return false;
333  if (a.present() < b.present())
334  return true;
335  if (b.present() < a.present())
336  return false;
337  return false;
338  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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 246 of file Ptr.h.

246  {
249  return (lhs.refCore() == rhs.refCore() ? lhs.key() < rhs.key() : lhs.refCore() < rhs.refCore());
250  }
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  }
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  }
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  }
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 583 of file Ref.h.

583  {
586  return (lhs.refCore() == rhs.refCore() ? compare_key<C>(lhs.key(), rhs.key()) : lhs.refCore() < rhs.refCore());
587  }
std::ostream & edm::operator<< ( std::ostream &  os,
TimeOfDay const &  tod 
)

Definition at line 30 of file TimeOfDay.cc.

References SplitLinear::begin, min(), 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);
45  precision = std::min(precision, 6);
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  }
T min(T a, T b)
Definition: MathUtil.h:58
std::ostream & edm::operator<< ( std::ostream &  os,
ParameterSetBlob const &  blob 
)

Definition at line 5 of file ParameterSetBlob.cc.

References edm::ParameterSetBlob::pset().

5  {
6  os << blob.pset();
7  return os;
8  }
std::ostream & edm::operator<< ( std::ostream &  os,
FileID const &  id 
)

Definition at line 5 of file FileID.cc.

5  {
6  os << id.fid();
7  return os;
8  }
std::ostream & edm::operator<< ( std::ostream &  os,
PlaceInPathContext const &  ppc 
)

Definition at line 10 of file PlaceInPathContext.cc.

References 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  }
std::ostream & edm::operator<< ( std::ostream &  os,
BranchType const &  branchType 
)

Definition at line 9 of file BranchType.cc.

References BranchTypeToString().

9  {
10  os << BranchTypeToString(branchType);
11  return os;
12  }
std::string const & BranchTypeToString(BranchType const &branchType)
Definition: BranchType.cc:93
std::ostream & edm::operator<< ( std::ostream &  os,
BranchID const &  id 
)

Definition at line 12 of file BranchID.cc.

12  {
13  os << id.id();
14  return os;
15  }
std::ostream& edm::operator<< ( std::ostream &  os,
RunLumiEntryInfo const &  p 
)
inline

Definition at line 34 of file RunLumiEntryInfo.h.

References edm::RunLumiEntryInfo::write().

34  {
35  p.write(os);
36  return os;
37  }
std::ostream & edm::operator<< ( std::ostream &  os,
InternalContext const &  ic 
)

Definition at line 11 of file InternalContext.cc.

References edm::InternalContext::eventID(), and edm::InternalContext::moduleCallingContext().

11  {
12  os << "InternalContext " << ic.eventID() << "\n";
13  if (ic.moduleCallingContext()) {
14  os << " " << *ic.moduleCallingContext();
15  }
16  return os;
17  }
std::ostream & edm::operator<< ( std::ostream &  os,
FileFormatVersion const &  ff 
)

Definition at line 47 of file FileFormatVersion.cc.

References edm::FileFormatVersion::value().

47  {
48  os << ff.value();
49  return os;
50  }
std::ostream& edm::operator<< ( std::ostream &  os,
EventEntryInfo const &  p 
)
inline

Definition at line 42 of file EventEntryInfo.h.

References edm::EventEntryInfo::write().

42  {
43  p.write(os);
44  return os;
45  }
std::ostream & edm::operator<< ( std::ostream &  os,
PathContext const &  pc 
)

Definition at line 14 of file PathContext.cc.

References edm::PathContext::kEndPath, 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  }
std::ostream & edm::operator<< ( std::ostream &  os,
ProcessContext const &  pc 
)

Definition at line 27 of file ProcessContext.cc.

References edm::ProcessContext::isSubProcess(), 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  }
std::ostream& edm::operator<< ( std::ostream &  os,
EventEntryDescription const &  p 
)
inline

Definition at line 50 of file EventEntryDescription.h.

References edm::EventEntryDescription::write().

50  {
51  p.write(os);
52  return os;
53  }
std::ostream & edm::operator<< ( std::ostream &  os,
ElementID const &  id 
)

Definition at line 15 of file ElementID.cc.

15  {
16  os << id.id() << ":" << id.index();
17  return os;
18  }
std::ostream& edm::operator<< ( std::ostream &  iOS,
ESProxyIndex const &  iIndex 
)
inline

Definition at line 50 of file ESIndices.h.

References edm::ESProxyIndex::value().

50  {
51  iOS << iIndex.value();
52  return iOS;
53  }
std::ostream & edm::operator<< ( std::ostream &  ost,
const MallocOpts &  opts 
)

Definition at line 24 of file MallocOpts.cc.

References edm::MallocOpts::mmap_max_, edm::MallocOpts::mmap_thr_, edm::MallocOpts::top_pad_, and edm::MallocOpts::trim_thr_.

24  {
25  ost << "mmap_max=" << opts.mmap_max_ << " trim_threshold=" << opts.trim_thr_ << " top_padding=" << opts.top_pad_
26  << " mmap_threshold=" << opts.mmap_thr_;
27  return ost;
28  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductProvenance const &  p 
)
inline

Definition at line 52 of file ProductProvenance.h.

References edm::ProductProvenance::write().

52  {
53  p.write(os);
54  return os;
55  }
std::ostream & edm::operator<< ( std::ostream &  os,
BranchKey const &  bk 
)

Definition at line 17 of file BranchKey.cc.

References edm::BranchKey::friendlyClassName(), edm::BranchKey::moduleLabel(), edm::BranchKey::processName(), and edm::BranchKey::productInstanceName().

17  {
18  os << "BranchKey(" << bk.friendlyClassName() << ", " << bk.moduleLabel() << ", " << bk.productInstanceName() << ", "
19  << bk.processName() << ')';
20  return os;
21  }
std::ostream & edm::operator<< ( std::ostream &  os,
ProductID const &  id 
)

Definition at line 6 of file ProductID.cc.

6  {
7  os << id.processIndex() << ":" << id.productIndex();
8  return os;
9  }
std::ostream & edm::operator<< ( std::ostream &  os,
TypeID const &  id 
)

Definition at line 117 of file TypeID.cc.

117  {
118  id.print(os);
119  return os;
120  }
std::ostream& edm::operator<< ( std::ostream &  os,
const RunAuxiliary &  p 
)
inline

Definition at line 58 of file RunAuxiliary.h.

References edm::RunAuxiliary::write().

58  {
59  p.write(os);
60  return os;
61  }
std::ostream & edm::operator<< ( std::ostream &  os,
ParentContext const &  pc 
)

Definition at line 86 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(), edm::ParentContext::placeInPathContext(), edm::ParentContext::streamContext(), and edm::ParentContext::type().

86  {
87  if (pc.type() == ParentContext::Type::kGlobal && pc.globalContext()) {
88  os << *pc.globalContext();
89  } else if (pc.type() == ParentContext::Type::kInternal && pc.internalContext()) {
90  os << *pc.internalContext();
91  } else if (pc.type() == ParentContext::Type::kModule && pc.moduleCallingContext()) {
92  os << *pc.moduleCallingContext();
93  } else if (pc.type() == ParentContext::Type::kPlaceInPath && pc.placeInPathContext()) {
94  os << *pc.placeInPathContext();
95  } else if (pc.type() == ParentContext::Type::kStream && pc.streamContext()) {
96  os << *pc.streamContext();
97  } else if (pc.type() == ParentContext::Type::kInvalid) {
98  os << "ParentContext invalid\n";
99  }
100  return os;
101  }
std::ostream & edm::operator<< ( std::ostream &  os,
const ProductSelector &  gs 
)

Definition at line 124 of file ProductSelector.cc.

References edm::ProductSelector::print().

124  {
125  gs.print(os);
126  return os;
127  }
std::ostream& edm::operator<< ( std::ostream &  os,
Parentage const &  p 
)
inline

Definition at line 63 of file Parentage.h.

References edm::Parentage::write().

63  {
64  p.write(os);
65  return os;
66  }
std::ostream& edm::operator<< ( std::ostream &  os,
StableProvenance const &  p 
)
inline

Definition at line 65 of file StableProvenance.h.

References edm::StableProvenance::write().

65  {
66  p.write(os);
67  return os;
68  }
std::ostream& edm::operator<< ( std::ostream &  os,
const LuminosityBlockAuxiliary &  p 
)
inline

Definition at line 66 of file LuminosityBlockAuxiliary.h.

References edm::LuminosityBlockAuxiliary::write().

66  {
67  p.write(os);
68  return os;
69  }
std::ostream & edm::operator<< ( std::ostream &  oStream,
LuminosityBlockRange const &  iID 
)

Definition at line 43 of file LuminosityBlockRange.cc.

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

43  {
44  oStream << "'" << r.startRun() << ":" << r.startLumi() << "-" << r.endRun() << ":" << r.endLumi() << "'";
45  return oStream;
46  }
std::ostream & edm::operator<< ( std::ostream &  oStream,
EventRange const &  iID 
)

Definition at line 27 of file EventRange.cc.

References edm::EventRange::endEvent(), edm::EventRange::endLumi(), edm::EventRange::endRun(), edm::EventRange::startEvent(), edm::EventRange::startLumi(), and edm::EventRange::startRun().

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  }
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  }
std::ostream & edm::operator<< ( std::ostream &  os,
ProcessConfiguration const &  pc 
)

Definition at line 106 of file ProcessConfiguration.cc.

References 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  }
std::ostream & edm::operator<< ( std::ostream &  ost,
InputTag const &  tag 
)

Definition at line 202 of file InputTag.cc.

References edm::InputTag::instance(), edm::InputTag::label(), LaserDQM_cfg::process, edm::InputTag::process(), and AlCaHLTBitMon_QueryRunRegistry::string.

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  }
tuple process
Definition: LaserDQM_cfg.py:3
std::ostream& edm::operator<< ( std::ostream &  iOS,
ESTokenIndex const &  iIndex 
)
inline

Definition at line 75 of file ESIndices.h.

References edm::ESTokenIndex::value().

75  {
76  iOS << iIndex.value();
77  return iOS;
78  }
std::ostream & edm::operator<< ( std::ostream &  t,
OStreamColumn const &  c 
)

Definition at line 12 of file OStreamColumn.cc.

References submitPVValidationJobs::t, edm::OStreamColumn::title_, and edm::OStreamColumn::width_.

12  {
13  t << std::setw(c.width_) << c.title_;
14  return t;
15  }
const edm::EventSetup & c
std::ostream & edm::operator<< ( std::ostream &  os,
GlobalContext const &  gc 
)

Definition at line 21 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(), edm::GlobalContext::processContext(), edm::GlobalContext::runIndex(), edm::GlobalContext::timestamp(), edm::GlobalContext::transition(), edm::Timestamp::unixTime(), edm::RunIndex::value(), and edm::LuminosityBlockIndex::value().

21  {
22  os << "GlobalContext: transition = ";
23  switch (gc.transition()) {
24  case GlobalContext::Transition::kBeginJob:
25  os << "BeginJob";
26  break;
27  case GlobalContext::Transition::kBeginProcessBlock:
28  os << "BeginProcessBlock";
29  break;
30  case GlobalContext::Transition::kAccessInputProcessBlock:
31  os << "AccessInputProcessBlock";
32  break;
33  case GlobalContext::Transition::kBeginRun:
34  os << "BeginRun";
35  break;
36  case GlobalContext::Transition::kBeginLuminosityBlock:
37  os << "BeginLuminosityBlock";
38  break;
39  case GlobalContext::Transition::kEndLuminosityBlock:
40  os << "EndLuminosityBlock";
41  break;
42  case GlobalContext::Transition::kEndRun:
43  os << "EndRun";
44  break;
45  case GlobalContext::Transition::kEndProcessBlock:
46  os << "EndProcessBlock";
47  break;
48  case GlobalContext::Transition::kEndJob:
49  os << "EndJob";
50  break;
51  case GlobalContext::Transition::kWriteProcessBlock:
52  os << "WriteProcessBlock";
53  break;
54  case GlobalContext::Transition::kWriteRun:
55  os << "WriteRun";
56  break;
57  case GlobalContext::Transition::kWriteLuminosityBlock:
58  os << "WriteLuminosityBlock";
59  break;
60  }
61  os << "\n " << gc.luminosityBlockID() << "\n runIndex = " << gc.runIndex().value()
62  << " luminosityBlockIndex = " << gc.luminosityBlockIndex().value()
63  << " unixTime = " << gc.timestamp().unixTime() << " microsecondOffset = " << gc.timestamp().microsecondOffset()
64  << "\n";
65  if (gc.processContext()) {
66  os << " " << *gc.processContext();
67  }
68  return os;
69  }
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  }
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(), 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()) {
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;
55  os << "EndStream";
56  break;
57  case StreamContext::Transition::kInvalid:
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  }
std::ostream& edm::operator<< ( std::ostream &  os,
ModuleDescription const &  p 
)
inline

Definition at line 85 of file ModuleDescription.h.

References edm::ModuleDescription::write().

85  {
86  p.write(os);
87  return os;
88  }
std::ostream & edm::operator<< ( std::ostream &  os,
ModuleCallingContext const &  mcc 
)

Definition at line 138 of file ModuleCallingContext.cc.

References edm::ModuleCallingContext::kInvalid, edm::ParentContext::kModule, edm::ModuleCallingContext::kPrefetching, edm::ModuleCallingContext::kRunning, edm::ModuleCallingContext::moduleCallingContext(), edm::ModuleCallingContext::moduleDescription(), edm::ModuleCallingContext::parent(), edm::ModuleCallingContext::previousModuleOnThread(), edm::ModuleCallingContext::state(), and edm::ModuleCallingContext::type().

138  {
139  os << "ModuleCallingContext state = ";
140  switch (mcc.state()) {
141  case ModuleCallingContext::State::kInvalid:
142  os << "Invalid";
143  break;
144  case ModuleCallingContext::State::kPrefetching:
145  os << "Prefetching";
146  break;
147  case ModuleCallingContext::State::kRunning:
148  os << "Running";
149  break;
150  }
151  os << "\n";
152  if (mcc.state() == ModuleCallingContext::State::kInvalid) {
153  return os;
154  }
155  if (mcc.moduleDescription()) {
156  os << " moduleDescription: " << *mcc.moduleDescription() << "\n";
157  }
158  os << " " << mcc.parent();
159  if (mcc.previousModuleOnThread()) {
160  if (mcc.type() == ParentContext::Type::kModule && mcc.moduleCallingContext() == mcc.previousModuleOnThread()) {
161  os << " previousModuleOnThread: same as parent module\n";
162  } else {
163  os << " previousModuleOnThread: " << *mcc.previousModuleOnThread();
164  }
165  }
166  return os;
167  }
std::ostream& edm::operator<< ( std::ostream &  os,
ParameterSetEntry const &  psetEntry 
)

Definition at line 92 of file ParameterSetEntry.cc.

References edm::ParameterSetEntry::dump().

92  {
93  os << psetEntry.dump();
94  return os;
95  }
std::ostream& edm::operator<< ( std::ostream &  os,
Provenance const &  p 
)
inline

Definition at line 97 of file Provenance.h.

References edm::Provenance::write().

97  {
98  p.write(os);
99  return os;
100  }
std::ostream& edm::operator<< ( std::ostream &  iOS,
ESRecordIndex const &  iIndex 
)
inline

Definition at line 102 of file ESIndices.h.

References edm::ESRecordIndex::value().

102  {
103  iOS << iIndex.value();
104  return iOS;
105  }
std::ostream& edm::operator<< ( std::ostream &  os,
JobReport::RunReport const &  f 
)

Definition at line 105 of file JobReport.cc.

References print().

105 { return print(os, f); }
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
std::ostream& edm::operator<< ( std::ostream &  os,
const EventAuxiliary &  p 
)
inline

Definition at line 106 of file EventAuxiliary.h.

References edm::EventAuxiliary::write().

106  {
107  p.write(os);
108  return os;
109  }
std::ostream& edm::operator<< ( std::ostream &  ost,
const HLTGlobalStatus &  hlt 
)
inline

Formatted printout of trigger tbale.

Definition at line 106 of file HLTGlobalStatus.h.

References mps_fire::i, dqmiodumpmetadata::n, edm::HLTGlobalStatus::size(), edm::HLTGlobalStatus::state(), and runonSM::text.

106  {
107  std::vector<std::string> text(4);
108  text[0] = "n";
109  text[1] = "1";
110  text[2] = "0";
111  text[3] = "e";
112  const unsigned int n(hlt.size());
113  for (unsigned int i = 0; i != n; ++i)
114  ost << text.at(hlt.state(i));
115  return ost;
116  }
tuple text
Definition: runonSM.py:43
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  }
template<class T >
ErrorObj& edm::operator<< ( ErrorObj &  e,
const T t 
)
inline
ErrorObj & edm::operator<< ( ErrorObj &  e,
const char  s[] 
)

Definition at line 259 of file ErrorObj.cc.

References edm::ErrorObj::opltlt().

259 { return e.opltlt(s); }
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  }
std::ostream & edm::operator<< ( std::ostream &  os,
ESInputTag const &  tag 
)

Definition at line 64 of file ESInputTag.cc.

References edm::ESInputTag::data(), and edm::ESInputTag::module().

64  {
65  os << "Module label: " << tag.module() << " Data label: " << tag.data();
66  return os;
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
std::ostream& edm::operator<< ( std::ostream &  os,
const edm::FileInPath fip 
)
inline

Definition at line 126 of file FileInPath.h.

References edm::FileInPath::write().

126  {
127  fip.write(os);
128  return os;
129  }
void write(std::ostream &os) const
Definition: FileInPath.cc:163
std::ostream& edm::operator<< ( std::ostream &  os,
VParameterSetEntry const &  vpsetEntry 
)

Definition at line 137 of file VParameterSetEntry.cc.

References edm::VParameterSetEntry::dump().

137  {
138  os << vpsetEntry.dump();
139  return os;
140  }
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(), edm::FileIndex::kEvent, edm::FileIndex::kLumi, and edm::FileIndex::kRun.

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  }
std::ostream & edm::operator<< ( std::ostream &  os,
TypeWithDict const &  id 
)

Definition at line 827 of file TypeWithDict.cc.

References edm::TypeWithDict::print().

827  {
828  ty.print(os);
829  return os;
830  }
std::ostream& edm::operator<< ( std::ostream &  os,
const CompactEventAuxiliaryVector::CompactEventAuxiliary &  p 
)
inline

Definition at line 155 of file CompactEventAuxiliaryVector.h.

References edm::CompactEventAuxiliaryVector::CompactEventAuxiliary::write().

155  {
156  p.write(os);
157  return os;
158  }
std::ostream& edm::operator<< ( std::ostream &  os,
const CompactEventAuxiliaryVector::CompactEventAuxiliaryExtra &  p 
)
inline

Definition at line 160 of file CompactEventAuxiliaryVector.h.

References edm::CompactEventAuxiliaryVector::CompactEventAuxiliaryExtra::write().

160  {
161  p.write(os);
162  return os;
163  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductResolverBase const &  phb 
)
inline

Definition at line 198 of file ProductResolverBase.h.

References edm::ProductResolverBase::write().

198  {
199  phb.write(os);
200  return os;
201  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductRegistry const &  pr 
)
inline

Definition at line 200 of file ProductRegistry.h.

References edm::ProductRegistry::print().

200  {
201  pr.print(os);
202  return os;
203  }
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.

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
std::ostream& edm::operator<< ( std::ostream &  os,
BranchDescription const &  p 
)
inline

Definition at line 238 of file BranchDescription.h.

References edm::BranchDescription::write().

238  {
239  p.write(os);
240  return os;
241  }
template<typename PROD >
std::ostream& edm::operator<< ( std::ostream &  os,
Handle< PROD > const &  h 
)
inline

Definition at line 253 of file PrincipalGetAdapter.h.

References h.

253  {
254  os << h.product() << " " << h.provenance() << " " << h.id();
255  return os;
256  }
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 alignCSCRings::e, mps_fire::i, and alignCSCRings::r.

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  }
std::ostream & edm::operator<< ( std::ostream &  os,
JobReport::InputFile const &  f 
)

Definition at line 103 of file JobReport.cc.

References print().

103 { return print(os, f); }
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
std::ostream & edm::operator<< ( std::ostream &  os,
JobReport::OutputFile const &  f 
)

Definition at line 104 of file JobReport.cc.

References print().

104 { return print(os, f); }
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
std::ostream& edm::operator<< ( std::ostream &  os,
ParameterSet const &  pset 
)

Definition at line 856 of file ParameterSet.cc.

References edm::ParameterSet::dump().

856  {
857  os << pset.dump();
858  return os;
859  }
std::ostream& edm::operator<< ( std::ostream &  os,
Entry const &  entry 
)

Definition at line 1115 of file Entry.cc.

References alignCSCRings::e, edm::Entry::getInt32(), edm::Entry::getPSet(), edm::Entry::getString(), edm::Entry::getUInt32(), edm::Entry::getVESInputTag(), edm::Entry::getVInputTag(), edm::Entry::getVPSet(), edm::Entry::getVString(), mps_fire::i, edm::Entry::isTracked(), kTint32, kTPSet, kTstring, kTuint32, kTVESInputTag, kTVInputTag, kTvstring, edm::Entry::rep, command_line::start, AlCaHLTBitMon_QueryRunRegistry::string, getPayloadData::tags, edm::Entry::typeCode(), and typeFromCode().

1115  {
1116  os << typeFromCode(entry.typeCode()) << " " << (entry.isTracked() ? "tracked " : "untracked ") << " = ";
1117 
1118  // now handle the difficult cases
1119  switch (entry.typeCode()) {
1120  case kTPSet: // ParameterSet
1121  {
1122  os << entry.getPSet();
1123  break;
1124  }
1125  case 'p': // vector<ParameterSet>
1126  {
1127  // Make sure we get the representation of each contained
1128  // ParameterSet including *only* tracked parameters
1129  std::vector<ParameterSet> whole = entry.getVPSet();
1130  std::vector<ParameterSet>::const_iterator i = whole.begin();
1131  std::vector<ParameterSet>::const_iterator e = whole.end();
1132  std::string start = "";
1133  std::string const between(",\n");
1134  os << "{" << std::endl;
1135  for (; i != e; ++i) {
1136  os << start << *i;
1137  start = between;
1138  }
1139  if (!whole.empty()) {
1140  os << std::endl;
1141  }
1142  os << "}";
1143  break;
1144  }
1145  case kTstring: {
1146  os << "'" << entry.getString() << "'";
1147  break;
1148  }
1149  case kTvstring: {
1150  os << "{";
1151  std::string start = "'";
1152  std::string const between(",'");
1153  std::vector<std::string> strings = entry.getVString();
1154  for (std::vector<std::string>::const_iterator it = strings.begin(), itEnd = strings.end(); it != itEnd; ++it) {
1155  os << start << *it << "'";
1156  start = between;
1157  }
1158  os << "}";
1159  break;
1160  }
1161  case kTint32: {
1162  os << entry.getInt32();
1163  break;
1164  }
1165  case kTuint32: {
1166  os << entry.getUInt32();
1167  break;
1168  }
1169  case kTVInputTag: {
1170  //VInputTag needs to be treated seperately because it is encode like
1171  // vector<string> rather than using the individual encodings of each InputTag
1172  os << "{";
1173  std::string start = "";
1174  std::string const between(",");
1175  std::vector<InputTag> tags = entry.getVInputTag();
1176  for (std::vector<InputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1177  os << start << it->encode();
1178  start = between;
1179  }
1180  os << "}";
1181  break;
1182  }
1183  case kTVESInputTag: {
1184  //VESInputTag needs to be treated seperately because it is encode like
1185  // vector<string> rather than using the individual encodings of each ESInputTag
1186  os << "{";
1187  std::string start = "";
1188  std::string const between(",");
1189  std::vector<ESInputTag> tags = entry.getVESInputTag();
1190  for (std::vector<ESInputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1191  os << start << it->encode();
1192  start = between;
1193  }
1194  os << "}";
1195  break;
1196  }
1197  default: {
1198  os << entry.rep;
1199  break;
1200  }
1201  }
1202 
1203  return os;
1204  }
static constexpr std::string_view typeFromCode(char iCode)
Definition: Entry.cc:196
list entry
Definition: mps_splice.py:68
Definition: Entry.cc:37
Definition: Entry.cc:25
constexpr bool edm::operator<= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 111 of file ELseverityLevel.h.

111  {
112  return e1.cmp(e2) <= 0;
113  }
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:20
template<typename T >
bool edm::operator<= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 320 of file View.h.

320  {
321  return !(rhs < lhs);
322  }
bool edm::operator== ( FileID const &  lh,
FileID const &  rh 
)
inline

Definition at line 25 of file FileID.h.

References edm::FileID::fid().

25 { return lh.fid() == rh.fid(); }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator== ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)

Definition at line 15 of file RunLumiEntryInfo.cc.

References edm::RunLumiEntryInfo::branchID().

15 { return a.branchID() == b.branchID(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( ElementID const &  lh,
ElementID const &  rh 
)
inline

Definition at line 42 of file ElementID.h.

References edm::ElementID::id(), and edm::ElementID::index().

42  {
43  return lh.index() == rh.index() && lh.id() == rh.id();
44  }
bool int lh
Definition: SIMDVec.h:20
bool edm::operator== ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 47 of file ProductID.h.

References 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:20
bool edm::operator== ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)

Definition at line 19 of file EventEntryInfo.cc.

References edm::EventEntryInfo::branchID(), edm::EventEntryInfo::entryDescriptionID(), and edm::EventEntryInfo::productID().

19  {
20  return a.branchID() == b.branchID() && a.productID() == b.productID() &&
21  a.entryDescriptionID() == b.entryDescriptionID();
22  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 49 of file BranchKey.h.

References a.

49 { return !(a < b || b < a); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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.

53  {
54  return static_cast<B1<T1> >(a) == static_cast<B2<T2> >(b);
55  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( EventEntryDescription const &  a,
EventEntryDescription const &  b 
)

Definition at line 31 of file EventEntryDescription.cc.

References edm::EventEntryDescription::parents().

31 { return a.parents() == b.parents(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( ProductProvenance const &  a,
ProductProvenance const &  b 
)

Definition at line 52 of file ProductProvenance.cc.

References edm::ProductProvenance::branchID(), and edm::ProductProvenance::parentageID().

52  {
53  return a.branchID() == b.branchID() && a.parentageID() == b.parentageID();
54  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 66 of file ProcessConfiguration.h.

References edm::ProcessConfiguration::parameterSetID(), edm::ProcessConfiguration::passID(), edm::ProcessConfiguration::processName(), and edm::ProcessConfiguration::releaseVersion().

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:118
double a
Definition: hdecay.h:119
bool edm::operator== ( Parentage const &  a,
Parentage const &  b 
)

Definition at line 34 of file Parentage.cc.

References edm::Parentage::parents().

34 { return a.parents() == b.parents(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( StableProvenance const &  a,
StableProvenance const &  b 
)

Definition at line 23 of file StableProvenance.cc.

References edm::StableProvenance::branchDescription().

23  {
24  return a.branchDescription() == b.branchDescription();
25  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<class T >
bool edm::operator== ( RefToBaseVector< T > const &  a,
RefToBaseVector< T > const &  b 
)
inline

Definition at line 97 of file RefToBaseVector.h.

References edm::RefToBaseVector< T >::begin(), edm::RefToBaseVector< T >::end(), cond::serialization::equal(), edm::RefToBaseVector< T >::isInvalid(), and edm::RefToBaseVector< T >::size().

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
constexpr bool edm::operator== ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 102 of file ELseverityLevel.h.

Referenced by checkForModuleDependencyCorrectness().

102  {
103  return e1.cmp(e2) == 0;
104  }
bool edm::operator== ( Provenance const &  a,
Provenance const &  b 
)

Definition at line 51 of file Provenance.cc.

References edm::Provenance::stable().

51 { return a.stable() == b.stable(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 108 of file ProcessHistory.h.

References edm::ProcessHistory::data().

108 { return a.data() == b.data(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
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:20
bool edm::operator== ( edm::FileInPath const &  a,
edm::FileInPath const &  b 
)
inline

Definition at line 136 of file FileInPath.h.

References edm::FileInPath::location(), and edm::FileInPath::relativePath().

136  {
137  return a.location() == b.location() && a.relativePath() == b.relativePath();
138  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
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< T >::keys(), and edm::RefVectorBase< T >::refCore().

137  {
138  return lhs.refCore() == rhs.refCore() && lhs.keys() == rhs.keys();
139  }
bool edm::operator== ( TypeWithDict const &  a,
TypeWithDict const &  b 
)

Definition at line 817 of file TypeWithDict.cc.

References edm::TypeWithDict::name().

817 { return a.name() == b.name(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( TypeWithDict const &  a,
std::type_info const &  b 
)

Definition at line 819 of file TypeWithDict.cc.

References b, edm::TypeID::className(), edm::TypeWithDict::isArray(), edm::TypeWithDict::isPointer(), edm::TypeWithDict::name(), and edm::TypeWithDict::ti_.

819  {
820  if (*a.ti_ == typeid(TypeWithDict::dummyType) || a.isPointer() || a.isArray()) {
821  // No accurate type_info
822  return a.name() == TypeID(b).className();
823  }
824  return *a.ti_ == b;
825  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
bool edm::operator== ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 305 of file View.h.

References cond::serialization::equal().

305  {
306  return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin());
307  }
bool equal(const T &first, const T &second)
Definition: Equal.h:32
bool edm::operator== ( std::type_info const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 147 of file TypeWithDict.h.

References a.

147 { return b == a; }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
bool edm::operator== ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 153 of file RefToBaseProd.h.

153  {
154  return lhs.refCore() == rhs.refCore();
155  }
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  }
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  }
template<typename C >
bool edm::operator== ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 178 of file RefProd.h.

References edm::RefProd< T >::refCore().

178  {
179  return lhs.refCore() == rhs.refCore();
180  }
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  }
bool edm::operator== ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 194 of file ProductRegistry.h.

References edm::ProductRegistry::productList().

194  {
195  return a.productList() == b.productList();
196  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 199 of file Entry.h.

References edm::Entry::toString().

199 { return a.toString() == b.toString(); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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  }
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  }
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  }
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  }
template<typename T >
bool edm::operator== ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 236 of file Ptr.h.

236  {
237  return lhs.refCore() == rhs.refCore() && lhs.key() == rhs.key();
238  }
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  }
bool edm::operator== ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 347 of file BranchDescription.cc.

References edm::BranchDescription::branchAliases(), combinable(), and edm::BranchDescription::dropped().

347  {
348  return combinable(a, b) && (a.dropped() == b.dropped()) && (a.branchAliases() == b.branchAliases());
349  }
bool combinable(BranchDescription const &a, BranchDescription const &b)
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator== ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 770 of file ParameterSet.cc.

References edm::ParameterSet::id(), edm::ParameterSet::isRegistered(), isTransientEqual(), and edm::ParameterSet::trackedPart().

770  {
771  if (a.isRegistered() && b.isRegistered()) {
772  return (a.id() == b.id());
773  }
774  return isTransientEqual(a.trackedPart(), b.trackedPart());
775  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)
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 cond::serialization::equal().

359  {
360  return c.size() == v.size() && std::equal(v.begin(), v.end(), c.begin());
361  }
const edm::EventSetup & c
bool equal(const T &first, const T &second)
Definition: Equal.h:32
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 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:118
double a
Definition: hdecay.h:119
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 573 of file Ref.h.

573  {
574  return lhs.key() == rhs.key() && lhs.refCore() == rhs.refCore();
575  }
bool edm::operator> ( TypeID const &  a,
TypeID const &  b 
)
inline

Definition at line 53 of file TypeID.h.

References a.

53 { return b < a; }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
bool edm::operator> ( const TypeIDBase a,
const TypeIDBase b 
)
inline

Definition at line 62 of file TypeIDBase.h.

References a.

62 { return b < a; }
double a
Definition: hdecay.h:119
constexpr bool edm::operator> ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 114 of file ELseverityLevel.h.

114  {
115  return e1.cmp(e2) > 0;
116  }
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:20
template<typename T >
bool edm::operator> ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 325 of file View.h.

325  {
326  return rhs < lhs;
327  }
constexpr bool edm::operator>= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
inlinenoexcept

Definition at line 117 of file ELseverityLevel.h.

117  {
118  return e1.cmp(e2) >= 0;
119  }
bool edm::operator>= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 129 of file FileIndex.h.

129 { return !(lh < rh); }
bool int lh
Definition: SIMDVec.h:20
template<typename T >
bool edm::operator>= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 330 of file View.h.

330  {
331  return !(lhs < rhs);
332  }
std::istream& edm::operator>> ( std::istream &  is,
FileInPath &  fip 
)
inline

Definition at line 131 of file FileInPath.h.

References edm::FileInPath::read().

131  {
132  fip.read(is);
133  return is;
134  }
std::unique_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 133 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

133  {
134  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
135  return caseValue >> std::move(clonedNode);
136  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 138 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

138  {
139  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
140  return caseValue >> std::move(clonedNode);
141  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 143 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

144  {
145  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
146  return caseValue >> std::move(clonedNode);
147  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 149 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone(), and eostools::move().

150  {
151  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
152  return caseValue >> std::move(clonedNode);
153  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
std::unique_ptr< ParameterDescriptionNode >  node 
)

Definition at line 155 of file ParameterDescriptionNode.cc.

References eostools::move().

156  {
157  return std::unique_ptr<ParameterDescriptionCases<bool>>(
158  new ParameterDescriptionCases<bool>(caseValue, std::move(node)));
159  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
std::unique_ptr< ParameterDescriptionNode >  node 
)

Definition at line 161 of file ParameterDescriptionNode.cc.

References eostools::move().

162  {
163  return std::unique_ptr<ParameterDescriptionCases<int>>(
164  new ParameterDescriptionCases<int>(caseValue, std::move(node)));
165  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
std::unique_ptr< ParameterDescriptionNode >  node 
)

Definition at line 167 of file ParameterDescriptionNode.cc.

References eostools::move().

168  {
169  return std::unique_ptr<ParameterDescriptionCases<std::string>>(
170  new ParameterDescriptionCases<std::string>(caseValue, std::move(node)));
171  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
std::unique_ptr< ParameterDescriptionNode >  node 
)

Definition at line 173 of file ParameterDescriptionNode.cc.

References eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.

174  {
175  std::string caseValueString(caseValue);
176  return std::unique_ptr<ParameterDescriptionCases<std::string>>(
177  new ParameterDescriptionCases<std::string>(caseValue, std::move(node)));
178  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 226 of file ParameterDescriptionNode.cc.

227  {
228  return std::make_unique<XORGroupDescription>(node_left, node_right);
229  }
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( std::unique_ptr< ParameterDescriptionNode >  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 231 of file ParameterDescriptionNode.cc.

References eostools::move().

232  {
233  return std::make_unique<XORGroupDescription>(std::move(node_left), node_right);
234  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 236 of file ParameterDescriptionNode.cc.

References eostools::move().

237  {
238  return std::make_unique<XORGroupDescription>(node_left, std::move(node_right));
239  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( std::unique_ptr< ParameterDescriptionNode >  node_left,
std::unique_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 241 of file ParameterDescriptionNode.cc.

References eostools::move().

242  {
243  return std::make_unique<XORGroupDescription>(std::move(node_left), std::move(node_right));
244  }
def move
Definition: eostools.py:511
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 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
Definition: eostools.py:511
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 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
Definition: eostools.py:511
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 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
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 204 of file ParameterDescriptionNode.cc.

205  {
206  return std::make_unique<ORGroupDescription>(node_left, node_right);
207  }
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( std::unique_ptr< ParameterDescriptionNode >  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 209 of file ParameterDescriptionNode.cc.

References eostools::move().

210  {
211  return std::make_unique<ORGroupDescription>(std::move(node_left), node_right);
212  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 214 of file ParameterDescriptionNode.cc.

References eostools::move().

215  {
216  return std::make_unique<ORGroupDescription>(node_left, std::move(node_right));
217  }
def move
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( std::unique_ptr< ParameterDescriptionNode >  node_left,
std::unique_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 219 of file ParameterDescriptionNode.cc.

References eostools::move().

220  {
221  return std::make_unique<ORGroupDescription>(std::move(node_left), std::move(node_right));
222  }
def move
Definition: eostools.py:511
static std::atomic<int> edm::ourSerial ( )
static

Referenced by edm::ErrorObj::set().

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

Definition at line 62 of file LuminosityBlockRange.cc.

References distinct().

62 { return !distinct(lh, rh); }
bool int lh
Definition: SIMDVec.h:20
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:69
bool edm::overlaps ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 51 of file EventRange.cc.

References cms::cuda::assert(), distinct(), 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:20
assert(be >=bs)
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:69
ParameterSet const & edm::parameterSet ( StableProvenance const &  provenance,
ProcessHistory const &  history 
)

Definition at line 11 of file Provenance.cc.

References edm::ParameterSet::existsAs(), edm::ProcessHistory::getConfigurationForProcess(), edm::pset::Registry::getMapped(), edm::ParameterSet::getParameterSet(), edm::pset::Registry::instance(), label, edm::StableProvenance::moduleLabel(), edm::ProcessConfiguration::parameterSetID(), edm::StableProvenance::processName(), source(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerResults().

Referenced by edm::ScheduleItems::addCPRandTNS(), TauTagValidation::analyze(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), TopDecaySubset::checkShowerModel(), CTPPSPixelLocalTrackProducer::CTPPSPixelLocalTrackProducer(), HLTTauRefProducer::doPFTaus(), EcalSelectiveReadoutProducer::getBinOfMax(), L1TTauOffline::getProbeTaus(), edm::EventProcessor::init(), edm::ScheduleItems::initMisc(), edm::ScheduleItems::initSchedule(), DeepTauId::matchDiscriminatorIndices(), moduleName(), OniaVtxReProducer::OniaVtxReProducer(), PFCandidateDQMAnalyzer::PFCandidateDQMAnalyzer(), PFJetDQMAnalyzer::PFJetDQMAnalyzer(), PFMETDQMAnalyzer::PFMETDQMAnalyzer(), PFMuonDQMAnalyzer::PFMuonDQMAnalyzer(), pat::PATTauProducer::produce(), DeepFlavourTagInfoProducer::produce(), HadronAndPartonSelector::produce(), GsfElectronProducer::produce(), and PFTauSelectorDefinition::select().

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:44
static std::string const source
Definition: EdmProvDump.cc:46
template<>
std::string edm::ParameterSet::getParameter< std::string > ( std::string const &  name) const
template<>
std::string edm::ParameterSet::getParameter< std::string > ( char const *  name) const
template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( std::string const &  name) const
template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( char const *  name) const
template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( std::string const &  name) const
template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( char const *  name) const
template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( std::string const &  name) const
template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( char const *  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( std::string const &  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( char const *  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( std::string const &  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( char const *  name) const
template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( std::string const &  name) const
template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( char const *  name) const
template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( std::string const &  name) const
template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( char const *  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( char const *  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const
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 alignCSCRings::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:56
template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 118 of file PdtEntry.h.

References alignCSCRings::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:56
template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( std::string const &  name) const
template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( char const *  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( std::string const &  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( char const *  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( std::string const &  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( char const *  name) const
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.

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  }
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name,
std::string const &  defaultValue 
) const
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name) const
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name,
std::string const &  defaultValue 
) const
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name,
std::vector< double > const &  defaultValue 
) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name,
std::vector< double > const &  defaultValue 
) const
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1339 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1339  {
1340  return getEntryPointerOrThrow_(name)->getVESInputTag();
1341  }
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name,
std::vector< ESInputTag > const &  defaultValue 
) const

Definition at line 1332 of file ParameterSet.cc.

References edm::Entry::getVESInputTag(), and mergeVDriftHistosByStation::name.

1333  {
1334  Entry const* entryPtr = retrieveUntracked(name);
1335  return entryPtr == nullptr ? defaultValue : entryPtr->getVESInputTag();
1336  }
Definition: Entry.h:18
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name,
std::vector< ESInputTag > const &  defaultValue 
) const

Definition at line 1898 of file ParameterSet.cc.

References edm::Entry::getVESInputTag(), and mergeVDriftHistosByStation::name.

1899  {
1900  Entry const* entryPtr = retrieveUntracked(name);
1901  return entryPtr == nullptr ? defaultValue : entryPtr->getVESInputTag();
1902  }
Definition: Entry.h:18
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 1905 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1905  {
1906  return getEntryPointerOrThrow_(name)->getVESInputTag();
1907  }
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name,
std::vector< EventID > const &  defaultValue 
) const
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name) const
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name) const
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name,
std::vector< EventID > const &  defaultValue 
) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name,
std::vector< EventRange > const &  defaultValue 
) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name,
std::vector< EventRange > const &  defaultValue 
) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name,
std::vector< InputTag > const &  defaultValue 
) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name,
std::vector< InputTag > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name,
std::vector< int > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name,
std::vector< int > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name,
std::vector< long long > const &  defaultValue 
) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name,
std::vector< long long > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const
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 alignCSCRings::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

131  {
132  Entry const *e = retrieveUntracked(name);
133  if (e == nullptr)
134  return defaultValue;
135  return pdtentry::getPdtEntryVector(*e, name);
136  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:56
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 alignCSCRings::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:56
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 124 of file PdtEntry.h.

References alignCSCRings::e, edm::pdtentry::getPdtEntryVector(), and mergeVDriftHistosByStation::name.

124  {
125  Entry const *e = getEntryPointerOrThrow_(name);
126  return pdtentry::getPdtEntryVector(*e, name);
127  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:56
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 alignCSCRings::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:56
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name,
std::vector< std::string > const &  defaultValue 
) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name,
std::vector< std::string > const &  defaultValue 
) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name,
std::vector< unsigned int > const &  defaultValue 
) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name,
std::vector< unsigned int > const &  defaultValue 
) const
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
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name) const
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
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name) const
std::string edm::parameterTypeEnumToString ( ParameterTypes  iType)

Definition at line 64 of file ParameterDescriptionNode.cc.

References cms::cuda::assert(), TYPE_TO_NAME, 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(), and edm::ParameterDescriptionBase::writeCfi_().

64  {
65  switch (iType) {
66  TYPE_TO_NAME(int32);
67  TYPE_TO_NAME(vint32);
69  TYPE_TO_NAME(vuint32);
70  TYPE_TO_NAME(int64);
71  TYPE_TO_NAME(vint64);
73  TYPE_TO_NAME(vuint64);
74  TYPE_TO_NAME(double);
76  TYPE_TO_NAME(bool);
77  TYPE_TO_NAME(string);
79  TYPE_TO_NAME(EventID);
80  TYPE_TO_NAME(VEventID);
81  TYPE_TO_NAME(LuminosityBlockID);
82  TYPE_TO_NAME(VLuminosityBlockID);
84  TYPE_TO_NAME(VInputTag);
86  TYPE_TO_NAME(VESInputTag);
87  TYPE_TO_NAME(FileInPath);
88  TYPE_TO_NAME(PSet);
91  TYPE_TO_NAME(VLuminosityBlockRange);
92  TYPE_TO_NAME(EventRange);
93  TYPE_TO_NAME(VEventRange);
94  default:
95  assert(false);
96  }
97  return "";
98  }
vector< string > vstring
Definition: ExoticaDQM.cc:8
assert(be >=bs)
unsigned int uint32
Definition: MsgTools.h:13
std::vector< double > vdouble
unsigned long long uint64
Definition: MsgTools.h:14
#define TYPE_TO_NAME(type)
template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::string > ( )

Definition at line 43 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< double > > ( )

Definition at line 41 of file ParameterDescriptionNode.cc.

Definition at line 52 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< EventID > > ( )

Definition at line 46 of file ParameterDescriptionNode.cc.

Definition at line 57 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< InputTag > > ( )

Definition at line 50 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< int > > ( )

Definition at line 33 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< long long > > ( )

Definition at line 37 of file ParameterDescriptionNode.cc.

Definition at line 48 of file ParameterDescriptionNode.cc.

Definition at line 55 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< std::string > > ( )

Definition at line 44 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< unsigned > > ( )

Definition at line 35 of file ParameterDescriptionNode.cc.

template<>
ParameterTypes edm::ParameterTypeToEnum::toEnum< std::vector< unsigned long long > > ( )

Definition at line 39 of file ParameterDescriptionNode.cc.

template<typename T >
void const* edm::pointerToBase ( std::type_info const &  baseTypeInfo,
T const *  address 
)

Definition at line 47 of file OffsetToBase.h.

References runTheMatrix::const, hltrates_dqm_sourceclient-live_cfg::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  }
std::vector< ParameterSet > edm::popSubProcessVParameterSet ( ParameterSet parameterSet)

Definition at line 806 of file SubProcess.cc.

References edm::ParameterSet::getUntrackedParameter(), and edm::ParameterSet::popVParameterSet().

Referenced by edm::EventProcessor::init(), and edm::SubProcess::SubProcess().

806  {
807  std::vector<std::string> subProcesses =
808  parameterSet.getUntrackedParameter<std::vector<std::string>>("@all_subprocesses");
809  if (!subProcesses.empty()) {
810  return parameterSet.popVParameterSet("subProcesses");
811  }
812  return {};
813  }
static void edm::postIndexIntoFilePrintEventLists ( TFile *  tfl,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 154 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(), edm::IndexIntoFile::iterationWillBeInEntryOrder(), edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.

Referenced by printEventLists().

156  {
157  IndexIntoFile indexIntoFile;
158  IndexIntoFile *findexPtr = &indexIntoFile;
159  if (metaDataTree->FindBranch(poolNames::indexIntoFileBranchName().c_str()) != nullptr) {
160  TBranch *fndx = metaDataTree->GetBranch(poolNames::indexIntoFileBranchName().c_str());
161  fndx->SetAddress(&findexPtr);
162  fndx->GetEntry(0);
163  } else {
164  std::cout << "IndexIntoFile not found. If this input file was created with release 1_8_0 or later\n"
165  "this indicates a problem with the file. This condition should be expected with\n"
166  "files created with earlier releases and printout of the event list will fail.\n";
167  return;
168  }
169  //need to read event # from the EventAuxiliary branch
170  TTree *eventsTree = dynamic_cast<TTree *>(tfl->Get(poolNames::eventTreeName().c_str()));
171  TBranch *eventAuxBranch = nullptr;
172  assert(nullptr != eventsTree);
173  char const *const kEventAuxiliaryBranchName = "EventAuxiliary";
174  if (eventsTree->FindBranch(kEventAuxiliaryBranchName) != nullptr) {
175  eventAuxBranch = eventsTree->GetBranch(kEventAuxiliaryBranchName);
176  } else {
177  std::cout << "Failed to find " << kEventAuxiliaryBranchName
178  << " branch in Events TTree. Something is wrong with this file." << std::endl;
179  return;
180  }
181  EventAuxiliary eventAuxiliary;
182  EventAuxiliary *eAPtr = &eventAuxiliary;
183  eventAuxBranch->SetAddress(&eAPtr);
184  std::cout << "\nPrinting IndexIntoFile contents. This includes a list of all Runs, LuminosityBlocks\n"
185  << "and Events stored in the root file.\n\n";
186  std::cout << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "Event" << std::setw(15)
187  << "TTree Entry"
188  << "\n";
189 
190  for (IndexIntoFile::IndexIntoFileItr it = indexIntoFile.begin(IndexIntoFile::firstAppearanceOrder),
191  itEnd = indexIntoFile.end(IndexIntoFile::firstAppearanceOrder);
192  it != itEnd;
193  ++it) {
194  IndexIntoFile::EntryType t = it.getEntryType();
195  std::cout << std::setw(15) << it.run() << std::setw(15) << it.lumi();
196  EventNumber_t eventNum = 0;
198  switch (t) {
199  case IndexIntoFile::kRun:
200  type = "(Run)";
201  break;
202  case IndexIntoFile::kLumi:
203  type = "(Lumi)";
204  break;
205  case IndexIntoFile::kEvent:
206  eventAuxBranch->GetEntry(it.entry());
207  eventNum = eventAuxiliary.id().event();
208  break;
209  default:
210  break;
211  }
212  std::cout << std::setw(15) << eventNum << std::setw(15) << it.entry() << " " << type << std::endl;
213  }
214 
215  std::cout << "\nFileFormatVersion = " << fileFormatVersion << ". ";
216  if (fileFormatVersion.fastCopyPossible())
217  std::cout << "This version supports fast copy\n";
218  else
219  std::cout << "This version does not support fast copy\n";
220 
221  if (indexIntoFile.iterationWillBeInEntryOrder(IndexIntoFile::firstAppearanceOrder)) {
222  std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort = false\" mode\n";
223  } else {
224  std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort = false\" mode\n";
225  }
226 
227  // This will not work unless the other nonpersistent parts of the Index are filled first
228  // I did not have time to implement this yet.
229  // if (indexIntoFile.iterationWillBeInEntryOrder(IndexIntoFile::numericalOrder)) {
230  // std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort\" mode\n";
231  // } else {
232  // std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort\" mode\n";
233  // }
234  std::cout << "(Note that other factors can prevent fast copy from occurring)\n\n";
235  }
unsigned long long EventNumber_t
assert(be >=bs)
std::string const & indexIntoFileBranchName()
Definition: BranchType.cc:198
std::string const & eventTreeName()
Definition: BranchType.cc:220
tuple cout
Definition: gather_cfg.py:144
static void edm::postIndexIntoFilePrintEventsInLumis ( TFile *  tfl,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 301 of file CollUtil.cc.

References edm::IndexIntoFile::begin(), gather_cfg::cout, edm::IndexIntoFile::end(), edm::IndexIntoFile::firstAppearanceOrder, edm::poolNames::indexIntoFileBranchName(), edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, submitPVValidationJobs::nEvents, and submitPVValidationJobs::t.

Referenced by printEventsInLumis().

303  {
304  IndexIntoFile indexIntoFile;
305  IndexIntoFile *findexPtr = &indexIntoFile;
306  if (metaDataTree->FindBranch(poolNames::indexIntoFileBranchName().c_str()) != nullptr) {
307  TBranch *fndx = metaDataTree->GetBranch(poolNames::indexIntoFileBranchName().c_str());
308  fndx->SetAddress(&findexPtr);
309  fndx->GetEntry(0);
310  } else {
311  std::cout << "IndexIntoFile not found. If this input file was created with release 1_8_0 or later\n"
312  "this indicates a problem with the file. This condition should be expected with\n"
313  "files created with earlier releases and printout of the event list will fail.\n";
314  return;
315  }
316  std::cout << "\n"
317  << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "# Events"
318  << "\n";
319 
320  unsigned long nEvents = 0;
321  unsigned long runID = 0;
322  unsigned long lumiID = 0;
323 
324  for (IndexIntoFile::IndexIntoFileItr it = indexIntoFile.begin(IndexIntoFile::firstAppearanceOrder),
325  itEnd = indexIntoFile.end(IndexIntoFile::firstAppearanceOrder);
326  it != itEnd;
327  ++it) {
328  IndexIntoFile::EntryType t = it.getEntryType();
329  switch (t) {
330  case IndexIntoFile::kRun:
331  break;
332  case IndexIntoFile::kLumi:
333  if (runID != it.run() || lumiID != it.lumi()) {
334  //print the previous one
335  if (lumiID != 0) {
336  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
337  }
338  nEvents = 0;
339  runID = it.run();
340  lumiID = it.lumi();
341  }
342  break;
343  case IndexIntoFile::kEvent:
344  ++nEvents;
345  break;
346  default:
347  break;
348  }
349  }
350  //print the last one
351  if (lumiID != 0) {
352  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
353  }
354  std::cout << "\n";
355  }
std::string const & indexIntoFileBranchName()
Definition: BranchType.cc:198
tuple cout
Definition: gather_cfg.py:144
edm::preallocConfig_ ( prealloc  )
static void edm::preIndexIntoFilePrintEventLists ( TFile *  ,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 115 of file CollUtil.cc.

References gather_cfg::cout, and edm::poolNames::fileIndexBranchName().

Referenced by printEventLists().

117  {
118  FileIndex fileIndex;
119  FileIndex *findexPtr = &fileIndex;
120  if (metaDataTree->FindBranch(poolNames::fileIndexBranchName().c_str()) != nullptr) {
121  TBranch *fndx = metaDataTree->GetBranch(poolNames::fileIndexBranchName().c_str());
122  fndx->SetAddress(&findexPtr);
123  fndx->GetEntry(0);
124  } else {
125  std::cout << "FileIndex not found. If this input file was created with release 1_8_0 or later\n"
126  "this indicates a problem with the file. This condition should be expected with\n"
127  "files created with earlier releases and printout of the event list will fail.\n";
128  return;
129  }
130 
131  std::cout << "\n" << fileIndex;
132 
133  std::cout << "\nFileFormatVersion = " << fileFormatVersion << ". ";
134  if (fileFormatVersion.fastCopyPossible())
135  std::cout << "This version supports fast copy\n";
136  else
137  std::cout << "This version does not support fast copy\n";
138 
139  if (fileIndex.allEventsInEntryOrder()) {
140  std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort = False\" mode\n";
141  } else {
142  std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort = False\" mode\n";
143  }
144 
145  fileIndex.sortBy_Run_Lumi_EventEntry();
146  if (fileIndex.allEventsInEntryOrder()) {
147  std::cout << "Events are sorted such that fast copy is possible in the \"noEventSort\" mode\n";
148  } else {
149  std::cout << "Events are sorted such that fast copy is NOT possible in the \"noEventSort\" mode\n";
150  }
151  std::cout << "(Note that other factors can prevent fast copy from occurring)\n\n";
152  }
std::string const & fileIndexBranchName()
Definition: BranchType.cc:195
tuple cout
Definition: gather_cfg.py:144
static void edm::preIndexIntoFilePrintEventsInLumis ( TFile *  ,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 255 of file CollUtil.cc.

References edm::FileIndex::begin(), gather_cfg::cout, edm::FileIndex::end(), edm::poolNames::fileIndexBranchName(), edm::FileIndex::kEvent, edm::FileIndex::kLumi, and submitPVValidationJobs::nEvents.

Referenced by printEventsInLumis().

257  {
258  FileIndex fileIndex;
259  FileIndex *findexPtr = &fileIndex;
260  if (metaDataTree->FindBranch(poolNames::fileIndexBranchName().c_str()) != nullptr) {
261  TBranch *fndx = metaDataTree->GetBranch(poolNames::fileIndexBranchName().c_str());
262  fndx->SetAddress(&findexPtr);
263  fndx->GetEntry(0);
264  } else {
265  std::cout << "FileIndex not found. If this input file was created with release 1_8_0 or later\n"
266  "this indicates a problem with the file. This condition should be expected with\n"
267  "files created with earlier releases and printout of the event list will fail.\n";
268  return;
269  }
270 
271  std::cout << "\n"
272  << std::setw(15) << "Run" << std::setw(15) << "Lumi" << std::setw(15) << "# Events"
273  << "\n";
274  unsigned long nEvents = 0;
275  unsigned long runID = 0;
276  unsigned long lumiID = 0;
277  for (std::vector<FileIndex::Element>::const_iterator it = fileIndex.begin(), itEnd = fileIndex.end(); it != itEnd;
278  ++it) {
279  if (it->getEntryType() == FileIndex::kEvent) {
280  ++nEvents;
281  } else if (it->getEntryType() == FileIndex::kLumi) {
282  if (runID != it->run_ || lumiID != it->lumi_) {
283  //print the previous one
284  if (lumiID != 0) {
285  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
286  }
287  nEvents = 0;
288  runID = it->run_;
289  lumiID = it->lumi_;
290  }
291  }
292  }
293  //print the last one
294  if (lumiID != 0) {
295  std::cout << std::setw(15) << runID << std::setw(15) << lumiID << std::setw(15) << nEvents << "\n";
296  }
297 
298  std::cout << "\n";
299  }
std::string const & fileIndexBranchName()
Definition: BranchType.cc:195
tuple cout
Definition: gather_cfg.py:144
template<typename S >
S& edm::print ( S os,
JobReport::InputFile const &  f 
)

Definition at line 66 of file JobReport.cc.

References formatFile(), edm::JobReport::InputFile::inputSourceClassName, edm::JobReport::InputFile::inputType, and edm::JobReport::InputFile::numEventsRead.

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
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:40
template<typename S >
S& edm::print ( S os,
JobReport::OutputFile const &  f 
)

Definition at line 77 of file JobReport.cc.

References edm::JobReport::OutputFile::branchHash, edm::JobReport::OutputFile::dataType, formatFile(), edm::JobReport::OutputFile::numEventsWritten, and edm::JobReport::OutputFile::outputModuleClassName.

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
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:40
template<typename S >
S& edm::print ( S os,
JobReport::RunReport const &  rep 
)

Definition at line 88 of file JobReport.cc.

References edm::JobReport::RunReport::lumiSectionsToNEvents, SiStripPI::max, and edm::JobReport::RunReport::runNumber.

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  }
string rep
Definition: cuy.py:1189
void edm::printBranchNames ( TTree *  tree)

Definition at line 72 of file CollUtil.cc.

References gather_cfg::cout, and mps_fire::i.

72  {
73  if (tree != nullptr) {
74  Long64_t nB = tree->GetListOfBranches()->GetEntries();
75  for (Long64_t i = 0; i < nB; ++i) {
76  Long64_t size = 0LL;
77  TBranch *btemp = (TBranch *)tree->GetListOfBranches()->At(i);
78  addBranchSizes(btemp, size);
79  std::cout << "Branch " << i << " of " << tree->GetName() << " tree: " << btemp->GetName()
80  << " Total size = " << size << std::endl;
81  }
82  } else {
83  std::cout << "Missing Events tree?\n";
84  }
85  }
tuple cout
Definition: gather_cfg.py:144
tuple size
Write out results.
void edm::printCmsException ( cms::Exception e,
edm::JobReport jobRep = nullptr,
int  rc = -1 
)

Definition at line 12 of file ExceptionMessages.cc.

References cms::Exception::explainSelf(), 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  }
virtual std::string explainSelf() const
Definition: Exception.cc:108
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
Definition: JobReport.cc:493
Log< level::System, true > LogAbsolute
void edm::printCmsExceptionWarning ( char const *  behavior,
cms::Exception const &  e 
)

Definition at line 25 of file ExceptionMessages.cc.

References cms::Exception::explainSelf(), 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
void edm::printEventLists ( TFile *  tfl)

Definition at line 237 of file CollUtil.cc.

References cms::cuda::assert(), edm::poolNames::fileFormatVersionBranchName(), edm::FileFormatVersion::hasIndexIntoFile(), edm::poolNames::metaDataTreeName(), postIndexIntoFilePrintEventLists(), and preIndexIntoFilePrintEventLists().

237  {
238  TTree *metaDataTree = dynamic_cast<TTree *>(tfl->Get(poolNames::metaDataTreeName().c_str()));
239  assert(nullptr != metaDataTree);
240 
241  FileFormatVersion fileFormatVersion;
242  FileFormatVersion *fftPtr = &fileFormatVersion;
243  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != nullptr) {
244  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
245  fft->SetAddress(&fftPtr);
246  fft->GetEntry(0);
247  }
248  if (fileFormatVersion.hasIndexIntoFile()) {
249  postIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
250  } else {
251  preIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
252  }
253  }
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:189
assert(be >=bs)
std::string const & metaDataTreeName()
Definition: BranchType.cc:159
static void preIndexIntoFilePrintEventLists(TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:115
static void postIndexIntoFilePrintEventLists(TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:154
void edm::printEventsInLumis ( TFile *  tfl)

Definition at line 357 of file CollUtil.cc.

References cms::cuda::assert(), edm::poolNames::fileFormatVersionBranchName(), edm::FileFormatVersion::hasIndexIntoFile(), edm::poolNames::metaDataTreeName(), postIndexIntoFilePrintEventsInLumis(), and preIndexIntoFilePrintEventsInLumis().

357  {
358  TTree *metaDataTree = dynamic_cast<TTree *>(tfl->Get(poolNames::metaDataTreeName().c_str()));
359  assert(nullptr != metaDataTree);
360 
361  FileFormatVersion fileFormatVersion;
362  FileFormatVersion *fftPtr = &fileFormatVersion;
363  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != nullptr) {
364  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
365  fft->SetAddress(&fftPtr);
366  fft->GetEntry(0);
367  }
368  if (fileFormatVersion.hasIndexIntoFile()) {
369  postIndexIntoFilePrintEventsInLumis(tfl, fileFormatVersion, metaDataTree);
370  } else {
371  preIndexIntoFilePrintEventsInLumis(tfl, fileFormatVersion, metaDataTree);
372  }
373  }
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:189
assert(be >=bs)
static void preIndexIntoFilePrintEventsInLumis(TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:255
std::string const & metaDataTreeName()
Definition: BranchType.cc:159
static void postIndexIntoFilePrintEventsInLumis(TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:301
void edm::printTrees ( TFile *  hdl)

Definition at line 35 of file CollUtil.cc.

References 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  }
tuple key
prepare the HTCondor submission files and eventually submit them
void edm::printUuids ( TTree *  uuidTree)

Definition at line 106 of file CollUtil.cc.

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

106  {
107  FileID fid;
108  FileID *fidPtr = &fid;
109  uuidTree->SetBranchAddress(poolNames::fileIdentifierBranchName().c_str(), &fidPtr);
110  uuidTree->GetEntry(0);
111 
112  std::cout << "UUID: " << fid.fid() << std::endl;
113  }
tuple cout
Definition: gather_cfg.py:144
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:192
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
bool edm::public_base_classes ( std::vector< std::string > &  missingDictionaries,
TypeID const &  typeID,
std::vector< TypeWithDict > &  baseTypes 
)

Definition at line 319 of file DictionaryTools.cc.

References newFWLiteAna::base, checkDictionary(), edm::BaseWithDict::isPublic(), edm::TypeWithDict::name(), search_all(), edm::TypeIDBase::typeInfo(), edm::TypeWithDict::typeInfo(), and edm::BaseWithDict::typeOf().

Referenced by edm::ProductRegistry::checkDictionariesOfConsumedTypes(), edm::ProductRegistry::initializeLookupTables(), and edm::ProductResolverIndexHelper::insert().

321  {
322  if (!checkDictionary(missingDictionaries, typeID)) {
323  return false;
324  }
325  TypeWithDict typeWithDict(typeID.typeInfo());
326 
327  if (!typeWithDict.isClass()) {
328  return true;
329  }
330 
331  TypeBases bases(typeWithDict);
332  bool returnValue = true;
333  for (auto const& basex : bases) {
334  BaseWithDict base(basex);
335  if (!base.isPublic()) {
336  continue;
337  }
338  TypeWithDict baseRflxType = base.typeOf();
339  if (!checkDictionary(missingDictionaries, baseRflxType.name(), baseRflxType)) {
340  returnValue = false;
341  continue;
342  }
343  TypeWithDict baseType(baseRflxType.typeInfo());
344  // Check to make sure this base appears only once in the
345  // inheritance hierarchy.
346  if (!search_all(baseTypes, baseType)) {
347  // Save the type and recursive look for its base types
348  baseTypes.push_back(baseType);
349  if (!public_base_classes(missingDictionaries, TypeID(baseType.typeInfo()), baseTypes)) {
350  returnValue = false;
351  continue;
352  }
353  }
354  // For now just ignore it if the class appears twice,
355  // After some more testing we may decide to uncomment the following
356  // exception.
357  //
358  //else {
359  // throw Exception(errors::UnimplementedFeature)
360  // << "DataFormats/Common/src/DictionaryTools.cc in function public_base_classes.\n"
361  // << "Encountered class that has a public base class that appears\n"
362  // << "multiple times in its inheritance heirarchy.\n"
363  // << "Please contact the EDM Framework group with details about\n"
364  // << "this exception. It was our hope that this complicated situation\n"
365  // << "would not occur. There are three possible solutions. 1. Change\n"
366  // << "the class design so the public base class does not appear multiple\n"
367  // << "times in the inheritance heirarchy. In many cases, this is a\n"
368  // << "sign of bad design. 2. Modify the code that supports Views to\n"
369  // << "ignore these base classes, but not supply support for creating a\n"
370  // << "View of this base class. 3. Improve the View infrastructure to\n"
371  // << "deal with this case. Class name of base class: " << baseType.Name() << "\n\n";
372  //}
373  }
374  return returnValue;
375  }
tuple base
Main Program
Definition: newFWLiteAna.py:92
bool public_base_classes(std::vector< std::string > &missingDictionaries, TypeID const &typeID, std::vector< TypeWithDict > &baseTypes)
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
bool search_all(ForwardSequence const &s, Datum const &d)
Definition: Algorithms.h:36
void edm::pythonToCppException ( const std::string &  iType,
const std::string &  error 
)

Definition at line 6 of file PyBind11Wrapper.cc.

References Exception.

Referenced by PyBind11ProcessDesc::read(), edm::cmspybind11::readPSetsFrom(), and FWPathsPopup::scheduleReloadEvent().

6  {
7  throw cms::Exception(iType) << " unknown python problem occurred.\n" << error << std::endl;
8  }
void edm::read_from_cin ( std::string &  output)

Definition at line 25 of file Parse.cc.

References geometryCSVtoXML::line, and AlCaHLTBitMon_QueryRunRegistry::string.

25  {
27  while (getline(std::cin, line)) {
28  output += line;
29  output += '\n';
30  }
31  }
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, lut2db_cfg::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:47
tuple result
Definition: mps_fire.py:311
tuple filename
Definition: lut2db_cfg.py:20
std::unique_ptr< edm::ParameterSet > edm::readConfig ( std::string const &  config,
int  argc,
char *  argv[] 
)

same, but with arguments

Definition at line 11 of file ParameterSetReader.cc.

References PyBind11ProcessDesc::parameterSet(), and edm::cmspybind11::readConfig().

11  {
13 }
tuple argc
Definition: dir2webdir.py:39
tuple config
parse the configuration file
std::unique_ptr< ParameterSet > readConfig(std::string const &config)
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 }
tuple config
parse the configuration file
std::unique_ptr< ParameterSet > readConfig(std::string const &config)
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 alignCSCRings::e, cond::persistency::import(), edm::python::initializePyBind11Module(), makePSetsFromFile(), makePSetsFromString(), Python11ParameterSet::pset(), pythonToCppException(), and edm::cmspybind11::readPSetsFrom().

Referenced by main(), MakeVersionedSelector< reco::Muon >::operator()(), and readPSetsFrom().

23  {
24  return edm::cmspybind11::readPSetsFrom(fileOrString);
25 }
std::unique_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
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)
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)
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.

Referenced by triggerExpression::PathReader::init(), HLTHighLevel::init(), ZCounting::initHLT(), edm::EventSelector::initPathNames(), dqmservices::DQMStreamerReader::matchTriggerSel(), hltdqm::passTrig(), regexMatch(), 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  }
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(), and regexMatch().

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
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(), and typeDemangle().

85  {
86  // from must not be a substring of to.
87  std::string::size_type length = from.size();
88  std::string::size_type pos = 0;
89  while ((pos = demangledName.find(from, pos)) != std::string::npos) {
90  demangledName.replace(pos, length, to);
91  }
92  }
uint16_t size_type
void edm::resolveSymbolicLinks ( std::string &  fullPath)

Definition at line 48 of file resolveSymbolicLinks.cc.

References newFWLiteAna::found.

48  {
49  bool found = resolveOneSymbolicLink(fullPath);
50  if (found) {
52  }
53  }
void resolveSymbolicLinks(std::string &fullPath)
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< HiMixingModule > > edm::s_filler__LINE__ ( "HiMixingModule"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HiMixingModule > > edm::s_maker__LINE__ ( "HiMixingModule"  )
static
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, and spr::find().

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
tuple d
Definition: ztail.py:151
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.

52  {
53  return std::find_if(s.begin(), s.end(), p) != s.end();
54  }
template<typename T , typename U >
U edm::second ( std::pair< T, U > const &  p)

Definition at line 222 of file ParameterSet.cc.

Referenced by FilterOR::accept(), HGCDigitizer::accumulate(), CaloTruthAccumulator::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(), DTPreCalibrationTask::analyze(), BxTiming::analyze(), DTNoiseCalibration::analyze(), HcalQIEDataCheck::analyze(), HcalPedestalWidthsCheck::analyze(), DTNoiseTask::analyze(), HeavyFlavorValidation::analyze(), HcalRaddamMuon::analyze(), L1TRPCTPG::analyze(), l1t::GtRecordDump::analyze(), HLTScalers::analyze(), HcalHBHEMuonAnalyzer::analyze(), DTDigiTask::analyze(), HLTExoticaSubAnalysis::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), CaloSimHitAnalysis::analyzeHits(), L1GtAnalyzer::analyzeL1GtUtilsCore(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), HGCalTBAnalyzer::analyzeRecHits(), HGCalTimingAnalyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), SurveyDataConverter::applyFineSurveyInfo(), ticl::assignPCAtoTracksters(), TrackerHitAssociator::associateHit(), L1GtTriggerMenuTester::associateL1SeedsHltPath(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), TrackAssociatorByChi2Impl::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), Tracker_OldtoNewConverter::beginJob(), GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), GctFormatTranslateMCLegacy::blockToRctEmCand(), SiStripGainFromCalibTree::bookDQMHistos(), QIE11Task::bookHistograms(), BxTiming::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(), SimTrackManager::cleanTracksWithHistory(), EcalClusterToolsT< noZS >::cluster2ndMoments(), SimplePlan1RechitCombiner::combine(), AlignableObjectId::commonGeometry(), L1MuGMTExtendedCand::compareRank(), L1TLSBlock::computeErrorFromRange(), GaussianSumUtilities1D::computeMode(), 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(), DDHGCalMixLayer::constructLayers(), DDHGCalEEFileAlgo::constructLayers(), DDHGCalSiliconModule::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(), TauJetCorrector::correction(), JetPartonCorrector::correction(), 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(), AlcaBeamMonitor::dqmEndRun(), SiPixelStatusHarvester::dqmEndRun(), drawMap(), DTSC::DTSectCollsort2(), MuScleFit::duringFastLoop(), ZeeCalibration::duringLoop(), EcalClusterToolsT< noZS >::e2nd(), EcalDQMonitorTask::EcalDQMonitorTask(), EcalMonitorPrescaler::EcalMonitorPrescaler(), EcalClusterToolsT< noZS >::eMax(), edm::service::ELoutput::emitToken(), iterator_pair_as_a_range< I >::end(), DTT0Calibration::endJob(), SplitVertexResolution::endJob(), IsoTrig::endJob(), GeneralPurposeTrackAnalyzer::endJob(), DMRChecker::endJob(), AlcaBeamMonitorClient::endRun(), 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< T, typename std::enable_if< std::is_pointer< T >::value >::type >::equal_(), cond::serialization::access< T[N]>::equal_(), trklet::MatchEngine::execute(), DDHGCalCell::execute(), trklet::PurgeDuplicate::execute(), DDHGCalWafer8::execute(), DDTOBRodAlgo::execute(), DDTrackerXYZPosAlgo::execute(), DDTrackerZPosAlgo::execute(), DDHGCalWaferF::execute(), DDTIDModulePosAlgo::execute(), trklet::MatchCalculator::execute(), DDHGCalWaferP::execute(), DDTrackerAngular::execute(), DDTrackerLinear::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTIDRingAlgo::execute(), trklet::MatchProcessor::execute(), DDHCalLinearXY::execute(), DDPixFwdDiskAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTIDModuleAlgo::execute(), DDTOBAxCableAlgo::execute(), DDTOBRadCableAlgo::execute(), DDPixPhase1FwdDiskAlgo::execute(), DDHCalTBZposAlgo::execute(), DDPixBarLayerAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDTIBLayerAlgo::execute(), DDBHMAngular::execute(), DDHCalForwardAlgo::execute(), DDTECCoolAlgo::execute(), DDHCalTBCableAlgo::execute(), DDHCalFibreBundle::execute(), DDTECModuleAlgo::execute(), DDTrackerRingAlgo::execute(), DDPixFwdBlades::execute(), CommissioningHistograms::extractHistograms(), TrackTimeValueMapProducer::extractTrackVertexTime(), PropagateToMuon::extrapolate(), BPHWriteSpecificDecay::fill(), SiPixelGainCalibrationReadDQMFile::fillDatabase(), SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase(), GenParticleProducer::fillDaughters(), DTLocalTriggerTest::fillGlobalSummary(), edm::RootFile::fillIndexIntoFile(), EcalEBTrigPrimTestAlgo::fillMap(), EcalTrigPrimFunctionalAlgo::fillMap(), SiStripCMMonitorPlugin::fillMaps(), SiStripThresholdDQM::fillMEsForLayer(), SiPixelUtility::fillPaveText(), RunDCSHVDat::fillTheMapByTime(), JetHTJetPlusHOFilter::filter(), CSCDigiValidator::filter(), Hector::filterD1(), Hector::filterFP420(), Hector::filterZDC(), EcalTBCrystalMap::findCrystalAngles(), MaterialBudgetVolume::findLV(), HoughGrouping::findTheMaxima(), SymmetryFit::findUsableMinMax(), CosmicMuonSmoother::fit(), KFTrajectoryFitter::fitOne(), JetCoreClusterSplitter::fittingSplit(), alpgen::fixEventHiggsTTbar(), alpgen::fixEventSingleTop(), alpgen::fixEventTTbar(), NuclearTester::fwdEstimate(), SiStripGainsPCLHarvester::gainQualityMonitor(), 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(), GctFormatTranslateBase::getBlockDescription(), CalibrationInterface< CategoryT, CalibDataT >::getCalibData(), 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(), EcalLaserDbService::getLaserCorrection(), HcalLayerDepthMap::getLayerDepth(), 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(), SimTrackManager::giveMotherNeeded(), AlcaBeamMonitor::globalEndLuminosityBlock(), HcalPiecewiseLinearFunctor::HcalPiecewiseLinearFunctor(), HcalTopology::HcalTopology(), HLTEgammaEtFilterPairs::hltFilter(), HLTJetSortedVBFFilter< T >::hltFilter(), SimTrackManager::idSavedTrack(), L1MuGMTLUT::Init(), init_filter(), HcalLayerDepthMap::initialize(), HcalDDDRecConstants::initialize(), L1GtUtils::LogicalExpressionL1Results::initialize(), edm::ParentageRegistry::insertMapped(), TRange< int >::inside(), muonisolation::Range< float >::inside(), PixelRecoRange< float >::inside(), EcalTBDaqFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), APVCyclePhaseProducerFromL1TS::isBadRun(), TtGenEvent::isFullLeptonic(), GEMSegmentAlgorithm::isGoodToMerge(), AntiElectronIDCut2::isInEcalCrack(), RPCFw::isMajor(), CSCDDUMap::item(), CSCChamberMap::item(), CSCCrateMap::item(), TtEvent::jetLeptonCombination(), L1GtUtils::LogicalExpressionL1Results::l1Results(), HcalIndexLookup::largestIndex(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), G4SimEvent::load(), dqmservices::DQMFileIterator::LumiEntry::load_json(), dqmservices::DQMFileIterator::EorEntry::load_json(), CalorimetryManager::loadFromEcalBarrel(), CalorimetryManager::loadFromEcalEndcap(), CalorimetryManager::loadFromHcal(), HcalFlexiHardcodeGeometryLoader::makeHECells(), HGCalDDDConstants::maskCell(), match(), cms::DDFilteredView::match(), JetPartonMatching::matchingPtOrderedMinDist(), 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()(), CheckHitPattern::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), PhysicsTools::AtomicId::operator<(), operator<<(), PhysicsTools::AtomicId::operator<=(), PhysicsTools::AtomicId::operator==(), PhysicsTools::AtomicId::operator>(), PhysicsTools::AtomicId::operator>=(), ClusterClusterMapping::overlap(), CovarianceParameterization::pack(), reco::modules::TrackerTrackHitFilter::parseStoN(), PartitionGenerator::partitions(), L1MuBMAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::PhiAU(), PhiBorderFinder::PhiBorderFinder(), MuonG4Numbering::PhysicalVolumeToBaseNumber(), HiggsValidation::MonitoredDecays::position(), SiStripRegionCabling::position(), DDHGCalHEFileAlgo::positionMix(), DDHGCalHEAlgo::positionMix(), DDHGCalMixLayer::positionMix(), DDAHcalModuleAlgo::positionSensitive(), DDHGCalTBModule::positionSensitive(), DDHGCalTBModuleX::positionSensitive(), DDHGCalEEAlgo::positionSensitive(), DDHGCalEEFileAlgo::positionSensitive(), DDHGCalSiliconModule::positionSensitive(), DDHGCalHEFileAlgo::positionSensitive(), DDHGCalHEAlgo::positionSensitive(), BPHMonitor::Prescale(), Quantile::prev(), TtFullLeptonicEvent::print(), TrackerHitAssociator::printDetBnchEvtTrk(), PixelTemplateSmearerBase::process(), hcalCalib::Process(), cscdqm::EventProcessor::processCSC(), DDLSpecPar::processElement(), DDLNumeric::processElement(), TTTrackAssociator< T >::produce(), PATTauIDEmbedder::produce(), CandOneToManyDeltaRMatcher::produce(), TtFullLepKinSolutionProducer::produce(), PFConversionProducer::produce(), HcalRawToDigi::produce(), PFTrackProducer::produce(), EgammaHLTEleL1TrackIsolProducer::produce(), DTFakeT0ESProducer::produce(), L1ExtraParticleMapProd::produce(), PF_PU_FirstVertexTracks::produce(), RunManagerMTWorker::produce(), JetPlusTrackProducerAA::produce(), HLTScoutingMuonProducer::produce(), TPStubValueMapProducer::produce(), PFCand_NoPU_WithAM::produce(), pat::PATTauProducer::produce(), HFPreReconstructor::produce(), PixelJetPuId::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), BoostedDoubleSVProducer::produce(), BTagProbabilityToDiscriminator::produce(), NuclearTrackCorrector::produce(), AlCaHcalHBHEMuonProducer::produce(), GsfElectronProducer::produce(), emtf::Forest::rankVariables(), RBorderFinder::RBorderFinder(), RunSummaryRead::readData(), L1TriggerScalerRead::readData(), SiStripDetVOffBuilder::readLastValueFromFile(), FedRawDataInputSource::readWorker(), RealQuadEquation::RealQuadEquation(), GroupedDAFHitCollector::recHits(), CSCEfficiency::recHitSegment_Efficiencies(), CSCEfficiency::recSimHitEfficiency(), SiStripDetVOffBuilder::reduce(), SiStripDetVOffBuilder::reduction(), CandidateSeededTrackingRegionsProducer::regions(), PointSeededTrackingRegionsProducer::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(), 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(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), FWEventItemsManager::setFrom(), InitialGrouping::setInChannels(), TauJetCorrector::setParameters(), JetPartonCorrector::setParameters(), DDLSolid::setReference(), ShallowTree::ShallowTree(), ConvBremSeedProducer::sharedHits(), muonisolation::Range< float >::sort(), PixelRecoRange< float >::sort(), TRange< int >::sort(), edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< reco::Track >, double >::sort(), PF_PU_AssoMapAlgos::SortAssociationMap(), PFCand_AssoMapAlgos::SortPFCandAssociationMap(), DTTSM::sortTSM2(), DTTSS::sortTSS2(), DAClusterizerInZ::split(), 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(), CompositeLogicalTrajectoryFilter::TBC(), TwoBodyDecayTrajectoryFactory::trajectories(), L3MuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), CovarianceParameterization::unpack(), LatencyHistosUsingDb::update(), MonopoleSteppingAction::update(), SiTrackerMultiRecHitUpdator::update(), TauJetCorrector::ParametrizationTauJet::value(), viewNameFrom(), HGCalDDDConstants::waferType(), HGCalDDDConstants::waferTypeRotation(), HGCalWaferMask::waferXY(), 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  }
static std::string const edm::separator ( ":"  )
static
void edm::setIsMergeable ( BranchDescription &  desc)

Definition at line 15 of file setIsMergeable.cc.

References edm::BranchDescription::branchType(), edm::TypeWithDict::byName(), edm::TypeWithDict::getClass(), InLumi, InRun, edm::BranchDescription::isMergeable(), hltrates_dqm_sourceclient-live_cfg::offset, AlCaHLTBitMon_ParallelJobs::p, edm::BranchDescription::setIsMergeable(), and edm::BranchDescription::wrappedType().

Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::RootFile::RootFile(), TFWLiteSelectorBasic::setupNewFile(), tns(), 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  if (desc.branchType() == InRun || desc.branchType() == InLumi) {
21  if (!desc.isMergeable()) {
22  TClass* wrapperBaseTClass = TypeWithDict::byName("edm::WrapperBase").getClass();
23  TClass* tClass = desc.wrappedType().getClass();
24  void* p = tClass->New();
25  int offset = tClass->GetBaseClassOffset(wrapperBaseTClass);
26  std::unique_ptr<WrapperBase> wrapperBase = getAnyPtr<WrapperBase>(p, offset);
27  if (wrapperBase->isMergeable()) {
28  desc.setIsMergeable(true);
29  }
30  }
31  }
32  }
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< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
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 = tbb::this_task_arena::max_concurrency();
19  }
20  oPtr = std::make_unique<ThreadsController>(static_cast<int>(iNThreads), iStackSize);
21 
22  return iNThreads;
23  }
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 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
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 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
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 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
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 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
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.

389  {
390  obj.setPtr(toType, index, ptr);
391  }
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 edm::OwnVector< T, P >::setPtr().

569  {
570  obj.setPtr(toType, index, ptr);
571  }
void edm::setRefCoreStreamer ( bool  resetAll = false)

Definition at line 83 of file RefCoreStreamer.cc.

References edm::EDProductGetter::switchProductGetter().

Referenced by edm::StreamerInputSource::deserializeEvent(), edm::RootDelayedReader::getProduct_(), and edm::RootOutputTree::writeTTree().

83 { EDProductGetter::switchProductGetter(nullptr); }
EDProductGetter const * edm::setRefCoreStreamer ( EDProductGetter const *  ep)

Definition at line 85 of file RefCoreStreamer.cc.

References 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.
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  }
void edm::setStandAloneMessageThreshold ( edm::messagelogger::ELseverityLevel const &  severity)

Definition at line 68 of file MessageLogger.cc.

References edm::MessageLoggerQ::standAloneThreshold().

68  {
70  }
static void standAloneThreshold(edm::messagelogger::ELseverityLevel const &severity)
void edm::setThreadOptions ( ThreadsInfo const &  threadsInfo,
edm::ParameterSet pset 
)

Definition at line 27 of file ThreadsInfo.cc.

References edm::ParameterSet::addUntrackedParameter(), edm::ParameterSet::existsAs(), edm::ParameterSet::getUntrackedParameterSet(), edm::ParameterSet::insertParameterSet(), edm::ThreadsInfo::nThreads_, and edm::ThreadsInfo::stackSize_.

27  {
28  edm::ParameterSet newOp;
29  if (pset.existsAs<edm::ParameterSet>("options", false)) {
30  newOp = pset.getUntrackedParameterSet("options");
31  }
32  newOp.addUntrackedParameter<unsigned int>("numberOfThreads", threadsInfo.nThreads_);
33  newOp.addUntrackedParameter<unsigned int>("sizeOfStackForThreadsInKB", threadsInfo.stackSize_);
34  pset.insertParameterSet(true, "options", edm::ParameterSetEntry(newOp, false));
35  }
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void addUntrackedParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:192
void insertParameterSet(bool okay_to_replace, std::string const &name, ParameterSetEntry const &entry)
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  }
def move
Definition: eostools.py:511
static ServiceToken createContaining(std::unique_ptr< T > iService)
create a service token that holds the service defined by iService
void edm::sigInventory ( )

Definition at line 135 of file UnixSignalHandlers.cc.

References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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)
template<typename RandomAccessSequence >
void edm::sort_all ( RandomAccessSequence &  s)
inline
template<typename RandomAccessSequence , typename Predicate >
void edm::sort_all ( RandomAccessSequence &  s,
Predicate  p 
)
inline

Definition at line 97 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

97  {
98  std::sort(s.begin(), s.end(), p);
99  }
std::vector< LuminosityBlockRange > & edm::sortAndRemoveOverlaps ( std::vector< LuminosityBlockRange > &  lumiRange)

Definition at line 89 of file LuminosityBlockRange.cc.

References alignCSCRings::e, mps_fire::i, BeamSpotPI::lumiRange, merge(), and sort_all().

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  }
void sort_all(RandomAccessSequence &s)
wrappers for std::sort
Definition: Algorithms.h:92
std::vector< EventRange > & edm::sortAndRemoveOverlaps ( std::vector< EventRange > &  eventRange)

Definition at line 98 of file EventRange.cc.

References alignCSCRings::e, unittestinputsource_cfi::eventRange, mps_fire::i, and sort_all().

Referenced by edm::service::CondorStatusService::beginPost(), edm::EventSkipperByID::EventSkipperByID(), and m_fileMetadatas().

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
static std::string const edm::source ( "source"  )
static
template<class OutIter >
bool edm::split ( OutIter  result,
std::string const &  string_to_split,
char  first,
char  sep,
char  last 
)

Definition at line 68 of file split.h.

References b, contextual_find(), contextual_find_not(), alignCSCRings::e, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::ParameterSetConverter::convertParameterSets(), decode(), edm::ParameterSet::fromString(), and edm::VParameterSetEntry::VParameterSetEntry().

68  {
69  typedef std::string::const_iterator str_c_iter;
70  str_c_iter b = s.begin(), e = s.end();
71 
72  if (static_cast<unsigned int>(e - b) < 2u)
73  return false;
74 
75  if (*b == first)
76  ++b;
77  else
78  return false;
79 
80  if (*--e != last)
81  return false;
82 
83  // invariant: we've found all items in [b..boi)
84  for (str_c_iter //boi = std::find_if(b, e, is_not_a(sep))
85  boi = contextual_find_not(b, e, first, sep, last),
86  eoi;
87  boi != e
88  //; boi = std::find_if(eoi, e, is_not_a(sep))
89  ;
90  boi = contextual_find_not(eoi, e, first, sep, last)) {
91  // find end of current item:
92  //eoi = std::find_if(boi, e, is_a(sep));
93  eoi = contextual_find(boi, e, first, sep, last);
94 
95  // copy the item formed from characters in [boi..eoi):
96  *dest++ = std::string(boi, eoi);
97  } // for
98 
99  return true;
100 } // split< >()
FwdIter contextual_find_not(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:54
double b
Definition: hdecay.h:118
tuple last
Definition: dqmdumpme.py:56
FwdIter contextual_find(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:36
void edm::squelchStandAloneMessageCategory ( std::string const &  category)

Definition at line 71 of file MessageLogger.cc.

References edm::MessageLoggerQ::squelch().

static const char category[]
static void squelch(std::string const &category)
template<typename RandomAccessSequence >
void edm::stable_sort_all ( RandomAccessSequence &  s)
inline
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.

108  {
109  std::stable_sort(s.begin(), s.end(), p);
110  }
std::string_view edm::stemFromPath ( std::string_view  path)

Definition at line 4 of file stemFromPath.cc.

References SplitLinear::begin, and dataset::end.

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  }
string end
Definition: dataset.py:937
std::string edm::stripNamespace ( std::string const &  theName)

Definition at line 87 of file TypeID.cc.

References cms::cuda::assert(), c, and HLT_FULL_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  }
const edm::EventSetup & c
assert(be >=bs)
uint16_t size_type
bool edm::stripTemplate ( std::string &  theName)

Definition at line 61 of file TypeID.cc.

References cms::cuda::assert(), first(), 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  }
69  std::string::size_type after = idx;
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
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
Definition: eostools.py:511
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
Definition: eostools.py:511
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
Definition: eostools.py:511
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
Definition: eostools.py:511
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
Definition: eostools.py:511
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
Definition: eostools.py:511
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(), and eostools::move().

Referenced by beginStreamTransitionAsync().

36  {
37  iSubProcess.doStreamBeginLuminosityBlockAsync(std::move(iHolder), i, iTransitionInfo);
38  }
def move
Definition: eostools.py:511
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(), and eostools::move().

43  {
44  iSubProcess.doStreamBeginRunAsync(std::move(iHolder), i, iTransitionInfo);
45  }
def move
Definition: eostools.py:511
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(), and eostools::move().

Referenced by endStreamTransitionAsync().

51  {
52  iSubProcess.doStreamEndLuminosityBlockAsync(std::move(iHolder), i, iTransitionInfo, cleaningUpAfterException);
53  }
def move
Definition: eostools.py:511
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(), and eostools::move().

59  {
60  iSubProcess.doStreamEndRunAsync(std::move(iHolder), i, iTransitionInfo, cleaningUpAfterException);
61  }
def move
Definition: eostools.py:511
void edm::swap ( ElementID &  a,
ElementID &  b 
)
inline

Definition at line 40 of file ElementID.h.

References edm::ElementID::swap().

40 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( ProductID &  a,
ProductID &  b 
)
inline

Definition at line 45 of file ProductID.h.

References edm::ProductID::swap().

45 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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 edm::CloningPtr< T, P >::swap().

61  {
62  a.swap(b);
63  }
void edm::swap ( Parentage &  a,
Parentage &  b 
)
inline

Definition at line 61 of file Parentage.h.

References edm::Parentage::swap().

61 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( OrphanHandleBase &  a,
OrphanHandleBase &  b 
)
inline

Definition at line 66 of file OrphanHandleBase.h.

References edm::OrphanHandleBase::swap().

66 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( ProductData &  a,
ProductData &  b 
)
inline

Definition at line 76 of file ProductData.h.

References edm::ProductData::swap().

76 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<class T >
void edm::swap ( RefToBaseVector< T > &  a,
RefToBaseVector< T > &  b 
)
inline

Definition at line 92 of file RefToBaseVector.h.

References edm::RefToBaseVector< T >::swap().

92  {
93  a.swap(b);
94  }
void edm::swap ( TriggerResults &  lhs,
TriggerResults &  rhs 
)
inline

Definition at line 94 of file TriggerResults.h.

References edm::TriggerResults::swap().

94 { lhs.swap(rhs); }
void edm::swap ( ESHandleBase &  a,
ESHandleBase &  b 
)
inline

Definition at line 100 of file ESHandle.h.

References edm::ESHandleBase::swap().

100 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( HLTGlobalStatus &  lhs,
HLTGlobalStatus &  rhs 
)
inline

Free swap function.

Definition at line 103 of file HLTGlobalStatus.h.

References edm::HLTGlobalStatus::swap().

103 { lhs.swap(rhs); }
void edm::swap ( BasicHandle &  a,
BasicHandle &  b 
)
inlinenoexcept

Definition at line 104 of file BasicHandle.h.

References a, and b.

104 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( ProcessHistory &  a,
ProcessHistory &  b 
)
inline

Definition at line 106 of file ProcessHistory.h.

References edm::ProcessHistory::swap().

106 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<class T >
void edm::swap ( DetSet< T > &  a,
DetSet< T > &  b 
)
inline

Definition at line 110 of file DetSet.h.

References edm::DetSet< T >::swap().

110  {
111  a.swap(b);
112  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( HandleBase &  a,
HandleBase &  b 
)
inline

Definition at line 114 of file HandleBase.h.

References edm::HandleBase::swap().

114 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename C >
void edm::swap ( Association< C > &  lhs,
Association< C > &  rhs 
)
inline

Definition at line 117 of file Association.h.

References edm::Association< C >::swap().

Referenced by MuonPathAnalyzerInChamber::calculateFitParameters(), SimTrackManager::cleanTkCaloStateInfoMap(), SimCluster::clearHitsAndFractions(), SimCluster::clearHitsEnergy(), edm::IndexIntoFile::doneFileInitialization(), L1TStage2CaloLayer1::dqmAnalyze(), LA_Filler_Fitter::fill(), CaloTruthAccumulator::finalizeEvent(), calo::multifit::fnnls(), EgHLTOfflineSummaryClient::getEgHLTFiltersToMon_(), EgHLTOfflineSource::getHLTFilterNamesUsed(), hitfit::Constraint_Intermed_Labels::has_labels(), HGCDigitizer::HGCDigitizer(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), edm::IndexIntoFile::IndexIntoFileItr::IndexIntoFileItr(), HGCDigitizer::initializeEvent(), edm::IndexIntoFile::inputFileClosed(), MahiFit::nnlsConstrainParameter(), MahiFit::nnlsUnconstrainParameter(), edm::EDCollection< T >::operator=(), edm::RefToBaseVector< T >::operator=(), CrossingFrame< T >::operator=(), TempTrajectory::operator=(), edm::RefToBaseProd< T >::operator=(), Trajectory::operator=(), edm::SortedCollection< T, SORT >::operator=(), TrajectoryMeasurement::operator=(), edm::OwnVector< T, P >::operator=(), edm::IDVectorMap< ID, C, P >::operator=(), StripCompactDigiSimLinksProducer::produce(), FWRecoGeometryESProducer::produce(), PFElecTkProducer::produce(), FastjetJetProducer::produceTrackJets(), MultiHitGeneratorFromChi2::refit2Hits(), SimTrackManager::reset(), HGCal3DClustering::reset(), HGCalImagingAlgo::reset(), SubjetFilterAlgorithm::run(), SiStripBaseCondObjDQM::selectModules(), hitfit::Top_Decaykin::solve_nu(), hitfit::Top_Decaykin::solve_nu_tmass(), DynamicTruncation::sort(), SimTrackManager::storeTracks(), trackerDTC::Stub::Stub(), FWGUIManager::subviewSwapped(), EcalDigiCollectionPh2::swap(), edm::ElementID::swap(), HcalDataFrameContainer< Digi >::swap(), EcalDigiCollection::swap(), edm::RefToBaseProd< T >::swap(), edm::RefProd< T >::swap(), edmNew::DetSetVector< T >::swap(), timestudy::SleepingServer::threadWork(), CaloSD::update(), and L1TMuonBarrelKalmanSectorProcessor::wedgeSort().

117  {
118  lhs.swap(rhs);
119  }
void edm::swap ( ErrorObj &  a,
ErrorObj &  b 
)
inline

Definition at line 122 of file ErrorObj.h.

References edm::ErrorObj::swap().

122 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( FileInPath &  a,
FileInPath &  b 
)
inline

Definition at line 124 of file FileInPath.h.

References edm::FileInPath::swap().

124 { a.swap(b); }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<class T >
void edm::swap ( EDCollection< T > &  a,
EDCollection< T > &  b 
)
inline

Definition at line 128 of file EDCollection.h.

References edm::EDCollection< T >::swap().

128  {
129  a.swap(b);
130  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename K , typename T >
void edm::swap ( MapOfVectors< K, T > &  lhs,
MapOfVectors< K, T > &  rhs 
)
inline

Definition at line 148 of file MapOfVectors.h.

References edm::MapOfVectors< K, T >::swap().

148  {
149  lhs.swap(rhs);
150  }
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 edm::RefVectorBase< T >::swap().

149  {
150  a.swap(b);
151  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
void edm::swap ( edm::RefCore lhs,
edm::RefCore rhs 
)
inline

Definition at line 155 of file RefCore.h.

References edm::RefCore::swap().

155 { lhs.swap(rhs); }
void swap(RefCore &) noexcept
Definition: RefCore.h:149
void edm::swap ( edm::RefCoreWithIndex lhs,
edm::RefCoreWithIndex rhs 
)
inline

Definition at line 156 of file RefCoreWithIndex.h.

References edm::RefCoreWithIndex::swap().

156 { lhs.swap(rhs); }
void swap(RefCoreWithIndex &)
template<typename T >
void edm::swap ( edm::RefToBaseProd< T > const &  lhs,
edm::RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 168 of file RefToBaseProd.h.

References edm::RefToBaseProd< T >::swap().

168  {
169  lhs.swap(rhs);
170  }
void swap(RefToBaseProd< T > &)
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:118
double a
Definition: hdecay.h:119
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().

181  {
182  vp1.swap(vp2);
183  }
template<typename C >
void edm::swap ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 193 of file RefProd.h.

References edm::RefProd< T >::swap().

193  {
194  lhs.swap(rhs);
195  }
void edm::swap ( DataFrameContainer &  lhs,
DataFrameContainer &  rhs 
)
inline

Definition at line 200 of file DataFrameContainer.h.

References edm::DataFrameContainer::swap().

200 { lhs.swap(rhs); }
template<int I>
void edm::swap ( Hash< I > &  a,
Hash< I > &  b 
)
inline

Definition at line 205 of file Hash.h.

References edm::Hash< I >::swap().

205  {
206  a.swap(b);
207  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
void edm::swap ( PtrVector< T > &  lhs,
PtrVector< T > &  rhs 
)
inline

Definition at line 210 of file PtrVector.h.

References edm::PtrVector< T >::swap().

210  {
211  lhs.swap(rhs);
212  }
template<typename ID , typename C , typename P >
void edm::swap ( IDVectorMap< ID, C, P > &  a,
IDVectorMap< ID, C, P > &  b 
)
inline

Definition at line 220 of file IDVectorMap.h.

References edm::IDVectorMap< ID, C, P >::swap().

220  {
221  a.swap(b);
222  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename ID , typename C , typename P >
void edm::swap ( RangeMap< ID, C, P > &  a,
RangeMap< ID, C, P > &  b 
)
inline

Definition at line 225 of file RangeMap.h.

References edm::RangeMap< ID, C, P >::swap().

225  {
226  a.swap(b);
227  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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.

253  {
254  a.swap(b);
255  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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 edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::swap().

281  {
282  a.swap(b);
283  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
void edm::swap ( ValueMap< T > &  lhs,
ValueMap< T > &  rhs 
)
inline

Definition at line 281 of file ValueMap.h.

References edm::ValueMap< T >::swap().

281  {
282  lhs.swap(rhs);
283  }
void edm::swap ( ParameterSet a,
ParameterSet b 
)
inline

Definition at line 289 of file ParameterSet.h.

References edm::ParameterSet::swap().

289 { a.swap(b); }
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  }
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.

336  {
337  a.swap(b);
338  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename T >
void edm::swap ( View< T > &  lhs,
View< T > &  rhs 
)
inline

Definition at line 336 of file View.h.

336  {
337  lhs.swap(rhs);
338  }
template<class T >
void edm::swap ( RefToBase< T > &  a,
RefToBase< T > &  b 
)
inline

Definition at line 343 of file RefToBase.h.

References edm::RefToBase< T >::swap().

343  {
344  a.swap(b);
345  }
template<class T >
void edm::swap ( DetSetVector< T > &  a,
DetSetVector< T > &  b 
)
inline

Definition at line 387 of file DetSetVector.h.

387  {
388  a.swap(b);
389  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
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.

540  {
541  a.swap(b);
542  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
template<typename F >
std::exception_ptr edm::syncWait ( F &&  iFunc)

Definition at line 17 of file include_first_syncWait.h.

References watchdog::group, make_waiting_task(), and GlobalPosition_Frontier_DevDB_cff::tag.

Referenced by edm::EDLooperBase::esPrefetchAsync(), edm::Worker::esPrefetchAsync(), and edm::eventsetup::DataProxy::get().

17  {
18  std::exception_ptr exceptPtr{};
19  //tbb::task::suspend can only be run from within a task running in this arena. For 1 thread,
20  // it is often (always?) the case where not such task is being run here. Therefore we need
21  // to use a temp task_group to start up such a task.
22  tbb::task_group group;
23  group.run([&]() {
24  tbb::task::suspend([&](tbb::task::suspend_point tag) {
25  auto waitTask = make_waiting_task([tag, &exceptPtr](std::exception_ptr const* iExcept) {
26  if (iExcept) {
27  exceptPtr = *iExcept;
28  }
29  tbb::task::resume(tag);
30  });
31  iFunc(WaitingTaskHolder(group, waitTask));
32  }); //suspend
33  }); //group.run
34 
35  group.wait();
36  return exceptPtr;
37  }
FunctorWaitingTask< F > * make_waiting_task(F f)
Definition: WaitingTask.h:101
tuple group
Definition: watchdog.py:82
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< T >::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), and SpecificationBuilder_cfi::parent().

Referenced by edm::ThinnedRefSet< C >::Filler::insert().

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  }
ThreadsInfo edm::threadOptions ( edm::ParameterSet const &  pset)

Definition at line 11 of file ThreadsInfo.cc.

References edm::ParameterSet::existsAs(), edm::ParameterSet::getUntrackedParameterSet(), edm::ThreadsInfo::nThreads_, and edm::ThreadsInfo::stackSize_.

11  {
12  // default values
13  ThreadsInfo threadsInfo;
14 
15  if (pset.existsAs<edm::ParameterSet>("options", false)) {
16  auto const& ops = pset.getUntrackedParameterSet("options");
17  if (ops.existsAs<unsigned int>("numberOfThreads", false)) {
18  threadsInfo.nThreads_ = ops.getUntrackedParameter<unsigned int>("numberOfThreads");
19  }
20  if (ops.existsAs<unsigned int>("sizeOfStackForThreadsInKB", false)) {
21  threadsInfo.stackSize_ = ops.getUntrackedParameter<unsigned int>("sizeOfStackForThreadsInKB");
22  }
23  }
24  return threadsInfo;
25  }
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 77 of file Principal.cc.

References cppFunctionSkipper::exception.

Referenced by edm::Principal::findProductByLabel().

81  {
82  cms::Exception exception("AmbiguousProduct");
83  exception << "Principal::" << where
84  << ": More than 1 product matches all criteria\nLooking for type: " << productType << "\n"
85  << "Looking for module label: " << label << "\n"
86  << "Looking for productInstanceName: " << instance << "\n"
87  << (process.empty() ? "" : "Looking for process: ") << process << "\n"
88  << "This can only occur with get function calls using a Handle<View> argument.\n"
89  << "Try a get not using a View or change the instance name of one of the products";
90  throw exception;
91  }
static PFTauRenderPlugin instance
char const * label
tuple process
Definition: LaserDQM_cfg.py:3
void edm::throwExceptionWithText ( char const *  txt)

Definition at line 267 of file BranchDescription.cc.

References alignCSCRings::e, and edm::errors::LogicError.

Referenced by edm::BranchDescription::throwIfInvalid_().

267  {
269  e << "Problem using an incomplete BranchDescription\n"
270  << txt << "\nPlease report this error to the FWCore developers";
271  throw e;
272  }
void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context 
)
void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context,
std::vector< std::string > &  producedTypes 
)

Definition at line 198 of file DictionaryTools.cc.

References addToMissingDictionariesException(), edm::errors::DictionaryNotFound, cppFunctionSkipper::exception, B2GTnPMonitor_cfi::item, and tier0::unique().

200  {
202  addToMissingDictionariesException(exception, missingDictionaries, context);
203 
204  if (!producedTypes.empty()) {
205  std::sort(producedTypes.begin(), producedTypes.end());
206  producedTypes.erase(std::unique(producedTypes.begin(), producedTypes.end()), producedTypes.end());
207 
208  std::ostringstream ostr;
209  for (auto const& item : producedTypes) {
210  ostr << " " << item << "\n";
211  }
212  exception << "\nA type listed above might or might not be the same as a\n"
213  << "type declared by a producer module with the function \'produces\'.\n"
214  << "Instead it might be the type of a data member, base class,\n"
215  << "wrapped type, or other object needed by a produced type. Below\n"
216  << "is some additional information which lists the types declared\n"
217  << "to be produced by a producer module that are associated with\n"
218  << "the types whose dictionaries were not found:\n\n"
219  << ostr.str() << "\n";
220  }
221  throw exception;
222  }
def unique
Definition: tier0.py:24
void addToMissingDictionariesException(edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)
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 224 of file DictionaryTools.cc.

References addToMissingDictionariesException(), edm::errors::DictionaryNotFound, cppFunctionSkipper::exception, B2GTnPMonitor_cfi::item, and tier0::unique().

228  {
230  addToMissingDictionariesException(exception, missingDictionaries, context);
231 
232  if (!producedTypes.empty()) {
233  std::sort(producedTypes.begin(), producedTypes.end());
234  producedTypes.erase(std::unique(producedTypes.begin(), producedTypes.end()), producedTypes.end());
235 
236  std::ostringstream ostr;
237  for (auto const& item : producedTypes) {
238  ostr << " " << item << "\n";
239  }
240  if (fromStreamerSource) {
241  exception << "\nA type listed above might or might not be the same as a\n"
242  << "type stored in the Event. Instead it might be the type of\n"
243  << "a data member, base class, wrapped type, or other object\n"
244  << "needed by a stored type. Below is some additional information\n"
245  << "which lists the stored types associated with the types whose\n"
246  << "dictionaries were not found:\n\n"
247  << ostr.str() << "\n";
248  } else {
249  exception << "\nA type listed above might or might not be the same as a\n"
250  << "type stored in the Event (or Lumi or Run). Instead it might\n"
251  << "be the type of a data member, base class, wrapped type, or\n"
252  << "other object needed by a stored type. Below is some additional\n"
253  << "information which lists the stored types associated with the\n"
254  << "types whose dictionaries were not found:\n\n"
255  << ostr.str() << "\n";
256  }
257  }
258 
259  if (!branchNames.empty()) {
260  std::sort(branchNames.begin(), branchNames.end());
261  branchNames.erase(std::unique(branchNames.begin(), branchNames.end()), branchNames.end());
262 
263  std::ostringstream ostr;
264  for (auto const& item : branchNames) {
265  ostr << " " << item << "\n";
266  }
267  if (fromStreamerSource) {
268  exception << "Missing dictionaries are associated with these branch names:\n\n" << ostr.str() << "\n";
269  } else {
270  exception << "Missing dictionaries are associated with these branch names:\n\n"
271  << ostr.str() << "\n"
272  << "If you do not need these branches and they are not produced\n"
273  << "in the current process, an alternate solution to adding\n"
274  << "dictionaries is to drop these branches on input using the\n"
275  << "inputCommands parameter of the PoolSource.";
276  }
277  }
278  throw exception;
279  }
def unique
Definition: tier0.py:24
void addToMissingDictionariesException(edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)
tuple branchNames
Definition: haddnano.py:54
void edm::throwMissingDictionariesException ( std::vector< std::string > &  missingDictionaries,
std::string const &  context,
std::set< std::string > &  producedTypes,
bool  consumedWithView 
)

Definition at line 281 of file DictionaryTools.cc.

References addToMissingDictionariesException(), edm::errors::DictionaryNotFound, cppFunctionSkipper::exception, and B2GTnPMonitor_cfi::item.

284  {
286  addToMissingDictionariesException(exception, missingDictionaries, context);
287 
288  if (!producedTypes.empty()) {
289  std::ostringstream ostr;
290  for (auto const& item : producedTypes) {
291  ostr << " " << item << "\n";
292  }
293  if (consumedWithView) {
294  exception << "\nThe list of types above was generated while checking for\n"
295  << "dictionaries related to products declared to be consumed\n"
296  << "using a View. They will be either the type or a base class\n"
297  << "of the type declared in a consumes declaration as the template\n"
298  << "parameter of a View. Below is some additional information\n"
299  << "which lists the type of the template parameter of the View.\n"
300  << "(It will be the same type unless the missing dictionary is\n"
301  << "for a base type):\n\n"
302  << ostr.str() << "\n";
303  } else {
304  exception << "\nThe list of types above was generated while checking for\n"
305  << "dictionaries related to products declared to be consumed.\n"
306  << "A type listed above might or might not be a type declared\n"
307  << "to be consumed. Instead it might be the type of a data member,\n"
308  << "base class, wrapped type or other object needed by a consumed\n"
309  << "type. Below is some additional information which lists\n"
310  << "the types declared to be consumed by a module and which\n"
311  << "are associated with the types whose dictionaries were not\n"
312  << "found:\n\n"
313  << ostr.str() << "\n";
314  }
315  }
316  throw exception;
317  }
void addToMissingDictionariesException(edm::Exception &exception, std::vector< std::string > &missingDictionaries, std::string const &context)
static void edm::throwProductDeletedException ( ProductID const &  pid,
edm::EventPrincipal::ConstProductResolverPtr const  phb 
)
static

Definition at line 268 of file EventPrincipal.cc.

References cppFunctionSkipper::exception.

Referenced by edm::EventPrincipal::getByProductID().

269  {
271  exception << "get by product ID: The product with given id: " << pid << "\ntype: " << phb->productType()
272  << "\nproduct instance name: " << phb->productInstanceName() << "\nprocess name: " << phb->processName()
273  << "\nwas already deleted. This is a configuration error. Please change the configuration of the module "
274  "which caused this exception to state it reads this data.";
275  throw exception;
276  }
static void edm::throwProductNotFoundException ( char const *  where,
errors::ErrorCodes  error,
BranchID const &  bid 
)
static

Definition at line 48 of file Principal.cc.

References Exception.

Referenced by edm::Principal::getProvenance(), and edm::Principal::getStableProvenance().

48  {
49  throw Exception(error, "InvalidID") << "Principal::" << where << ": no product with given branch id: " << bid
50  << "\n";
51  }
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, and Exception.

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  }
pathNames_& edm::tns ( )

Definition at line 691 of file Schedule.cc.

References actions, all_output_communicators_(), areg, cms::cuda::assert(), c, filterCSVwithJSON::copy, edm::maker::ModuleHolder::createOutputModuleCommunicator(), mps_fire::i, moduleRegistry_(), edm::SystemTimeKeeper::pauseModuleEvent(), prealloc, preg, processConfiguration, PRODUCT_TYPE, edm::SystemTimeKeeper::removeModuleIfExists(), edm::SystemTimeKeeper::restartModuleEvent(), setIsMergeable(), findQualityFiles::size, edm::SystemTimeKeeper::startEvent(), edm::SystemTimeKeeper::startModuleEvent(), edm::SystemTimeKeeper::startPath(), edm::SystemTimeKeeper::startProcessingLoop(), edm::SystemTimeKeeper::stopEvent(), edm::SystemTimeKeeper::stopModuleEvent(), edm::SystemTimeKeeper::stopPath(), edm::SystemTimeKeeper::stopProcessingLoop(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, HcalDetIdTransform::transform(), and workers.

Referenced by edm::EventSelector::acceptEvent(), DQMMessageLogger::bookHistograms(), DQMBarycenter::TkAlBarycenters::computeBarycenters(), getAllTriggerNames(), MillePedeFileReader::getHLS(), edm::core::OutputModuleCore::OutputModuleCore(), ProcessCallGraph::preBeginJob(), edm::service::RandomNumberGeneratorService::readFromLuminosityBlock(), edm::SubProcess::SubProcess(), TriggerSummaryProducerAOD::TriggerSummaryProducerAOD(), and TriggerSummaryProducerRAW::TriggerSummaryProducerRAW().

693  {
694  makePathStatusInserters(pathStatusInserters_,
695  *pathNames_,
696  prealloc,
697  preg,
698  areg,
700  std::string("PathStatusInserter"));
701 
702  makePathStatusInserters(endPathStatusInserters_,
703  *endPathNames_,
704  prealloc,
705  preg,
706  areg,
708  std::string("EndPathStatusInserter"));
709 
710  assert(0 < prealloc.numberOfStreams());
711  streamSchedules_.reserve(prealloc.numberOfStreams());
712  for (unsigned int i = 0; i < prealloc.numberOfStreams(); ++i) {
713  streamSchedules_.emplace_back(make_shared_noexcept_false<StreamSchedule>(resultsInserter(),
714  pathStatusInserters_,
715  endPathStatusInserters_,
716  moduleRegistry(),
717  proc_pset,
718  tns,
719  prealloc,
720  preg,
721  branchIDListHelper,
722  actions,
723  areg,
725  !hasSubprocesses,
726  StreamID{i},
727  processContext));
728  }
729 
730  //TriggerResults are injected automatically by StreamSchedules and are
731  // unknown to the ModuleRegistry
732  const std::string kTriggerResults("TriggerResults");
733  std::vector<std::string> modulesToUse;
734  modulesToUse.reserve(streamSchedules_[0]->allWorkers().size());
735  for (auto const& worker : streamSchedules_[0]->allWorkers()) {
736  if (worker->description()->moduleLabel() != kTriggerResults) {
737  modulesToUse.push_back(worker->description()->moduleLabel());
738  }
739  }
740  //The unscheduled modules are at the end of the list, but we want them at the front
741  unsigned int const nUnscheduledModules = streamSchedules_[0]->numberOfUnscheduledModules();
742  if (nUnscheduledModules > 0) {
743  std::vector<std::string> temp;
744  temp.reserve(modulesToUse.size());
745  auto itBeginUnscheduled = modulesToUse.begin() + modulesToUse.size() - nUnscheduledModules;
746  std::copy(itBeginUnscheduled, modulesToUse.end(), std::back_inserter(temp));
747  std::copy(modulesToUse.begin(), itBeginUnscheduled, std::back_inserter(temp));
748  temp.swap(modulesToUse);
749  }
750 
751  // propagate_const<T> has no reset() function
752  globalSchedule_ = std::make_unique<GlobalSchedule>(resultsInserter(),
753  pathStatusInserters_,
754  endPathStatusInserters_,
755  moduleRegistry(),
756  modulesToUse,
757  proc_pset,
758  preg,
759  prealloc,
760  actions,
761  areg,
763  processContext);
764 
765  //TriggerResults is not in the top level ParameterSet so the call to
766  // reduceParameterSet would fail to find it. Just remove it up front.
767  std::set<std::string> usedModuleLabels;
768  for (auto const& worker : allWorkers()) {
769  if (worker->description()->moduleLabel() != kTriggerResults) {
770  usedModuleLabels.insert(worker->description()->moduleLabel());
771  }
772  }
773  std::vector<std::string> modulesInConfig(proc_pset.getParameter<std::vector<std::string>>("@all_modules"));
774  std::map<std::string, std::vector<std::pair<std::string, int>>> outputModulePathPositions;
775  reduceParameterSet(proc_pset, tns.getEndPaths(), modulesInConfig, usedModuleLabels, outputModulePathPositions);
776  processEDAliases(proc_pset, processConfiguration->processName(), preg);
777 
778  // At this point all BranchDescriptions are created. Mark now the
779  // ones of unscheduled workers to be on-demand.
780  if (nUnscheduledModules > 0) {
781  std::set<std::string> unscheduledModules(modulesToUse.begin(), modulesToUse.begin() + nUnscheduledModules);
782  preg.setUnscheduledProducts(unscheduledModules);
783  }
784 
785  processSwitchProducers(proc_pset, processConfiguration->processName(), preg);
786  proc_pset.registerIt();
787  processConfiguration->setParameterSetID(proc_pset.id());
788  processConfiguration->setProcessConfigurationID();
789 
790  // This is used for a little sanity-check to make sure no code
791  // modifications alter the number of workers at a later date.
792  size_t all_workers_count = allWorkers().size();
793 
794  moduleRegistry_->forAllModuleHolders([this](maker::ModuleHolder* iHolder) {
795  auto comm = iHolder->createOutputModuleCommunicator();
796  if (comm) {
797  all_output_communicators_.emplace_back(std::shared_ptr<OutputModuleCommunicator>{comm.release()});
798  }
799  });
800  // Now that the output workers are filled in, set any output limits or information.
801  limitOutput(proc_pset, branchIDListHelper.branchIDLists(), subProcessParentageHelper);
802 
803  // Sanity check: make sure nobody has added a worker after we've
804  // already relied on the WorkerManager being full.
805  assert(all_workers_count == allWorkers().size());
806 
807  branchIDListHelper.updateFromRegistry(preg);
808 
809  for (auto const& worker : streamSchedules_[0]->allWorkers()) {
810  worker->registerThinnedAssociations(preg, thinnedAssociationsHelper);
811  }
812 
813  processBlockHelper.updateForNewProcess(preg, processConfiguration->processName());
814 
815  // The output modules consume products in kept branches.
816  // So we must set this up before freezing.
817  for (auto& c : all_output_communicators_) {
818  c->selectProducts(preg, thinnedAssociationsHelper, processBlockHelper);
819  }
820 
821  for (auto& product : preg.productListUpdator()) {
822  setIsMergeable(product.second);
823  }
824 
825  {
826  // We now get a collection of types that may be consumed.
827  std::set<TypeID> productTypesConsumed;
828  std::set<TypeID> elementTypesConsumed;
829  // Loop over all modules
830  for (auto const& worker : allWorkers()) {
831  for (auto const& consumesInfo : worker->consumesInfo()) {
832  if (consumesInfo.kindOfType() == PRODUCT_TYPE) {
833  productTypesConsumed.emplace(consumesInfo.type());
834  } else {
835  elementTypesConsumed.emplace(consumesInfo.type());
836  }
837  }
838  }
839  // The SubProcess class is not a module, yet it may consume.
840  if (hasSubprocesses) {
841  productTypesConsumed.emplace(typeid(TriggerResults));
842  }
843  // The RandomNumberGeneratorService is not a module, yet it consumes.
844  { RngEDConsumer rngConsumer = RngEDConsumer(productTypesConsumed); }
845  preg.setFrozen(productTypesConsumed, elementTypesConsumed, processConfiguration->processName());
846  }
847 
848  for (auto& c : all_output_communicators_) {
849  c->setEventSelectionInfo(outputModulePathPositions, preg.anyProductProduced());
850  }
851 
852  if (wantSummary_) {
853  std::vector<const ModuleDescription*> modDesc;
854  const auto& workers = allWorkers();
855  modDesc.reserve(workers.size());
856 
857  std::transform(workers.begin(),
858  workers.end(),
859  std::back_inserter(modDesc),
860  [](const Worker* iWorker) -> const ModuleDescription* { return iWorker->description(); });
861 
862  // propagate_const<T> has no reset() function
863  summaryTimeKeeper_ = std::make_unique<SystemTimeKeeper>(prealloc.numberOfStreams(), modDesc, tns, processContext);
864  auto timeKeeperPtr = summaryTimeKeeper_.get();
865 
866  areg->watchPreModuleDestruction(timeKeeperPtr, &SystemTimeKeeper::removeModuleIfExists);
867 
868  areg->watchPreModuleEvent(timeKeeperPtr, &SystemTimeKeeper::startModuleEvent);
869  areg->watchPostModuleEvent(timeKeeperPtr, &SystemTimeKeeper::stopModuleEvent);
870  areg->watchPreModuleEventAcquire(timeKeeperPtr, &SystemTimeKeeper::restartModuleEvent);
871  areg->watchPostModuleEventAcquire(timeKeeperPtr, &SystemTimeKeeper::stopModuleEvent);
872  areg->watchPreModuleEventDelayedGet(timeKeeperPtr, &SystemTimeKeeper::pauseModuleEvent);
873  areg->watchPostModuleEventDelayedGet(timeKeeperPtr, &SystemTimeKeeper::restartModuleEvent);
874 
875  areg->watchPreSourceEvent(timeKeeperPtr, &SystemTimeKeeper::startEvent);
876  areg->watchPostEvent(timeKeeperPtr, &SystemTimeKeeper::stopEvent);
877 
878  areg->watchPrePathEvent(timeKeeperPtr, &SystemTimeKeeper::startPath);
879  areg->watchPostPathEvent(timeKeeperPtr, &SystemTimeKeeper::stopPath);
880 
881  areg->watchPostBeginJob(timeKeeperPtr, &SystemTimeKeeper::startProcessingLoop);
882  areg->watchPreEndJob(timeKeeperPtr, &SystemTimeKeeper::stopProcessingLoop);
883  //areg->preModuleEventSignal_.connect([timeKeeperPtr](StreamContext const& iContext, ModuleCallingContext const& iMod) {
884  //timeKeeperPtr->startModuleEvent(iContext,iMod);
885  //});
886  }
887 
888  } // Schedule::Schedule
pathNames_ & tns()), endPathNames_(&tns.getEndPaths()), wantSummary_(tns.wantSummary()
Definition: Schedule.cc:691
const auto & workers
const edm::EventSetup & c
roAction_t actions[nactions]
Definition: GenABIO.cc:181
all_output_communicators_()
processConfiguration
Definition: Schedule.cc:687
assert(be >=bs)
areg
Definition: Schedule.cc:687
moduleRegistry_(new ModuleRegistry())
preg
Definition: Schedule.cc:687
void setIsMergeable(BranchDescription &)
tuple size
Write out results.
prealloc
Definition: Schedule.cc:687
unsigned transform(const HcalDetId &id, unsigned transformCode)
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(), and mps_fire::result.

Referenced by MomentumDependentPedeLabeler::buildMomentumDependencyMap(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), decode(), editESInputTag(), editInputTag(), editVInputTag(), edm::ESInputTag::ESInputTag(), 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  }
static std::string const input
Definition: EdmProvDump.cc:47
tuple result
Definition: mps_fire.py:311
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:20
static std::string const separator(":")
template<typename T >
pybind11::list edm::toPython11List ( const std::vector< T > &  v)

Definition at line 17 of file PyBind11Wrapper.h.

References mps_fire::result.

Referenced by Python11ParameterSet::getParameters().

17  {
18  pybind11::list result = pybind11::cast(v);
19  return result;
20  }
tuple result
Definition: mps_fire.py:311
template<typename T >
std::vector<T> edm::toVector ( pybind11::list &  l)

Definition at line 24 of file PyBind11Wrapper.h.

References mps_fire::i, 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  }
tuple result
Definition: mps_fire.py:311
static std::string const edm::triggerResults ( "TriggerResults"  )
static
static std::string const edm::triggerResultsInserter ( "TriggerResultsInserter"  )
static

Referenced by moduleName().

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< T >::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), and SpecificationBuilder_cfi::parent().

Referenced by 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  }
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
std::string edm::typeDemangle ( char const *  mangledName)

Definition at line 94 of file TypeDemangler.cc.

References symbols::demangled, Exception, replaceString(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by PhysicsTools::VarProcessor::deriv(), PhysicsTools::MVAComputer::evalInternal(), and edm::serviceregistry::ServicesManager::ServicesManager().

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  }
list status
Definition: mps_update.py:107
void replaceString(std::string &demangledName, std::string const &from, std::string const &to)
tuple demangled
Definition: symbols.py:70
std::string edm::uniqueSharedResourceName ( )

Definition at line 21 of file SharedResourceNames.cc.

References counter, and contentValuesCheck::ss.

Referenced by edm::HadronizerFilter< HAD, DEC >::HadronizerFilter(), and edm::GeneratorFilter< HAD, DEC >::init().

21  {
22  std::stringstream ss;
23  ss << "uniqueSharedResourceName" << counter.fetch_add(1);
24  return ss.str();
25 }
static std::atomic< unsigned int > counter
bool edm::untaintString ( char const *  pattern,
char const *  regexp 
)

Definition at line 12 of file RegexMatch.cc.

Referenced by do_work().

12  {
13  std::regex rexp(regexp);
14  return std::regex_match(pattern, rexp);
15  }
void edm::validateLooper ( ParameterSet pset)

Definition at line 199 of file EventProcessor.cc.

References cms::Exception::addContext(), diffTreeTool::format(), get, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::convertException::wrap().

Referenced by fillLooper().

199  {
200  auto const modtype = pset.getParameter<std::string>("@module_type");
201  auto const moduleLabel = pset.getParameter<std::string>("@module_label");
202  auto filler = ParameterSetDescriptionFillerPluginFactory::get()->create(modtype);
203  ConfigurationDescriptions descriptions(filler->baseType(), modtype);
204  filler->fill(descriptions);
205  try {
206  edm::convertException::wrap([&]() { descriptions.validate(pset, moduleLabel); });
207  } catch (cms::Exception& iException) {
208  iException.addContext(
209  fmt::format("Validating configuration of EDLooper of type {} with label: '{}'", modtype, moduleLabel));
210  throw;
211  }
212  }
void addContext(std::string const &context)
Definition: Exception.cc:165
auto wrap(F iFunc) -> decltype(iFunc())
#define get
void edm::validateTopLevelParameterSets ( ParameterSet processParameterSet)

Definition at line 115 of file validateTopLevelParameterSets.cc.

References cms::Exception::addContext(), edm::ParameterSet::addUntrackedParameter(), edm::errors::Configuration, getPayloadData::description, Exception, fillMaxEventsDescription(), fillMaxLuminosityBlocksDescription(), fillMaxSecondsUntilRampdownDescription(), fillOptionsDescription(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), FSQHLTOfflineSource_cfi::processName, TrackValidation_cff::pset, AlCaHLTBitMon_QueryRunRegistry::string, and edm::ParameterSetDescription::validate().

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

115  {
116  std::string processName = processParameterSet->getParameter<std::string>("@process_name");
117 
118  std::vector<std::string> psetNames{"options", "maxEvents", "maxLuminosityBlocks", "maxSecondsUntilRampdown"};
119 
120  for (auto const& psetName : psetNames) {
121  bool isTracked{false};
122  ParameterSet* pset = processParameterSet->getPSetForUpdate(psetName, isTracked);
123  if (pset == nullptr) {
124  ParameterSet emptyPset;
125  processParameterSet->addUntrackedParameter<ParameterSet>(psetName, emptyPset);
126  pset = processParameterSet->getPSetForUpdate(psetName, isTracked);
127  }
128  if (isTracked) {
129  throw Exception(errors::Configuration) << "In the configuration the top level parameter set named \'"
130  << psetName << "\' in process \'" << processName << "\' is tracked.\n"
131  << "It must be untracked";
132  }
133 
135  if (psetName == "options") {
136  fillOptionsDescription(description);
137  } else if (psetName == "maxEvents") {
138  fillMaxEventsDescription(description);
139  } else if (psetName == "maxLuminosityBlocks") {
141  } else if (psetName == "maxSecondsUntilRampdown") {
143  }
144 
145  try {
146  description.validate(*pset);
147  } catch (cms::Exception& ex) {
148  std::ostringstream ost;
149  ost << "Validating top level \'" << psetName << "\' ParameterSet for process \'" << processName << "\'";
150  ex.addContext(ost.str());
151  throw;
152  }
153  }
154  }
void fillOptionsDescription(ParameterSetDescription &description)
void fillMaxEventsDescription(ParameterSetDescription &description)
void fillMaxLuminosityBlocksDescription(ParameterSetDescription &description)
void addContext(std::string const &context)
Definition: Exception.cc:165
void fillMaxSecondsUntilRampdownDescription(ParameterSetDescription &description)
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 reco::modules::CandCombinerBase::CandCombinerBase(), EcalSimHitDump::EcalSimHitDump(), EGammaCutBasedEleIdAnalyzer::EGammaCutBasedEleIdAnalyzer(), ElectronSeedProducer::ElectronSeedProducer(), HLTBTagPerformanceAnalyzer::HLTBTagPerformanceAnalyzer(), HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer(), JetSubstructurePacker::JetSubstructurePacker(), LowPtGsfElectronSeedValueMapsProducer::LowPtGsfElectronSeedValueMapsProducer(), 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(), TICLCandidateFromTrackstersProducer::TICLCandidateFromTrackstersProducer(), TICLTrackstersEdgesValidation::TICLTrackstersEdgesValidation(), TrackerDpgAnalysis::TrackerDpgAnalysis(), TrackingMonitor::TrackingMonitor(), and TrackingNtuple::TrackingNtuple().

12  {
13  using ReturnType =
14  typename std::remove_cv<typename std::remove_reference<decltype(predicate(input.front()))>::type>::type;
15  std::vector<ReturnType> output;
16  output.reserve(input.size());
17  for (auto const& element : input)
18  output.push_back(predicate(element));
19  return output;
20  }
static std::string const input
Definition: EdmProvDump.cc:47
std::map< DetId, double > ReturnType
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 alignCSCRings::e, label, 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
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  }
tuple result
Definition: mps_fire.py:311
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::StreamerInputSource::buildClassCache(), edm::ProductRegistry::checkDictionariesOfConsumedTypes(), checkDictionaryOfWrappedType(), BareRootProductGetter::createNewBuffer(), edm::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

edm::__pad0__

Definition at line 687 of file Schedule.cc.

edm::actions
edm::areg
debugvalue edm::debugit
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().

constexpr const ELseverityLevel edm::ELerror {ELseverityLevel::ELsev_error}

Definition at line 90 of file ELseverityLevel.h.

Referenced by LoggedErrorsOnlySummary().

constexpr const ELseverityLevel edm::ELfwkInfo {ELseverityLevel::ELsev_fwkInfo}

Definition at line 86 of file ELseverityLevel.h.

constexpr const ELseverityLevel edm::ELhighestSeverity {ELseverityLevel::ELsev_highestSeverity}
constexpr const ELseverityLevel edm::ELinfo {ELseverityLevel::ELsev_info}

Definition at line 84 of file ELseverityLevel.h.

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().

constexpr const ELseverityLevel edm::ELunspecified {ELseverityLevel::ELsev_unspecified}

Definition at line 92 of file ELseverityLevel.h.

constexpr const ELseverityLevel edm::ELwarning {ELseverityLevel::ELsev_warning}
constexpr const ELseverityLevel edm::ELzeroSeverity {ELseverityLevel::ELsev_zeroSeverity}
MallocOptionSetter edm::global_malloc_options

Definition at line 195 of file MallocOpts.cc.

Referenced by getGlobalOptionSetter().

auto edm::hack
Initial value:
= [&](const std::string& name) {
auto i = std::find(names.begin(), names.end(), name);
if (i != names.end()) {
tmp.push_back(*i);
names.erase(i);
}
}
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
const std::string names[nVars_]
tmp
align.sh
Definition: createJobs.py:716

Definition at line 125 of file PreMixingModule.cc.

EventNumber_t const edm::invalidEventNumber = 0U
LuminosityBlockNumber_t const edm::invalidLuminosityBlockNumber = 0U

Definition at line 17 of file RunLumiEventNumber.h.

Referenced by FWGUIManager::lumiIdChanged().

RunNumber_t const edm::invalidRunNumber = 0U

Definition at line 18 of file RunLumiEventNumber.h.

Referenced by FWGUIManager::runIdChanged().

unsigned long long constexpr edm::kAveEventPerSec = 200ULL
static
unsigned long long constexpr edm::kNanoSecPerSec = 1000000000ULL
static
const unsigned char edm::MLSCRIBE_RUNNING_INDICATOR = 29
static
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().

edm::names = workers.getParameterNames()
constexpr unsigned int edm::numberOfRunLumiEventProductTrees = 3
edm::prealloc

Definition at line 687 of file Schedule.cc.

Referenced by tns().

edm::preg
edm::processConfiguration
constexpr unsigned int edm::s_defaultNumberOfThreads = 1

Definition at line 9 of file ThreadsInfo.h.

Referenced by fillOptionsDescription().

constexpr unsigned int edm::s_defaultSizeOfStackForThreadsInKB = 10 * 1024

Definition at line 10 of file ThreadsInfo.h.

const std::vector<void const*> edm::s_emptyCache {}
static

Definition at line 184 of file PtrVectorBase.cc.

Referenced by edm::PtrVectorBase::emptyCache().

ProcessHistory const edm::s_emptyProcessHistory
static

Definition at line 34 of file Principal.cc.

Referenced by edm::Principal::fillPrincipal().

std::atomic<Principal::CacheIdentifier_t> edm::s_nextIdentifier {1}
static

Definition at line 117 of file Principal.cc.

Referenced by nextIdentifier().

thread_local EDProductGetter const* edm::s_productGetter = nullptr
unsigned int const edm::shift = 8 * sizeof(unsigned int)
static

Definition at line 7 of file LuminosityBlockID.cc.

Referenced by algorithm(), L1TCSCTF::analyze(), EcalTPGParamBuilder::analyze(), CTPPSDiamondDQMSource::analyze(), HcalTriggerPrimitiveAlgo::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), HcalTriggerPrimitiveAlgo::analyzeHFQIE10(), HcalTriggerPrimitiveAlgo::analyzeQIE11(), BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), MuScleFitUtils::applyScale(), cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::bin(), CSCTFTrackBuilder::buildTracks(), barrelUtil::calculatePhiWindow(), HGCalDDDConstants::cellHex(), hcal::reconstruction::compute_pulse_shape_value(), MuonPathAssociator::correlateMPaths(), DEutils< T >::DEDigi(), InitialState::Evolve(), trklet::MatchProcessor::execute(), DDCutTubsFromPoints::execute(), Py8toJetInput::fillJetAlgoInput(), MiniFloatConverter::float32to16round(), 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(), UCTCTP7RawData::getHFFeatureBits(), UCTCTP7RawData5BX::getHFFeatureBits(), popcon::EcalLaser_weekly_Linearization_Check::getNewObjects(), popcon::EcalLaser_weekly_Linearization::getNewObjects(), popcon::EcalTPGLinPed::getNewObjects(), popcon::EcalTPGPedfromFile::getNewObjects(), OptOModifiedRhomboidPrism::getRotatedPlate(), HcalDDDSimConstants::getShift(), HIPplots::GetSubDet(), 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(), L1TTwinMuxRawToDigi::L1TTwinMuxRawToDigi(), npstat::ArrayND< Numeric, StackLen, StackDim >::linearFill(), npstat::ArrayND< Numeric, StackLen, StackDim >::linearFillLoop(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), L1MuDTPtaLut::load(), L1TMuonBarrelParamsHelper::load_pt(), phase1PixelTopology::localX(), phase1PixelTopology::localY(), MuonPathAnalyticAnalyzer::MuonPathAnalyticAnalyzer(), MuonPathAnalyzerInChamber::MuonPathAnalyzerInChamber(), MuonPathAssociator::MuonPathAssociator(), HcalPulseShapes::normalizeShift(), HGCalHistoSeedingImpl::Navigator::offset(), pat::PATMETSlimmer::produce(), HcalTTPDigiProducer::produce(), ShiftedMETcorrInputProducer::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), ShiftedParticleProducer::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedParticleProducerT< T >::produce(), l1t::GenToInputProducer::produce(), ShiftedJetProducerT< T, Textractor >::produce(), trklet::ProjectionTemp::ProjectionTemp(), pat::PATMETSlimmer::OneMETShift::readAndSet(), PseudoBayesGrouping::RecognisePatternsByLayerPairs(), HFPreRecAlgo::reconstruct(), CSCTFSectorProcessor::run(), CSCTFSPCoreLogic::run(), HFRecHitAuxSetter::setAux(), UCTCTP7RawData::setHFFeatureBits(), UCTCTP7RawData5BX::setHFFeatureBits(), HcalTriggerPrimitiveAlgo::setNCTScaleShift(), BackgroundHandler::setParameters(), HcalTriggerPrimitiveAlgo::setRCTScaleShift(), FFTJetPFPileupCleaner::setRemovalBit(), pat::MET::setUncShift(), HGCSample::setWord(), pat::MET::shiftedP2_74x(), pat::MET::shiftedP4_74x(), pat::MET::shiftedSumEt_74x(), 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(), edm::LuminosityBlockID::value(), CastorCORData::wasMarkAndPassZS(), and HcalPulseShapes::Y11206().

volatile std::atomic< bool > edm::shutdown_flag {false}
const auto& edm::workers = ps.getParameter<edm::ParameterSet>("workers")

Definition at line 117 of file PreMixingModule.cc.

Referenced by for(), and tns().