CMS 3D CMS Logo

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

HLT enums. More...

Namespaces

 clonehelper
 
 cmspybind11
 
 cmspybind11_p3
 
 convertException
 
 detail
 
 details
 
 detailsTrie
 
 dqh
 
 dsrvdetail
 
 edmmltest
 
 errors
 
 es
 
 esvhhelper
 
 eventsetup
 
 evetnsetup
 
 evtSel
 
 exception_actions
 
 extensioncord
 
 fillDetails
 
 friendlyname
 
 global
 
 graph
 
 handleimpl
 
 hash_detail
 
 helper
 
 helpers
 
 hlt
 
 impl
 
 limited
 
 maker
 
 math_private
 
 messagedrop
 
 MixingCache
 
 module
 
 multicore
 
 one
 
 pathStatusExpression
 
 pdtentry
 
 poolNames
 
 principal_get_adapter_detail
 
 producerbasehelper
 
 productholderindexhelper
 
 pset
 
 python
 
 python3
 
 rec_dep
 
 refcore
 
 refcoreimpl
 
 refhelper
 
 refitem
 
 reftobase
 
 releaseversion
 
 root
 
 roottree
 
 service
 
 serviceregistry
 
 signalslot
 
 soa
 
 soahelper
 
 storage
 
 stream
 
 test
 
 threadLocalException
 
 typelookup
 
 vhhelper
 
 waitingtask
 
 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
 
struct  BeginLuminosityBlockProducer
 
struct  BeginRunProducer
 
class  BMixingModule
 
class  BoolCache
 
class  BranchChildren
 
class  BranchDescription
 
class  BranchID
 
class  BranchIDListHelper
 
class  BranchKey
 
struct  BranchToCount
 
class  BunchCrossingFilter
 
class  CallNTimesNoWait
 
class  CallOnceNoWait
 
class  CFWriter
 
struct  CheckAbility
 
struct  CheckAbility< ABILITY >
 
struct  CheckAbility< ABILITY, T, VArgs... >
 
struct  ClonePolicy
 
class  CloningPtr
 
class  CloseByParticleGunProducer
 
class  Comment
 
struct  CommonParams
 
class  Compare_Index
 
class  Compare_Index_Run
 
class  Compare_Run_Lumi_EventEntry
 
struct  CompareRefDetSet
 
class  ConditionsInEventBlock
 
class  ConditionsInLumiBlock
 
class  ConditionsInRunBlock
 
class  ConfigurationDescriptions
 
struct  ConfigurationHandshake
 
class  ConstProductRegistry
 
class  ConstPtrCache
 
class  ConstRespectingPtr
 
class  ConsumesCollector
 
class  ConsumesInfo
 
class  ContainerMask
 
class  ContainerMaskTraits
 
class  ContainerMaskTraits< edmNew::DetSetVector< T > >
 
struct  CopyPolicy
 
class  CosMuoGenProducer
 
class  CountAndLimit
 
class  CPUServiceBase
 
class  CPUTimer
 
class  CurrentModuleOnThread
 
class  CustomStreamer
 
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
 
class  debugging_allocator
 
struct  debugvalue
 
struct  DefaultRecord
 
class  DefaultRunHelper
 
class  DelayedReader
 
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  EDFilter
 
class  EDGetToken
 
class  EDGetTokenT
 
class  EDLooper
 
class  EDLooperBase
 
class  EDProducer
 
class  EDProductGetter
 
class  EDPutToken
 
class  EDPutTokenT
 
class  ElementID
 
class  ELextendedID
 
class  ELseverityLevel
 
struct  ELslProxy
 
class  EmbeddedRootSource
 
class  EmptyESSource
 
class  EmptyGroupDescription
 
class  EmptySource
 
class  EmptyWaitingTask
 
struct  EndLuminosityBlockProducer
 
class  EndPathStatus
 
class  EndPathStatusInserter
 
struct  EndRunProducer
 
class  Entry
 
class  ErrorObj
 
struct  ErrorSummaryEntry
 
class  ESConsumesCollector
 
class  ESConsumesCollectorT
 
struct  ESFillDirectly
 
class  ESGetToken
 
class  ESHandle
 
struct  ESHandleAdapter
 
class  ESHandleBase
 
class  ESHandleExceptionFactory
 
class  ESInputTag
 
class  ESOutlet
 
class  ESProducer
 
class  ESProducerLooper
 
class  ESProductHost
 
struct  ESProducts
 
class  ESProxyFactoryProducer
 
class  ESProxyIndex
 
class  ESRecordAuxiliary
 
class  ESRecordIndex
 
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  EventSetupRecordIntervalFinder
 
class  EventSignalsSentry
 
class  EventSkipperByID
 
struct  EventSummary
 
class  EventTime
 
struct  EventTimingSummary
 
class  Exception
 
class  ExceptionCollector
 
class  ExceptionToActionTable
 
class  ExpoRandomPGunProducer
 
class  ExpoRandomPtGunProducer
 
class  ExtensionCord
 
struct  ExternalWork
 
class  Factory
 
class  FileBlock
 
class  FileCatalogItem
 
class  FileFormatVersion
 
class  FileID
 
class  FileIndex
 
class  FileInPath
 
class  FileLocator
 
class  FileRandomKEThetaGunProducer
 
struct  FilledProductPtr
 
class  FilterObjectWrapper
 
class  FilterValueMapWrapper
 
class  FilterWrapper
 
class  FixedPUGenerator
 
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  FWLiteFilterWrapper
 
class  GaussRandomPThetaGunProducer
 
class  GeneratorFilter
 
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::OwnArray< T, M, P > >
 
struct  has_fillView< edm::OwnVector< T, P > >
 
struct  has_fillView< edm::SortedCollection< T, SORT > >
 
struct  has_fillView< PtrVector< T > >
 
struct  has_fillView< RefToBaseVector< T > >
 
struct  has_fillView< RefVector< C, T, F > >
 
struct  has_fillView< std::deque< T, A > >
 
struct  has_fillView< std::list< T, A > >
 
struct  has_fillView< std::set< T, A > >
 
struct  has_fillView< std::vector< bool, A > >
 
struct  has_fillView< std::vector< T, A > >
 
struct  has_setPtr
 
struct  has_setPtr< edm::OwnArray< T, M, P > >
 
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  HasAbilityToProduceInLumis
 
struct  HasAbilityToProduceInRuns
 
class  Hash
 
class  HcalNoiseStorage
 
class  HepMCProduct
 
class  HiMixingModule
 
class  HiMixingWorker
 
class  HiMixingWorkerBase
 
class  History
 
class  HistoryAppender
 
class  HLTGlobalStatus
 
class  HLTPathStatus
 
class  IDVectorMap
 
class  IfExistsDescription
 
class  IllegalParameters
 
class  IndexIntoFile
 
class  IndexIntoFileItrHolder
 
class  IndexSet
 
class  InputAnalyzer
 
class  InputFile
 
class  InputFileCatalog
 
class  InputProductResolver
 
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  LogAbsolute
 
class  LogDebug_
 
class  LogError
 
class  LogErrorHarvester
 
class  LogImportant
 
class  LogInfo
 
class  LogPrint
 
class  LogProblem
 
class  LogSystem
 
class  LogTrace_
 
class  LogVerbatim
 
class  LogWarning
 
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
 
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  MergeableRunProductMetadata
 
class  MergeableRunProductMetadataBase
 
class  MergeableRunProductProcesses
 
struct  MessageDrop
 
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  ModuleRegistry
 
class  ModuleTime
 
class  ModuloEventIDFilter
 
class  ModuloStreamIDFilter
 
class  MultiAssociation
 
class  MultiParticleInConeGunProducer
 
class  MultipleException
 
class  NavigateEventsLooper
 
struct  NewPolicy
 
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< 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  OutletBase
 
class  OutputModule
 
class  OutputModuleCommunicator
 
class  OutputModuleCommunicatorT
 
struct  OutputModuleDescription
 
class  OwnArray
 
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
 
class  ParameterWildcard
 
class  ParameterWildcard< ParameterSetDescription >
 
class  ParameterWildcard< std::vector< ParameterSet > >
 
class  ParameterWildcardBase
 
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  ProcessConfiguration
 
class  ProcessContext
 
class  ProcessDesc
 
class  ProcessHistory
 
class  ProcessHistoryRegistry
 
class  ProcessingController
 
class  ProcessMatch
 
class  ProducedProductResolver
 
class  ProducerBase
 
class  ProducerSourceBase
 
class  ProducerSourceFromFiles
 
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
 
struct  ProductProvenanceEqual
 
struct  ProductProvenanceHasher
 
class  ProductProvenanceRetriever
 
class  ProductRegistry
 
class  ProductRegistryHelper
 
class  ProductResolverBase
 
class  ProductResolverIndexAndSkipBit
 
class  ProductResolverIndexHelper
 
class  ProductSelector
 
class  ProductSelectorRules
 
class  propagate_const
 
class  Provenance
 
class  ProvenanceAdaptor
 
class  ProvenanceCheckerOutputModule
 
class  ProvenanceReaderBase
 
class  Ptr
 
class  PtrHolder
 
class  PtrVector
 
class  PtrVectorBase
 
class  PtrVectorItr
 
class  PUGenerator
 
class  PuttableProductResolver
 
class  PuttableSourceBase
 
class  RandomEngineSentry
 
class  RandomEngineStates
 
class  RandomFilter
 
class  RandomMultiParticlePGunProducer
 
class  RandomNumberGenerator
 
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  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  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  SetRunForEachLumiHelper
 
class  SetRunHelper
 
class  SharedResourceNames
 
class  SharedResourcesAcquirer
 
class  SharedResourcesRegistry
 
class  SignallingProductRegistry
 
class  SimpleOutlet
 
class  SingleChoiceNoProcessProductResolver
 
class  SingleConsumerQ
 
class  SiteLocalConfig
 
class  SoATuple
 
class  SortedCollection
 
class  StableProvenance
 
class  StatsCount
 
class  StoredMergeableRunProductMetadata
 
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  SubProcessParentageHelper
 
class  Suppress_LogDebug_
 
class  SwitchAliasProductResolver
 
class  SwitchBaseProductResolver
 
class  SwitchProducer
 
class  SwitchProducerProductResolver
 
class  SystemTimeKeeper
 
class  TerminationOrigin
 
class  TestHandle
 
class  TestMix
 
class  TestMixedSource
 
class  TestSource
 
class  ThinnedAssociation
 
class  ThinnedAssociationBranches
 
class  ThinnedAssociationsHelper
 
class  ThinningProducer
 
class  ThreadSafeAddOnlyContainer
 
class  ThreadSafeOutputFileStream
 
struct  TimeOfDay
 
class  TimeoutPoolOutputModule
 
class  Timestamp
 
class  TimingServiceBase
 
class  TRandomAdaptor
 
class  TransientDataFrame
 
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  TypeInBranchType
 
class  TypeToGet
 
class  TypeWithDict
 
class  UnknownModuleException
 Exception thrown when trying to instance a module which is not registered to the system. More...
 
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  ValueHolderECGetter
 
class  ValueMap
 
class  VecArray
 
class  VectorInputSource
 
struct  VectorInputSourceDescription
 
class  VectorInputSourceFactory
 
class  View
 
class  View< T >
 
class  ViewBase
 
class  ViewTypeChecker
 
class  VParameterSetEntry
 
class  WaitingTask
 
class  WaitingTaskHolder
 
class  WaitingTaskList
 
class  WaitingTaskWithArenaHolder
 
class  WallclockTimer
 
struct  WantsGlobalLuminosityBlockTransitions
 
struct  WantsGlobalRunTransitions
 
struct  WantsStreamLuminosityBlockTransitions
 
struct  WantsStreamRunTransitions
 
struct  WatchInputFiles
 
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  ZombieKillerService
 

Typedefs

template<typename T >
using AlignedVec = Aligned< T, 16 >
 
typedef unsigned int BranchDescriptionIndex
 
typedef std::vector< BranchID::value_typeBranchIDList
 
typedef std::vector< BranchIDListBranchIDLists
 
typedef unsigned short BranchListIndex
 
typedef std::vector< BranchListIndexBranchListIndexes
 
typedef void(* CFUNC) (int, siginfo_t *, void *)
 
typedef std::vector< CTPPSFastRecHitCTPPSFastRecHitContainer
 
typedef std::vector< CTPPSFastTrackCTPPSFastTrackContainer
 
typedef DigiAccumulatorMixMod *( DAFunc) (ParameterSet const &, ProducerBase &, ConsumesCollector &)
 
typedef uint32_t det_id_type
 
typedef edmplugin::PluginFactory< DAFuncDigiAccumulatorMixModPluginFactory
 
typedef std::list< ELdestination * > ELlist_dest
 
typedef std::list< ELstringELlist_string
 
typedef std::map< ELstring const, ELseverityLevel::ELsev_ELmap
 
typedef std::map< ELextendedID, CountAndLimitELmap_counts
 
typedef std::map< ELstring, LimitAndTimespanELmap_limits
 
typedef std::map< ELextendedID, StatsCountELmap_stats
 
typedef ELseverityLevel const ELslGen()
 
typedef std::string ELstring
 
typedef Hash< EntryDescriptionTypeEntryDescriptionID
 
typedef std::map< EntryDescriptionID, EventEntryDescriptionEntryDescriptionMap
 
using ESConsumesInfo = std::vector< std::tuple< edm::eventsetup::EventSetupRecordKey, edm::eventsetup::DataKey, std::string > >
 
typedef std::vector< EventEntryInfoEventEntryInfoVector
 
typedef unsigned long long EventNumber_t
 
typedef ParameterSetID EventSelectionID
 
typedef std::vector< EventSelectionIDEventSelectionIDVector
 
typedef std::vector< std::pair< edm::ProductID, unsigned long > > FillViewHelperVector
 
typedef Handle< FWGenericObjectFWGenericHandle
 
typedef Handle< GenericObjectGenericHandle
 
typedef long long int HRTimeDiffType
 
typedef unsigned long long int HRTimeType
 
typedef edmplugin::PluginFactory< ISFuncInputSourcePluginFactory
 
typedef InputSource *( ISFunc) (ParameterSet const &, InputSourceDescription const &)
 
typedef VectorInputSource *( ISVecFunc) (ParameterSet const &, VectorInputSourceDescription const &)
 
typedef std::vector< LHCTransportLinkLHCTransportLinkContainer
 
typedef RunLumiEntryInfo LumiEntryInfo
 
typedef unsigned int LuminosityBlockNumber_t
 
typedef edmplugin::PluginFactory< Maker *()> MakerPluginFactory
 
typedef Hash< ModuleDescriptionTypeModuleDescriptionID
 
typedef edmplugin::PluginFactory< ParameterSetDescriptionFillerBase *(void)> ParameterSetDescriptionFillerPluginFactory
 
typedef Hash< ParameterSetTypeParameterSetID
 
typedef std::map< ParameterSetID, ParameterSetBlobParameterSetMap
 
typedef Hash< ParentageTypeParentageID
 
typedef std::string PassID
 
typedef std::vector< PassiveHitPassiveHitContainer
 
using PathStatus = HLTPathStatus
 
typedef std::vector< PCaloHitPCaloHitContainer
 
typedef std::shared_ptr< Pointer_to_new_exception_on_heapPlace_for_passing_exception_ptr
 
typedef std::shared_ptr< edm::ExceptionPointer_to_new_exception_on_heap
 
typedef Presence *( PresenceFunc) ()
 
typedef edmplugin::PluginFactory< Presence *()> PresencePluginFactory
 
typedef Hash< ProcessConfigurationTypeProcessConfigurationID
 
typedef std::vector< ProcessConfigurationProcessConfigurationVector
 
typedef Hash< ProcessHistoryTypeProcessHistoryID
 
typedef std::map< ProcessHistoryID, ProcessHistoryProcessHistoryMap
 
typedef std::vector< ProcessHistoryProcessHistoryVector
 
typedef unsigned short ProcessIndex
 
typedef std::string ProcessingTask
 
typedef unsigned short ProductIndex
 
typedef std::vector< ProductProvenanceProductProvenanceVector
 
typedef unsigned int ProductResolverIndex
 
typedef std::vector< PSimHitPSimHitContainer
 
typedef std::multimap< EventSetupRecordKey, FactoryInfoRecord2Factories
 
typedef std::string ReleaseVersion
 
typedef RunLumiEntryInfo RunEntryInfo
 
typedef unsigned int RunNumber_t
 
typedef std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
 
typedef std::array< SelectedProducts, NumBranchTypesSelectedProductsForBranchType
 
typedef std::vector< BranchDescriptionSendDescs
 
typedef std::vector< StreamedProductSendProds
 
typedef std::vector< SimTrackSimTrackContainer
 
typedef std::vector< SimVertexSimVertexContainer
 
typedef edm::Ref< std::vector< SimVertex > > SimVertexRef
 
typedef edm::RefProd< std::vector< SimVertex > > SimVertexRefProd
 
typedef edm::RefVector< std::vector< SimVertex > > SimVertexRefVector
 
typedef std::vector< StoredProductProvenanceStoredProductProvenanceVector
 
using Strings = EventSelector::Strings
 
typedef std::vector< std::string > StringVector
 
typedef unsigned long long TimeValue_t
 
typedef detail::TriggerResultsBasedEventSelector::handle_t Trig
 
typedef std::map< std::string, char > Type2Code
 
typedef std::vector< edm::BranchDescription const * > VCBDP
 
typedef edmplugin::PluginFactory< ISVecFuncVectorInputSourcePluginFactory
 
typedef std::vector< ParameterSetVParameterSet
 
typedef std::vector< std::string > vstring
 

Enumerations

enum  BranchActionType { BranchActionGlobalBegin = 0, BranchActionStreamBegin = 1, BranchActionStreamEnd = 2, BranchActionGlobalEnd = 3 }
 
enum  BranchType { InEvent = 0, InLumi = 1, InRun = 2, 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_FileInPath = 'F',
  k_LuminosityBlockRange = 'A', k_VLuminosityBlockRange = 'a', k_EventRange = 'R', k_VEventRange = 'r',
  k_PSet = 'Q', k_VPSet = 'q'
}
 
enum  ProductResolverIndexValues { ProductResolverIndexValuesBit = 1U << 30, ProductResolverIndexInvalid = std::numeric_limits<unsigned int>::max(), ProductResolverIndexInitializing = std::numeric_limits<unsigned int>::max() - 1, ProductResolverIndexAmbiguous = std::numeric_limits<unsigned int>::max() - 2 }
 
enum  TerminationOrigin { TerminationOrigin::ExceptionFromThisContext, TerminationOrigin::ExceptionFromAnotherContext, TerminationOrigin::ExternalSignal }
 
enum  Transition {
  Transition::Event, Transition::BeginLuminosityBlock, Transition::EndLuminosityBlock, Transition::BeginRun,
  Transition::EndRun, Transition::NumberOfTransitions
}
 
enum  Verbosity { Silent =0, Concise =2, Normal =5, Detailed =10 }
 
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)
 
static std::string appendCurrentProcessIfAlias (std::string const &processFromInputTag, std::string const &currentProcess)
 
template<class FP >
bool asm_isnan (FP x)
 
template<typename Traits , typename P , typename SC >
void beginGlobalTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, P &iPrincipal, IOVSyncValue const &iTS, EventSetupImpl const &iES, ServiceToken const &token, SC &iSubProcesses)
 
template<typename Traits , typename P , typename SC >
void beginStreamsTransitionAsync (WaitingTask *iWait, Schedule &iSchedule, unsigned int iNStreams, P &iPrincipal, IOVSyncValue const &iTS, EventSetupImpl const &iES, ServiceToken const &token, SC &iSubProcesses)
 
template<typename Traits , typename P , typename SC >
void beginStreamTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iStreamIndex, P &iPrincipal, IOVSyncValue const &iTS, EventSetupImpl const &iES, ServiceToken const &token, SC &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)
 
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 & BranchTypeToMajorIndexName (BranchType const &branchType)
 
std::string const & BranchTypeToMetaDataTreeName (BranchType const &branchType)
 
std::string const & BranchTypeToMinorIndexName (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 const & BranchTypeToString (BranchType const &branchType)
 
template<typename TReturn >
TReturn callWithTryCatchAndPrint (std::function< TReturn(void)> iFunc, char const *context=0, bool disablePrint=false)
 
template<typename T >
static void check (T const &p, std::string const &id, SelectedProducts const &iProducts)
 
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)
 
bool contains (LuminosityBlockRange const &lh, LuminosityBlockID const &rh)
 
bool contains (EventRange const &lh, EventID 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)(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 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 (std::string const &name)
 
void doBuildRealData (const std::string &name)
 
const char * edmModuleType (edm::ModuleDescription const &module)
 
EDMModuleType edmModuleTypeEnum (edm::ModuleDescription const &module)
 
void edmodule_mightGet_config (ConfigurationDescriptions &iDesc)
 
ELseverityLevel const ELdebugGen ()
 
ELseverityLevel const ELerrorGen ()
 
ELseverityLevel const ELhighestSeverityGen ()
 
ELseverityLevel const ELinfoGen ()
 
ELseverityLevel const ELsevereGen ()
 
ELseverityLevel const ELunspecifiedGen ()
 
ELseverityLevel const ELwarningGen ()
 
ELseverityLevel const ELzeroSeverityGen ()
 
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 , typename P , typename SC >
void endGlobalTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, P &iPrincipal, IOVSyncValue const &iTS, EventSetupImpl const &iES, ServiceToken const &token, SC &iSubProcesses, bool cleaningUpAfterException)
 
template<typename Traits , typename P , typename SC >
void endStreamsTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iNStreams, P &iPrincipal, IOVSyncValue const &iTS, EventSetupImpl const &iES, ServiceToken const &iToken, SC &iSubProcesses, bool cleaningUpAfterException)
 
template<typename Traits , typename P , typename SC >
void endStreamTransitionAsync (WaitingTaskHolder iWait, Schedule &iSchedule, unsigned int iStreamIndex, P &iPrincipal, IOVSyncValue const &iTS, EventSetupImpl const &iES, ServiceToken const &token, SC &iSubProcesses, bool cleaningUpAfterException)
 
void ep_sigusr2 (int, siginfo_t *, void *)
 
bool eq (const ELstring &s1, const ELstring s2)
 
bool eq_nocase (const ELstring &s1, const char s2[])
 
template<class FP >
bool equal_isnan (FP x)
 
void exceptionContext (std::ostream &, GlobalContext const &)
 
void exceptionContext (std::ostream &, StreamContext const &)
 
void fillDescriptionFromPSet (ParameterSet const &pset, ParameterSetDescription &desc)
 
std::shared_ptr< EDLooperBasefillLooper (eventsetup::EventSetupsController &esController, eventsetup::EventSetupProvider &cp, ParameterSet &params)
 
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 , unsigned int M, typename P >
void fillPtrVector (OwnArray< T, M, P > 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 T >
void fillView (PtrVector< T > const &obj, ProductID const &, std::vector< void const * > &pointers, 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 (RefToBaseVector< T > const &obj, ProductID const &, 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<typename T >
void fillView (std::vector< edm::Ptr< T > > 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 , unsigned int M, typename P >
void fillView (OwnArray< T, M, P > const &obj, ProductID const &id, std::vector< void const * > &pointers, FillViewHelperVector &helpers)
 
template<typename T , typename SORT >
void fillView (SortedCollection< T, SORT > const &obj, ProductID const &id, std::vector< void const * > &pointers, FillViewHelperVector &helpers)
 
template<typename T , typename P >
void fillView (OwnVector< T, P > const &obj, ProductID const &id, std::vector< void const * > &pointers, FillViewHelperVector &helpers)
 
static void fillWorkerSummary (Worker const *pw, WorkerSummary &sum)
 
static void fillWorkerSummaryAux (Worker const &w, WorkerSummary &sum)
 
template<typename ForwardSequence , typename Predicate >
ForwardSequence::const_iterator find_if_in_all (ForwardSequence const &s, Predicate const &p)
 wrappers for std::find More...
 
template<typename ForwardSequence , typename Predicate >
ForwardSequence::iterator find_if_in_all (ForwardSequence &s, Predicate const &p)
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator find_in_all (ForwardSequence const &s, Datum const &d)
 wrappers for std::find More...
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator find_in_all (ForwardSequence &s, Datum const &d)
 
template<typename Key , typename Value >
Value const & findOrAssert (std::map< Key, Value > const &m, Key const &k)
 
template<typename Key , typename Value >
Value & findOrAssert (std::map< Key, Value > &m, Key const &k)
 
template<typename Key , typename Value >
Value const & findOrDefault (std::map< Key, Value > const &m, Key const &k, Value const &defaultValue)
 
template<typename Key , typename Value >
Value & findOrDefault (std::map< Key, Value > &m, Key const &k, Value &defaultValue)
 
template<typename Key , typename Value >
Value findOrDefault (std::map< Key, Value > const &m, Key const &k)
 
template<typename Key , typename Value >
Value & findOrInsert (std::map< Key, Value > &m, Key const &k)
 
template<typename T , typename U >
T first (std::pair< T, U > const &p)
 
void FlushMessageLog ()
 
template<typename ForwardSequence , typename Func >
Func for_all (ForwardSequence &s, Func f)
 wrapper for std::for_each More...
 
template<typename S , typename T >
SformatFile (T const &f, S &os)
 
bool FreshErrorsExist (unsigned int iStreamID)
 
template<typename T , typename R = typename eventsetup::data_default_record_trait<typename T::value_type>::type>
T const & get (EventSetup const &setup)
 
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 (LuminosityBlock const &event, InputTag const &tag)
 
template<typename T >
T const & get (Run const &event, InputTag const &tag)
 
template<typename T >
T const & get (LuminosityBlock const &event, EDGetToken const &token)
 
template<typename T >
T const & get (Run const &event, EDGetToken const &token)
 
template<typename T >
T const & get (LuminosityBlock const &event, EDGetTokenT< T > const &token)
 
template<typename T >
T const & get (Run const &event, EDGetTokenT< T > const &token)
 
template<typename T >
T const & get (Event const &event, InputTag const &tag)(false)
 
template<typename T >
T const & get (Event const &event, EDGetToken const &token)(false)
 
template<typename T >
T const & get (Event const &event, EDGetTokenT< T > const &token)(false)
 
template<typename T >
Tget_underlying (propagate_const< T > &)
 
template<typename T >
T const & get_underlying (propagate_const< T > const &)
 
template<typename T >
std::shared_ptr< T > & get_underlying_safe (propagate_const< std::shared_ptr< T >> &iP)
 
template<typename T >
std::shared_ptr< T const > get_underlying_safe (propagate_const< std::shared_ptr< T >> const &iP)
 
template<typename T >
T *& get_underlying_safe (propagate_const< T * > &iP)
 
template<typename T >
T const * get_underlying_safe (propagate_const< T * > const &iP)
 
template<typename T >
std::unique_ptr< T > & get_underlying_safe (propagate_const< std::unique_ptr< T >> &iP)
 
template<typename T >
std::unique_ptr< T const > get_underlying_safe (propagate_const< 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 ()
 
template<class T , std::size_t N>
std::array< T, NgetFixedSizeArray (ParameterSet const &pset, std::string const &name)
 
MallocOptionSettergetGlobalOptionSetter ()
 
ParameterSet const & getParameterSet (ParameterSetID const &id)
 
std::string getPassID ()
 
ParameterSet const & getProcessParameterSetContainingModule (ModuleDescription const &moduleDescription)
 
ParameterSet const * getProducerParameterSet (Provenance const &provenance)
 
template<typename T >
T const * getProduct (RefCore const &ref)
 
template<typename PROD >
std::shared_ptr< Wrapper< PROD > const > getProductByTag (Principal const &ep, InputTag const &tag, ModuleCallingContext const *mcc)
 
template<typename T >
T const * getProductWithCoreFromRef (RefCore const &ref, EDProductGetter const *prodGetter)
 
std::unique_ptr< edm::ParameterSetgetPSetFromConfig (const std::string &config)
 
template<typename C >
helper::MatcherGetRef< C >::ref_type getRef (const Handle< C > &c, size_t k)
 
template<typename C , typename T , typename F , typename KEY >
T const * getRefPtr (RefCore const &product, KEY const &iKey)
 
std::string getReleaseVersion ()
 
TClass * getTClass (const std::type_info &ti)
 
TClass * getTClass (std::type_info const &ti)
 
template<typename T >
T const * getThinnedProduct (RefCore const &ref, unsigned int &thinnedKey, 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 const &category)
 
void HaltMessageLogging ()
 
bool hasDictionary (std::type_info const &)
 
HRTimeType hrRealTime ()
 
void insertSelectedProcesses (BranchDescription const &desc, std::set< std::string > &processes)
 
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 isInfoEnabled ()
 
bool isMessageProcessingSetUp ()
 
bool isnan (float f)
 
bool isnan (double d)
 
bool isnan (long double q)
 
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 const std::string kBaseType ("EDFilter")
 
static std::string const kBaseType ("Source")
 
static const std::string kBaseType ("EDAnalyzer")
 
static const std::string kBaseType ("OutputModule")
 
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 (std::string const &name, std::vector< std::string > &missingDictionaries)
 
bool loadCap (const std::string &name, std::vector< std::string > &missingDictionaries)
 
void loadExtraClasses ()
 
static ELmap const & loadMap ()
 
std::vector< ErrorSummaryEntryLoggedErrorsOnlySummary (unsigned int iStreamID)
 
std::vector< ErrorSummaryEntryLoggedErrorsSummary (unsigned int iStreamID)
 
void LogStatistics ()
 
void longBranchPrint (TTree *tr)
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::const_iterator lower_bound_all (ForwardSequence const &s, Datum const &d)
 wrappers for std::lower_bound More...
 
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator lower_bound_all (ForwardSequence &s, Datum const &d)
 
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::const_iterator lower_bound_all (ForwardSequence const &s, Datum const &d, Predicate p)
 
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::iterator lower_bound_all (ForwardSequence &s, Datum const &d, Predicate p)
 
std::unique_ptr< edm::EmptyWaitingTask, waitingtask::TaskDestroyermake_empty_waiting_task ()
 Create an EmptyWaitingTask which will properly be destroyed. More...
 
template<typename ALLOC , typename F >
FunctorTask< F > * make_functor_task (ALLOC &&iAlloc, 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 ALLOC , typename F >
FunctorWaitingTask< F > * make_waiting_task (ALLOC &&iAlloc, 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< ESHandleExceptionFactorymakeESHandleExceptionFactory (T &&iFunctor)
 
template<typename U >
auto makeESValid (const U &iOtherHandleType) noexcept(false)
 
template<typename T >
std::shared_ptr< HandleExceptionFactorymakeHandleExceptionFactory (T &&iFunctor)
 
std::unique_ptr< InputSourcemakeInput (ParameterSet &params, CommonParams const &common, std::shared_ptr< ProductRegistry > preg, std::shared_ptr< BranchIDListHelper > branchIDListHelper, std::shared_ptr< ThinnedAssociationsHelper > thinnedAssociationsHelper, std::shared_ptr< ActivityRegistry > areg, std::shared_ptr< ProcessConfiguration const > processConfiguration, PreallocationConfiguration const &allocations)
 
static std::shared_ptr< cms::ExceptionmakeNotFoundException (char const *where, KindOfType kindOfType, TypeID const &productType, std::string const &label, std::string const &instance, std::string const &process)
 
void makeParameterSets (std::string const &configtext, std::unique_ptr< ParameterSet > &main)
 essentially the same as the previous method More...
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
 
template<typename T >
RefToBaseProd< TmakeRefToBaseProdFrom (RefToBase< T > const &iRef, Event const &iEvent)
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetRefVector (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetRefVector (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::iterator itIter)
 
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetVector (const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::iterator itIter)
 
std::unique_ptr< RunHelperBasemakeRunHelper (ParameterSet const &pset)
 
template<typename U >
auto makeValid (const U &iOtherHandleType) noexcept(false)
 
std::string match (BranchDescription const &a, BranchDescription const &b, std::string const &fileName)
 
LuminosityBlockID const & max (LuminosityBlockID const &lh, LuminosityBlockID const &rh)
 
EventID const & max (EventID const &lh, EventID const &rh)
 
const unsigned int maxIDlength (200)
 
bool merge (LuminosityBlockRange &lh, LuminosityBlockRange &rh)
 
LuminosityBlockID const & min (LuminosityBlockID const &lh, LuminosityBlockID const &rh)
 
EventID const & min (EventID const &lh, EventID const &rh)
 
std::string moduleName (Provenance const &provenance)
 
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 ()
 
Long64_t numEntries (TFile *hdl, const std::string &trname)
 
Long64_t numEntries (TFile *hdl, std::string const &trname)
 
TFile * openFileHdl (const std::string &fname)
 
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!= (TypeID const &a, TypeID const &b)
 
bool operator!= (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator!= (ProductID const &lh, ProductID const &rh)
 
bool operator!= (EventEntryDescription const &a, EventEntryDescription const &b)
 
bool operator!= (const TypeIDBase &a, const TypeIDBase &b)
 
bool operator!= (BranchKey const &a, BranchKey const &b)
 
bool operator!= (ProductProvenance const &a, ProductProvenance const &b)
 
template<class X , class Y >
bool operator!= (debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
 
bool operator!= (Parentage const &a, Parentage const &b)
 
bool operator!= (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
bool operator!= (ProcessHistory const &a, ProcessHistory const &b)
 
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)
 
bool operator!= (TypeWithDict const &a, std::type_info const &b)
 
template<typename KEY >
bool operator!= (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Inequality operator. More...
 
template<typename T >
bool operator!= (View< T > const &, View< T > const &)
 
bool operator!= (std::type_info const &a, TypeWithDict const &b)
 
bool operator!= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T , typename U >
bool operator!= (atomic_value_ptr< T > const &lhs, U const &rhs)
 
template<typename T >
bool operator!= (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
template<typename T , typename U >
bool operator!= (U const &lhs, atomic_value_ptr< T > 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!= (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
bool operator!= (Entry const &a, Entry const &b)
 
template<typename C >
bool operator!= (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
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)
 
bool operator!= (ParameterSet const &a, ParameterSet const &b)
 
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::unique_ptr< ParameterDescriptionNodeoperator&& (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator&& (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator&& (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator&& (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
ParameterSet::Bool operator&& (ParameterSet::Bool a, ParameterSet::Bool b)
 
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 C >
Association< C > operator+ (const Association< C > &a1, const Association< C > &a2)
 
template<typename T >
ValueMap< Toperator+ (const ValueMap< T > &a1, const ValueMap< T > &a2)
 
bool operator< (EventProcessHistoryID const &lh, EventProcessHistoryID const &rh)
 
bool operator< (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator< (StoredProductProvenance const &a, StoredProductProvenance const &b)
 
bool operator< (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator< (BranchKey const &a, BranchKey const &b)
 
bool operator< (WorkerTimingSummary const &a, WorkerTimingSummary const &b)
 
bool operator< (ElementID const &lh, ElementID const &rh)
 
bool operator< (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator< (WorkerSummary const &a, WorkerSummary const &b)
 
bool operator< (ProductID const &lh, ProductID const &rh)
 
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)
 
bool operator< (TypeWithDict const &a, TypeWithDict const &b)
 
bool operator< (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator< (View< T > const &, View< T > const &)
 
bool operator< (RefCore const &lhs, RefCore const &rhs)
 
template<typename T >
bool operator< (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
template<typename T >
bool operator< (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
bool operator< (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
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 &, InternalContext const &)
 
std::ostream & operator<< (std::ostream &os, BranchID const &id)
 
std::ostream & operator<< (std::ostream &os, RunLumiEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &os, FileFormatVersion const &ff)
 
std::ostream & operator<< (std::ostream &, PathContext const &)
 
std::ostream & operator<< (std::ostream &, ProcessContext const &)
 
std::ostream & operator<< (std::ostream &os, EventEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &iOS, ESProxyIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &ost, const MallocOpts &)
 
std::ostream & operator<< (std::ostream &os, EventEntryDescription const &p)
 
std::ostream & operator<< (std::ostream &os, ElementID const &id)
 
std::ostream & operator<< (std::ostream &os, TypeID const &id)
 
std::ostream & operator<< (std::ostream &os, ProductProvenance const &p)
 
std::ostream & operator<< (std::ostream &, ParentContext const &)
 
std::ostream & operator<< (std::ostream &os, const ProductSelector &gs)
 
std::ostream & operator<< (std::ostream &os, ProductID const &id)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockRange const &iID)
 
std::ostream & operator<< (std::ostream &oStream, EventRange const &iID)
 
std::ostream & operator<< (std::ostream &os, const RunAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, Parentage const &p)
 
std::ostream & operator<< (std::ostream &os, BranchKey const &bk)
 
std::ostream & operator<< (std::ostream &, GlobalContext const &)
 
std::ostream & operator<< (std::ostream &ost, InputTag const &tag)
 
std::ostream & operator<< (std::ostream &os, const LuminosityBlockAuxiliary &p)
 
std::ostream & operator<< (std::ostream &iOS, ESTokenIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &t, OStreamColumn const &c)
 
std::ostream & operator<< (std::ostream &os, StableProvenance const &p)
 
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 &, ModuleCallingContext const &)
 
std::ostream & operator<< (std::ostream &os, ProcessConfiguration const &pc)
 
std::ostream & operator<< (std::ostream &oStream, RunID const &iID)
 
std::ostream & operator<< (std::ostream &os, ParameterSetEntry const &psetEntry)
 
std::ostream & operator<< (std::ostream &os, ModuleDescription const &p)
 
std::ostream & operator<< (std::ostream &iOS, ESRecordIndex const &iIndex)
 
std::ostream & operator<< (std::ostream &os, const EventAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, Provenance const &p)
 
std::ostream & operator<< (std::ostream &os, JobReport::RunReport const &f)
 
template<class T >
ErrorObjoperator<< (ErrorObj &e, const T &t)
 
ErrorObjoperator<< (ErrorObj &e, const char s[])
 
std::ostream & operator<< (std::ostream &ost, const HLTGlobalStatus &hlt)
 Formatted printout of trigger tbale. More...
 
std::ostream & operator<< (std::ostream &, ESInputTag const &)
 
std::ostream & operator<< (std::ostream &ost, ProcessHistory const &ph)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockID const &iID)
 
std::ostream & operator<< (std::ostream &os, const edm::FileInPath &fip)
 
std::ostream & operator<< (std::ostream &oStream, EventID const &iID)
 
std::ostream & operator<< (std::ostream &os, VParameterSetEntry const &vpsetEntry)
 
std::ostream & operator<< (std::ostream &os, TypeWithDict const &id)
 
std::ostream & operator<< (std::ostream &os, FileIndex const &fileIndex)
 
std::ostream & operator<< (std::ostream &os, ProductRegistry const &pr)
 
std::ostream & operator<< (std::ostream &os, ProductResolverBase const &phb)
 
std::ostream & operator<< (std::ostream &os, BranchDescription const &p)
 
template<typename PROD >
std::ostream & operator<< (std::ostream &os, Handle< PROD > const &h)
 
template<int I>
std::ostream & operator<< (std::ostream &os, Hash< I > const &h)
 
std::ostream & operator<< (std::ostream &os, const ELseverityLevel &sev)
 
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)
 
bool operator<= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator<= (View< T > const &, View< T > const &)
 
bool operator<= (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
bool operator== (FileID const &lh, FileID const &rh)
 
bool operator== (ElementID const &lh, ElementID const &rh)
 
bool operator== (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator== (ProductID const &lh, ProductID const &rh)
 
bool operator== (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator== (EventEntryDescription const &a, EventEntryDescription const &b)
 
bool operator== (BranchKey const &a, BranchKey const &b)
 
bool operator== (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator== (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
template<class X , class Y >
bool operator== (debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
 
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)
 
bool operator== (ProcessHistory const &a, ProcessHistory const &b)
 
bool operator== (Provenance const &a, Provenance const &b)
 
template<typename T >
bool operator== (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
bool operator== (TypeWithDict const &a, TypeWithDict const &b)
 
bool operator== (RefCore const &lhs, RefCore const &rhs)
 
bool operator== (edm::FileInPath const &a, edm::FileInPath const &b)
 
template<typename KEY >
bool operator== (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Equality operator. More...
 
bool operator== (TypeWithDict const &a, std::type_info const &b)
 
bool operator== (std::type_info const &a, TypeWithDict const &b)
 
template<typename T >
bool operator== (View< T > const &, View< T > const &)
 
bool operator== (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T , typename U >
bool operator== (atomic_value_ptr< T > const &lhs, U const &rhs)
 
template<typename T >
bool operator== (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
template<typename T , typename U >
bool operator== (U const &lhs, atomic_value_ptr< T > const &rhs)
 
bool operator== (ProductRegistry const &a, ProductRegistry const &b)
 
template<typename T , typename U >
bool operator== (value_ptr< T > const &lhs, U const &rhs)
 
template<typename C >
bool operator== (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
bool operator== (Entry const &a, Entry const &b)
 
bool operator== (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
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)
 
bool operator== (BranchDescription const &a, BranchDescription const &b)
 
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 T >
bool operator== (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
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)
 
bool operator> (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator> (View< T > const &, View< T > const &)
 
bool operator> (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
bool operator>= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator>= (View< T > const &, View< T > const &)
 
bool operator>= (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
std::istream & operator>> (std::istream &is, FileInPath &fip)
 
std::unique_ptr< ParameterDescriptionCases< bool > > operator>> (bool caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< int > > operator>> (int caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (std::string const &caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (char const *caseValue, ParameterDescriptionNode const &node)
 
std::unique_ptr< ParameterDescriptionCases< bool > > operator>> (bool caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionCases< int > > operator>> (int caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (std::string const &caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator>> (char const *caseValue, std::unique_ptr< ParameterDescriptionNode > node)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator^ (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionCases< bool > > operator|| (std::unique_ptr< ParameterDescriptionCases< bool > >, std::unique_ptr< ParameterDescriptionCases< bool > >)
 
std::unique_ptr< ParameterDescriptionCases< int > > operator|| (std::unique_ptr< ParameterDescriptionCases< int > >, std::unique_ptr< ParameterDescriptionCases< int > >)
 
std::unique_ptr< ParameterDescriptionCases< std::string > > operator|| (std::unique_ptr< ParameterDescriptionCases< std::string > >, std::unique_ptr< ParameterDescriptionCases< std::string > >)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
std::unique_ptr< ParameterDescriptionNodeoperator|| (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right)
 
static std::atomic< int > ourSerial (0)
 
bool overlaps (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool overlaps (EventRange const &lh, EventRange const &rh)
 
ParameterSet const & parameterSet (Provenance const &provenance)
 
template<>
std::string ParameterSet::getParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getParameter< std::vector< double > > (char const *name) const
 
template<>
std::vector< ESInputTagParameterSet::getParameter< std::vector< ESInputTag > > (std::string const &name) const
 
template<>
std::vector< ESInputTagParameterSet::getParameter< std::vector< ESInputTag > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getParameter< std::vector< EventID > > (std::string const &name) const
 
template<>
std::vector< EventIDParameterSet::getParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventRangeParameterSet::getParameter< std::vector< EventRange > > (std::string const &name) const
 
template<>
std::vector< EventRangeParameterSet::getParameter< std::vector< EventRange > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getParameter< std::vector< InputTag > > (std::string const &name) const
 
template<>
std::vector< InputTagParameterSet::getParameter< std::vector< InputTag > > (char const *name) const
 
template<>
std::vector< int > ParameterSet::getParameter< std::vector< int > > (std::string const &name) const
 
template<>
std::vector< int > ParameterSet::getParameter< std::vector< int > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getParameter< std::vector< long long > > (std::string const &name) const
 
template<>
std::vector< long long > ParameterSet::getParameter< std::vector< long long > > (char const *name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getParameter< std::vector< LuminosityBlockID > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getParameter< std::vector< LuminosityBlockID > > (char const *name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getParameter< std::vector< LuminosityBlockRange > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getParameter< std::vector< LuminosityBlockRange > > (char const *name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (std::string const &name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > (bool trackiness) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (std::string const &name) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (std::string const &name, std::vector< ESInputTag > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (char const *name, std::vector< ESInputTag > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (std::string const &name, 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, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string const &name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string const &name) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name, 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) 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 > > (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) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (std::string const &name, std::vector< LuminosityBlockID > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (std::string const &name) 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 > > (std::string const &name) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (std::string const &name, std::vector< PdtEntry > const &defaultValue) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (char const *name, std::vector< PdtEntry > const &defaultValue) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (char const *name) 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) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name, 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) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name, std::vector< unsigned long long > const &defaultValue) const
 
std::string parameterTypeEnumToString (ParameterTypes iType)
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::string > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< double > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< EventID > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< EventRange > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< InputTag > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< int > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< long long > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< LuminosityBlockID > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< LuminosityBlockRange > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< std::string > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< unsigned > > ()
 
template<>
ParameterTypes ParameterTypeToEnum::toEnum< std::vector< unsigned long long > > ()
 
template<typename T >
void const * pointerToBase (std::type_info const &baseTypeInfo, T const *address)
 
std::vector< ParameterSetpopSubProcessVParameterSet (ParameterSet &parameterSet)
 
static void postIndexIntoFilePrintEventLists (TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void postIndexIntoFilePrintEventsInLumis (TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void preIndexIntoFilePrintEventLists (TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void preIndexIntoFilePrintEventsInLumis (TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
template<typename S >
Sprint (S &os, JobReport::InputFile const &f)
 
template<typename S >
Sprint (S &os, JobReport::OutputFile const &f)
 
template<typename S >
Sprint (S &os, JobReport::RunReport const &rep)
 
template<typename RecordT >
void print_eventsetup_record_dependencies (std::ostream &oStream, std::string const &iIndent=std::string())
 
template<typename T >
void print_eventsetup_record_dependencies (std::ostream &, std::string, T const *, T const *)
 
template<typename TFirst , typename TEnd >
void print_eventsetup_record_dependencies (std::ostream &oStream, std::string iIndent, TFirst const *, TEnd const *iEnd)
 
template<typename RecordT >
void print_eventsetup_record_dependencies_recursive (std::ostream &oStream, std::string const &iIndent, boost::mpl::true_)
 
template<typename RecordT >
void print_eventsetup_record_dependencies_recursive (std::ostream &, std::string const &, boost::mpl::false_)
 
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::ParameterSetreadConfig (std::string const &config, int argc, char *argv[])
 same, but with arguments More...
 
std::unique_ptr< edm::ParameterSetreadConfig (std::string const &config)
 
std::unique_ptr< edm::ParameterSetreadPSetsFrom (std::string const &fileOrString)
 
void reenableSigs (sigset_t *oldset)
 
template<typename C >
Ptr< typename C::value_type > refToPtr (Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
 
std::vector< std::vector< std::string >::const_iterator > regexMatch (std::vector< std::string > const &strings, std::regex const &regexp)
 
std::vector< std::vector< std::string >::const_iterator > regexMatch (std::vector< std::string > const &strings, std::string const &pattern)
 
void replaceString (std::string &demangledName, std::string const &from, std::string const &to)
 
void resolveSymbolicLinks (std::string &fullPath)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< HiMixingModule > > s_filler__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 (":")
 
template<typename T >
void SetCustomStreamer ()
 
template<typename T >
void SetCustomStreamer (T const &)
 
void setIsMergeable (BranchDescription &)
 
void setMaxLoggedErrorsSummaryIndicies (unsigned int iMax)
 
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 , unsigned int M, typename P >
void setPtr (OwnArray< T, M, P > 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::ELseverityLevel const &severity)
 
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 stripLeadingDirectoryTree (const std::string &file)
 
std::string stripNamespace (std::string const &theName)
 
bool stripTemplate (std::string &theName)
 
void subProcessDoGlobalBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, LuminosityBlockPrincipal &iPrincipal, IOVSyncValue const &iTS)
 
void subProcessDoGlobalBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, RunPrincipal &iPrincipal, IOVSyncValue const &iTS)
 
void subProcessDoGlobalEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, LuminosityBlockPrincipal &iPrincipal, IOVSyncValue const &iTS, bool cleaningUpAfterException)
 
void subProcessDoGlobalEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, RunPrincipal &iPrincipal, IOVSyncValue const &iTS, bool cleaningUpAfterException)
 
void subProcessDoStreamBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LuminosityBlockPrincipal &iPrincipal, IOVSyncValue const &iTS)
 
void subProcessDoStreamBeginTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, RunPrincipal &iPrincipal, IOVSyncValue const &iTS)
 
void subProcessDoStreamEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, LuminosityBlockPrincipal &iPrincipal, IOVSyncValue const &iTS, bool cleaningUpAfterException)
 
void subProcessDoStreamEndTransitionAsync (WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, RunPrincipal &iPrincipal, IOVSyncValue const &iTS, bool cleaningUpAfterException)
 
void swap (ElementID &a, ElementID &b)
 
void swap (ProductID &a, ProductID &b)
 
void swap (Parentage &a, Parentage &b)
 
template<class T , class P >
void swap (CloningPtr< T, P > &a, CloningPtr< T, P > &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 (ProcessHistory &a, ProcessHistory &b)
 
void swap (TriggerResults &lhs, TriggerResults &rhs)
 
void swap (ESHandleBase &a, ESHandleBase &b)
 
void swap (HLTGlobalStatus &lhs, HLTGlobalStatus &rhs)
 Free swap function. More...
 
template<typename C >
void swap (Association< C > &lhs, Association< C > &rhs)
 
void swap (ErrorObj &a, ErrorObj &b)
 
template<class T >
void swap (DetSet< T > &a, DetSet< T > &b)
 
void swap (BasicHandle &a, BasicHandle &b)(true)
 
void swap (FileInPath &a, FileInPath &b)
 
void swap (HandleBase &a, HandleBase &b)
 
template<typename KEY >
void swap (RefVectorBase< KEY > &a, RefVectorBase< KEY > &b)
 swap two vectors More...
 
template<class T >
void swap (EDCollection< T > &a, EDCollection< T > &b)
 
void swap (edm::RefCore &lhs, edm::RefCore &rhs)
 
template<typename K , typename T >
void swap (MapOfVectors< K, T > &lhs, MapOfVectors< K, T > &rhs)
 
void swap (edm::RefCoreWithIndex &lhs, edm::RefCoreWithIndex &rhs)
 
template<typename T >
void swap (value_ptr< T > &vp1, value_ptr< T > &vp2)
 
template<typename C , typename T , typename F >
void swap (RefVector< C, T, F > &a, RefVector< C, T, F > &b)
 
template<typename T >
void swap (edm::RefToBaseProd< T > const &lhs, edm::RefToBaseProd< T > const &rhs)
 
template<typename ID , typename C , typename P >
void swap (IDVectorMap< ID, C, P > &a, IDVectorMap< ID, C, P > &b)
 
template<typename T >
void swap (PtrVector< T > &lhs, PtrVector< T > &rhs)
 
template<typename C >
void swap (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<typename ID , typename C , typename P >
void swap (RangeMap< ID, C, P > &a, RangeMap< ID, C, P > &b)
 
void swap (DataFrameContainer &lhs, DataFrameContainer &rhs)
 
template<int I>
void swap (Hash< I > &a, Hash< I > &b)
 
template<typename T >
void swap (ValueMap< T > &lhs, ValueMap< T > &rhs)
 
template<typename KeyRefProd , typename CVal , typename KeyRef , typename SizeType , typename KeyReferenceHelper >
void swap (AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &a, AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &b)
 
void swap (ParameterSet &a, ParameterSet &b)
 
template<typename T , typename C >
void swap (DetSetRefVector< T, C > &a, DetSetRefVector< T, C > &b)
 
template<typename C >
void swap (MultiAssociation< C > &lhs, MultiAssociation< C > &rhs)
 
template<typename T >
void swap (View< T > &lhs, View< T > &rhs)
 
template<class T >
void swap (RefToBase< T > &a, RefToBase< T > &b)
 
template<typename T , typename SORT >
void swap (SortedCollection< T, SORT > &a, SortedCollection< T, SORT > &b)
 
template<typename T , unsigned int M, typename P >
void swap (OwnArray< T, M, P > &a, OwnArray< T, M, P > &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)
 
static void throwAmbiguousException (const char *where, TypeID const &productType, std::string const &label, std::string const &instance, std::string const &process)
 
void throwExceptionWithText (char const *txt)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context, std::vector< std::string > &producedTypes)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context, std::vector< std::string > &producedTypes, std::vector< std::string > &branchNames, bool fromStreamerSource=false)
 
void throwMissingDictionariesException (std::vector< std::string > &missingDictionaries, std::string const &context, std::set< std::string > &producedTypes, bool consumedWithView)
 
static void throwProductDeletedException (ProductID const &pid, edm::EventPrincipal::ConstProductResolverPtr const phb)
 
static void throwProductNotFoundException (char const *where, errors::ErrorCodes error, BranchID const &bid)
 
static void throwTypeException (std::string const &function, std::string const &typeName)
 
std::vector< std::string > tokenize (std::string const &input, std::string const &separator)
 breaks the input string into tokens, delimited by the separator More...
 
std::vector< std::string > tokenize (const std::string &input, const std::string &separator)
 
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 T >
T const * tryToGetProductWithCoreFromRef (RefCore const &ref, EDProductGetter const *prodGetter)
 
std::string typeDemangle (char const *mangledName)
 
std::string uniqueSharedResourceName ()
 
bool untaintString (char const *pattern, char const *regexp)
 
void validateTopLevelParameterSets (ParameterSet *processParameterSet)
 
template<typename InputType , typename Function >
auto vector_transform (std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
 
template<typename V , typename T >
void walkTrie (V &v, TrieNode< T > const &n, std::string const &label="")
 visit each node of the trie More...
 
std::string withoutQuotes (std::string const &from)
 
std::string withoutQuotes (const std::string &from)
 
std::string wrappedClassName (std::string const &iFullName)
 

Variables

static int const bufSize = 128
 
debugvalue debugit
 
ELslProxy< ELdebugGen > const ELdebug
 
ELslGen ELdebugGen
 
ELslProxy< ELerrorGen > const ELerror
 
ELslGen ELerrorGen
 
ELslProxy< ELhighestSeverityGen > const ELhighestSeverity
 
ELslGen ELhighestSeverityGen
 
ELslProxy< ELinfoGen > const ELinfo
 
ELslGen ELinfoGen
 
ELslProxy< ELsevereGen > const ELsevere
 
ELslGen ELsevereGen
 
ELslProxy< ELunspecifiedGen > const ELunspecified
 
ELslGen ELunspecifiedGen
 
ELslProxy< ELwarningGen > const ELwarning
 
ELslGen ELwarningGen
 
ELslProxy< ELzeroSeverityGen > const ELzeroSeverity
 
ELslGen ELzeroSeverityGen
 
static char const * fmt_Guid = "%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02hhX"
 
MallocOptionSetter global_malloc_options
 
EventNumber_t const invalidEventNumber = 0U
 
LuminosityBlockNumber_t const invalidLuminosityBlockNumber = 0U
 
RunNumber_t const invalidRunNumber = 0U
 
static unsigned long long kAveEventPerSec = 200ULL
 
static unsigned long long kNanoSecPerSec = 1000000000ULL
 
static const unsigned char MLSCRIBE_RUNNING_INDICATOR = 29
 
constexpr const char * module_type_desc []
 
constexpr unsigned int s_defaultNumberOfThreads = 1
 
static const std::vector< void const * > s_emptyCache {}
 
static ProcessHistory const s_emptyProcessHistory
 
static std::atomic< Principal::CacheIdentifier_ts_nextIdentifier {1}
 
thread_local EDProductGetter const * s_productGetter = 0
 
static unsigned int const shift = 8 * sizeof(unsigned int)
 
volatile std::atomic< bool > shutdown_flag {false}
 
static pset::TypeTrans const sTypeTranslations
 

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

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

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.

Helper functions for making stream modules

Description: [one line class summary]

Usage: <usage>

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.


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

streamTransitionAsync streamTransitionAsync.h "streamTransitionAsync.h"

Description: Helper functions for handling asynchronous stream transitions

Usage: <usage>

throwIfImproperDependencies throwIfImproperDependencies.h "throwIfImproperDependencies.h"

Description: Function which uses the graph of dependencies to determine if there are any cycles

Usage: <usage>


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


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

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

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.

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>

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

Usage: These are internal details of Table's implementation

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

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

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

Description: simple NxN ( 3x3 etc) clustering ,( for low energy photon reconstrution, currently used for pi0/eta HLT path)

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

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

Typedef Documentation

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

Definition at line 104 of file SoATuple.h.

typedef unsigned int edm::BranchDescriptionIndex

Definition at line 28 of file BranchDescriptionIndex.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.

typedef DigiAccumulatorMixMod*( edm::DAFunc) (ParameterSet const &, ProducerBase &, ConsumesCollector &)

Definition at line 12 of file DigiAccumulatorMixModFactory.h.

typedef uint32_t edm::det_id_type

Definition at line 21 of file DetSet.h.

Definition at line 13 of file DigiAccumulatorMixModFactory.h.

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

Definition at line 33 of file ELlist.h.

Definition at line 36 of file ELlist.h.

typedef std::map<ELstring const, ELseverityLevel::ELsev_> edm::ELmap

Definition at line 55 of file ELseverityLevel.cc.

Definition at line 86 of file ELmap.h.

Definition at line 84 of file ELmap.h.

Definition at line 88 of file ELmap.h.

typedef ELseverityLevel const edm::ELslGen()

Definition at line 57 of file ELseverityLevel.h.

typedef std::string edm::ELstring

Definition at line 21 of file ELstring.h.

Definition at line 9 of file EntryDescriptionID.h.

Definition at line 52 of file RootFile.h.

using edm::ESConsumesInfo = typedef std::vector<std::tuple<edm::eventsetup::EventSetupRecordKey, edm::eventsetup::DataKey, std::string> >

Definition at line 42 of file ESConsumesCollector.h.

Definition at line 57 of file EventEntryInfo.h.

typedef unsigned long long edm::EventNumber_t

Definition at line 12 of file RunLumiEventNumber.h.

Definition at line 16 of file EventSelectionID.h.

Definition at line 17 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 140 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.

Definition at line 49 of file RunLumiEntryInfo.h.

typedef unsigned int edm::LuminosityBlockNumber_t

Definition at line 13 of file RunLumiEventNumber.h.

Definition at line 16 of file Factory.h.

Definition at line 60 of file classes.h.

Definition at line 30 of file ParameterSetDescriptionFillerPluginFactory.h.

Definition at line 22 of file ParameterSetID.h.

Definition at line 40 of file ParameterSetConverter.h.

Definition at line 9 of file ParentageID.h.

typedef std::string edm::PassID

Definition at line 8 of file PassID.h.

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

Definition at line 58 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 9 of file ProcessConfigurationID.h.

Definition at line 64 of file ProcessConfiguration.h.

Definition at line 9 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 67 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.

Definition at line 30 of file ESProxyFactoryProducer.cc.

typedef std::string edm::ReleaseVersion

Definition at line 7 of file ReleaseVersion.h.

Definition at line 50 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 99 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 48 of file EventSelector.cc.

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

Definition at line 17 of file ParameterSetConverter.h.

typedef unsigned long long edm::TimeValue_t

Definition at line 28 of file Timestamp.h.

Definition at line 52 of file OutputModule.h.

typedef std::map<std::string, char> edm::Type2Code

Definition at line 73 of file Entry.cc.

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 33 of file ParameterSet.h.

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

Definition at line 565 of file Schedule.cc.

Enumeration Type Documentation

Enumerator
BranchActionGlobalBegin 
BranchActionStreamBegin 
BranchActionStreamEnd 
BranchActionGlobalEnd 

Definition at line 11 of file BranchActionType.h.

Enumerator
InEvent 
InLumi 
InRun 
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 10 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_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_FileInPath = 'F',
56  k_EventRange = 'R',
57  k_VEventRange = 'r',
58  k_PSet = 'Q',
59  k_VPSet = 'q'
60  };
Enumerator
ProductResolverIndexValuesBit 
ProductResolverIndexInvalid 
ProductResolverIndexInitializing 
ProductResolverIndexAmbiguous 

Definition at line 10 of file ProductResolverIndex.h.

enum edm::Transition
strong
Enumerator
Silent 
Concise 
Normal 
Detailed 

Definition at line 5 of file Verbosity.h.

5  {
6  Silent=0,
7  Concise=2,
8  Normal=5,
9  Detailed=10
10  };
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(), cms::Exception::setAlreadyPrinted(), and mitigatedMETSequence_cff::U.

Referenced by callWithTryCatchAndPrint(), edm::StreamSchedule::finishProcessOneEvent(), edm::GlobalSchedule::processOneGlobalAsync(), edm::WorkerManager::processOneOccurrence(), 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(), 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(seq, keepstr=True)
Definition: tier0.py:25
void addContext(std::string const &context)
Definition: Exception.cc:165
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<class FP >
bool edm::asm_isnan ( FP  x)
inline

Definition at line 43 of file math.h.

References flags.

44  {
45  // I do not know of a preprocessor symbol used to identify the
46  // presence of an x87 floating-point processor.
47 #if defined(__i386__)||defined(__x86_64)
48  u_int16_t flags;
49  __asm__("fxam\n\t"
50  "fstsw %%ax"
51  : "=a" (flags) /* output */
52  : "t" (x) /* input */
53  : /* clobbered */
54  );
55  return (flags & 0x4500)==0x0100;
56 #else
57  #error No asm_isnan for this architecture.
58 #endif
59  }
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
template<typename Traits , typename P , typename SC >
void edm::beginGlobalTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
P iPrincipal,
IOVSyncValue const &  iTS,
EventSetupImpl const &  iES,
ServiceToken const &  token,
SC &  iSubProcesses 
)

Definition at line 69 of file globalTransitionAsync.h.

References edm::WaitingTaskHolder::doneWaiting(), h, make_waiting_task(), eostools::move(), edm::Schedule::processOneGlobalAsync(), and subProcessDoGlobalBeginTransitionAsync().

75  {
76  //When we are done processing the global for this process,
77  // we need to run the global for all SubProcesses
78  auto subs = make_waiting_task(
79  tbb::task::allocate_root(), [&iSubProcesses, iWait, &iPrincipal, iTS](std::exception_ptr const* iPtr) mutable {
80  if (iPtr) {
81  auto excpt = *iPtr;
82  auto delayError =
83  make_waiting_task(tbb::task::allocate_root(),
84  [iWait, excpt](std::exception_ptr const*) mutable { iWait.doneWaiting(excpt); });
85  WaitingTaskHolder h(delayError);
86  for (auto& subProcess : iSubProcesses) {
87  subProcessDoGlobalBeginTransitionAsync(h, subProcess, iPrincipal, iTS);
88  }
89  } else {
90  for (auto& subProcess : iSubProcesses) {
91  subProcessDoGlobalBeginTransitionAsync(iWait, subProcess, iPrincipal, iTS);
92  }
93  }
94  });
95 
96  WaitingTaskHolder h(subs);
97  iSchedule.processOneGlobalAsync<Traits>(std::move(h), iPrincipal, iES, token);
98  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void subProcessDoGlobalBeginTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, RunPrincipal &iPrincipal, IOVSyncValue const &iTS)
FunctorWaitingTask< F > * make_waiting_task(ALLOC &&iAlloc, F f)
Definition: WaitingTask.h:87
def move(src, dest)
Definition: eostools.py:511
template<typename Traits , typename P , typename SC >
void edm::beginStreamsTransitionAsync ( WaitingTask iWait,
Schedule iSchedule,
unsigned int  iNStreams,
P iPrincipal,
IOVSyncValue const &  iTS,
EventSetupImpl const &  iES,
ServiceToken const &  token,
SC &  iSubProcesses 
)

Definition at line 108 of file streamTransitionAsync.h.

References mps_fire::i.

115  {
116  WaitingTaskHolder holdUntilAllStreamsCalled(iWait);
117  for (unsigned int i = 0; i < iNStreams; ++i) {
118  beginStreamTransitionAsync<Traits>(
119  WaitingTaskHolder(iWait), iSchedule, i, iPrincipal, iTS, iES, token, iSubProcesses);
120  }
121  }
template<typename Traits , typename P , typename SC >
void edm::beginStreamTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iStreamIndex,
P iPrincipal,
IOVSyncValue const &  iTS,
EventSetupImpl const &  iES,
ServiceToken const &  token,
SC &  iSubProcesses 
)

Definition at line 73 of file streamTransitionAsync.h.

References edm::WaitingTaskHolder::doneWaiting(), h, make_waiting_task(), eostools::move(), edm::Schedule::processOneStreamAsync(), and subProcessDoStreamBeginTransitionAsync().

80  {
81  //When we are done processing the stream for this process,
82  // we need to run the stream for all SubProcesses
83  //NOTE: The subprocesses set their own service tokens
84  auto subs = make_waiting_task(
85  tbb::task::allocate_root(),
86  [&iSubProcesses, iWait, iStreamIndex, &iPrincipal, iTS](std::exception_ptr const* iPtr) mutable {
87  if (iPtr) {
88  auto excpt = *iPtr;
89  auto delayError =
90  make_waiting_task(tbb::task::allocate_root(),
91  [iWait, excpt](std::exception_ptr const*) mutable { iWait.doneWaiting(excpt); });
92  WaitingTaskHolder h(delayError);
93  for (auto& subProcess : iSubProcesses) {
94  subProcessDoStreamBeginTransitionAsync(h, subProcess, iStreamIndex, iPrincipal, iTS);
95  };
96  } else {
97  for (auto& subProcess : iSubProcesses) {
98  subProcessDoStreamBeginTransitionAsync(iWait, subProcess, iStreamIndex, iPrincipal, iTS);
99  };
100  }
101  });
102 
103  WaitingTaskHolder h(subs);
104  iSchedule.processOneStreamAsync<Traits>(std::move(h), iStreamIndex, iPrincipal, iES, token);
105  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void subProcessDoStreamBeginTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, RunPrincipal &iPrincipal, IOVSyncValue const &iTS)
FunctorWaitingTask< F > * make_waiting_task(ALLOC &&iAlloc, F f)
Definition: WaitingTask.h:87
def move(src, dest)
Definition: eostools.py:511
template<typename ForwardSequence , typename Datum >
bool edm::binary_search_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline
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 edmIntegrityCheck::d, and AlCaHLTBitMon_ParallelJobs::p.

63  {
64  return std::binary_search(s.begin(), s.end(), d, p);
65  }
std::string const & edm::BranchTypeToAuxBranchName ( BranchType const &  branchType)

Definition at line 120 of file BranchType.cc.

References InEvent, and InRun.

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

120  { // backward compatibility
121  return ((branchType == InEvent) ? eventAux : ((branchType == InRun) ? runAux : lumiAux)); // backward compatibility
122  } // backward compatibility
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToAuxiliaryBranchName ( BranchType const &  branchType)
std::string const & edm::BranchTypeToBranchEntryInfoBranchName ( BranchType const &  branchType)

Definition at line 128 of file BranchType.cc.

References InEvent, and InRun.

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

128  {
129  return ((branchType == InEvent) ? eventEventEntryInfo : ((branchType == InRun) ? runEventEntryInfo : lumiEventEntryInfo));
130  }
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToInfoTreeName ( BranchType const &  branchType)

Definition at line 112 of file BranchType.cc.

References dumpTauVariables_cfi::eventInfo, InEvent, InRun, and pileupCalc::lumiInfo.

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

112  { // backward compatibility
113  return ((branchType == InEvent) ? eventInfo : ((branchType == InRun) ? runInfo : lumiInfo)); // backward compatibility
114  } // backward compatibility
eventInfo
add run, event number and lumi section
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToMajorIndexName ( BranchType const &  branchType)

Definition at line 136 of file BranchType.cc.

References InEvent, and InRun.

136  {
137  return ((branchType == InEvent) ? eventMajorIndex : ((branchType == InRun) ? runMajorIndex : lumiMajorIndex));
138  }
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToMetaDataTreeName ( BranchType const &  branchType)

Definition at line 108 of file BranchType.cc.

References InEvent, and InRun.

Referenced by ProvenanceDumper::work_().

108  {
109  return ((branchType == InEvent) ? eventMeta : ((branchType == InRun) ? runMeta : lumiMeta));
110  }
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToMinorIndexName ( BranchType const &  branchType)

Definition at line 140 of file BranchType.cc.

References InEvent, and InRun.

140  {
141  return ((branchType == InEvent) ? eventMinorIndex : ((branchType == InRun) ? runMinorIndex : lumiMinorIndex));
142  }
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToProductProvenanceBranchName ( BranchType const &  BranchType)

Definition at line 132 of file BranchType.cc.

References InEvent, and InRun.

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

132  {
133  return ((branchType == InEvent) ? eventProductProvenance : ((branchType == InRun) ? runProductProvenance : lumiProductProvenance));
134  }
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToProductStatusBranchName ( BranchType const &  branchType)

Definition at line 124 of file BranchType.cc.

References InEvent, and InRun.

124  { // backward compatibility
125  return ((branchType == InEvent) ? eventProductStatus : ((branchType == InRun) ? runProductStatus : lumiProductStatus)); // backward compatibility
126  } // backward compatibility
def branchType(schema, name)
Definition: revisionDML.py:114
std::string const & edm::BranchTypeToProductTreeName ( BranchType const &  branchType)
std::string const & edm::BranchTypeToString ( BranchType const &  branchType)

Definition at line 100 of file BranchType.cc.

References InEvent, InRun, and writedatasetfile::run.

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

100  {
101  return ((branchType == InEvent) ? event : ((branchType == InRun) ? run : lumi));
102  }
def branchType(schema, name)
Definition: revisionDML.py:114
Definition: event.py:1
template<typename TReturn >
TReturn edm::callWithTryCatchAndPrint ( std::function< TReturn(void)>  iFunc,
char const *  context = 0,
bool  disablePrint = false 
)

Definition at line 49 of file ExceptionHelpers.h.

References addContextAndPrintException(), 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 
)
static

Definition at line 79 of file GetProductCheckerOutputModule.cc.

References edm::Provenance::branchDescription(), edm::BranchDescription::branchID(), Exception, edm::BranchDescription::moduleLabel(), edm::BranchDescription::processName(), edm::BranchDescription::productInstanceName(), edm::BasicHandle::provenance(), and edm::BranchDescription::unwrappedTypeID().

Referenced by SegmentsTrackAssociator::associate(), edm::ProductSelector::checkForDuplicateKeptBranch(), L1TMenuHelper::getLUSOTrigger(), edm::StreamerInputFile::openStreamerFile(), fwlite::Handle< Collection >::operator*(), fwlite::Handle< Collection >::operator->(), fwlite::Handle< Collection >::product(), fwlite::Handle< Collection >::ptr(), edm::DataMixingMuonWorker::putMuon(), amc13::Header::raw(), amc13::Trailer::raw(), fwlite::Handle< Collection >::ref(), edm::GetProductCheckerOutputModule::write(), edm::GetProductCheckerOutputModule::writeLuminosityBlock(), and edm::GetProductCheckerOutputModule::writeRun().

79  {
80  for (auto const& product : iProducts) {
81  BranchDescription const* branchDescription = product.first;
82  TypeID const& tid = branchDescription->unwrappedTypeID();
83  EDGetToken const& token = product.second;
84  BasicHandle bh = p.getByToken(token, tid);
85  if (nullptr != bh.provenance() &&
86  bh.provenance()->branchDescription().branchID() != branchDescription->branchID()) {
87  throw cms::Exception("BranchIDMissMatch")
88  << "While processing " << id << " getByToken request for " << branchDescription->moduleLabel() << " '"
89  << branchDescription->productInstanceName() << "' " << branchDescription->processName()
90  << "\n should have returned BranchID " << branchDescription->branchID() << " but returned BranchID "
91  << bh.provenance()->branchDescription().branchID() << "\n";
92  }
93  }
94  }
bool edm::checkClassDictionaries ( std::vector< std::string > &  missingDictionaries,
TypeID const &  typeID 
)

Definition at line 102 of file DictionaryTools.cc.

References edm::TypeWithDict::byName(), GetRecoTauVFromDQM_MC_cff::cl, edm::TypeID::className(), hasDictionary(), postprocess-scan-build::recursive, 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  }
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 GetRecoTauVFromDQM_MC_cff::cl, edm::TypeWithDict::getClass(), edm::TypeWithDict::invalidTypeInfo(), postprocess-scan-build::recursive, 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  }
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::OutputModule::keepThisBranch(), edm::one::OutputModuleBase::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 130 of file PathsAndConsumesOfModules.cc.

References edm::PathsAndConsumesOfModulesBase::allModules(), heppy_report::description, edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, runEdmFileComparison::found, edm::graph::kDataDependencyIndex, edm::graph::kInvalidIndex, edm::errors::LogicError, edm::PathsAndConsumesOfModules::moduleIndex(), edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), edm::PathsAndConsumesOfModulesBase::paths(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::graph::throwIfImproperDependencies().

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

130  {
131  using namespace edm::graph;
132  //Need to lookup ids to names quickly
133  std::unordered_map<unsigned int, std::string> moduleIndexToNames;
134 
135  std::unordered_map<std::string, unsigned int> pathStatusInserterModuleLabelToModuleID;
136 
137  //for testing, state that TriggerResults is at the end of all paths
138  const std::string kTriggerResults("TriggerResults");
139  const std::string kPathStatusInserter("PathStatusInserter");
140  const std::string kEndPathStatusInserter("EndPathStatusInserter");
141  unsigned int kTriggerResultsIndex = kInvalidIndex;
142  unsigned int largestIndex = 0;
143  unsigned int kPathToTriggerResultsDependencyLastIndex = kInvalidIndex;
144  for (auto const& description : iPnC.allModules()) {
145  moduleIndexToNames.insert(std::make_pair(description->id(), description->moduleLabel()));
146  if (kTriggerResults == description->moduleLabel()) {
147  kTriggerResultsIndex = description->id();
148  }
149  if (description->id() > largestIndex) {
150  largestIndex = description->id();
151  }
152  if (description->moduleName() == kPathStatusInserter || description->moduleName() == kEndPathStatusInserter) {
153  pathStatusInserterModuleLabelToModuleID[description->moduleLabel()] = description->id();
154  }
155  }
156  kPathToTriggerResultsDependencyLastIndex = largestIndex;
157 
158  /*
159  {
160  //We need to explicitly check that modules on Paths do not try to read data from
161  // Modules which are only on EndPaths. The circular dependency finder has been
162  // known to miss these.
163  std::unordered_set<unsigned int> modulesOnlyOnEndPaths;
164  auto const& endPaths = iPnC.endPaths();
165  for( unsigned int pathIndex = 0; pathIndex != endPaths.size(); ++pathIndex) {
166  auto const& moduleDescriptions = iPnC.modulesOnEndPath(pathIndex);
167  for(auto const& description: moduleDescriptions) {
168  modulesOnlyOnEndPaths.insert(description->id());
169  }
170  }
171 
172  std::unordered_set<unsigned int> modulesOnPaths;
173  auto const& paths = iPnC.paths();
174  for( unsigned int pathIndex = 0; pathIndex != paths.size(); ++pathIndex) {
175  auto const& moduleDescriptions = iPnC.modulesOnPath(pathIndex);
176  for(auto const& description: moduleDescriptions) {
177  auto itFind =modulesOnlyOnEndPaths.find(description->id());
178  if(modulesOnlyOnEndPaths.end() != itFind) {
179  modulesOnlyOnEndPaths.erase(itFind);
180  }
181  modulesOnPaths.insert(description->id());
182  }
183  }
184 
185  for(auto moduleIndex : modulesOnPaths) {
186  auto const& dependentModules = iPnC.modulesWhoseProductsAreConsumedBy(moduleIndex);
187  for(auto const& depDescription: dependentModules) {
188  auto itFind = modulesOnlyOnEndPaths.find(depDescription->id());
189  if(itFind != modulesOnlyOnEndPaths.end()) {
190  throw edm::Exception(edm::errors::ScheduleExecutionFailure, "Unrunnable schedule\n")
191  <<"The module "<<moduleIndexToNames[moduleIndex]<<" is on a Path and depends on data from module "
192  <<moduleIndexToNames[depDescription->id()]<<" which is on an EndPath.";
193  }
194  }
195  }
196 
197  }
198  */
199 
200  //If a module to module dependency comes from a path, remember which path
201  EdgeToPathMap edgeToPathMap;
202 
203  //Need to be able to quickly look up which paths a module appears on
204  std::unordered_map<unsigned int, std::vector<unsigned int>> moduleIndexToPathIndex;
205 
206  //determine the path dependencies
207  std::vector<std::string> pathNames = iPnC.paths();
208  const unsigned int kFirstEndPathIndex = pathNames.size();
209 
210  const std::string kPathEnded("@PathEnded");
211  const std::string kEndPathStart("@EndPathStart");
212 
213  //The finished processing depends on all paths and end paths
214  const std::string kFinishedProcessing("@FinishedProcessing");
215  const unsigned int kFinishedProcessingIndex{0};
216  moduleIndexToNames.insert(std::make_pair(kFinishedProcessingIndex, kFinishedProcessing));
217 
218  pathNames.insert(pathNames.end(), iPnC.endPaths().begin(), iPnC.endPaths().end());
219  std::vector<std::vector<unsigned int>> pathIndexToModuleIndexOrder(pathNames.size());
220  {
221  for (unsigned int pathIndex = 0; pathIndex != pathNames.size(); ++pathIndex) {
222  std::set<unsigned int> alreadySeenIndex;
223 
224  std::vector<ModuleDescription const*> const* moduleDescriptions;
225  if (pathIndex < kFirstEndPathIndex) {
226  moduleDescriptions = &(iPnC.modulesOnPath(pathIndex));
227  } else {
228  moduleDescriptions = &(iPnC.modulesOnEndPath(pathIndex - kFirstEndPathIndex));
229  }
230  unsigned int lastModuleIndex = kInvalidIndex;
231  auto& pathOrder = pathIndexToModuleIndexOrder[pathIndex];
232  pathOrder.reserve(moduleDescriptions->size() + 1);
233  for (auto const& description : *moduleDescriptions) {
234  auto found = alreadySeenIndex.insert(description->id());
235  if (found.second) {
236  //first time for this path
237  unsigned int const moduleIndex = description->id();
238  pathOrder.push_back(moduleIndex);
239  auto& paths = moduleIndexToPathIndex[moduleIndex];
240  paths.push_back(pathIndex);
241  if (lastModuleIndex != kInvalidIndex) {
242  edgeToPathMap[std::make_pair(moduleIndex, lastModuleIndex)].push_back(pathIndex);
243  }
244  lastModuleIndex = moduleIndex;
245  }
246  }
247  //Have TriggerResults depend on the end of all paths
248  // Have all EndPaths depend on TriggerResults
249  auto labelToID = pathStatusInserterModuleLabelToModuleID.find(pathNames[pathIndex]);
250  if (labelToID == pathStatusInserterModuleLabelToModuleID.end()) {
251  // should never happen
253  << "PathsAndConsumesOfModules::moduleDescription:checkForModuleDependencyCorrectness Could not find "
254  "PathStatusInserter\n";
255  }
256  unsigned int pathStatusInserterModuleID = labelToID->second;
257  if (pathIndex < kFirstEndPathIndex) {
258  if ((lastModuleIndex != kInvalidIndex)) {
259  edgeToPathMap[std::make_pair(pathStatusInserterModuleID, lastModuleIndex)].push_back(pathIndex);
260  moduleIndexToNames.insert(std::make_pair(pathStatusInserterModuleID, kPathEnded));
261  if (kTriggerResultsIndex != kInvalidIndex) {
262  edgeToPathMap[std::make_pair(kTriggerResultsIndex, pathStatusInserterModuleID)].push_back(
264  }
265  //Need to make dependency for finished process
266  edgeToPathMap[std::make_pair(kFinishedProcessingIndex, pathStatusInserterModuleID)].push_back(
268  pathOrder.push_back(pathStatusInserterModuleID);
269  }
270  } else {
271  if ((not moduleDescriptions->empty())) {
272  if (kTriggerResultsIndex != kInvalidIndex) {
273  ++kPathToTriggerResultsDependencyLastIndex;
274  edgeToPathMap[std::make_pair(moduleDescriptions->front()->id(), kPathToTriggerResultsDependencyLastIndex)]
275  .push_back(pathIndex);
276  moduleIndexToNames.insert(std::make_pair(kPathToTriggerResultsDependencyLastIndex, kEndPathStart));
277  edgeToPathMap[std::make_pair(kPathToTriggerResultsDependencyLastIndex, kTriggerResultsIndex)].push_back(
279  pathOrder.insert(pathOrder.begin(), kPathToTriggerResultsDependencyLastIndex);
280  }
281  //Need to make dependency for finished process
282  ++kPathToTriggerResultsDependencyLastIndex;
283  edgeToPathMap[std::make_pair(pathStatusInserterModuleID, lastModuleIndex)].push_back(pathIndex);
284  moduleIndexToNames.insert(std::make_pair(pathStatusInserterModuleID, kPathEnded));
285  edgeToPathMap[std::make_pair(kFinishedProcessingIndex, pathStatusInserterModuleID)].push_back(
287  pathOrder.push_back(pathStatusInserterModuleID);
288  }
289  }
290  }
291  }
292  {
293  //determine the data dependencies
294  for (auto const& description : iPnC.allModules()) {
295  unsigned int const moduleIndex = description->id();
296  auto const& dependentModules = iPnC.modulesWhoseProductsAreConsumedBy(moduleIndex);
297  for (auto const& depDescription : dependentModules) {
298  if (iPrintDependencies) {
299  edm::LogAbsolute("ModuleDependency")
300  << "ModuleDependency '" << description->moduleLabel() << "' depends on data products from module '"
301  << depDescription->moduleLabel() << "'";
302  }
303  //see if all paths containing this module also contain the dependent module earlier in the path
304  // if it does, then treat this only as a path dependency and not a data dependency as this
305  // simplifies the circular dependency checking logic
306  auto depID = depDescription->id();
307  auto itPathsFound = moduleIndexToPathIndex.find(moduleIndex);
308  bool keepDataDependency = true;
309  auto itDepsPathsFound = moduleIndexToPathIndex.find(depID);
310  if (itPathsFound != moduleIndexToPathIndex.end() and itDepsPathsFound != moduleIndexToPathIndex.end()) {
311  keepDataDependency = false;
312  for (auto const pathIndex : itPathsFound->second) {
313  for (auto idToCheck : pathIndexToModuleIndexOrder[pathIndex]) {
314  if (idToCheck == depID) {
315  //found dependent module first so check next path
316  break;
317  }
318  if (idToCheck == moduleIndex) {
319  //did not find dependent module earlier on path so
320  // must keep data dependency
321  keepDataDependency = true;
322  break;
323  }
324  }
325  if (keepDataDependency) {
326  break;
327  }
328  }
329  }
330  if (keepDataDependency) {
331  edgeToPathMap[std::make_pair(moduleIndex, depID)].push_back(kDataDependencyIndex);
332  }
333  }
334  }
335  }
336  graph::throwIfImproperDependencies(edgeToPathMap, pathIndexToModuleIndexOrder, pathNames, moduleIndexToNames);
337  }
constexpr auto kInvalidIndex
void throwIfImproperDependencies(EdgeToPathMap const &, std::vector< std::vector< unsigned int >> const &iPathIndexToModuleIndexOrder, std::vector< std::string > const &iPathNames, std::unordered_map< unsigned int, std::string > const &iModuleIndexToNames)
std::map< SimpleEdge, std::vector< unsigned int >> EdgeToPathMap
constexpr auto kDataDependencyIndex
void edm::checkForWrongProduct ( ProductID const &  keyID,
ProductID const &  refID 
)

Definition at line 6 of file CommonExceptions.cc.

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

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

6  {
7  if (keyID != refID) {
9  "AssociationVector: trying to use [] operator passing a reference\n" <<
10  " with the wrong product id (i.e.: pointing to the wrong collection)\n" <<
11  " keyRef.id = " << keyID << ", ref.id = " << refID << "\n";
12 
13  }
14  }
static void edm::cleanup ( const Factory::MakerMap::value_type &  v)
static
void edm::clearLoggedErrorsSummary ( unsigned int  iStreamID)

Definition at line 180 of file MessageSender.cc.

References errorSummaryMaps.

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

180  {
181  assert(iStreamID < errorSummaryMaps.size());
182  errorSummaryMaps[iStreamID].clear();
183  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
void edm::clearMessageLog ( )

Definition at line 100 of file MessageLogger.cc.

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

Referenced by edm::Suppress_LogDebug_::log().

100  { // 11/30/10 mf
101  MessageDrop::instance()->clear();
102  }
static PFTauRenderPlugin instance
bool edm::combinable ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 332 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(), operator<<(), and operator==().

332  {
333  return
334  (a.branchType() == b.branchType()) &&
335  (a.processName() == b.processName()) &&
336  (a.fullClassName() == b.fullClassName()) &&
337  (a.friendlyClassName() == b.friendlyClassName()) &&
338  (a.productInstanceName() == b.productInstanceName()) &&
339  (a.moduleLabel() == b.moduleLabel()) &&
340  (a.branchID() == b.branchID());
341  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::contains ( LuminosityBlockRange const &  lh,
LuminosityBlockID const &  rh 
)

Definition at line 52 of file LuminosityBlockRange.cc.

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

52  {
53  if (rh >= lh.startLumiID() && rh <= lh.endLumiID()) {
54  return true;
55  }
56  return false;
57  }
bool int lh
Definition: SIMDVec.h:21
bool edm::contains ( EventRange const &  lh,
EventID const &  rh 
)

Definition at line 38 of file EventRange.cc.

References contains_(), edm::EventID::event(), edm::EventID::run(), edm::EventRange::startLumi(), and mitigatedMETSequence_cff::U.

Referenced by Vispa.Gui.PortConnection.PointToPointConnection::belongsToRoute(), HGCalTriggerClusterIdentificationBDT::category(), contains(), Vispa.Views.LineDecayView.DecayNode::containsPoint(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), CaloTowersCreationAlgo::convert(), MultipleScatteringGeometry::detLayers(), CTPPSDiamondDQMSource::dqmBeginRun(), Vispa.Gui.ConnectableWidget.ConnectableWidget::dropAreaPort(), pat::PATElectronProducer::fillElectron2(), pat::PATMuonProducer::fillMuon(), HeavyFlavorValidation::getFilterLevel(), CaloVNoiseSignalGenerator::getNoiseSignals(), Vispa.Main.StartupScreen.StartupScreen::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mousePressEvent(), Vispa.Gui.PortWidget.PortWidget::mouseReleaseEvent(), Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner::propagateEventUnderConnectionWidget(), CaloTowersCreationAlgo::rescaleTowers(), CTPPSLHCInfoESSource::setIntervalFor(), CTPPSOpticalFunctionsESSource::setIntervalFor(), TotemDAQMappingESSourceXML::setIntervalFor(), and PhysicsTools::Calibration::MVAComputerContainer::~MVAComputerContainer().

38  {
39  if (lh.startLumi() == 0) {
40  return (contains_(lh, EventID(rh.run(), 0U, rh.event())));
41  }
42  return (contains_(lh, rh));
43  }
bool int lh
Definition: SIMDVec.h:21
bool contains_(EventRange const &lh, EventID const &rh)
Definition: EventRange.cc:45
bool edm::contains ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 59 of file LuminosityBlockRange.cc.

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

59  {
60  if (contains(lh,rh.startLumiID()) && contains(lh,rh.endLumiID())) {
61  return true;
62  }
63  return false;
64  }
bool contains(EventRange const &lh, EventID const &rh)
Definition: EventRange.cc:38
bool int lh
Definition: SIMDVec.h:21
bool edm::contains ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 49 of file EventRange.cc.

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

49  {
50  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
51  return (contains(lh, rh.startEventID()) && contains(lh, rh.endEventID()));
52  }
bool contains(EventRange const &lh, EventID const &rh)
Definition: EventRange.cc:38
bool int lh
Definition: SIMDVec.h:21
bool edm::contains_ ( EventRange const &  lh,
EventID const &  rh 
)

Definition at line 45 of file EventRange.cc.

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

Referenced by contains().

45  {
46  return (rh >= lh.startEventID() && rh <= lh.endEventID());
47  }
bool int lh
Definition: SIMDVec.h:21
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, MillePedeFileConverter_cfg::e, and CommonUtil::nested.

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:120
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 MillePedeFileConverter_cfg::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:120
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 MessageLogger_cfi::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().

22 {
23  if(orig.failedToGet()) {
24  result.setWhyFailed(orig.whyFailed());
25  return;
26  }
27 
28  WrapperBase const* originalWrap = orig.wrapper();
29  if(originalWrap == nullptr) {
31  << "edm::BasicHandle has null pointer to Wrapper";
32  }
33 
34  edm::ObjectWithDict wrap(edm::TypeWithDict(originalWrap->wrappedTypeInfo()), const_cast<void*>(static_cast<void const*>(originalWrap)));
35  assert(bool(wrap));
36 
37  edm::ObjectWithDict product(wrap.get("obj"));
38 
39  if(!product){
40  throw edm::Exception(edm::errors::LogicError)<<"FWGenericObject could not find 'obj' member";
41  }
42  if(product.typeOf()!=result.type()){
43  std::cerr << "FWGenericObject asked for "<<result.type().name()
44  <<" but was given a " << product.typeOf().name();
45  throw edm::Exception(edm::errors::LogicError)<<"FWGenericObject asked for "<<result.type().name()
46  <<" but was given a "<<product.typeOf().name();
47  }
48 
49  Handle<FWGenericObject> h(product, orig.provenance(), orig.id());
50  h.swap(result);
51 }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
auto wrap(F iFunc) -> decltype(iFunc())
template<typename T >
Handle<T> edm::convert_handle ( BasicHandle &&  bh)

Definition at line 22 of file ConvertHandle.h.

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

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

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  }
std::shared_ptr< edm::HandleExceptionFactory > makeInvalidReferenceException()
#define UNLIKELY(x)
Definition: Likely.h:21
def move(src, dest)
Definition: eostools.py:511
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 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  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
auto wrap(F iFunc) -> decltype(iFunc())
template<typename T >
Handle<T> edm::convert_handle_check_type ( BasicHandle &&  bh)

Definition at line 36 of file ConvertHandle.h.

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

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

Definition at line 15 of file Transition.h.

References constexpr, InEvent, InLumi, and InRun.

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

15  {
16  constexpr BranchType branches[] = {InEvent, InLumi, InLumi, InRun, InRun};
17  return branches[static_cast<std::underlying_type<Transition>::type>(iValue)];
18  }
type
Definition: HCALResponse.h:21
BranchType
Definition: BranchType.h:11
#define constexpr
constexpr Transition edm::convertToTransition ( BranchType  iValue)

Definition at line 20 of file Transition.h.

References BeginLuminosityBlock, BeginRun, constexpr, and Event.

Referenced by edm::ProductRegistryHelper::produces().

20  {
21  constexpr Transition trans[] = {Transition::Event, Transition::BeginLuminosityBlock, Transition::BeginRun};
22  return trans[iValue];
23  }
Transition
Definition: Transition.h:12
#define constexpr
template<typename ForwardSequence , typename Func >
Func edm::copy_all ( ForwardSequence &  s,
Func  f 
)
inline
std::string edm::createGlobalIdentifier ( )

Definition at line 5 of file GlobalIdentifier.cc.

References edm::Guid::toString().

Referenced by NanoAODOutputModule::openFile(), DQMRootOutputModule::openFile(), edm::RootOutputFile::RootOutputFile(), and edm::RootFile::validateFile().

5  {
6  Guid guid;
7  return guid.toString();
8  }
bool edm::decode ( bool &  to,
std::string const &  from 
)
bool edm::decode ( std::vector< bool > &  to,
std::string const &  from 
)

Definition at line 95 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

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

Definition at line 135 of file types.cc.

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

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

Definition at line 218 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

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

Definition at line 302 of file types.cc.

References b, and MillePedeFileConverter_cfg::e.

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

Definition at line 365 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

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

Definition at line 176 of file types.cc.

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

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

Definition at line 261 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

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

Definition at line 334 of file types.cc.

References b, and MillePedeFileConverter_cfg::e.

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

Definition at line 406 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

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

Definition at line 448 of file types.cc.

References infinity, and SiStripPI::max.

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

Definition at line 487 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

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

Definition at line 526 of file types.cc.

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

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

Definition at line 1012 of file types.cc.

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

1012  {
1013  std::vector<std::string> temp;
1014  if (!split(std::back_inserter(temp), from, '{', ',', '}'))
1015  return false;
1016 
1017  to.clear();
1018  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
1019  std::string val;
1020  // treat blank string specially
1021  if (*b == "XXX") {
1022  val = "";
1023  } else if (!decode(val, *b)) {
1024  return false;
1025  }
1026  to.push_back(val);
1027  }
1028 
1029  return true;
1030 } // decode to vector<string>
bool decode(bool &, std::string const &)
Definition: types.cc:72
double b
Definition: hdecay.h:120
double split
Definition: MVATrainer.cc:139
bool edm::decode ( edm::FileInPath to,
std::string const &  from 
)

Definition at line 566 of file types.cc.

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

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

Definition at line 589 of file types.cc.

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

Definition at line 603 of file types.cc.

References decode(), and nano_cff::strings.

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

Definition at line 629 of file types.cc.

629  {
630  to = ESInputTag(from);
631  return true;
632 } // decode to InputTag
bool edm::decode ( std::vector< edm::ESInputTag > &  to,
std::string const &  from 
)

Definition at line 643 of file types.cc.

References decode(), and nano_cff::strings.

643  {
644  std::vector<std::string> strings;
645  decode(strings, from);
646 
647  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
648  stringItr != stringItrEnd;
649  ++stringItr) {
650  to.push_back(ESInputTag(*stringItr));
651  }
652  return true;
653 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:72
bool edm::decode ( edm::EventID to,
std::string const &  from 
)

Definition at line 669 of file types.cc.

References writedatasetfile::run, and tokenize().

669  {
670  std::vector<std::string> tokens = edm::tokenize(from, ":");
671  assert(tokens.size() == 2 || tokens.size() == 3);
672  unsigned int run = strtoul(tokens[0].c_str(), nullptr, 0);
673  unsigned int lumi = (tokens.size() == 2 ? 0 : strtoul(tokens[1].c_str(), nullptr, 0));
674  unsigned long long event = strtoull(tokens[tokens.size() - 1].c_str(), nullptr, 0);
675  to = edm::EventID(run, lumi, event);
676 
677  return true;
678 } // decode to EventID
Definition: event.py:1
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
bool edm::decode ( std::vector< edm::EventID > &  to,
std::string const &  from 
)

Definition at line 695 of file types.cc.

References decode(), and nano_cff::strings.

695  {
696  std::vector<std::string> strings;
697  decode(strings, from);
698 
699  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
700  stringItr != stringItrEnd;
701  ++stringItr) {
702  edm::EventID eventID;
703  decode(eventID, *stringItr);
704  to.push_back(eventID);
705  }
706  return true;
707 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:72
bool edm::decode ( edm::LuminosityBlockID to,
std::string const &  from 
)

Definition at line 725 of file types.cc.

References writedatasetfile::run, and tokenize().

725  {
726  std::vector<std::string> tokens = edm::tokenize(from, ":");
727  assert(tokens.size() == 2);
728  unsigned int run = strtoul(tokens[0].c_str(), nullptr, 0);
729  unsigned int lumi = strtoul(tokens[1].c_str(), nullptr, 0);
730  to = edm::LuminosityBlockID(run, lumi);
731  return true;
732 } // decode to LuminosityBlockID
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
bool edm::decode ( std::vector< edm::LuminosityBlockID > &  to,
std::string const &  from 
)

Definition at line 745 of file types.cc.

References decode(), and nano_cff::strings.

745  {
746  std::vector<std::string> strings;
747  decode(strings, from);
748 
749  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
750  stringItr != stringItrEnd;
751  ++stringItr) {
752  edm::LuminosityBlockID lumiID;
753  decode(lumiID, *stringItr);
754  to.push_back(lumiID);
755  }
756  return true;
757 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:72
bool edm::decode ( edm::LuminosityBlockRange to,
std::string const &  from 
)

Definition at line 776 of file types.cc.

References begin, decode(), end, edm::LuminosityBlockID::luminosityBlock(), edm::LuminosityBlockID::run(), and tokenize().

776  {
777  std::vector<std::string> tokens = edm::tokenize(from, "-");
778  assert(tokens.size() == 2);
781  edm::decode(begin, tokens[0]);
782  edm::decode(end, tokens[1]);
783  to = edm::LuminosityBlockRange(begin.run(), begin.luminosityBlock(), end.run(), end.luminosityBlock());
784  return true;
785 } // decode to LuminosityBlockRange
RunNumber_t run() const
bool decode(bool &, std::string const &)
Definition: types.cc:72
#define end
Definition: vmac.h:39
LuminosityBlockNumber_t luminosityBlock() const
#define begin
Definition: vmac.h:32
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
bool edm::decode ( std::vector< edm::LuminosityBlockRange > &  to,
std::string const &  from 
)

Definition at line 798 of file types.cc.

References decode(), and nano_cff::strings.

798  {
799  std::vector<std::string> strings;
800  decode(strings, from);
801 
802  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
803  stringItr != stringItrEnd;
804  ++stringItr) {
805  edm::LuminosityBlockRange lumiRange;
806  decode(lumiRange, *stringItr);
807  to.push_back(lumiRange);
808  }
809  return true;
810 } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:72
bool edm::decode ( edm::EventRange to,
std::string const &  from 
)

Definition at line 829 of file types.cc.

References begin, decode(), end, edm::EventID::event(), edm::EventID::luminosityBlock(), edm::EventID::run(), and tokenize().

829  {
830  std::vector<std::string> tokens = edm::tokenize(from, "-");
831  assert(tokens.size() == 2);
834  edm::decode(begin, tokens[0]);
835  edm::decode(end, tokens[1]);
836  assert((begin.luminosityBlock() == 0) == (end.luminosityBlock() == 0));
837  to = edm::EventRange(
838  begin.run(), begin.luminosityBlock(), begin.event(), end.run(), end.luminosityBlock(), end.event());
839  return true;
840 } // decode to EventRange
RunNumber_t run() const
Definition: EventID.h:39
EventNumber_t event() const
Definition: EventID.h:41
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
bool decode(bool &, std::string const &)
Definition: types.cc:72
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
bool edm::decode ( std::vector< edm::EventRange > &  to,
std::string const &  from 
)

Definition at line 860 of file types.cc.

References decode(), and nano_cff::strings.

860  {
861  std::vector<std::string> strings;
862  decode(strings, from);
863 
864  for (std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
865  stringItr != stringItrEnd;
866  ++stringItr) {
867  edm::EventRange eventRange;
868  decode(eventRange, *stringItr);
869  to.push_back(eventRange);
870  }
871  return true;
872 }
bool decode(bool &, std::string const &)
Definition: types.cc:72
bool edm::decode ( ParameterSet to,
std::string const &  from 
)

Definition at line 1059 of file types.cc.

1059  {
1060  to = ParameterSet(from);
1061  return true;
1062 } // decode to ParameterSet
bool edm::decode ( std::vector< ParameterSet > &  to,
std::string const &  from 
)

Definition at line 1075 of file types.cc.

References b, decode(), MillePedeFileConverter_cfg::e, split(), groupFilesInBlocks::temp, and heppy_batch::val.

1075  {
1076  std::vector<std::string> temp;
1077  if (!split(std::back_inserter(temp), from, '{', ',', '}'))
1078  return false;
1079 
1080  to.clear();
1081  for (std::vector<std::string>::const_iterator b = temp.begin(), e = temp.end(); b != e; ++b) {
1082  ParameterSet val;
1083  if (!decode(val, *b)) {
1084  return false;
1085  }
1086  to.push_back(val);
1087  }
1088 
1089  return true;
1090 } // decode to vector<ParameterSet>
bool decode(bool &, std::string const &)
Definition: types.cc:72
double b
Definition: hdecay.h:120
double split
Definition: MVATrainer.cc:139
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  "XrdAdaptor::XrdStatisticsService"};
28 
29  return returnValue;
30  }
std::string edm::defaultModuleLabel ( std::string  label)

Definition at line 8 of file defaultModuleLabel.h.

References EnergyCorrector::c, mps_fire::i, label, and MatrixUtil::remove().

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

8  { // take by value because we'll copy it anyway
9  // remove all colons (module type may contain namespace)
10  label.erase(std::remove(label.begin(), label.end(), ':'), label.end());
11 
12  // the following code originates from HLTrigger/HLTcore/interface/defaultModuleLabel.h
13  // if the label is all uppercase, change it to all lowercase
14  // if the label starts with more than one uppercase letter, change n-1 to lowercase
15  // otherwise, change the first letter to lowercase
16  unsigned int ups = 0;
17  for (char c : label)
18  if (std::isupper(c))
19  ++ups;
20  else
21  break;
22  if (ups > 1 and ups != label.size())
23  --ups;
24  for (unsigned int i = 0; i < ups; ++i)
25  label[i] = std::tolower(label[i]);
26 
27  return label;
28  }
char const * label
def remove(d, key, TELL=False)
Definition: MatrixUtil.py:212
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 154 of file MessageSender.cc.

References errorSummaryIsBeingKept.

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

154  {
155  bool ret = errorSummaryIsBeingKept.exchange(false, std::memory_order_acq_rel);
156  return ret;
157  }
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 74 of file LuminosityBlockRange.cc.

References lessThan().

74  {
75  return lessThan(lh, rh) || lessThan(rh, lh);
76  }
bool int lh
Definition: SIMDVec.h:21
bool lessThan(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:67
bool edm::distinct ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 72 of file EventRange.cc.

References begin, end, edm::EventRange::endEventID(), edm::EventRange::EventRange(), lessThan(), mathSSE::lh, max(), min(), overlaps(), edm::EventRange::startEventID(), and edm::EventRange::startLumi().

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

72  {
73  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
74  return lessThan(lh, rh) || lessThan(rh, lh);
75  }
bool int lh
Definition: SIMDVec.h:21
bool lessThan(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:67
void edm::doBuildRealData ( std::string const &  name)

Definition at line 22 of file ClassFiller.cc.

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

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::doBuildRealData ( const std::string &  name)
const char * edm::edmModuleType ( edm::ModuleDescription const &  module)

Definition at line 35 of file EDMModuleType.cc.

References edmModuleTypeEnum(), and module_type_desc.

36 {
37  return module_type_desc[static_cast<std::underlying_type_t<EDMModuleType>>(edmModuleTypeEnum(module))];
38 }
constexpr const char * module_type_desc[]
Definition: EDMModuleType.h:20
EDMModuleType edmModuleTypeEnum(edm::ModuleDescription const &module)
Definition: vlib.h:208
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(), muonDTDigis_cfi::pset, PhysicsTools::registry, AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, and findQualityFiles::v.

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

11 {
12  auto const & registry = * edm::pset::Registry::instance();
13  auto const & pset = * registry.getMapped(module.parameterSetID());
14 
15  if (not pset.existsAs<std::string>("@module_edm_type"))
17 
18  std::string const & t = pset.getParameter<std::string>("@module_edm_type");
19  for (EDMModuleType v: {
21  EDMModuleType::kESSource,
22  EDMModuleType::kESProducer,
23  EDMModuleType::kEDAnalyzer,
24  EDMModuleType::kEDProducer,
25  EDMModuleType::kEDFilter,
26  EDMModuleType::kOutputModule
27  }) {
28  if (t == module_type_desc[static_cast<std::underlying_type_t<EDMModuleType>>(v)])
29  return v;
30  }
32 }
EDMModuleType
Definition: EDMModuleType.h:8
constexpr const char * module_type_desc[]
Definition: EDMModuleType.h:20
static const char *const kSource
static Interceptor::Registry registry("Interceptor")
Definition: vlib.h:208
static Registry * instance()
Definition: Registry.cc:12
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::stream::EDAnalyzerBase::prevalidate(), edm::EDProducer::prevalidate(), edm::EDFilter::prevalidate(), edm::stream::EDFilterBase::prevalidate(), edm::stream::EDProducerBase::prevalidate(), edm::global::EDAnalyzerBase::prevalidate(), edm::one::EDFilterBase::prevalidate(), edm::limited::EDAnalyzerBase::prevalidate(), edm::one::EDProducerBase::prevalidate(), edm::one::EDAnalyzerBase::prevalidate(), edm::limited::EDFilterBase::prevalidate(), edm::global::EDFilterBase::prevalidate(), edm::global::EDProducerBase::prevalidate(), and edm::limited::EDProducerBase::prevalidate().

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

Definition at line 286 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_success.

286  {
287  static ELseverityLevel const e(ELseverityLevel::ELsev_success);
288  return e;
289  }
ELseverityLevel const edm::ELerrorGen ( )

Definition at line 304 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_error.

304  {
305  static ELseverityLevel const e(ELseverityLevel::ELsev_error);
306  return e;
307  }
ELseverityLevel const edm::ELhighestSeverityGen ( )

Definition at line 322 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_highestSeverity.

322  {
323  static ELseverityLevel const e(ELseverityLevel::ELsev_highestSeverity);
324  return e;
325  }
ELseverityLevel const edm::ELinfoGen ( )

Definition at line 292 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_info.

292  {
293  static ELseverityLevel const e(ELseverityLevel::ELsev_info);
294  return e;
295  }
ELseverityLevel const edm::ELsevereGen ( )

Definition at line 316 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_severe.

316  {
317  static ELseverityLevel const e(ELseverityLevel::ELsev_severe);
318  return e;
319  }
ELseverityLevel const edm::ELunspecifiedGen ( )

Definition at line 310 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_unspecified.

310  {
311  static ELseverityLevel const e(ELseverityLevel::ELsev_unspecified);
312  return e;
313  }
ELseverityLevel const edm::ELwarningGen ( )

Definition at line 298 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_warning.

298  {
299  static ELseverityLevel const e(ELseverityLevel::ELsev_warning);
300  return e;
301  }
ELseverityLevel const edm::ELzeroSeverityGen ( )

Definition at line 280 of file ELseverityLevel.cc.

References MillePedeFileConverter_cfg::e, and edm::ELseverityLevel::ELsev_zeroSeverity.

280  {
281  static ELseverityLevel const e(ELseverityLevel::ELsev_zeroSeverity);
282  return e;
283  }
bool edm::EnableLoggedErrorsSummary ( )

Definition at line 149 of file MessageSender.cc.

References errorSummaryIsBeingKept.

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

149  {
150  bool ret = errorSummaryIsBeingKept.exchange(true, std::memory_order_acq_rel);
151  return ret;
152  }
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 86 of file types.cc.

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

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

Definition at line 114 of file types.cc.

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

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

Definition at line 157 of file types.cc.

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

Definition at line 238 of file types.cc.

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

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

Definition at line 320 of file types.cc.

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

Definition at line 384 of file types.cc.

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

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

Definition at line 198 of file types.cc.

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

Definition at line 281 of file types.cc.

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

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

Definition at line 351 of file types.cc.

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

Definition at line 425 of file types.cc.

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

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

Definition at line 473 of file types.cc.

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

Definition at line 505 of file types.cc.

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

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

Definition at line 888 of file types.cc.

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

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

Definition at line 1034 of file types.cc.

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

1034  {
1035  to = "{";
1036 
1037  std::string converted;
1038  for (std::vector<std::string>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1039  // treat blank string specially
1040  if (b->empty()) {
1041  converted = "XXX";
1042  } else if (!encode(converted, *b)) {
1043  return false;
1044  }
1045 
1046  if (b != from.begin())
1047  to += ",";
1048  to += converted;
1049  }
1050 
1051  to += '}';
1052  return true;
1053 } // encode from vector<string>
double b
Definition: hdecay.h:120
def encode(args, files)
bool edm::encode ( std::string &  to,
edm::FileInPath const &  from 
)

Definition at line 576 of file types.cc.

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

Definition at line 594 of file types.cc.

References edm::InputTag::encode().

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

Definition at line 615 of file types.cc.

References encode(), and nano_cff::strings.

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

Definition at line 634 of file types.cc.

References edm::ESInputTag::encode().

634  {
635  to = from.encode();
636  return true;
637 }
bool edm::encode ( std::string &  to,
std::vector< edm::ESInputTag > const &  from 
)

Definition at line 655 of file types.cc.

References encode(), and nano_cff::strings.

655  {
656  std::vector<std::string> strings;
657  for (std::vector<ESInputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end(); tagItr != tagItrEnd;
658  ++tagItr) {
659  strings.push_back(tagItr->encode());
660  }
661  encode(to, strings);
662  return true;
663 }
def encode(args, files)
bool edm::encode ( std::string &  to,
edm::EventID const &  from 
)

Definition at line 680 of file types.cc.

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

680  {
681  std::ostringstream os;
682  if (from.luminosityBlock() == 0U) {
683  os << from.run() << ":" << from.event();
684  } else {
685  os << from.run() << ":" << from.luminosityBlock() << ":" << from.event();
686  }
687  to = os.str();
688  return true;
689 }
bool edm::encode ( std::string &  to,
std::vector< edm::EventID > const &  from 
)

Definition at line 709 of file types.cc.

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

709  {
710  std::vector<std::string> strings;
711  for (std::vector<edm::EventID>::const_iterator idItr = from.begin(), idItrEnd = from.end(); idItr != idItrEnd;
712  ++idItr) {
713  std::string encodedEventID;
714  encode(encodedEventID, *idItr);
715  strings.push_back(encodedEventID);
716  }
717  encode(to, strings);
718  return true;
719 }
def encode(args, files)
bool edm::encode ( std::string &  to,
edm::LuminosityBlockID const &  from 
)

Definition at line 734 of file types.cc.

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

734  {
735  std::ostringstream os;
736  os << from.run() << ":" << from.luminosityBlock();
737  to = os.str();
738  return true;
739 }
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockID > const &  from 
)

Definition at line 759 of file types.cc.

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

759  {
760  std::vector<std::string> strings;
761  for (std::vector<edm::LuminosityBlockID>::const_iterator idItr = from.begin(), idItrEnd = from.end();
762  idItr != idItrEnd;
763  ++idItr) {
764  std::string encodedLuminosityBlockID;
765  encode(encodedLuminosityBlockID, *idItr);
766  strings.push_back(encodedLuminosityBlockID);
767  }
768  encode(to, strings);
769  return true;
770 }
def encode(args, files)
bool edm::encode ( std::string &  to,
edm::LuminosityBlockRange const &  from 
)

Definition at line 787 of file types.cc.

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

787  {
788  std::ostringstream os;
789  os << from.startRun() << ":" << from.startLumi() << "-" << from.endRun() << ":" << from.endLumi();
790  to = os.str();
791  return true;
792 }
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockRange > const &  from 
)

Definition at line 812 of file types.cc.

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

812  {
813  std::vector<std::string> strings;
814  for (std::vector<edm::LuminosityBlockRange>::const_iterator idItr = from.begin(), idItrEnd = from.end();
815  idItr != idItrEnd;
816  ++idItr) {
817  std::string encodedLuminosityBlockRange;
818  encode(encodedLuminosityBlockRange, *idItr);
819  strings.push_back(encodedLuminosityBlockRange);
820  }
821  encode(to, strings);
822  return true;
823 }
def encode(args, files)
bool edm::encode ( std::string &  to,
edm::EventRange const &  from 
)

Definition at line 842 of file types.cc.

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

842  {
843  std::ostringstream os;
844  if (from.startLumi() == 0) {
845  assert(from.endLumi() == 0);
846  os << from.startRun() << ":" << from.startEvent() << "-" << from.endRun() << ":" << from.endEvent();
847  } else {
848  assert(from.endLumi() != 0);
849  os << from.startRun() << ":" << from.startLumi() << ":" << from.startEvent() << "-" << from.endRun() << ":"
850  << from.endLumi() << ":" << from.endEvent();
851  }
852  to = os.str();
853  return true;
854 }
bool edm::encode ( std::string &  to,
std::vector< edm::EventRange > const &  from 
)

Definition at line 874 of file types.cc.

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

874  {
875  std::vector<std::string> strings;
876  for (std::vector<edm::EventRange>::const_iterator idItr = from.begin(), idItrEnd = from.end(); idItr != idItrEnd;
877  ++idItr) {
878  std::string encodedEventRange;
879  encode(encodedEventRange, *idItr);
880  strings.push_back(encodedEventRange);
881  }
882  encode(to, strings);
883  return true;
884 }
def encode(args, files)
bool edm::encode ( std::string &  to,
ParameterSet const &  from 
)

Definition at line 1066 of file types.cc.

References edm::ParameterSet::toString().

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

Definition at line 1094 of file types.cc.

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

1094  {
1095  to = "{";
1096 
1097  std::string converted;
1098  for (std::vector<ParameterSet>::const_iterator b = from.begin(), e = from.end(); b != e; ++b) {
1099  if (!encode(converted, *b)) {
1100  return false;
1101  }
1102  if (b != from.begin()) {
1103  to += ",";
1104  }
1105  to += converted;
1106  }
1107  to += '}';
1108  return true;
1109 } // encode from vector<ParameterSet>
double b
Definition: hdecay.h:120
def encode(args, files)
template<typename Traits , typename P , typename SC >
void edm::endGlobalTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
P iPrincipal,
IOVSyncValue const &  iTS,
EventSetupImpl const &  iES,
ServiceToken const &  token,
SC &  iSubProcesses,
bool  cleaningUpAfterException 
)

Definition at line 101 of file globalTransitionAsync.h.

References edm::WaitingTaskHolder::doneWaiting(), h, make_waiting_task(), eostools::move(), edm::Schedule::processOneGlobalAsync(), and subProcessDoGlobalEndTransitionAsync().

108  {
109  //When we are done processing the global for this process,
110  // we need to run the global for all SubProcesses
111  auto subs = make_waiting_task(
112  tbb::task::allocate_root(),
113  [&iSubProcesses, iWait, &iPrincipal, iTS, cleaningUpAfterException](std::exception_ptr const* iPtr) mutable {
114  if (iPtr) {
115  auto excpt = *iPtr;
116  auto delayError =
117  make_waiting_task(tbb::task::allocate_root(),
118  [iWait, excpt](std::exception_ptr const*) mutable { iWait.doneWaiting(excpt); });
119  WaitingTaskHolder h(delayError);
120  for (auto& subProcess : iSubProcesses) {
121  subProcessDoGlobalEndTransitionAsync(h, subProcess, iPrincipal, iTS, cleaningUpAfterException);
122  }
123  } else {
124  for (auto& subProcess : iSubProcesses) {
125  subProcessDoGlobalEndTransitionAsync(iWait, subProcess, iPrincipal, iTS, cleaningUpAfterException);
126  }
127  }
128  });
129 
130  WaitingTaskHolder h(subs);
131  iSchedule.processOneGlobalAsync<Traits>(std::move(h), iPrincipal, iES, token, cleaningUpAfterException);
132  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
FunctorWaitingTask< F > * make_waiting_task(ALLOC &&iAlloc, F f)
Definition: WaitingTask.h:87
void subProcessDoGlobalEndTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, RunPrincipal &iPrincipal, IOVSyncValue const &iTS, bool cleaningUpAfterException)
def move(src, dest)
Definition: eostools.py:511
template<typename Traits , typename P , typename SC >
void edm::endStreamsTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iNStreams,
P iPrincipal,
IOVSyncValue const &  iTS,
EventSetupImpl const &  iES,
ServiceToken const &  iToken,
SC &  iSubProcesses,
bool  cleaningUpAfterException 
)

Definition at line 164 of file streamTransitionAsync.h.

References mps_fire::i.

172  {
173  for (unsigned int i = 0; i < iNStreams; ++i) {
174  endStreamTransitionAsync<Traits>(
175  iWait, iSchedule, i, iPrincipal, iTS, iES, iToken, iSubProcesses, cleaningUpAfterException);
176  }
177  }
template<typename Traits , typename P , typename SC >
void edm::endStreamTransitionAsync ( WaitingTaskHolder  iWait,
Schedule iSchedule,
unsigned int  iStreamIndex,
P iPrincipal,
IOVSyncValue const &  iTS,
EventSetupImpl const &  iES,
ServiceToken const &  token,
SC &  iSubProcesses,
bool  cleaningUpAfterException 
)

Definition at line 124 of file streamTransitionAsync.h.

References edm::WaitingTaskHolder::doneWaiting(), h, make_waiting_task(), edm::Schedule::processOneStreamAsync(), and subProcessDoStreamEndTransitionAsync().

132  {
133  //When we are done processing the stream for this process,
134  // we need to run the stream for all SubProcesses
135  //NOTE: The subprocesses set their own service tokens
136 
137  auto subs =
138  make_waiting_task(tbb::task::allocate_root(),
139  [&iSubProcesses, iWait, iStreamIndex, &iPrincipal, iTS, cleaningUpAfterException](
140  std::exception_ptr const* iPtr) mutable {
141  if (iPtr) {
142  auto excpt = *iPtr;
143  auto delayError = make_waiting_task(
144  tbb::task::allocate_root(),
145  [iWait, excpt](std::exception_ptr const*) mutable { iWait.doneWaiting(excpt); });
146  WaitingTaskHolder h(delayError);
147  for (auto& subProcess : iSubProcesses) {
149  h, subProcess, iStreamIndex, iPrincipal, iTS, cleaningUpAfterException);
150  }
151  } else {
152  for (auto& subProcess : iSubProcesses) {
154  iWait, subProcess, iStreamIndex, iPrincipal, iTS, cleaningUpAfterException);
155  }
156  }
157  });
158 
159  iSchedule.processOneStreamAsync<Traits>(
160  WaitingTaskHolder(subs), iStreamIndex, iPrincipal, iES, token, cleaningUpAfterException);
161  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void subProcessDoStreamEndTransitionAsync(WaitingTaskHolder iHolder, SubProcess &iSubProcess, unsigned int i, RunPrincipal &iPrincipal, IOVSyncValue const &iTS, bool cleaningUpAfterException)
FunctorWaitingTask< F > * make_waiting_task(ALLOC &&iAlloc, F f)
Definition: WaitingTask.h:87
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
bool edm::eq ( const ELstring s1,
const ELstring  s2 
)

Definition at line 39 of file ELstring.cc.

References indexGen::s2.

39 { return s1 == s2; } // eq()
bool edm::eq_nocase ( const ELstring s1,
const char  s2[] 
)

Definition at line 21 of file ELstring.cc.

References p1, p2, and indexGen::s2.

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

21  {
22  using std::toupper;
23 
24  if (s1.length() != strlen(s2))
25  return false;
26 
27  ELstring::const_iterator p1;
28  const char* p2;
29 
30  for (p1 = s1.begin(), p2 = s2; *p2 != '\0'; ++p1, ++p2) {
31  if (toupper(*p1) != toupper(*p2)) {
32  return false;
33  }
34  }
35  return true;
36 
37  } // eq_nocase()
double p2[4]
Definition: TauolaWrapper.h:90
double p1[4]
Definition: TauolaWrapper.h:89
template<class FP >
bool edm::equal_isnan ( FP  x)
inline

Definition at line 61 of file math.h.

Referenced by isnan().

62  {
63  return x !=x;
64  }
void edm::exceptionContext ( std::ostream &  os,
GlobalContext const &  gc 
)

Definition at line 59 of file GlobalContext.cc.

References edm::GlobalContext::kBeginJob, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndJob, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndRun, edm::GlobalContext::kWriteLuminosityBlock, edm::GlobalContext::kWriteRun, edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), and edm::GlobalContext::transition().

Referenced by edm::Worker::activityRegistry(), edm::Worker::exceptionContext(), and edm::Worker::runModule().

59  {
60  os << "Processing ";
61  switch (gc.transition()) {
62  case GlobalContext::Transition::kBeginJob:
63  os << "begin Job";
64  break;
65  case GlobalContext::Transition::kBeginRun:
66  os << "global begin Run " << RunID(gc.luminosityBlockID().run());
67  break;
68  case GlobalContext::Transition::kBeginLuminosityBlock:
69  os << "global begin LuminosityBlock " << gc.luminosityBlockID();
70  break;
71  case GlobalContext::Transition::kEndLuminosityBlock:
72  os << "global end LuminosityBlock " << gc.luminosityBlockID();
73  break;
74  case GlobalContext::Transition::kEndRun:
75  os << "global end Run " << RunID(gc.luminosityBlockID().run());
76  break;
77  case GlobalContext::Transition::kEndJob:
78  os << "endJob";
79  break;
80  case GlobalContext::Transition::kWriteRun:
81  os << "write Run " << RunID(gc.luminosityBlockID().run());
82  break;
83  case GlobalContext::Transition::kWriteLuminosityBlock:
84  os << "write LuminosityBlock " << gc.luminosityBlockID();
85  break;
86  }
87  }
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, writedatasetfile::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::fillDescriptionFromPSet ( ParameterSet const &  pset,
ParameterSetDescription desc 
)

Definition at line 102 of file FillDescriptionFromPSet.cc.

References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addUntracked(), 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(src, dest)
Definition: eostools.py:511
std::shared_ptr<EDLooperBase> edm::fillLooper ( eventsetup::EventSetupsController esController,
eventsetup::EventSetupProvider cp,
ParameterSet params 
)

Definition at line 190 of file EventProcessor.cc.

References reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), and edm::ParameterSet::registerIt().

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

192  {
193  std::shared_ptr<EDLooperBase> vLooper;
194 
195  std::vector<std::string> loopers = params.getParameter<std::vector<std::string> >("@all_loopers");
196 
197  if (loopers.empty()) {
198  return vLooper;
199  }
200 
201  assert(1 == loopers.size());
202 
203  for (std::vector<std::string>::iterator itName = loopers.begin(), itNameEnd = loopers.end(); itName != itNameEnd;
204  ++itName) {
205  ParameterSet* providerPSet = params.getPSetForUpdate(*itName);
206  providerPSet->registerIt();
207  vLooper = eventsetup::LooperFactory::get()->addTo(esController, cp, *providerPSet);
208  }
209  return vLooper;
210  }
T get(const Candidate &c)
Definition: component.h:55
void edm::fillMaxEventsDescription ( ParameterSetDescription description)

Definition at line 57 of file validateTopLevelParameterSets.cc.

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

Referenced by validateTopLevelParameterSets().

57  {
58  description.addUntracked<int>("input", -1)->setComment("Default of -1 implies no limit.");
59 
60  ParameterSetDescription nestedDescription;
61  nestedDescription.addWildcardUntracked<int>("*");
62  description.addOptionalNode(ParameterDescription<int>("output", false) xor
63  ParameterDescription<ParameterSetDescription>("output", nestedDescription, false),
64  false);
65  }
void edm::fillMaxLuminosityBlocksDescription ( ParameterSetDescription description)

Definition at line 67 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addUntracked().

Referenced by validateTopLevelParameterSets().

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

Definition at line 71 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addUntracked().

Referenced by validateTopLevelParameterSets().

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

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

822  {
823  sum.timesVisited += path.timesVisited(which);
824  sum.timesPassed += path.timesPassed(which);
825  sum.timesFailed += path.timesFailed(which);
826  sum.timesExcept += path.timesExcept(which);
827  sum.moduleLabel = path.getWorker(which)->description().moduleLabel();
828  }
def which(cmd)
Definition: eostools.py:336
void edm::fillOptionsDescription ( ParameterSetDescription description)

Definition at line 14 of file validateTopLevelParameterSets.cc.

References edm::ParameterSetDescription::addOptionalUntracked(), edm::ParameterSetDescription::addUntracked(), s_defaultNumberOfThreads, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by validateTopLevelParameterSets().

14  {
15  description.addUntracked<unsigned int>("numberOfThreads", s_defaultNumberOfThreads)
16  ->setComment("If zero, let TBB use its default which is normally the number of CPUs on the machine");
17  description.addUntracked<unsigned int>("numberOfStreams", 0)
18  ->setComment("If zero, then set the number of streams to be the same as the number of threads");
19  description.addUntracked<unsigned int>("numberOfConcurrentRuns", 1);
20  description.addUntracked<unsigned int>("numberOfConcurrentLuminosityBlocks", 1)
21  ->setComment("If zero, then set the same as the number of runs");
22  description.addUntracked<bool>("wantSummary", false)
23  ->setComment("Set true to print a report on the trigger decisions and timing of modules");
24  description.addUntracked<std::string>("fileMode", "FULLMERGE")
25  ->setComment("Legal values are 'NOMERGE' and 'FULLMERGE'");
26  description.addUntracked<bool>("forceEventSetupCacheClearOnNewRun", false);
27  description.addUntracked<bool>("throwIfIllegalParameter", true)
28  ->setComment("Set false to disable exception throws when configuration validation detects illegal parameters");
29  description.addUntracked<bool>("printDependencies", false)->setComment("Print data dependencies between modules");
30 
31  // No default for this one because the parameter value is
32  // actually used in the main function in cmsRun.cpp before
33  // the parameter set is validated here.
34  description.addOptionalUntracked<unsigned int>("sizeOfStackForThreadsInKB");
35 
36  std::vector<std::string> emptyVector;
37 
38  description.addUntracked<std::vector<std::string>>("Rethrow", emptyVector);
39  description.addUntracked<std::vector<std::string>>("SkipEvent", emptyVector);
40  description.addUntracked<std::vector<std::string>>("FailPath", emptyVector);
41  description.addUntracked<std::vector<std::string>>("IgnoreCompletely", emptyVector);
42 
43  description.addUntracked<std::vector<std::string>>("canDeleteEarly", emptyVector)
44  ->setComment("Branch names of products that the Framework can try to delete before the end of the Event");
45 
46  description.addOptionalUntracked<bool>("allowUnscheduled")
47  ->setComment(
48  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
49  description.addOptionalUntracked<std::string>("emptyRunLumiMode")
50  ->setComment(
51  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
52  description.addOptionalUntracked<bool>("makeTriggerResults")
53  ->setComment(
54  "Obsolete. Has no effect. Allowed only for backward compatibility for old Python configuration files.");
55  }
constexpr unsigned int s_defaultNumberOfThreads
void edm::fillParameterSetBranch ( TTree *  parameterSetsTree,
int  basketSize 
)

Definition at line 18 of file CommonProvenanceFiller.cc.

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

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

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

Definition at line 830 of file StreamSchedule.cc.

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

830  {
831  sum.name = path.name();
832  sum.bitPosition = path.bitPosition();
833  sum.timesRun += path.timesRun();
834  sum.timesPassed += path.timesPassed();
835  sum.timesFailed += path.timesFailed();
836  sum.timesExcept += path.timesExcept();
837 
838  Path::size_type sz = path.size();
839  if (sum.moduleInPathSummaries.empty()) {
840  std::vector<ModuleInPathSummary> temp(sz);
841  for (size_t i = 0; i != sz; ++i) {
843  }
844  sum.moduleInPathSummaries.swap(temp);
845  } else {
846  assert(sz == sum.moduleInPathSummaries.size());
847  for (size_t i = 0; i != sz; ++i) {
848  fillModuleInPathSummary(path, i, sum.moduleInPathSummaries[i]);
849  }
850  }
851  }
static void fillModuleInPathSummary(Path const &path, size_t which, ModuleInPathSummary &sum)
uint16_t size_type
void edm::fillProcessHistoryBranch ( TTree *  metaDataTree,
int  basketSize,
ProcessHistoryRegistry const &  processHistoryRegistry 
)

Definition at line 32 of file CommonProvenanceFiller.cc.

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

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

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

References edm::detail::reallyfillPtrVector().

Referenced by edm::WrapperBase::isPresent(), and edm::SortedCollection< EcalRecHit >::pop_back().

88  {
89  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
90  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:38
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 94 of file fillPtrVector.h.

References edm::detail::reallyfillPtrVector().

97  {
98  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
99  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:38
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 103 of file fillPtrVector.h.

References edm::detail::reallyfillPtrVector().

106  {
107  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
108  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:38
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 112 of file fillPtrVector.h.

References edm::detail::reallyfillPtrVector().

115  {
116  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
117  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:38
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 473 of file SortedCollection.h.

References edm::SortedCollection< T, SORT >::fillPtrVector().

476  {
477  obj.fillPtrVector(toType, indices, ptrs);
478  }
template<typename T , unsigned int M, typename P >
void edm::fillPtrVector ( OwnArray< T, M, P > const &  obj,
std::type_info const &  toType,
std::vector< unsigned long > const &  indices,
std::vector< void const * > &  ptrs 
)
inline

Definition at line 489 of file OwnArray.h.

References edm::OwnArray< T, MAX_SIZE, P >::fillPtrVector().

492  {
493  obj.fillPtrVector(toType, indices, ptrs);
494  }
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 564 of file OwnVector.h.

References edm::OwnVector< T, P >::fillPtrVector().

567  {
568  obj.fillPtrVector(toType, indices, ptrs);
569  }
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 49 of file FillView.h.

References edm::detail::reallyFillView().

53  {
55  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:27
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 59 of file FillView.h.

References edm::detail::reallyFillView().

63  {
65  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:27
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 69 of file FillView.h.

References edm::detail::reallyFillView().

73  {
75  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:27
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 79 of file FillView.h.

References edm::detail::reallyFillView().

83  {
85  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, FillViewHelperVector &helpers)
Definition: FillView.h:27
template<typename T >
void edm::fillView ( PtrVector< T > const &  obj,
ProductID const &  ,
std::vector< void const * > &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 197 of file PtrVector.h.

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

200  {
201  obj.fillView(pointers,helpers);
202  }
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 210 of file RefVector.h.

213  {
214  obj.fillView(id, pointers, helpers);
215  }
template<typename T >
void edm::fillView ( RefToBaseVector< T > const &  obj,
ProductID const &  ,
std::vector< void const * > &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 251 of file RefToBaseVector.h.

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

254  {
255  obj.fillView(pointers,helpers);
256  }
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
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 296 of file Ptr.h.

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

299  {
300  pointers.reserve(obj.size());
301  helpers.reserve(obj.size());
302  for (auto const& p: obj) {
303  if(p.isAvailable()) {
304  pointers.push_back(p.get());
305  }else {
306  pointers.push_back(nullptr);
307  }
308  helpers.emplace_back(p.id(),p.key());
309  }
310  }
template<class T >
void edm::fillView ( DetSetVector< T > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 422 of file DetSetVector.h.

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

426  {
427  obj.fillView(id, pointers, helpers);
428  }
template<typename T , unsigned int M, typename P >
void edm::fillView ( OwnArray< T, M, P > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
FillViewHelperVector helpers 
)
inline

Definition at line 441 of file OwnArray.h.

References edm::OwnArray< T, MAX_SIZE, P >::fillView().

444  {
445  obj.fillView(id, pointers, helpers);
446  }
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 452 of file SortedCollection.h.

References edm::SortedCollection< T, SORT >::fillView().

455  {
456  obj.fillView(id, pointers, helpers);
457  }
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 516 of file OwnVector.h.

References edm::OwnVector< T, P >::fillView().

519  {
520  obj.fillView(id, pointers, helpers);
521  }
static void edm::fillWorkerSummary ( Worker const *  pw,
WorkerSummary sum 
)
static

Definition at line 862 of file StreamSchedule.cc.

References fillWorkerSummaryAux().

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

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

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

853  {
854  sum.timesVisited += w.timesVisited();
855  sum.timesRun += w.timesRun();
856  sum.timesPassed += w.timesPassed();
857  sum.timesFailed += w.timesFailed();
858  sum.timesExcept += w.timesExcept();
859  sum.moduleLabel = w.description().moduleLabel();
860  }
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 edmIntegrityCheck::d, and spr::find().

Referenced by edm::RootFile::fillIndexIntoFile(), edm::ProvenanceAdaptor::fixProcessHistory(), 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:20
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 edmIntegrityCheck::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:20
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.

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  }
int k[5][pyjets_maxn]
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.

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  }
int k[5][pyjets_maxn]
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  }
int k[5][pyjets_maxn]
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  }
int k[5][pyjets_maxn]
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
int k[5][pyjets_maxn]
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 gen::k.

16  {
17  return m[k];
18  }
int k[5][pyjets_maxn]
template<typename T , typename U >
T edm::first ( std::pair< T, U > const &  p)
void edm::FlushMessageLog ( )
template<typename ForwardSequence , typename Func >
Func edm::for_all ( ForwardSequence &  s,
Func  f 
)
inline

wrapper for std::for_each

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

Definition at line 14 of file Algorithms.h.

References f.

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::SubProcess::enableEndPaths(), edm::RootOutputTree::fillTTree(), edm::SubProcess::fixBranchIDListsForEDAliases(), 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::resetProxies(), edm::eventsetup::EventSetupRecordProvider::resetRecordToProxyPointers(), edm::eventsetup::EventSetupRecordProvider::resetTransients(), 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  }
double f[11][100]
template<typename S , typename T >
S& edm::formatFile ( T const &  f,
S os 
)

Definition at line 40 of file JobReport.cc.

References MicroEventContent_cff::branch, and common_cff::doc.

Referenced by print().

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

Definition at line 159 of file MessageSender.cc.

References errorSummaryMaps.

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

159  {
160  assert(iStreamID < errorSummaryMaps.size());
161  return !errorSummaryMaps[iStreamID].empty();
162  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
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 188 of file EventSetup.h.

References cmsBatch::handle, dttmaxenums::L, edm::ESHandle< T >::product(), dttmaxenums::R, and GeneralSetup::setup().

188  {
190  // throw if the record is not available
191  setup.get<R>().get(handle);
192  // throw if the handle is not valid
193  return *handle.product();
194  }
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
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 199 of file EventSetup.h.

References cmsBatch::handle, label, and edm::ESHandle< T >::product().

199  {
201  // throw if the record is not available
202  setup.get<R>().get(std::forward(label), handle);
203  // throw if the handle is not valid
204  return *handle.product();
205  }
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
char const * label
template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
InputTag const &  tag 
)

Definition at line 366 of file LuminosityBlock.h.

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

366  {
368  event.getByLabel(tag, handle);
369  // throw if the handle is not valid
370  return *handle.product();
371  }
template<typename T >
T const& edm::get ( Run const &  event,
InputTag const &  tag 
)

Definition at line 372 of file Run.h.

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

372  {
374  event.getByLabel(tag, handle);
375  // throw if the handle is not valid
376  return *handle.product();
377  }
template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
EDGetToken const &  token 
)

Definition at line 374 of file LuminosityBlock.h.

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

374  {
376  event.getByToken(token, handle);
377  // throw if the handle is not valid
378  return *handle.product();
379  }
template<typename T >
T const& edm::get ( Run const &  event,
EDGetToken const &  token 
)

Definition at line 380 of file Run.h.

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

380  {
382  event.getByToken(token, handle);
383  // throw if the handle is not valid
384  return *handle.product();
385  }
template<typename T >
T const& edm::get ( LuminosityBlock const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 382 of file LuminosityBlock.h.

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

382  {
384  event.getByToken(token, handle);
385  // throw if the handle is not valid
386  return *handle.product();
387  }
template<typename T >
T const& edm::get ( Run const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 388 of file Run.h.

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

388  {
390  event.getByToken(token, handle);
391  // throw if the handle is not valid
392  return *handle.product();
393  }
template<typename T >
T const& edm::get ( Event const &  event,
InputTag const &  tag 
)

Definition at line 658 of file Event.h.

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

Referenced by TriggerBxMonitor::dqmAnalyze(), TriggerRatesMonitor::dqmAnalyze(), and triggerExpression::Data::setEvent().

658  {
660  event.getByLabel(tag, handle);
661  // throw if the handle is not valid
662  return *handle.product();
663  }
template<typename T >
T const& edm::get ( Event const &  event,
EDGetToken const &  token 
)

Definition at line 666 of file Event.h.

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

666  {
668  event.getByToken(token, handle);
669  // throw if the handle is not valid
670  return *handle.product();
671  }
template<typename T >
T const& edm::get ( Event const &  event,
EDGetTokenT< T > const &  token 
)

Definition at line 674 of file Event.h.

674  {
675  return event.get(token);
676  }
template<typename T >
T & edm::get_underlying ( propagate_const< T > &  iP)
template<typename T >
T const & edm::get_underlying ( propagate_const< T > const &  iP)

Definition at line 87 of file propagate_const.h.

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

87  {
88  return iP.m_value;
89  }
template<typename T >
std::shared_ptr<T>& edm::get_underlying_safe ( propagate_const< std::shared_ptr< T >> &  iP)

Definition at line 40 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::RootFile::branchIDListHelper(), edm::SubProcess::branchIDListHelper(), edm::EventProcessor::branchIDListHelper(), SerializeDataBuffer::bufferPointer(), edm::LuminosityBlock::commit_(), edm::Run::commit_(), edm::Event::commit_aux(), XrdAdaptor::XrdStatisticsService::condorUpdate(), edm::RootPrimaryFileSequence::duplicateChecker(), edm::service::RandomNumberGeneratorService::LabelAndEngine::engine(), edm::ProductRegistry::Transients::eventProductLookup(), edm::RootFile::eventProductProvenanceRetriever(), edm::StreamerFileReader::eventSkipperByID(), edm::RootPrimaryFileSequence::eventSkipperByID(), XrdAdaptor::Source::fh(), edm::RootOutputFile::filePtr(), edm::eventsetup::EventSetupRecordProvider::finder(), XrdAdaptor::ClientRequest::getCurrentSource(), edm::ModuleRegistry::getModule(), edm::ProcessDesc::getProcessPSet(), XrdAdaptor::XrdSiteStatisticsInformation::getStatisticsForSite(), edm::RootFile::indexIntoFileSharedPtr(), HepMCFileReader::input(), edm::service::RandomNumberGeneratorService::ModuleIDToEngine::labelAndEngine(), edm::EventProcessor::looper(), edm::ProductRegistry::Transients::lumiProductLookup(), edm::Schedule::moduleRegistry(), edm::value_ptr< edm::service::MessageLoggerDefaults >::operator->(), edm::JobReport::JobReportImpl::ost(), edm::RootOutputFile::pEventEntryInfoVector(), edm::ScheduleItems::preg(), edm::EventProcessor::preg(), edm::ScheduleItems::processConfiguration(), edm::VectorInputSource::productRegistry(), edm::InputSource::productRegistry(), edm::EventPrincipal::provRetrieverPtr(), edm::eventsetup::EventSetupRecordProvider::proxyProvider(), edm::service::MessageServicePresence::queue(), edm::RandomEngineSentry< T >::randomEngine(), edm::Principal::recombine(), edm::root::TFWLiteSelectorMembers::reg(), StorageAccountProxy::releaseStorage(), TStorageFactoryFile::releaseStorage(), edm::StreamSchedule::results(), edm::Schedule::resultsInserter(), edm::RootInputFileSequence::rootFile(), edm::ProductRegistry::Transients::runProductLookup(), 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().

40  {
41  return get_underlying(iP);
42  }
T & get_underlying(propagate_const< T > &)
template<typename T >
std::shared_ptr<T const> edm::get_underlying_safe ( propagate_const< std::shared_ptr< T >> const &  iP)

Definition at line 44 of file get_underlying_safe.h.

References popcon2dropbox::copy(), and get_underlying().

44  {
45  std::shared_ptr<T const> copy = get_underlying(iP);
46  return copy;
47  }
def copy(args, dbName)
T & get_underlying(propagate_const< T > &)
template<typename T >
T*& edm::get_underlying_safe ( propagate_const< T * > &  iP)

Definition at line 51 of file get_underlying_safe.h.

References get_underlying().

51  {
52  return get_underlying(iP);
53  }
T & get_underlying(propagate_const< T > &)
template<typename T >
T const* edm::get_underlying_safe ( propagate_const< T * > const &  iP)

Definition at line 55 of file get_underlying_safe.h.

References popcon2dropbox::copy(), and get_underlying().

55  {
56  T const* copy = get_underlying(iP);
57  return copy;
58  }
def copy(args, dbName)
T & get_underlying(propagate_const< T > &)
long double T
template<typename T >
std::unique_ptr<T>& edm::get_underlying_safe ( propagate_const< std::unique_ptr< T >> &  iP)

Definition at line 62 of file get_underlying_safe.h.

References get_underlying().

62  {
63  return get_underlying(iP);
64  }
T & get_underlying(propagate_const< T > &)
template<typename T >
std::unique_ptr<T const> edm::get_underlying_safe ( propagate_const< std::unique_ptr< T >> const &  iP)

Definition at line 67 of file get_underlying_safe.h.

References popcon2dropbox::copy(), and get_underlying().

67  {
68  std::unique_ptr<T const> copy = get_underlying(iP);
69  return copy;
70  }
def copy(args, dbName)
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 PFRecoTauDiscriminationByIsolation_cfi::offset, and AlCaHLTBitMon_ParallelJobs::p.

9  {
10  // A union is used to avoid possible copies during the triple cast that would otherwise be needed.
11  // std::unique_ptr<T> edp(static_cast<T*>(static_cast<void *>(static_cast<unsigned char *>(p) + offset)));
12  union {
13  void* vp;
14  unsigned char* ucp;
15  T* tp;
16  } pointerUnion;
17  assert(p != nullptr);
18  pointerUnion.vp = p;
19  pointerUnion.ucp += offset;
20  return std::unique_ptr<T>(pointerUnion.tp);
21  }
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; }
template<class T , std::size_t N>
std::array<T, N> edm::getFixedSizeArray ( ParameterSet const &  pset,
std::string const &  name 
)

Definition at line 16 of file getFixedSizeArray.h.

References a, edm::errors::Configuration, Exception, edm::ParameterSet::getParameter(), N, and dataset::name.

16  {
17  std::vector<T> vec = pset.getParameter<std::vector<T>>(name);
18  if (vec.size() != N) {
20  << "The parameter '" << name << "' should have " << N << " elements, but has " << vec.size()
21  << " elements in the configuration.\n";
22  }
23  std::array<T, N> a{};
24  std::copy_n(vec.begin(), N, a.begin());
25  return a;
26  }
#define N
Definition: blowfish.cc:9
double a
Definition: hdecay.h:121
MallocOptionSetter & edm::getGlobalOptionSetter ( )

Definition at line 196 of file MallocOpts.cc.

References global_malloc_options.

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

196 { return global_malloc_options; }
MallocOptionSetter global_malloc_options
Definition: MallocOpts.cc:194
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)
ParameterSet const * edm::getProducerParameterSet ( Provenance const &  provenance)

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, edm::Provenance::processHistoryPtr(), 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  ProcessHistory const* processHistory = provenance.processHistoryPtr();
23 
24  if (processHistory) {
25  for (ProcessConfiguration const& pc : *processHistory) {
26  if (pc.processName() == process) {
27  ParameterSetID const& psetID = pc.parameterSetID();
28  pset::Registry const* psetRegistry = pset::Registry::instance();
29  ParameterSet const* processPset = psetRegistry->getMapped(psetID);
30  if (processPset) {
31  return &processPset->getParameterSet(label);
32  }
33  }
34  }
35  }
36  }
37  // This should never happen
38  throw cms::Exception("LogicError") << "getProducerParameterSet failed";
39  return nullptr;
40  }
static PFTauRenderPlugin instance
char const * label
Hash< ParameterSetType > ParameterSetID
template<typename T >
T const* edm::getProduct ( RefCore const &  ref)
inline

Definition at line 41 of file RefCoreGet.h.

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

41  {
42  T const* p = static_cast<T const*>(ref.productPtr());
43  if (p != nullptr) return p;
44  if (ref.isTransient()) {
45  ref.nullPointerForTransientException(typeid(T));
46  }
47  auto productGetter = ref.productGetter();
48  if(nullptr == productGetter) {
49  p =static_cast<T const*>(ref.productPtr());
50  if(p != nullptr) {
51  //another thread updated the value since we checked
52  return p;
53  }
54  }
55  return refcore::getProduct_<T>(ref, productGetter);
56  }
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 293 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().

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

Definition at line 78 of file RefCoreGet.h.

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

78  {
79  if (ref.isTransient()) {
80  ref.nullPointerForTransientException(typeid(T));
81  }
82  return refcore::getProductWithCoreFromRef_<T>(ref, prodGetter);
83  }
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
Definition: config.py:1
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)
TClass* edm::getTClass ( std::type_info const &  ti)

Definition at line 63 of file ClassFiller.cc.

References edm::TypeID::className().

63  {
64  TypeID const type(ti);
65  return getRootClass(type.className());
66  }
type
Definition: HCALResponse.h:21
template<typename T >
T const* edm::getThinnedProduct ( RefCore const &  ref,
unsigned int &  thinnedKey,
EDProductGetter const *  prodGetter 
)
inline

Definition at line 129 of file RefCoreGet.h.

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

Referenced by edm::Principal::applyToResolvers(), fwlite::ChainEvent::event(), fwlite::Event::getTFile(), and fwlite::MultiChainEvent::secondary().

129  {
130  // The pointer to a thinned collection will never be cached
131  // T const* p = static_cast<T const*>(ref.productPtr());
132  // if (p != 0) return p;
133 
134  if (ref.isTransient()) {
135  ref.nullPointerForTransientException(typeid(T));
136  }
137  return refcore::getThinnedProduct_<T>(ref, thinnedKey, prodGetter);
138  }
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:224
std::unique_ptr<WrapperBase> edm::getWrapperBasePtr ( void *  p,
int  offset 
)
inline
std::string edm::glob2reg ( std::string const &  pattern)
void edm::GroupLogStatistics ( std::string const &  category)

Definition at line 111 of file MessageLogger.cc.

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

Referenced by edm::Suppress_LogDebug_::log().

111  {
112  std::string* cat_p = new std::string(category);
113  edm::MessageLoggerQ::MLqGRP(cat_p); // Indicate a group summary category
114  // Note that the scribe will be responsible for deleting cat_p
115  }
static void MLqGRP(std::string *cat_p)
void edm::HaltMessageLogging ( )

Definition at line 90 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSHT().

Referenced by edm::Suppress_LogDebug_::log().

90  {
91  edm::MessageLoggerQ::MLqSHT(); // Shut the logger up
92  }
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(), edm::service::InitRootHandlers::InitRootHandlers(), and edm::TypeWithDict::unvalidatedTypeInfo().

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  }
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 
)

Definition at line 15 of file insertSelectedProcesses.cc.

References edm::BranchDescription::branchType(), edm::TypeWithDict::byName(), edm::TypeWithDict::getClass(), InRun, PFRecoTauDiscriminationByIsolation_cfi::offset, AlCaHLTBitMon_ParallelJobs::p, edm::BranchDescription::processName(), edm::BranchDescription::produced(), and edm::BranchDescription::wrappedType().

Referenced by edm::OutputModule::selectProducts(), edm::global::OutputModuleBase::selectProducts(), edm::limited::OutputModuleBase::selectProducts(), and edm::one::OutputModuleBase::selectProducts().

15  {
16  // Select input processes in which mergeable run products were produced
17  if (desc.branchType() == InRun && !desc.produced()) {
18  // Determine if the product is "mergeable"
19  TClass* tClass = desc.wrappedType().getClass();
20  void* p = tClass->New();
21  TClass* wrapperBaseTClass = TypeWithDict::byName("edm::WrapperBase").getClass();
22  int offset = tClass->GetBaseClassOffset(wrapperBaseTClass);
23  std::unique_ptr<WrapperBase> edp = getAnyPtr<WrapperBase>(p, offset);
24  if (edp->isMergeable()) {
25  // record the process names in a set (which is ordered and unique)
26  processes.insert(desc.processName());
27  }
28  }
29  }
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)
void reenableSigs(sigset_t *oldset)
void disableRTSigs()
void edm::installSig ( int  signum,
CFUNC  func 
)

Definition at line 105 of file UnixSignalHandlers.cc.

References patCandidates_cff::func, and MUST_BE_ZERO.

Referenced by installCustomHandler().

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

Definition at line 61 of file ProcessHistory.cc.

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

Referenced by isDescendant(), and operator!=().

61  {
62  if (a.size() >= b.size()) return false;
63  typedef ProcessHistory::collection_type::const_iterator const_iterator;
64  for (const_iterator itA = a.data().begin(), itB = b.data().begin(),
65  itAEnd = a.data().end(); itA != itAEnd; ++itA, ++itB) {
66  if (*itA != *itB) return false;
67  }
68  return true;
69  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::isDebugEnabled ( )

Definition at line 71 of file MessageLogger.cc.

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

Referenced by SiStripQualityHotStripIdentifier::algoAnalyze(), FedChannelConnection::apvPairNumber(), L1GtTriggerMenuLiteProducer::beginRunProduce(), CommissioningHistosUsingDb::buildDetInfo(), JetPlusTrackCorrector::calculateCorr(), SiStripEventSummary::commissioningInfo(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::SpyUnpacker::createDigis(), sistrip::DigiToRaw::createFedBuffers_(), sistrip::DigiToRaw::DigiToRaw(), sistrip::DigiToRawModule::DigiToRawModule(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), sistrip::SpyUtilities::extractFrameInfo(), BSCTrigger::getBSCNum(), sistrip::RawToDigiUnpacker::handleException(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonL1RegionalFilter::hltFilter(), HLTMuonL1TFilter::hltFilter(), HLTMuonL1TRegionalFilter::hltFilter(), HLTMuonL2FromL1TPreFilter::hltFilter(), HLTMuonL2PreFilter::hltFilter(), HLTMuonL1Filter::hltFilter(), HLTMuonL1Filter::HLTMuonL1Filter(), 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(), edm::Suppress_LogDebug_::log(), jpt::Map::Map(), JetPlusTrackCorrector::matchTracks(), L1GtParametersConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::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::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(), SiStripClusterizerFromRaw::run(), 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(), ApvTimingHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedestalsHistosUsingDb::update(), DaqScopeModeHistosUsingDb::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().

71  {
72  return ((!edm::MessageDrop::debugAlwaysSuppressed) // 9/27/10 mf
73  && edm::MessageDrop::instance()->debugEnabled);
74  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
static bool debugAlwaysSuppressed
Definition: MessageDrop.h:109
bool edm::isDescendant ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 117 of file ProcessHistory.h.

References isAncestor(), and operator<<().

117  {
118  return isAncestor(b, a);
119  }
bool isAncestor(ProcessHistory const &a, ProcessHistory const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
constexpr bool edm::isEndTransition ( Transition  iValue)

Definition at line 25 of file Transition.h.

References EndLuminosityBlock, EndRun, and or.

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

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

Definition at line 86 of file MessageLogger.cc.

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

86  {
87  return edm::MessageDrop::instance()->errorEnabled; // 7/6/11 fwyzard
88  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
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 edmIntegrityCheck::d, checklumidiff::l, RecoTauDiscriminantConfiguration::mask, 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  }
template<>
constexpr bool edm::isFinite ( double  x)

Definition at line 24 of file isFinite.h.

References edmIntegrityCheck::d, checklumidiff::l, RecoTauDiscriminantConfiguration::mask, 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  }
template<>
constexpr bool edm::isFinite ( long double  x)

Definition at line 34 of file isFinite.h.

References isFinite(), and geometryCSVtoXML::xx.

34  {
35  double xx = x;
36  return isFinite(xx);
37  }
constexpr bool isFinite(long double x)
Definition: isFinite.h:34
bool edm::isInfoEnabled ( )

Definition at line 76 of file MessageLogger.cc.

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

Referenced by edm::InputSource::issueReports(), and edm::Suppress_LogDebug_::log().

76  {
77  return ((!edm::MessageDrop::infoAlwaysSuppressed) // 9/27/10 mf
78  && edm::MessageDrop::instance()->infoEnabled);
79  }
static MessageDrop * instance()
Definition: MessageDrop.cc:59
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:110
bool edm::isMessageProcessingSetUp ( )

Definition at line 104 of file MessageLogger.cc.

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

Referenced by edm::Suppress_LogDebug_::log().

104  { // 6/20/08 mf
105  // std::cerr << "isMessageProcessingSetUp: \n";
106  // std::cerr << "messageLoggerScribeIsRunning = "
107  // << (int)MessageDrop::instance()->messageLoggerScribeIsRunning << "\n";
108  return (MessageDrop::instance()->messageLoggerScribeIsRunning == MLSCRIBE_RUNNING_INDICATOR);
109  }
static PFTauRenderPlugin instance
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:119
bool edm::isnan ( float  f)
inline

Definition at line 69 of file math.h.

References edm::detail::isnan().

69 { return detail::isnan(f); }
bool isnan(long double q)
Definition: math.h:73
double f[11][100]
bool edm::isnan ( double  d)
inline

Definition at line 71 of file math.h.

References equal_isnan().

71 { return equal_isnan(d); }
bool equal_isnan(FP x)
Definition: math.h:61
bool edm::isnan ( long double  q)
inline

Definition at line 73 of file math.h.

References edm::detail::isnan().

73 { return detail::isnan(q); }
bool isnan(long double q)
Definition: math.h:73
template<typename T >
constexpr bool edm::isNotFinite ( T  x)

Definition at line 9 of file isFinite.h.

References isFinite().

Referenced by EBHitResponse::add(), 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(), GsfElectronAlgo::calculateShowerShape(), GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), PhotonEnergyCalibrator::calibrate(), ElectronEnergyCalibrator::calibrate(), PrimaryVertexAssignment::chargedHadronVertex(), DeepTauId::checkInputs(), TwoBodyDecayEstimator::checkValues(), 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(), ElectronSeedProducer::filterClusters(), DivisiveVertexFinder::findVertexes(), DivisiveVertexFinder::findVertexesAlt(), BSFitter::Fit(), KFTrajectoryFitter::fitOne(), FitterFuncs::PulseShapeFunctor::funcShape(), SCEnergyCorrectorSemiParm::getCorrections(), SequentialVertexFitter< 5 >::hasNan(), ConversionFastHelix::helixStateAtVertex(), CAHitTripletGenerator::hitNtuplets(), CAHitQuadrupletGenerator::hitNtuplets(), MultiHitGeneratorFromChi2::hitSets(), cms::SubEventGenJetProducer::inputTowers(), VirtualJetProducer::inputTowers(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::inspectTrack(), GlobalTrackQualityProducer::kink(), fftjetcms::FFTJetInterface::loadInputCollection(), OptOCOPS::makeMeasurement(), Vx3DHLTAnalyzer::MyFit(), SensitiveDetector::NaNTrap(), CaloSteppingAction::NaNTrap(), reco::InverseCrosstalkMatrix::operator()(), TtHadLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::PerformAnalyticFit(), ElectronIDValueMapProducer::produce(), pat::PATPhotonSlimmer::produce(), ShiftedParticleProducer::produce(), ShiftedParticleProducerT< T >::produce(), PhotonIDValueMapProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), IMACalibBlock::riempiMtr(), IMACalibBlock::riempiVtr(), EBHitResponse::run(), EcalHitResponse::run(), PVFitter::runFitter(), PrimaryVertexSorting::score(), 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(), DeterministicAnnealing::weight(), GeometricAnnealing::weight(), and VirtualJetProducer::writeJets().

9  {
10  return !isFinite(x);
11  }
constexpr bool isFinite(long double x)
Definition: isFinite.h:34
bool edm::isSameEvent ( EventAuxiliary const &  a,
EventAuxiliary const &  b 
)

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

17  {
18  return
19  a.id() == b.id() &&
20  a.processGUID() == b.processGUID() &&
21  a.luminosityBlock() == b.luminosityBlock() &&
22  a.time() == b.time() &&
23  a.isRealData() == b.isRealData() &&
24  a.experimentType() == b.experimentType() &&
25  a.bunchCrossing() == b.bunchCrossing() &&
26  a.storeNumber() == b.storeNumber();
27  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::isSameEvent ( EventPrincipal const &  a,
EventPrincipal const &  b 
)
inline

Definition at line 180 of file EventPrincipal.h.

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

180 { return isSameEvent(a.aux(), b.aux()); }
bool isSameEvent(EventPrincipal const &a, EventPrincipal const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C , typename KEY >
bool edm::isThinnedAvailable ( RefCore const &  product,
KEY const &  iKey 
)
inline

Definition at line 119 of file RefItemGet.h.

References edm::refitem::IsThinnedAvailableImpl< C, KEY >::isThinnedAvailable_().

119  {
120  return refitem::IsThinnedAvailableImpl<C, KEY>::isThinnedAvailable_(product, iKey);
121  }
bool edm::isTransientEqual ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 770 of file ParameterSet.cc.

References MillePedeFileConverter_cfg::e, f, mps_fire::i, gen::k, Pi, edm::ParameterSet::psetTable(), edm::ParameterSet::tbl(), and edm::ParameterSet::vpsetTable().

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

770  {
771  if (a.tbl().size() != b.tbl().size()) {
772  return false;
773  }
774  if (a.psetTable().size() != b.psetTable().size()) {
775  return false;
776  }
777  if (a.vpsetTable().size() != b.vpsetTable().size()) {
778  return false;
779  }
780  typedef ParameterSet::table::const_iterator Ti;
781  for (Ti i = a.tbl().begin(), e = a.tbl().end(), j = b.tbl().begin(), f = b.tbl().end(); i != e && j != f;
782  ++i, ++j) {
783  if (*i != *j) {
784  return false;
785  }
786  }
787  typedef ParameterSet::psettable::const_iterator Pi;
788  for (Pi i = a.psetTable().begin(), e = a.psetTable().end(), j = b.psetTable().begin(), f = b.psetTable().end();
789  i != e && j != f;
790  ++i, ++j) {
791  if (i->first != j->first) {
792  return false;
793  }
794  if (i->second.isTracked() != j->second.isTracked()) {
795  return false;
796  }
797  if (!isTransientEqual(i->second.pset(), j->second.pset())) {
798  return false;
799  }
800  }
801  typedef ParameterSet::vpsettable::const_iterator PVi;
802  for (PVi i = a.vpsetTable().begin(), e = a.vpsetTable().end(), j = b.vpsetTable().begin(), f = b.vpsetTable().end();
803  i != e && j != f;
804  ++i, ++j) {
805  if (i->first != j->first) {
806  return false;
807  }
808  if (i->second.isTracked() != j->second.isTracked()) {
809  return false;
810  }
811  std::vector<ParameterSet> const& iv = i->second.vpset();
812  std::vector<ParameterSet> const& jv = j->second.vpset();
813  if (iv.size() != jv.size()) {
814  return false;
815  }
816  for (size_t k = 0; k < iv.size(); ++k) {
817  if (!isTransientEqual(iv[k], jv[k])) {
818  return false;
819  }
820  }
821  }
822  return true;
823  }
const double Pi
double f[11][100]
int k[5][pyjets_maxn]
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 297 of file Trie.h.

References MillePedeFileConverter_cfg::e, label, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

297  {
298  typedef TrieNodeIter<T> node_iterator;
299  node_iterator e;
300  node_iterator p(&n);
301  if (p==e) return true;
302  for (; p!=e; ++p) {
303  if (iterateTrieLeaves(v,*p,label+(char)p.label()) )
304  v((*p).value(),label+(char)p.label());
305  }
306  return false;
307  }
bool iterateTrieLeaves(V &v, TrieNode< T > const &n, std::string const &label="")
visits only leaf nodes
Definition: Trie.h:297
char const * label
static const std::string edm::kBaseType ( "EDProducer"  )
static
static const std::string edm::kBaseType ( "EDFilter"  )
static
static std::string const edm::kBaseType ( "Source"  )
static
static const std::string edm::kBaseType ( "EDAnalyzer"  )
static
static const std::string edm::kBaseType ( "OutputModule"  )
static
bool edm::lessThan ( LuminosityBlockRange const &  lh,
LuminosityBlockRange const &  rh 
)

Definition at line 70 of file LuminosityBlockRange.cc.

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

70  {
71  return lh.endLumiID() < rh.startLumiID();
72  }
bool int lh
Definition: SIMDVec.h:21
bool edm::lessThan ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 67 of file EventRange.cc.

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

Referenced by distinct(), edm::EventSkipperByID::skipIt(), and DQMRootSource::skipIt().

67  {
68  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
69  return lh.endEventID() < rh.startEventID();
70  }
bool int lh
Definition: SIMDVec.h:21
bool edm::lessThanSpecial ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 59 of file EventRange.cc.

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

Referenced by edm::EventSkipperByID::skipIt().

59  {
60  // First, separate the ranges so that those with 0 lumiID go first.
61  if ((lh.startLumi() == 0) != (rh.startLumi() == 0)) {
62  return lh.startLumi() == 0;
63  }
64  return lh.endEventID() < rh.startEventID();
65  }
bool int lh
Definition: SIMDVec.h:21
bool edm::loadCap ( std::string const &  name,
std::vector< std::string > &  missingDictionaries 
)

Definition at line 16 of file ClassFiller.cc.

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

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

Definition at line 33 of file ClassFiller.cc.

References edm::errors::Configuration, Exception, loadCap(), dataset::name, 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(std::string const &name, std::vector< std::string > &missingDictionaries)
Definition: ClassFiller.cc:16
static ELmap const& edm::loadMap ( )
static

Definition at line 57 of file ELseverityLevel.cc.

References ELdebug, ELerror, ELhighestSeverity, ELinfo, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_highestSeverity, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_severe, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_unspecified, edm::ELseverityLevel::ELsev_warning, edm::ELseverityLevel::ELsev_zeroSeverity, ELsevere, ELunspecified, ELwarning, ELzeroSeverity, and funct::m.

Referenced by edm::ELseverityLevel::ELseverityLevel(), and TkHistoMap::loadTkHistoMap().

57  {
58  static const ELmap m = {{ELzeroSeverity.getSymbol(), ELseverityLevel::ELsev_zeroSeverity},
59  {ELzeroSeverity.getName(), ELseverityLevel::ELsev_zeroSeverity},
60  {ELzeroSeverity.getInputStr(), ELseverityLevel::ELsev_zeroSeverity},
61  {ELzeroSeverity.getVarName(), ELseverityLevel::ELsev_zeroSeverity},
62  {ELdebug.getSymbol(), ELseverityLevel::ELsev_success},
63  {ELdebug.getName(), ELseverityLevel::ELsev_success},
64  {ELdebug.getInputStr(), ELseverityLevel::ELsev_success},
65  {ELdebug.getVarName(), ELseverityLevel::ELsev_success},
66  {ELinfo.getSymbol(), ELseverityLevel::ELsev_info},
67  {ELinfo.getName(), ELseverityLevel::ELsev_info},
68  {ELinfo.getInputStr(), ELseverityLevel::ELsev_info},
69  {ELinfo.getVarName(), ELseverityLevel::ELsev_info},
70  {ELwarning.getSymbol(), ELseverityLevel::ELsev_warning},
71  {ELwarning.getName(), ELseverityLevel::ELsev_warning},
72  {ELwarning.getInputStr(), ELseverityLevel::ELsev_warning},
73  {ELwarning.getVarName(), ELseverityLevel::ELsev_warning},
74  {ELerror.getSymbol(), ELseverityLevel::ELsev_error},
75  {ELerror.getName(), ELseverityLevel::ELsev_error},
76  {ELerror.getInputStr(), ELseverityLevel::ELsev_error},
77  {ELerror.getVarName(), ELseverityLevel::ELsev_error},
78  {ELunspecified.getSymbol(), ELseverityLevel::ELsev_unspecified},
79  {ELunspecified.getName(), ELseverityLevel::ELsev_unspecified},
80  {ELunspecified.getInputStr(), ELseverityLevel::ELsev_unspecified},
81  {ELunspecified.getVarName(), ELseverityLevel::ELsev_unspecified},
82  {ELsevere.getSymbol(), ELseverityLevel::ELsev_severe},
83  {ELsevere.getName(), ELseverityLevel::ELsev_severe},
84  {ELsevere.getInputStr(), ELseverityLevel::ELsev_severe},
85  {ELsevere.getVarName(), ELseverityLevel::ELsev_severe},
86  {ELhighestSeverity.getSymbol(), ELseverityLevel::ELsev_highestSeverity},
87  {ELhighestSeverity.getName(), ELseverityLevel::ELsev_highestSeverity},
88  {ELhighestSeverity.getInputStr(), ELseverityLevel::ELsev_highestSeverity},
89  {ELhighestSeverity.getVarName(), ELseverityLevel::ELsev_highestSeverity}};
90 
91  return m;
92  }
ELslProxy< ELdebugGen > const ELdebug
std::map< ELstring const, ELseverityLevel::ELsev_ > ELmap
ELslProxy< ELunspecifiedGen > const ELunspecified
ELslProxy< ELwarningGen > const ELwarning
ELslProxy< ELhighestSeverityGen > const ELhighestSeverity
ELslProxy< ELzeroSeverityGen > const ELzeroSeverity
ELslProxy< ELerrorGen > const ELerror
ELslProxy< ELinfoGen > const ELinfo
ELslProxy< ELsevereGen > const ELsevere
std::vector< ErrorSummaryEntry > edm::LoggedErrorsOnlySummary ( unsigned int  iStreamID)

Definition at line 187 of file MessageSender.cc.

References MillePedeFileConverter_cfg::e, ELerror, end, errorSummaryMaps, mps_fire::i, crabWrapper::key, and findQualityFiles::v.

187  { // ChangeLog 2
188  std::vector<ErrorSummaryEntry> v;
189  assert(iStreamID < errorSummaryMaps.size());
190  auto const& errorSummaryMap = errorSummaryMaps[iStreamID];
191  auto end = errorSummaryMap.end();
192  for (auto i = errorSummaryMap.begin(); i != end; ++i) {
193  auto const& key = i->first;
194  if (key.severity >= edm::ELerror) {
195  ErrorSummaryEntry e{key.category, key.module, key.severity};
196  e.count = i->second.value().load(std::memory_order_acquire);
197  v.push_back(e);
198  }
199  }
200  std::sort(v.begin(), v.end());
201  return v;
202  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
ELslProxy< ELerrorGen > const ELerror
#define end
Definition: vmac.h:39
std::vector< ErrorSummaryEntry > edm::LoggedErrorsSummary ( unsigned int  iStreamID)

Definition at line 164 of file MessageSender.cc.

References MillePedeFileConverter_cfg::e, end, errorSummaryMaps, mps_fire::i, crabWrapper::key, and findQualityFiles::v.

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

164  {
165  assert(iStreamID < errorSummaryMaps.size());
166  auto const& errorSummaryMap = errorSummaryMaps[iStreamID];
167  std::vector<ErrorSummaryEntry> v;
168  auto end = errorSummaryMap.end();
169  for (auto i = errorSummaryMap.begin(); i != end; ++i) {
170  auto const& key = i->first;
171  ErrorSummaryEntry e{key.category, key.module, key.severity};
172 
173  e.count = i->second.value().load(std::memory_order_acquire);
174  v.push_back(e);
175  }
176  std::sort(v.begin(), v.end());
177  return v;
178  }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
#define end
Definition: vmac.h:39
void edm::LogStatistics ( )

Definition at line 67 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSUM().

67  {
68  edm::MessageLoggerQ::MLqSUM(); // trigger summary info
69  }
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  }
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 edmIntegrityCheck::d.

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

69  {
70  return std::lower_bound(s.begin(), s.end(), d);
71  }
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 edmIntegrityCheck::d.

74  {
75  return std::lower_bound(s.begin(), s.end(), d);
76  }
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 edmIntegrityCheck::d, and AlCaHLTBitMon_ParallelJobs::p.

81  {
82  return std::lower_bound(s.begin(), s.end(), d, p);
83  }
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 edmIntegrityCheck::d, and AlCaHLTBitMon_ParallelJobs::p.

86  {
87  return std::lower_bound(s.begin(), s.end(), d, p);
88  }
std::unique_ptr<edm::EmptyWaitingTask, waitingtask::TaskDestroyer> edm::make_empty_waiting_task ( )
inline
template<typename ALLOC , typename F >
FunctorTask<F>* edm::make_functor_task ( ALLOC &&  iAlloc,
F  f 
)
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::InputProductResolver::resolveProduct_(), edm::UnscheduledProductResolver::resolveProduct_(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), 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 ALLOC , typename F >
FunctorWaitingTask<F>* edm::make_waiting_task ( ALLOC &&  iAlloc,
F  f 
)
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 231 of file AssociativeIterator.h.

References genParticles_cff::map.

231  {
233  return AssociativeIterator<KeyRefType, AC, Getter >(map, Getter{event});
234  }
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)

Definition at line 41 of file FunctorESHandleExceptionFactory.h.

References eostools::move().

Referenced by edm::eventsetup::EventSetupRecordImpl::getImplementation(), edm::eventsetup::EventSetupRecord::invalidTokenHandle(), and edm::eventsetup::EventSetupRecord::noProxyHandle().

41  {
42  return std::make_shared<FunctorESHandleExceptionFactory<T>>(std::move(iFunctor));
43  }
def move(src, dest)
Definition: eostools.py:511
template<typename U >
auto edm::makeESValid ( const U &  iOtherHandleType)
noexcept

Take a handle (e.g. edm::ESHandle<T>) and create a edm::ESValidHandle<T>. If the argument is an invalid handle, an exception will be thrown.

Definition at line 68 of file ESValidHandle.h.

References edm::esvhhelper::throwIfNotValid().

68  {
69  esvhhelper::throwIfNotValid(iOtherHandleType.product());
70  //because of the check, we know this is valid and do not have to check again
71  return ESValidHandle<typename U::value_type>(*iOtherHandleType.product(), iOtherHandleType.description());
72  }
void throwIfNotValid(const void *) noexcept(false)
Definition: ESValidHandle.cc:5
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< ThinnedAssociationsHelper thinnedAssociationsHelper,
std::shared_ptr< ActivityRegistry areg,
std::shared_ptr< ProcessConfiguration const >  processConfiguration,
PreallocationConfiguration const &  allocations 
)

Definition at line 115 of file EventProcessor.cc.

References cms::Exception::addContext(), edm::errors::Configuration, beamerCreator::create(), Exception, objects.autophobj::filler, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), edm::ParameterSet::id(), input, edm::CommonParams::maxEventsInput_, edm::CommonParams::maxLumisInput_, edm::CommonParams::maxSecondsUntilRampdown_, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::convertException::wrap().

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

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

Referenced by makeParameterSets().

19  {
21 }
Definition: main.py:1
void makeParameterSets(std::string const &configtext, std::unique_ptr< ParameterSet > &main)
essentially the same as the previous method
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 476 of file DetSetVector.h.

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

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

478  {
479  typedef typename HandleT::element_type Vec;
481  typename Vec::const_iterator itFound = iHandle->find(iDetID);
482  if(itFound == iHandle->end()) {
483  Exception::throwThis(errors::InvalidReference,
484  "an edm::Ref to an edm::DetSetVector was given a DetId, ", iDetID, ", that is not in the DetSetVector");
485  }
486  index += (itIter- itFound->data.begin());
487  if(index >= itFound->data.size()) {
488  Exception::throwThis(errors::InvalidReference,
489  "an edm::Ref to a edm::DetSetVector is being made with an interator that is not part of the edm::DetSet itself");
490  }
491  return Ref<typename HandleT::element_type,
493  (iHandle,std::make_pair(iDetID,index));
494  }
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 315 of file DetSetRefVector.h.

Referenced by makeRefToDetSetRefVector().

317  {
318  typedef typename HandleT::element_type Vec;
320  typename Vec::const_iterator itFound = iHandle->find(iDetID);
321  index += (itIter- itFound->data.begin());
322  return Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> (iHandle,std::make_pair(iDetID,index));
323  }
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 327 of file DetSetRefVector.h.

References makeRefToDetSetRefVector().

329  {
330  typedef typename HandleT::element_type Vec;
331  typename Vec::detset::const_iterator itIter2 = itIter;
332  return makeRefToDetSetRefVector(iHandle,iDetID,itIter2);
333  }
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> edm::makeRefToDetSetVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::iterator  itIter 
)
inline

Definition at line 499 of file DetSetVector.h.

References makeRefTo().

501  {
502  typedef typename HandleT::element_type Vec;
503  typename Vec::detset::const_iterator itIter2 = itIter;
504  return makeRefTo(iHandle,iDetID,itIter2);
505  }
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:476
std::unique_ptr< RunHelperBase > edm::makeRunHelper ( ParameterSet const &  pset)

Definition at line 12 of file RunHelper.cc.

References edm::ParameterSet::exists(), edm::ParameterSet::getUntrackedParameter(), muonDTDigis_cfi::pset, writedatasetfile::run, writedatasetfile::runs, and mitigatedMETSequence_cff::U.

12  {
13  if (pset.exists("setRunNumber")) {
14  RunNumber_t run = pset.getUntrackedParameter<unsigned int>("setRunNumber");
15  if (run != 0U) {
16  return std::make_unique<SetRunHelper>(pset);
17  }
18  }
19  if (pset.exists("setRunNumberForEachLumi")) {
20  std::vector<RunNumber_t> runs = pset.getUntrackedParameter<std::vector<unsigned int> >("setRunNumberForEachLumi");
21  if (!runs.empty()) {
22  return std::make_unique<SetRunForEachLumiHelper>(pset);
23  }
24  }
25  return std::make_unique<DefaultRunHelper>();
26  }
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 59 of file ValidHandle.h.

References edm::vhhelper::throwIfNotValid().

Referenced by EtlDigiHitsValidation::analyze(), EtlRecHitsValidation::analyze(), BtlDigiHitsValidation::analyze(), BtlRecHitsValidation::analyze(), EtlSimHitsValidation::analyze(), BtlSimHitsValidation::analyze(), and LowPtGsfElectronSCProducer::produce().

59  {
60  vhhelper::throwIfNotValid(iOtherHandleType.product());
61  //because of the check, we know this is valid and do not have to check again
62  return ValidHandle<typename U::element_type>(*iOtherHandleType.product(), iOtherHandleType.id());
63  }
void throwIfNotValid(const void *) noexcept(false)
Definition: ValidHandle.cc:6
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()(), edm::IDVectorMap< ID, C, P >::match_iterator< M >::operator++(), operator<<(), edm::IDVectorMap< ID, C, P >::match_iterator< M >::operator=(), HLTTauRefCombiner::produce(), GlobalCosmicMuonTrajectoryBuilder::propagator(), CosmicMuonLinksProducer::sharedHits(), edm::ThinnedAssociationsHelper::shouldKeepAssociation(), SiStripRecHitConverterAlgorithm::products::shrink_to_fit(), edm::PoolOutputModule::SpecialSplitLevelForBranch::SpecialSplitLevelForBranch(), and edm::detail::TriggerResultsBasedEventSelector::wantEvent().

352  {
353  std::ostringstream differences;
354  if(a.branchName() != b.branchName()) {
355  differences << "Branch name '" << b.branchName() << "' does not match '" << a.branchName() << "'.\n";
356  // Need not compare components of branch name individually.
357  // (a.friendlyClassName() != b.friendlyClassName())
358  // (a.moduleLabel() != b.moduleLabel())
359  // (a.productInstanceName() != b.productInstanceName())
360  // (a.processName() != b.processName())
361  }
362  if(a.branchType() != b.branchType()) {
363  differences << "Branch '" << b.branchName() << "' is a(n) '" << b.branchType() << "' branch\n";
364  differences << " in file '" << fileName << "', but a(n) '" << a.branchType() << "' 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 '" << fileName << "'.\n";
376  }
377  return differences.str();
378  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
LuminosityBlockID const& edm::max ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 135 of file LuminosityBlockID.h.

135  {
136  return (rh < lh ? lh : rh);
137  }
bool int lh
Definition: SIMDVec.h:21
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 78 of file LuminosityBlockRange.cc.

References begin, end, edm::LuminosityBlockRange::endLumiID(), mathSSE::lh, edm::LuminosityBlockRange::LuminosityBlockRange(), max(), min(), overlaps(), edm::LuminosityBlockRange::startLumi(), and edm::LuminosityBlockRange::startLumiID().

Referenced by sortAndRemoveOverlaps().

78  {
79  if (overlaps(lh, rh)) {
80  LuminosityBlockID begin = min(lh.startLumiID(), rh.startLumiID());
81  LuminosityBlockID end = max(lh.endLumiID(), rh.endLumiID());
82  rh = lh = LuminosityBlockRange(begin, end);
83  return true;
84  }
85  return false;
86  }
#define end
Definition: vmac.h:39
T min(T a, T b)
Definition: MathUtil.h:58
#define begin
Definition: vmac.h:32
LuminosityBlockID const& edm::min ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 130 of file LuminosityBlockID.h.

130  {
131  return (rh < lh ? rh : lh);
132  }
bool int lh
Definition: SIMDVec.h:21
EventID const& edm::min ( EventID const &  lh,
EventID const &  rh 
)
inline
std::string edm::moduleName ( Provenance const &  provenance)

Definition at line 27 of file Provenance.cc.

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

Referenced by algorithm(), HLTObjectsMonitor::analyze(), TopDecaySubset::checkShowerModel(), edm::DaqProvenanceHelper::DaqProvenanceHelper(), HeavyFlavorValidation::dqmBeginRun(), edm::LHEProvenanceHelper::fillCommonProcessParameterSet(), pos::PixelDelay25Calib::getCommands(), egHLT::trigTools::getL1SeedFilterOfPath(), pos::PixelPortcardMap::getName(), HLTObjectMonitor::HLTObjectMonitor(), HLTObjectMonitorProtonLead::HLTObjectMonitorProtonLead(), edm::service::isProcessWideService(), HeavyFlavorValidation::myBook1D(), pos::PixelPortcardMap::numChannels(), AlignableTrackerBuilder::objectIdProvider(), OniaVtxReProducer::OniaVtxReProducer(), PixelToFEDAssociateFromAscii::operator()(), pos::PixelDetectorConfig::PixelDetectorConfig(), 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).getParameter<std::string>("@module_type");
33  }
T getParameter(std::string const &) const
static std::string const triggerResultsInserter("TriggerResultsInserter")
static std::string const triggerResults
Definition: EdmProvDump.cc:45
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11
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 70 of file EDProductGetter.cc.

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

Referenced by edm::EDProductGetter::transitionIndex().

70  {
71  if (prodGetter != nullptr) return prodGetter;
72  throw Exception(errors::InvalidReference, refType)
73  << "Attempt to construct a " << refType << " with ProductID " << productID << "\n"
74  << "but with a null pointer to a product getter.\n"
75  << "The product getter pointer passed to the constructor must refer\n"
76  << "to a real getter, such as an EventPrincipal.\n";
77  }
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
Long64_t edm::numEntries ( TFile *  hdl,
const std::string &  trname 
)
Long64_t edm::numEntries ( TFile *  hdl,
std::string const &  trname 
)

Definition at line 50 of file CollUtil.cc.

References MicroEventContent_cff::branch, gather_cfg::cout, mps_fire::i, and findQualityFiles::size.

Referenced by reco::tau::format_vint(), format_vstring(), edm::RootFile::readEntryDescriptionTree(), edm::RootFile::readParentageTree(), ProvenanceDumper::work_(), and RecoTauCleanerImpl< Prod >::~RecoTauCleanerImpl().

50  {
51  TTree *tree = (TTree *)hdl->Get(trname.c_str());
52  if (tree) {
53  return tree->GetEntries();
54  } else {
55  std::cout << "ERR cannot find a TTree named \"" << trname << "\"" << std::endl;
56  return -1;
57  }
58  }
Definition: tree.py:1
TFile* edm::openFileHdl ( const std::string &  fname)
TFile* edm::openFileHdl ( std::string const &  fname)

Definition at line 24 of file CollUtil.cc.

References gather_cfg::cout, and cmsRelvalreport::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
bool edm::operator!= ( FileID const &  lh,
FileID const &  rh 
)
inline

Definition at line 28 of file FileID.h.

References operator<<().

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

Definition at line 47 of file RunLumiEntryInfo.h.

References b.

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

Definition at line 48 of file ElementID.h.

References mathSSE::lh, operator<(), and operator<<().

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

Definition at line 55 of file TypeID.h.

References b, and operator<<().

55 { return !(a == b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator!= ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 56 of file EventEntryInfo.h.

References b.

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

Definition at line 58 of file ProductID.h.

References mathSSE::lh, operator<(), and operator<<().

58  {
59  return !(lh == rh);
60  }
bool int lh
Definition: SIMDVec.h:21
bool edm::operator!= ( EventEntryDescription const &  a,
EventEntryDescription const &  b 
)
inline

Definition at line 60 of file EventEntryDescription.h.

References b.

60 { return !(a==b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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:120
bool edm::operator!= ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 66 of file BranchKey.h.

References b, and operator<<().

66  {
67  return !(a == b);
68  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator!= ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 66 of file ProductProvenance.h.

References b.

66 { return !(a == b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class X , class Y >
bool edm::operator!= ( debugging_allocator< X > const &  ,
debugging_allocator< Y > const &   
)
noexcept

Definition at line 75 of file debugging_allocator.h.

Referenced by edm::IndexIntoFile::SortedRunOrLumiItr::runOrLumi().

75 { return false; }
bool edm::operator!= ( Parentage const &  a,
Parentage const &  b 
)
inline

Definition at line 76 of file Parentage.h.

References b.

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

Definition at line 80 of file ProcessConfiguration.h.

References b, and operator<<().

80  {
81  return !(a == b);
82  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator!= ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 108 of file ProcessHistory.h.

References a, b, and isAncestor().

108  {
109  return !(a==b);
110  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator!= ( TypeWithDict const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 141 of file TypeWithDict.h.

References b, and edm::TypeWithDict::operator==.

141 { return !(a == b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
bool edm::operator!= ( FwdPtr< T > const &  lhs,
FwdPtr< T > const &  rhs 
)
inline

Definition at line 145 of file FwdPtr.h.

145  {
146  return !(lhs == rhs);
147  }
bool edm::operator!= ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 145 of file RefCore.h.

145  {
146  return !(lhs == rhs);
147  }
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:120
double a
Definition: hdecay.h:121
template<typename KEY >
bool edm::operator!= ( RefVectorBase< KEY > const &  lhs,
RefVectorBase< KEY > const &  rhs 
)

Inequality operator.

Definition at line 146 of file RefVectorBase.h.

146  {
147  return !(lhs == rhs);
148  }
template<typename T >
bool edm::operator!= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 361 of file View.h.

361  {
362  return !(lhs == rhs);
363  }
bool edm::operator!= ( std::type_info const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 149 of file TypeWithDict.h.

References a, and operator<<().

149 { return !(b == a); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator!= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 153 of file FileIndex.h.

References mathSSE::lh.

153 {return lh < rh || rh < lh;}
bool int lh
Definition: SIMDVec.h:21
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 >
bool edm::operator!= ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 179 of file RefToBaseProd.h.

179  {
180  return !(lhs == rhs);
181  }
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 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 197 of file ProductRegistry.h.

References b.

197  {
198  return !(a == b);
199  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator!= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
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:120
double a
Definition: hdecay.h:121
template<typename C >
bool edm::operator!= ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 204 of file RefProd.h.

204  {
205  return !(lhs == rhs);
206  }
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 232 of file RefVector.h.

232  {
233  return !(lhs == rhs);
234  }
template<typename T >
bool edm::operator!= ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 273 of file Ptr.h.

273  {
274  return !(lhs == rhs);
275  }
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 275 of file FwdRef.h.

275  {
276  return !(lhs == rhs);
277  }
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 282 of file FwdRef.h.

282  {
283  return !(lhs == rhs);
284  }
bool edm::operator!= ( ParameterSet const &  a,
ParameterSet const &  b 
)
inline
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 289 of file FwdRef.h.

289  {
290  return !(lhs == rhs);
291  }
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 630 of file Ref.h.

630  {
631  return !(lhs == rhs);
632  }
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 177 of file ParameterDescriptionNode.cc.

Referenced by edm::value_ptr_traits< ParameterDescriptionNode >::destroy().

178  {
179  return std::make_unique<ANDGroupDescription>(node_left, node_right);
180  }
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 182 of file ParameterDescriptionNode.cc.

References eostools::move().

183  {
184  return std::make_unique<ANDGroupDescription>(std::move(node_left), node_right);
185  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator&& ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 187 of file ParameterDescriptionNode.cc.

References eostools::move().

188  {
189  return std::make_unique<ANDGroupDescription>(node_left, std::move(node_right));
190  }
def move(src, dest)
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 192 of file ParameterDescriptionNode.cc.

References eostools::move().

193  {
194  return std::make_unique<ANDGroupDescription>(std::move(node_left), std::move(node_right));
195  }
def move(src, dest)
Definition: eostools.py:511

Definition at line 2185 of file ParameterSet.cc.

References edm::ParameterSet::False, edm::ParameterSet::True, and edm::ParameterSet::Unknown.

Referenced by operator!=().

2185  {
2186  if (a == ParameterSet::False || b == ParameterSet::False) {
2187  return ParameterSet::False;
2188  } else if (a == ParameterSet::Unknown || b == ParameterSet::Unknown) {
2189  return ParameterSet::Unknown;
2190  }
2191  return ParameterSet::True;
2192  }
#define True
Definition: Types.h:96
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
#define False
Definition: Types.h:97
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 97 of file RefVectorIterator.h.

References gen::n.

97  {
98  return iter + n;
99  }
template<typename C >
Association<C> edm::operator+ ( const Association< C > &  a1,
const Association< C > &  a2 
)
inline

Definition at line 121 of file Association.h.

References a.

122  {
123  Association<C> a = a1;
124  a += a2;
125  return a;
126  }
double a
Definition: hdecay.h:121
template<typename T >
ValueMap<T> edm::operator+ ( const ValueMap< T > &  a1,
const ValueMap< T > &  a2 
)
inline

Definition at line 253 of file ValueMap.h.

References a.

254  {
255  ValueMap<T> a = a1;
256  a += a2;
257  return a;
258  }
double a
Definition: hdecay.h:121
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:21
bool edm::operator< ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 34 of file RunLumiEntryInfo.h.

References edm::RunLumiEntryInfo::branchID().

34  {
35  return a.branchID() < b.branchID();
36  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator< ( StoredProductProvenance const &  a,
StoredProductProvenance const &  b 
)
inline

Definition at line 38 of file StoredProductProvenance.h.

References edm::StoredProductProvenance::branchID_.

38  {
39  return a.branchID_ < b.branchID_;
40  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator< ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 43 of file EventEntryInfo.h.

References edm::EventEntryInfo::branchID().

43  {
44  return a.branchID() < b.branchID();
45  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator< ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 46 of file BranchKey.h.

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

46  {
47  return
48  a.friendlyClassName() < b.friendlyClassName() ? true :
49  a.friendlyClassName() > b.friendlyClassName() ? false :
50  a.moduleLabel() < b.moduleLabel() ? true :
51  a.moduleLabel() > b.moduleLabel() ? false :
52  a.productInstanceName() < b.productInstanceName() ? true :
53  a.productInstanceName() > b.productInstanceName() ? false :
54  a.processName() < b.processName() ? true :
55  false;
56  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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:120
double a
Definition: hdecay.h:121
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:21
bool edm::operator< ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 53 of file ProductProvenance.h.

References edm::ProductProvenance::branchID().

53  {
54  return a.branchID() < b.branchID();
55  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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:120
double a
Definition: hdecay.h:121
bool edm::operator< ( ProductID const &  lh,
ProductID const &  rh 
)

Definition at line 12 of file ProductID.cc.

References edm::ProductID::processIndex(), and edm::ProductID::productIndex().

12  {
13  return lh.processIndex() < rh.processIndex() ||
14  (lh.processIndex() == rh.processIndex() && lh.productIndex() < rh.productIndex());
15  }
bool int lh
Definition: SIMDVec.h:21
bool edm::operator< ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)

Definition at line 96 of file ProcessConfiguration.cc.

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

96  {
97  if (a.processName() < b.processName()) return true;
98  if (b.processName() < a.processName()) return false;
99  if (a.parameterSetID() < b.parameterSetID()) return true;
100  if (b.parameterSetID() < a.parameterSetID()) return false;
101  if (a.releaseVersion() < b.releaseVersion()) return true;
102  if (b.releaseVersion() < a.releaseVersion()) return false;
103  if (a.passID() < b.passID()) return true;
104  return false;
105  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
bool edm::operator< ( DetSet< T > const &  x,
DetSet< T > const &  y 
)
inline

Definition at line 92 of file DetSet.h.

Referenced by sistrip::SpyEventMatcher::EventKey::apvAddress(), operator!=(), operator<<(), and edm::ProductResolverIndexHelper::Item::setIndex().

92  {
93  return x.detId() < y.detId();
94  }
template<class T >
bool edm::operator< ( DetSet< T > const &  x,
det_id_type  y 
)
inline

Definition at line 99 of file DetSet.h.

99  {
100  return x.detId() < y;
101  }
template<class T >
bool edm::operator< ( det_id_type  x,
DetSet< T > const &  y 
)
inline

Definition at line 106 of file DetSet.h.

106  {
107  return x < y.detId();
108  }
bool edm::operator< ( TypeWithDict const &  a,
TypeWithDict const &  b 
)
inline

Definition at line 137 of file TypeWithDict.h.

References a, b, edm::TypeWithDict::name(), and edm::TypeWithDict::operator==.

137 { return a.name() < b.name(); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator< ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)

Definition at line 182 of file FileIndex.cc.

References edm::FileIndex::Element::event_, edm::FileIndex::Element::lumi_, and edm::FileIndex::Element::run_.

182  {
183  if(lh.run_ == rh.run_) {
184  if(lh.lumi_ == rh.lumi_) {
185  return lh.event_ < rh.event_;
186  }
187  return lh.lumi_ < rh.lumi_;
188  }
189  return lh.run_ < rh.run_;
190  }
bool int lh
Definition: SIMDVec.h:21
template<typename T >
bool edm::operator< ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 368 of file View.h.

368  {
369  return std::lexicographical_compare(lhs.begin(), lhs.end(),
370  rhs.begin(), rhs.end());
371  }
bool edm::operator< ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 151 of file RefCore.h.

References edm::RefCore::id(), edm::RefCore::isTransient(), and edm::RefCore::productPtr().

151  {
152  return lhs.isTransient() ? (rhs.isTransient() ? lhs.productPtr() < rhs.productPtr() : false) : (rhs.isTransient() ? true : lhs.id() < rhs.id());
153  }
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 152 of file FwdPtr.h.

152  {
155  return (lhs.ptr() < rhs.ptr());
156  }
template<typename T >
bool edm::operator< ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 186 of file RefToBaseProd.h.

186  {
187  return (lhs.refCore() < rhs.refCore());
188  }
bool edm::operator< ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
template<typename C >
bool edm::operator< ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 211 of file RefProd.h.

211  {
212  return(lhs.refCore() < rhs.refCore());
213  }
bool edm::operator< ( BranchDescription const &  a,
BranchDescription const &  b 
)

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

309  {
310  if(a.processName() < b.processName()) return true;
311  if(b.processName() < a.processName()) return false;
312  if(a.fullClassName() < b.fullClassName()) return true;
313  if(b.fullClassName() < a.fullClassName()) return false;
314  if(a.friendlyClassName() < b.friendlyClassName()) return true;
315  if(b.friendlyClassName() < a.friendlyClassName()) return false;
316  if(a.productInstanceName() < b.productInstanceName()) return true;
317  if(b.productInstanceName() < a.productInstanceName()) return false;
318  if(a.moduleLabel() < b.moduleLabel()) return true;
319  if(b.moduleLabel() < a.moduleLabel()) return false;
320  if(a.branchType() < b.branchType()) return true;
321  if(b.branchType() < a.branchType()) return false;
322  if(a.branchID() < b.branchID()) return true;
323  if(b.branchID() < a.branchID()) return false;
324  if(a.branchAliases() < b.branchAliases()) return true;
325  if(b.branchAliases() < a.branchAliases()) return false;
326  if(a.present() < b.present()) return true;
327  if(b.present() < a.present()) return false;
328  return false;
329  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 280 of file Ptr.h.

280  {
283  return (lhs.refCore() == rhs.refCore() ? lhs.key() < rhs.key() : lhs.refCore() < rhs.refCore());
284  }
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 298 of file FwdRef.h.

298  {
299  return (lhs.ref() < rhs.ref() );
300  }
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 305 of file FwdRef.h.

305  {
306  return (lhs < rhs.ref() );
307  }
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 312 of file FwdRef.h.

312  {
313  return (lhs.ref() < rhs );
314  }
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 637 of file Ref.h.

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

Definition at line 23 of file TimeOfDay.cc.

References begin, min(), listBenchmarks::pattern, common_cff::precision, and edm::TimeOfDay::tv_.

23  {
24  std::ios::fmtflags oldflags = os.flags(); // Save stream formats so they can be left unchanged.
25  struct tm timebuf;
26  localtime_r(&tod.tv_.tv_sec, &timebuf);
27  typedef std::ostreambuf_iterator<char, std::char_traits<char> > Iter;
28  std::time_put<char, Iter> const& tp = std::use_facet<std::time_put<char, Iter> >(std::locale());
29  int precision = os.precision();
30  Iter begin(os);
31  if (precision == 0) {
32  char const pattern[] = "%d-%b-%Y %H:%M:%S %Z";
33  tp.put(begin, os, ' ', &timebuf, pattern, pattern + sizeof(pattern) - 1);
34  } else {
35  char const pattern[] = "%d-%b-%Y %H:%M:%S.";
36  tp.put(begin, os, ' ', &timebuf, pattern, pattern + sizeof(pattern) - 1);
37  precision = std::min(precision, 6);
38  os << std::setfill('0') << std::setw(precision) << tod.tv_.tv_usec / power[precision] << ' ';
39  tp.put(begin, os, ' ', &timebuf, 'Z');
40  }
41  os.flags(oldflags);
42  return os;
43  }
T min(T a, T b)
Definition: MathUtil.h:58
#define begin
Definition: vmac.h:32
std::ostream & edm::operator<< ( std::ostream &  os,
ParameterSetBlob const &  blob 
)

Definition at line 6 of file ParameterSetBlob.cc.

References edm::ParameterSetBlob::pset().

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

Definition at line 6 of file FileID.cc.

6  {
7  os << id.fid();
8  return os;
9  }
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 
)
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,
BranchID const &  id 
)

Definition at line 14 of file BranchID.cc.

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

Definition at line 40 of file RunLumiEntryInfo.h.

References a, b, operator==(), and edm::RunLumiEntryInfo::write().

40  {
41  p.write(os);
42  return os;
43  }
std::ostream & edm::operator<< ( std::ostream &  os,
FileFormatVersion const &  ff 
)

Definition at line 111 of file FileFormatVersion.cc.

References edm::FileFormatVersion::value().

111  {
112  os << ff.value();
113  return os;
114  }
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,
EventEntryInfo const &  p 
)
inline

Definition at line 49 of file EventEntryInfo.h.

References a, b, operator==(), and edm::EventEntryInfo::write().

49  {
50  p.write(os);
51  return os;
52  }
std::ostream& edm::operator<< ( std::ostream &  iOS,
ESProxyIndex const &  iIndex 
)
inline

Definition at line 49 of file ESIndices.h.

References edm::ESProxyIndex::value().

49  {
50  iOS << iIndex.value();
51  return iOS;
52  }
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,
EventEntryDescription const &  p 
)
inline

Definition at line 53 of file EventEntryDescription.h.

References a, b, operator==(), and edm::EventEntryDescription::write().

53  {
54  p.write(os);
55  return os;
56  }
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 &  os,
TypeID const &  id 
)

Definition at line 120 of file TypeID.cc.

120  {
121  id.print(os);
122  return os;
123  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductProvenance const &  p 
)
inline

Definition at line 59 of file ProductProvenance.h.

References a, b, operator==(), and edm::ProductProvenance::write().

59  {
60  p.write(os);
61  return os;
62  }
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  }
Definition: AbsArchive.cc:45
std::ostream & edm::operator<< ( std::ostream &  os,
ProductID const &  id 
)

Definition at line 7 of file ProductID.cc.

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

Definition at line 46 of file LuminosityBlockRange.cc.

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

46  {
47  oStream << "'" << r.startRun() << ":" << r.startLumi() << "-"
48  << r.endRun() << ":" << r.endLumi() << "'" ;
49  return oStream;
50  }
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() << "-"
30  << r.endRun() << ":" << r.endEvent() << "'";
31  } else {
32  oStream << "'" << r.startRun() << ":" << r.startLumi() << ":" << r.startEvent() << "-"
33  << r.endRun() << ":" << r.endLumi() << ":" << r.endEvent() << "'";
34  }
35  return oStream;
36  }
std::ostream& edm::operator<< ( std::ostream &  os,
const RunAuxiliary p 
)
inline

Definition at line 68 of file RunAuxiliary.h.

References edm::RunAuxiliary::write().

68  {
69  p.write(os);
70  return os;
71  }
std::ostream& edm::operator<< ( std::ostream &  os,
Parentage const &  p 
)
inline

Definition at line 69 of file Parentage.h.

References a, b, operator==(), and edm::Parentage::write().

69  {
70  p.write(os);
71  return os;
72  }
std::ostream & edm::operator<< ( std::ostream &  os,
BranchKey const &  bk 
)

Definition at line 19 of file BranchKey.cc.

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

19  {
20  os << "BranchKey("
21  << bk.friendlyClassName() << ", "
22  << bk.moduleLabel() << ", "
23  << bk.productInstanceName() << ", "
24  << bk.processName() << ')';
25  return os;
26  }
std::ostream & edm::operator<< ( std::ostream &  os,
GlobalContext const &  gc 
)

Definition at line 21 of file GlobalContext.cc.

References edm::GlobalContext::kBeginJob, edm::GlobalContext::kBeginLuminosityBlock, edm::GlobalContext::kBeginRun, edm::GlobalContext::kEndJob, edm::GlobalContext::kEndLuminosityBlock, edm::GlobalContext::kEndRun, edm::GlobalContext::kWriteLuminosityBlock, 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::kBeginRun:
28  os << "BeginRun";
29  break;
30  case GlobalContext::Transition::kBeginLuminosityBlock:
31  os << "BeginLuminosityBlock";
32  break;
33  case GlobalContext::Transition::kEndLuminosityBlock:
34  os << "EndLuminosityBlock";
35  break;
36  case GlobalContext::Transition::kEndRun:
37  os << "EndRun";
38  break;
39  case GlobalContext::Transition::kEndJob:
40  os << "EndJob";
41  break;
42  case GlobalContext::Transition::kWriteRun:
43  os << "WriteRun";
44  break;
45  case GlobalContext::Transition::kWriteLuminosityBlock:
46  os << "WriteLuminosityBlock";
47  break;
48  }
49  os << "\n " << gc.luminosityBlockID() << "\n runIndex = " << gc.runIndex().value()
50  << " luminosityBlockIndex = " << gc.luminosityBlockIndex().value()
51  << " unixTime = " << gc.timestamp().unixTime() << " microsecondOffset = " << gc.timestamp().microsecondOffset()
52  << "\n";
53  if (gc.processContext()) {
54  os << " " << *gc.processContext();
55  }
56  return os;
57  }
std::ostream & edm::operator<< ( std::ostream &  ost,
InputTag const &  tag 
)

Definition at line 211 of file InputTag.cc.

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

211  {
212  static std::string const process(", process = ");
213  ost << "InputTag: label = " << tag.label() << ", instance = " << tag.instance()
214  << (tag.process().empty() ? std::string() : (process + tag.process()));
215  return ost;
216  }
std::ostream& edm::operator<< ( std::ostream &  os,
const LuminosityBlockAuxiliary p 
)
inline

Definition at line 74 of file LuminosityBlockAuxiliary.h.

References edm::LuminosityBlockAuxiliary::write().

74  {
75  p.write(os);
76  return os;
77  }
std::ostream& edm::operator<< ( std::ostream &  iOS,
ESTokenIndex const &  iIndex 
)
inline

Definition at line 74 of file ESIndices.h.

References edm::ESTokenIndex::value().

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

Definition at line 12 of file OStreamColumn.cc.

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

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

Definition at line 78 of file StableProvenance.h.

References a, b, operator==(), and edm::StableProvenance::write().

78  {
79  p.write(os);
80  return os;
81  }
template<typename E >
std::ostream& edm::operator<< ( std::ostream &  t,
OStreamColumnEntry< E > const &  ce 
)

Definition at line 78 of file OStreamColumn.h.

References edm::OStreamColumnEntry< T >::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,
ModuleCallingContext const &  mcc 
)

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

84  {
85  os << "ModuleCallingContext state = ";
86  switch (mcc.state()) {
87  case ModuleCallingContext::State::kInvalid:
88  os << "Invalid";
89  break;
90  case ModuleCallingContext::State::kPrefetching:
91  os << "Prefetching";
92  break;
93  case ModuleCallingContext::State::kRunning:
94  os << "Running";
95  break;
96  }
97  os << "\n";
98  if (mcc.state() == ModuleCallingContext::State::kInvalid) {
99  return os;
100  }
101  if (mcc.moduleDescription()) {
102  os << " moduleDescription: " << *mcc.moduleDescription() << "\n";
103  }
104  os << " " << mcc.parent();
105  if (mcc.previousModuleOnThread()) {
106  if (mcc.type() == ParentContext::Type::kModule && mcc.moduleCallingContext() == mcc.previousModuleOnThread()) {
107  os << " previousModuleOnThread: same as parent module\n";
108  } else {
109  os << " previousModuleOnThread: " << *mcc.previousModuleOnThread();
110  }
111  }
112  return os;
113  }
std::ostream & edm::operator<< ( std::ostream &  os,
ProcessConfiguration const &  pc 
)

Definition at line 108 of file ProcessConfiguration.cc.

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

108  {
109  os << pc.processName() << ' '
110  << pc.parameterSetID() << ' '
111  << pc.releaseVersion() << ' '
112  << pc.passID();
113  return os;
114  }
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,
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,
ModuleDescription const &  p 
)
inline

Definition at line 97 of file ModuleDescription.h.

References edm::ModuleDescription::write().

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

Definition at line 99 of file ESIndices.h.

References edm::ESRecordIndex::value().

99  {
100  iOS << iIndex.value();
101  return iOS;
102  }
std::ostream& edm::operator<< ( std::ostream &  os,
const EventAuxiliary p 
)
inline

Definition at line 102 of file EventAuxiliary.h.

References edm::EventAuxiliary::write().

102  {
103  p.write(os);
104  return os;
105  }
std::ostream& edm::operator<< ( std::ostream &  os,
Provenance const &  p 
)
inline

Definition at line 103 of file Provenance.h.

References a, b, operator==(), and edm::Provenance::write().

103  {
104  p.write(os);
105  return os;
106  }
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); }
double f[11][100]
S & print(S &os, JobReport::RunReport const &rep)
Definition: JobReport.cc:88
template<class T >
ErrorObj& edm::operator<< ( ErrorObj e,
const T t 
)
inline
ErrorObj & edm::operator<< ( ErrorObj e,
const char  s[] 
)

Definition at line 249 of file ErrorObj.cc.

References edm::ErrorObj::opltlt().

std::ostream& edm::operator<< ( std::ostream &  ost,
const HLTGlobalStatus hlt 
)
inline
std::ostream & edm::operator<< ( std::ostream &  os,
ESInputTag const &  tag 
)

Definition at line 60 of file ESInputTag.cc.

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

60  {
61  os << "Module label: " << tag.module() << " Data label: " << tag.data();
62  return os;
63  }
std::ostream & edm::operator<< ( std::ostream &  ost,
ProcessHistory const &  ph 
)

Definition at line 72 of file ProcessHistory.cc.

References copy_all().

72  {
73  ost << "Process History = ";
74  copy_all(ph, std::ostream_iterator<ProcessHistory::value_type>(ost,";"));
75  return ost;
76  }
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:20
std::ostream & edm::operator<< ( std::ostream &  oStream,
LuminosityBlockID const &  iID 
)

Definition at line 25 of file LuminosityBlockID.cc.

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

25  {
26  oStream<< "run: " << iID.run() << " luminosityBlock: " << iID.luminosityBlock();
27  return oStream;
28  }
std::ostream& edm::operator<< ( std::ostream &  os,
const edm::FileInPath fip 
)
inline

Definition at line 129 of file FileInPath.h.

References edm::FileInPath::write().

129  {
130  fip.write(os);
131  return os;
132  }
void write(std::ostream &os) const
Definition: FileInPath.cc:165
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,
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,
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,
FileIndex const &  fileIndex 
)

Definition at line 211 of file FileIndex.cc.

References edm::FileIndex::begin(), edm::FileIndex::end(), edm::FileIndex::kEvent, edm::FileIndex::kLumi, and edm::FileIndex::kRun.

211  {
212 
213  os << "\nPrinting FileIndex contents. This includes a list of all Runs, LuminosityBlocks\n"
214  << "and Events stored in the root file.\n\n";
215  os << std::setw(15) << "Run"
216  << std::setw(15) << "Lumi"
217  << std::setw(15) << "Event"
218  << std::setw(15) << "TTree Entry"
219  << "\n";
220  for(std::vector<FileIndex::Element>::const_iterator it = fileIndex.begin(), itEnd = fileIndex.end(); it != itEnd; ++it) {
221  if(it->getEntryType() == FileIndex::kEvent) {
222  os << std::setw(15) << it->run_
223  << std::setw(15) << it ->lumi_
224  << std::setw(15) << it->event_
225  << std::setw(15) << it->entry_
226  << "\n";
227  }
228  else if(it->getEntryType() == FileIndex::kLumi) {
229  os << std::setw(15) << it->run_
230  << std::setw(15) << it ->lumi_
231  << std::setw(15) << " "
232  << std::setw(15) << it->entry_ << " (LuminosityBlock)"
233  << "\n";
234  }
235  else if(it->getEntryType() == FileIndex::kRun) {
236  os << std::setw(15) << it->run_
237  << std::setw(15) << " "
238  << std::setw(15) << " "
239  << std::setw(15) << it->entry_ << " (Run)"
240  << "\n";
241  }
242  }
243  return os;
244  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductRegistry const &  pr 
)
inline

Definition at line 203 of file ProductRegistry.h.

References edm::ProductRegistry::print().

203  {
204  pr.print(os);
205  return os;
206  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductResolverBase const &  phb 
)
inline

Definition at line 214 of file ProductResolverBase.h.

References edm::ProductResolverBase::write().

214  {
215  phb.write(os);
216  return os;
217  }
std::ostream& edm::operator<< ( std::ostream &  os,
BranchDescription const &  p 
)
inline
template<typename PROD >
std::ostream& edm::operator<< ( std::ostream &  os,
Handle< PROD > const &  h 
)
inline

Definition at line 248 of file PrincipalGetAdapter.h.

References h.

248  {
249  os << h.product() << " " << h.provenance() << " " << h.id();
250  return os;
251  }
template<int I>
std::ostream& edm::operator<< ( std::ostream &  os,
Hash< I > const &  h 
)
inline

Definition at line 249 of file Hash.h.

References h.

249  {
250  return h.print(os);
251  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::ostream& edm::operator<< ( std::ostream &  os,
const ELseverityLevel sev 
)

Definition at line 273 of file ELseverityLevel.cc.

References edm::ELseverityLevel::getName().

273 { return os << " -" << sev.getName() << "- "; }
template<typename C , typename T , typename F >
std::ostream& edm::operator<< ( std::ostream &  os,
RefVector< C, T, F > const &  r 
)

Definition at line 283 of file RefVector.h.

References MillePedeFileConverter_cfg::e, mps_fire::i, and alignCSCRings::r.

283  {
284  for(typename RefVector<C,T,F>::const_iterator
285  i = r.begin(),
286  e = r.end();
287  i != e;
288  ++i) {
289  os << *i << '\n';
290  }
291  return os;
292  }
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); }
double f[11][100]
S & print(S &os, JobReport::RunReport const &rep)
Definition: JobReport.cc:88
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); }
double f[11][100]
S & print(S &os, JobReport::RunReport const &rep)
Definition: JobReport.cc:88
std::ostream& edm::operator<< ( std::ostream &  os,
ParameterSet const &  pset 
)

Definition at line 849 of file ParameterSet.cc.

References edm::ParameterSet::dump().

849  {
850  os << pset.dump();
851  return os;
852  }
std::ostream& edm::operator<< ( std::ostream &  os,
Entry const &  entry 
)

Definition at line 994 of file Entry.cc.

References MillePedeFileConverter_cfg::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(), kTVESInputTag, edm::Entry::rep, AlCaHLTBitMon_QueryRunRegistry::string, nano_cff::strings, edm::pset::TypeTrans::table_, and edm::Entry::typeCode().

994  {
995  os << sTypeTranslations.table_[entry.typeCode()] << " " << (entry.isTracked() ? "tracked " : "untracked ") << " = ";
996 
997  // now handle the difficult cases
998  switch (entry.typeCode()) {
999  case 'P': // ParameterSet
1000  {
1001  os << entry.getPSet();
1002  break;
1003  }
1004  case 'p': // vector<ParameterSet>
1005  {
1006  // Make sure we get the representation of each contained
1007  // ParameterSet including *only* tracked parameters
1008  std::vector<ParameterSet> whole = entry.getVPSet();
1009  std::vector<ParameterSet>::const_iterator i = whole.begin();
1010  std::vector<ParameterSet>::const_iterator e = whole.end();
1011  std::string start = "";
1012  std::string const between(",\n");
1013  os << "{" << std::endl;
1014  for (; i != e; ++i) {
1015  os << start << *i;
1016  start = between;
1017  }
1018  if (!whole.empty()) {
1019  os << std::endl;
1020  }
1021  os << "}";
1022  break;
1023  }
1024  case 'S': {
1025  os << "'" << entry.getString() << "'";
1026  break;
1027  }
1028  case 's': {
1029  os << "{";
1030  std::string start = "'";
1031  std::string const between(",'");
1032  std::vector<std::string> strings = entry.getVString();
1033  for (std::vector<std::string>::const_iterator it = strings.begin(), itEnd = strings.end(); it != itEnd; ++it) {
1034  os << start << *it << "'";
1035  start = between;
1036  }
1037  os << "}";
1038  break;
1039  }
1040  case 'I': {
1041  os << entry.getInt32();
1042  break;
1043  }
1044  case 'U': {
1045  os << entry.getUInt32();
1046  break;
1047  }
1048  case 'v': {
1049  //VInputTag needs to be treated seperately because it is encode like
1050  // vector<string> rather than using the individual encodings of each InputTag
1051  os << "{";
1052  std::string start = "";
1053  std::string const between(",");
1054  std::vector<InputTag> tags = entry.getVInputTag();
1055  for (std::vector<InputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1056  os << start << it->encode();
1057  start = between;
1058  }
1059  os << "}";
1060  break;
1061  }
1062  case kTVESInputTag: {
1063  //VESInputTag needs to be treated seperately because it is encode like
1064  // vector<string> rather than using the individual encodings of each ESInputTag
1065  os << "{";
1066  std::string start = "";
1067  std::string const between(",");
1068  std::vector<ESInputTag> tags = entry.getVESInputTag();
1069  for (std::vector<ESInputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1070  os << start << it->encode();
1071  start = between;
1072  }
1073  os << "}";
1074  break;
1075  }
1076  default: {
1077  os << entry.rep;
1078  break;
1079  }
1080  }
1081 
1082  return os;
1083  }
Definition: start.py:1
static TypeTrans const sTypeTranslations
bool edm::operator<= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 147 of file FileIndex.h.

References mathSSE::lh.

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

Definition at line 376 of file View.h.

376  {
377  return !(rhs<lhs);
378  }
bool edm::operator<= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
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:21
bool edm::operator== ( ElementID const &  lh,
ElementID const &  rh 
)
inline

Definition at line 43 of file ElementID.h.

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

43  {
44  return lh.index() == rh.index() && lh.id() == rh.id();
45  }
bool int lh
Definition: SIMDVec.h:21
bool edm::operator== ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)

Definition at line 21 of file RunLumiEntryInfo.cc.

References edm::RunLumiEntryInfo::branchID().

21  {
22  return a.branchID() == b.branchID();
23  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 54 of file ProductID.h.

References edm::ProductID::processIndex(), and edm::ProductID::productIndex().

54  {
55  return lh.processIndex() == rh.processIndex() && lh.productIndex() == rh.productIndex();
56  }
bool int lh
Definition: SIMDVec.h:21
bool edm::operator== ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)

Definition at line 25 of file EventEntryInfo.cc.

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

25  {
26  return
27  a.branchID() == b.branchID()
28  && a.productID() == b.productID()
29  && a.entryDescriptionID() == b.entryDescriptionID();
30  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( EventEntryDescription const &  a,
EventEntryDescription const &  b 
)

Definition at line 43 of file EventEntryDescription.cc.

References edm::EventEntryDescription::parents().

43  {
44  return
45  a.parents() == b.parents();
46  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 60 of file BranchKey.h.

References a.

60  {
61  return !(a < b || b < a);
62  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProductProvenance const &  a,
ProductProvenance const &  b 
)

Definition at line 72 of file ProductProvenance.cc.

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

72  {
73  return
74  a.branchID() == b.branchID() && a.parentageID() == b.parentageID();
75  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 71 of file ProcessConfiguration.h.

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

71  {
72  return a.processName() == b.processName() &&
73  a.parameterSetID() == b.parameterSetID() &&
74  a.releaseVersion() == b.releaseVersion() &&
75  a.passID() == b.passID();
76  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class X , class Y >
bool edm::operator== ( debugging_allocator< X > const &  ,
debugging_allocator< Y > const &   
)
noexcept
bool edm::operator== ( Parentage const &  a,
Parentage const &  b 
)

Definition at line 42 of file Parentage.cc.

References edm::Parentage::parents().

42  {
43  return a.parents() == b.parents();
44  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( StableProvenance const &  a,
StableProvenance const &  b 
)

Definition at line 41 of file StableProvenance.cc.

References edm::StableProvenance::branchDescription().

41  {
42  return a.branchDescription() == b.branchDescription();
43  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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().

99  {
100  if ( a.isInvalid() && b.isInvalid() ) return true;
101  if ( a.isInvalid() || b.isInvalid() ) 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:34
bool edm::operator== ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 102 of file ProcessHistory.h.

References edm::ProcessHistory::data().

102  {
103  return a.data() == b.data();
104  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( Provenance const &  a,
Provenance const &  b 
)

Definition at line 64 of file Provenance.cc.

References edm::Provenance::stable().

64  {
65  return a.stable() == b.stable();
66  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
bool edm::operator== ( FwdPtr< T > const &  lhs,
FwdPtr< T > const &  rhs 
)
inline

Definition at line 135 of file FwdPtr.h.

135  {
136  return (lhs.ptr() == rhs.ptr() ||
137  lhs.backPtr() == rhs.ptr() ||
138  lhs.ptr() == rhs.backPtr() ||
139  lhs.backPtr() == rhs.backPtr());
140  }
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:120
double a
Definition: hdecay.h:121
bool edm::operator== ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 139 of file RefCore.h.

References edm::RefCore::id(), edm::RefCore::isTransient(), and edm::RefCore::productPtr().

139  {
140  return lhs.isTransient() == rhs.isTransient() && (lhs.isTransient() ? lhs.productPtr() == rhs.productPtr() : lhs.id() == rhs.id());
141  }
bool edm::operator== ( edm::FileInPath const &  a,
edm::FileInPath const &  b 
)
inline

Definition at line 139 of file FileInPath.h.

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

139  {
140  return a.location() == b.location() && a.relativePath() == b.relativePath();
141  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename KEY >
bool edm::operator== ( RefVectorBase< KEY > const &  lhs,
RefVectorBase< KEY > const &  rhs 
)

Equality operator.

Definition at line 139 of file RefVectorBase.h.

References edm::RefVectorBase< KEY >::keys(), and edm::RefVectorBase< KEY >::refCore().

139  {
140  return lhs.refCore() == rhs.refCore() && lhs.keys() == rhs.keys();
141  }
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:120
double a
Definition: hdecay.h:121
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:120
double a
Definition: hdecay.h:121
template<typename T >
bool edm::operator== ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 352 of file View.h.

References cond::serialization::equal().

352  {
353  return
354  lhs.size() == rhs.size() &&
355  std::equal(lhs.begin(), lhs.end(), rhs.begin());
356  }
bool equal(const T &first, const T &second)
Definition: Equal.h:34
bool edm::operator== ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 150 of file FileIndex.h.

References mathSSE::lh.

150 {return !(lh < rh || rh < lh);}
bool int lh
Definition: SIMDVec.h:21
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 >
bool edm::operator== ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 172 of file RefToBaseProd.h.

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

Definition at line 191 of file ProductRegistry.h.

References edm::ProductRegistry::productList().

191  {
192  return a.productList() == b.productList();
193  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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  }
template<typename C >
bool edm::operator== ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 197 of file RefProd.h.

197  {
198  return lhs.refCore() == rhs.refCore();
199  }
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:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
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 225 of file RefVector.h.

225  {
226  return lhs.refVector() == rhs.refVector();
227  }
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 239 of file FwdRef.h.

References edm::FwdRef< C, T, F >::backRef(), and edm::FwdRef< C, T, F >::ref().

239  {
240  return
241  (lhs.ref() == rhs.ref() ) &&
242  (lhs.backRef() == rhs.backRef() )
243  ;
244  }
bool edm::operator== ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 344 of file BranchDescription.cc.

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

344  {
345  return combinable(a, b) &&
346  (a.dropped() == b.dropped()) &&
347  (a.branchAliases() == b.branchAliases());
348  }
bool combinable(BranchDescription const &a, BranchDescription const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 251 of file FwdRef.h.

References edm::FwdRef< C, T, F >::backRef(), and edm::FwdRef< C, T, F >::ref().

251  {
252  return
253  (lhs == rhs.ref() ) ||
254  (lhs == rhs.backRef() )
255  ;
256  }
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 263 of file FwdRef.h.

References edm::FwdRef< C, T, F >::backRef(), and edm::FwdRef< C, T, F >::ref().

263  {
264  return
265  (lhs.ref() == rhs ) ||
266  (lhs.backRef() == rhs )
267  ;
268  }
template<typename T >
bool edm::operator== ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 266 of file Ptr.h.

266  {
267  return lhs.refCore() == rhs.refCore() && lhs.key() == rhs.key();
268  }
bool edm::operator== ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 763 of file ParameterSet.cc.

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

763  {
764  if (a.isRegistered() && b.isRegistered()) {
765  return (a.id() == b.id());
766  }
767  return isTransientEqual(a.trackedPart(), b.trackedPart());
768  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 428 of file SortedCollection.h.

References edm::SortedCollection< T, SORT >::begin(), cond::serialization::equal(), and edm::SortedCollection< T, SORT >::size().

429  {
430  return c.size() == v.size() && std::equal(v.begin(), v.end(), c.begin());
431  }
bool equal(const T &first, const T &second)
Definition: Equal.h:34
template<typename T , typename SORT >
bool edm::operator== ( SortedCollection< T, SORT > const &  a,
SortedCollection< T, SORT > const &  b 
)
inline

Definition at line 440 of file SortedCollection.h.

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

441  {
442  return a.size() == b.size() && std::equal(a.begin(), a.end(), b.begin());
443  }
bool equal(const T &first, const T &second)
Definition: Equal.h:34
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 623 of file Ref.h.

623  {
624  return lhs.key() == rhs.key() && lhs.refCore() == rhs.refCore() ;
625  }
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:120
double a
Definition: hdecay.h:121
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:121
bool edm::operator> ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 141 of file FileIndex.h.

References mathSSE::lh.

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

Definition at line 382 of file View.h.

382  {
383  return rhs<lhs;
384  }
bool edm::operator> ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
bool edm::operator>= ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)
inline

Definition at line 144 of file FileIndex.h.

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

Definition at line 388 of file View.h.

388  {
389  return !(lhs<rhs);
390  }
bool edm::operator>= ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
std::istream& edm::operator>> ( std::istream &  is,
FileInPath fip 
)
inline

Definition at line 134 of file FileInPath.h.

References edm::FileInPath::read().

Referenced by edm::value_ptr_traits< ParameterDescriptionNode >::destroy().

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

Definition at line 128 of file ParameterDescriptionNode.cc.

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

128  {
129  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
130  return caseValue >> std::move(clonedNode);
131  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  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(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 138 of file ParameterDescriptionNode.cc.

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

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

Definition at line 144 of file ParameterDescriptionNode.cc.

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

145  {
146  std::unique_ptr<ParameterDescriptionNode> clonedNode(node.clone());
147  return caseValue >> std::move(clonedNode);
148  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 150 of file ParameterDescriptionNode.cc.

References eostools::move().

151  {
152  return std::unique_ptr<ParameterDescriptionCases<bool>>(
153  new ParameterDescriptionCases<bool>(caseValue, std::move(node)));
154  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 156 of file ParameterDescriptionNode.cc.

References eostools::move().

157  {
158  return std::unique_ptr<ParameterDescriptionCases<int>>(
159  new ParameterDescriptionCases<int>(caseValue, std::move(node)));
160  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 162 of file ParameterDescriptionNode.cc.

References eostools::move().

163  {
164  return std::unique_ptr<ParameterDescriptionCases<std::string>>(
165  new ParameterDescriptionCases<std::string>(caseValue, std::move(node)));
166  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
std::unique_ptr< ParameterDescriptionNode node 
)

Definition at line 168 of file ParameterDescriptionNode.cc.

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

169  {
170  std::string caseValueString(caseValue);
171  return std::unique_ptr<ParameterDescriptionCases<std::string>>(
172  new ParameterDescriptionCases<std::string>(caseValue, std::move(node)));
173  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 221 of file ParameterDescriptionNode.cc.

Referenced by edm::value_ptr_traits< ParameterDescriptionNode >::destroy().

222  {
223  return std::make_unique<XORGroupDescription>(node_left, node_right);
224  }
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 226 of file ParameterDescriptionNode.cc.

References eostools::move().

227  {
228  return std::make_unique<XORGroupDescription>(std::move(node_left), node_right);
229  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 231 of file ParameterDescriptionNode.cc.

References eostools::move().

232  {
233  return std::make_unique<XORGroupDescription>(node_left, std::move(node_right));
234  }
def move(src, dest)
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 236 of file ParameterDescriptionNode.cc.

References eostools::move().

237  {
238  return std::make_unique<XORGroupDescription>(std::move(node_left), std::move(node_right));
239  }
def move(src, dest)
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 genParticles_cff::map, and eostools::move().

Referenced by edm::value_ptr_traits< ParameterDescriptionNode >::destroy().

7  {
8  std::unique_ptr<std::map<bool, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
9  for (std::map<bool, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
10  iEnd = rightCases->end();
11  iter != iEnd;
12  ++iter) {
13  bool caseValue = iter->first;
14  std::unique_ptr<ParameterDescriptionNode> node(iter->second->clone());
15  left->insert(caseValue, std::move(node));
16  }
17  return left;
18  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< int > > edm::operator|| ( std::unique_ptr< ParameterDescriptionCases< int > >  left,
std::unique_ptr< ParameterDescriptionCases< int > >  right 
)

Definition at line 20 of file ParameterDescriptionCases.cc.

References genParticles_cff::map, and eostools::move().

21  {
22  std::unique_ptr<std::map<int, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
23  for (std::map<int, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
24  iEnd = rightCases->end();
25  iter != iEnd;
26  ++iter) {
27  int caseValue = iter->first;
28  std::unique_ptr<ParameterDescriptionNode> node(iter->second->clone());
29  left->insert(caseValue, std::move(node));
30  }
31  return left;
32  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionCases< std::string > > edm::operator|| ( std::unique_ptr< ParameterDescriptionCases< std::string > >  left,
std::unique_ptr< ParameterDescriptionCases< std::string > >  right 
)

Definition at line 34 of file ParameterDescriptionCases.cc.

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

36  {
37  std::unique_ptr<std::map<std::string, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
38  for (std::map<std::string, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
39  iEnd = rightCases->end();
40  iter != iEnd;
41  ++iter) {
42  std::string caseValue = iter->first;
43  std::unique_ptr<ParameterDescriptionNode> node(iter->second->clone());
44  left->insert(caseValue, std::move(node));
45  }
46  return left;
47  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 199 of file ParameterDescriptionNode.cc.

200  {
201  return std::make_unique<ORGroupDescription>(node_left, node_right);
202  }
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( std::unique_ptr< ParameterDescriptionNode node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 204 of file ParameterDescriptionNode.cc.

References eostools::move().

205  {
206  return std::make_unique<ORGroupDescription>(std::move(node_left), node_right);
207  }
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
std::unique_ptr< ParameterDescriptionNode node_right 
)

Definition at line 209 of file ParameterDescriptionNode.cc.

References eostools::move().

210  {
211  return std::make_unique<ORGroupDescription>(node_left, std::move(node_right));
212  }
def move(src, dest)
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 214 of file ParameterDescriptionNode.cc.

References eostools::move().

215  {
216  return std::make_unique<ORGroupDescription>(std::move(node_left), std::move(node_right));
217  }
def move(src, dest)
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 66 of file LuminosityBlockRange.cc.

References distinct().

66  {
67  return !distinct(lh, rh);
68  }
bool int lh
Definition: SIMDVec.h:21
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:72
bool edm::overlaps ( EventRange const &  lh,
EventRange const &  rh 
)

Definition at line 54 of file EventRange.cc.

References distinct(), and edm::EventRange::startLumi().

Referenced by distinct(), and merge().

54  {
55  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
56  return !distinct(lh, rh);
57  }
bool int lh
Definition: SIMDVec.h:21
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:72
ParameterSet const & edm::parameterSet ( Provenance const &  provenance)

Definition at line 11 of file Provenance.cc.

References edm::ParameterSet::existsAs(), edm::pset::Registry::getMapped(), edm::ParameterSet::getParameterSet(), edm::Provenance::getProcessConfiguration(), edm::pset::Registry::instance(), label, edm::Provenance::moduleLabel(), edm::ProcessConfiguration::parameterSetID(), source(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerResults().

Referenced by edm::ScheduleItems::addCPRandTNS(), GsfElectronProducer::beginEvent(), GsfElectronBaseProducer::beginEvent(), fwlite::ChainEvent::event(), EcalSelectiveReadoutProducer::getBinOfMax(), edm::Event::getRefBeforePut(), fwlite::Event::getTFile(), edm::EventProcessor::init(), edm::ScheduleItems::initSchedule(), moduleName(), OniaVtxReProducer::OniaVtxReProducer(), PFCandidateDQMAnalyzer::PFCandidateDQMAnalyzer(), PFJetDQMAnalyzer::PFJetDQMAnalyzer(), PFMETDQMAnalyzer::PFMETDQMAnalyzer(), PFMuonDQMAnalyzer::PFMuonDQMAnalyzer(), DeepFlavourTagInfoProducer::produce(), PyBind11ProcessDesc::pset(), cmspython3::PyBind11ProcessDesc::pset(), and fwlite::MultiChainEvent::secondaryFileIndex().

11  {
12  ProcessConfiguration pc;
13  provenance.getProcessConfiguration(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:45
static std::string const source
Definition: EdmProvDump.cc:47
template<>
std::string edm::ParameterSet::getParameter< std::string > ( std::string const &  name) const

Definition at line 951 of file ParameterSet.cc.

References edm::Entry::getString(), dataset::name, and edm::ParameterSet::retrieve().

951  {
952  return retrieve(name).getString();
953  }
template<>
std::string edm::ParameterSet::getParameter< std::string > ( char const *  name) const

Definition at line 1523 of file ParameterSet.cc.

References edm::Entry::getString(), and edm::ParameterSet::retrieve().

1523  {
1524  return retrieve(name).getString();
1525  }
template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( std::string const &  name) const

Definition at line 943 of file ParameterSet.cc.

References edm::Entry::getVDouble(), dataset::name, and edm::ParameterSet::retrieve().

943  {
944  return retrieve(name).getVDouble();
945  }
template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( char const *  name) const

Definition at line 1515 of file ParameterSet.cc.

References edm::Entry::getVDouble(), and edm::ParameterSet::retrieve().

1515  {
1516  return retrieve(name).getVDouble();
1517  }
template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1006 of file ParameterSet.cc.

References edm::Entry::getVESInputTag(), dataset::name, and edm::ParameterSet::retrieve().

1006  {
1007  return retrieve(name).getVESInputTag();
1008  }
template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 1578 of file ParameterSet.cc.

References edm::Entry::getVESInputTag(), and edm::ParameterSet::retrieve().

1578  {
1579  return retrieve(name).getVESInputTag();
1580  }
template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( std::string const &  name) const

Definition at line 1022 of file ParameterSet.cc.

References edm::Entry::getVEventID(), dataset::name, and edm::ParameterSet::retrieve().

1022  {
1023  return retrieve(name).getVEventID();
1024  }
template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( char const *  name) const

Definition at line 1594 of file ParameterSet.cc.

References edm::Entry::getVEventID(), and edm::ParameterSet::retrieve().

1594  {
1595  return retrieve(name).getVEventID();
1596  }
template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( std::string const &  name) const

Definition at line 1055 of file ParameterSet.cc.

References edm::Entry::getVEventRange(), dataset::name, and edm::ParameterSet::retrieve().

1055  {
1056  return retrieve(name).getVEventRange();
1057  }
template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( char const *  name) const

Definition at line 1626 of file ParameterSet.cc.

References edm::Entry::getVEventRange(), and edm::ParameterSet::retrieve().

1626  {
1627  return retrieve(name).getVEventRange();
1628  }
template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( std::string const &  name) const

Definition at line 990 of file ParameterSet.cc.

References edm::Entry::getVInputTag(), dataset::name, and edm::ParameterSet::retrieve().

990  {
991  return retrieve(name).getVInputTag();
992  }
template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( char const *  name) const

Definition at line 1562 of file ParameterSet.cc.

References edm::Entry::getVInputTag(), and edm::ParameterSet::retrieve().

1562  {
1563  return retrieve(name).getVInputTag();
1564  }
template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( std::string const &  name) const

Definition at line 890 of file ParameterSet.cc.

References edm::Entry::getVInt32(), dataset::name, and edm::ParameterSet::retrieve().

890  {
891  return retrieve(name).getVInt32();
892  }
template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( char const *  name) const

Definition at line 1463 of file ParameterSet.cc.

References edm::Entry::getVInt32(), and edm::ParameterSet::retrieve().

1463  {
1464  return retrieve(name).getVInt32();
1465  }
template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( std::string const &  name) const

Definition at line 903 of file ParameterSet.cc.

References edm::Entry::getVInt64(), dataset::name, and edm::ParameterSet::retrieve().

903  {
904  return retrieve(name).getVInt64();
905  }
template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( char const *  name) const

Definition at line 1476 of file ParameterSet.cc.

References edm::Entry::getVInt64(), and edm::ParameterSet::retrieve().

1476  {
1477  return retrieve(name).getVInt64();
1478  }
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const

Definition at line 1038 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockID(), dataset::name, and edm::ParameterSet::retrieve().

1039  {
1040  return retrieve(name).getVLuminosityBlockID();
1041  }
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( char const *  name) const

Definition at line 1610 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockID(), and edm::ParameterSet::retrieve().

1610  {
1611  return retrieve(name).getVLuminosityBlockID();
1612  }
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const

Definition at line 1071 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockRange(), dataset::name, and edm::ParameterSet::retrieve().

1072  {
1073  return retrieve(name).getVLuminosityBlockRange();
1074  }
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const

Definition at line 1642 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockRange(), and edm::ParameterSet::retrieve().

1643  {
1644  return retrieve(name).getVLuminosityBlockRange();
1645  }
template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 95 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, and edm::pdtentry::getPdtEntryVector().

95  {
96  Entry const &e = retrieve(name);
97  return pdtentry::getPdtEntryVector(e, name.c_str());
98  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:60
template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 117 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, and edm::pdtentry::getPdtEntryVector().

117  {
118  Entry const &e = retrieve(name);
120  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:60
template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( std::string const &  name) const

Definition at line 956 of file ParameterSet.cc.

References edm::Entry::getVString(), dataset::name, and edm::ParameterSet::retrieve().

956  {
957  return retrieve(name).getVString();
958  }
template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( char const *  name) const

Definition at line 1528 of file ParameterSet.cc.

References edm::Entry::getVString(), and edm::ParameterSet::retrieve().

1528  {
1529  return retrieve(name).getVString();
1530  }
template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( std::string const &  name) const

Definition at line 916 of file ParameterSet.cc.

References edm::Entry::getVUInt32(), dataset::name, and edm::ParameterSet::retrieve().

916  {
917  return retrieve(name).getVUInt32();
918  }
template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( char const *  name) const

Definition at line 1489 of file ParameterSet.cc.

References edm::Entry::getVUInt32(), and edm::ParameterSet::retrieve().

1489  {
1490  return retrieve(name).getVUInt32();
1491  }
template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( std::string const &  name) const

Definition at line 929 of file ParameterSet.cc.

References edm::Entry::getVUInt64(), dataset::name, and edm::ParameterSet::retrieve().

930  {
931  return retrieve(name).getVUInt64();
932  }
template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( char const *  name) const

Definition at line 1502 of file ParameterSet.cc.

References edm::Entry::getVUInt64(), and edm::ParameterSet::retrieve().

1502  {
1503  return retrieve(name).getVUInt64();
1504  }
template<>
std::vector<std::string> edm::ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > ( bool  trackiness) const
inline

Definition at line 146 of file PdtEntry.h.

References popcon2dropbox::copy(), and nano_cff::strings.

146  {
147  std::vector<std::string> ints = getParameterNamesForType<std::vector<int>>(trackiness);
148  std::vector<std::string> strings = getParameterNamesForType<std::vector<std::string>>(trackiness);
149  std::copy(strings.begin(), strings.end(), std::back_insert_iterator<std::vector<std::string>>(ints));
150  return ints;
151  }
def copy(args, dbName)
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name,
std::string const &  defaultValue 
) const

Definition at line 1244 of file ParameterSet.cc.

References edm::Entry::getString(), and edm::ParameterSet::retrieveUntracked().

1245  {
1246  Entry const* entryPtr = retrieveUntracked(name);
1247  return entryPtr == nullptr ? defaultValue : entryPtr->getString();
1248  }
Definition: Entry.h:18
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name) const

Definition at line 1251 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getString().

1251  {
1252  return getEntryPointerOrThrow_(name)->getString();
1253  }
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name,
std::string const &  defaultValue 
) const

Definition at line 1813 of file ParameterSet.cc.

References edm::Entry::getString(), and edm::ParameterSet::retrieveUntracked().

1814  {
1815  Entry const* entryPtr = retrieveUntracked(name);
1816  return entryPtr == nullptr ? defaultValue : entryPtr->getString();
1817  }
Definition: Entry.h:18
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name) const

Definition at line 1820 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getString().

1820  {
1821  return getEntryPointerOrThrow_(name)->getString();
1822  }
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name,
std::vector< double > const &  defaultValue 
) const

Definition at line 1229 of file ParameterSet.cc.

References edm::Entry::getVDouble(), and edm::ParameterSet::retrieveUntracked().

1230  {
1231  Entry const* entryPtr = retrieveUntracked(name);
1232  return entryPtr == nullptr ? defaultValue : entryPtr->getVDouble();
1233  }
Definition: Entry.h:18
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name) const

Definition at line 1236 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVDouble().

1236  {
1237  return getEntryPointerOrThrow_(name)->getVDouble();
1238  }
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name) const

Definition at line 1805 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVDouble().

1805  {
1806  return getEntryPointerOrThrow_(name)->getVDouble();
1807  }
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name,
std::vector< double > const &  defaultValue 
) const

Definition at line 1798 of file ParameterSet.cc.

References edm::Entry::getVDouble(), and edm::ParameterSet::retrieveUntracked().

1799  {
1800  Entry const* entryPtr = retrieveUntracked(name);
1801  return entryPtr == nullptr ? defaultValue : entryPtr->getVDouble();
1802  }
Definition: Entry.h:18
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1332 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVESInputTag().

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

Definition at line 1325 of file ParameterSet.cc.

References edm::Entry::getVESInputTag(), and edm::ParameterSet::retrieveUntracked().

1326  {
1327  Entry const* entryPtr = retrieveUntracked(name);
1328  return entryPtr == nullptr ? defaultValue : entryPtr->getVESInputTag();
1329  }
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 1891 of file ParameterSet.cc.

References edm::Entry::getVESInputTag(), and edm::ParameterSet::retrieveUntracked().

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

Definition at line 1898 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVESInputTag().

1898  {
1899  return getEntryPointerOrThrow_(name)->getVESInputTag();
1900  }
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name,
std::vector< EventID > const &  defaultValue 
) const

Definition at line 1351 of file ParameterSet.cc.

References edm::Entry::getVEventID(), and edm::ParameterSet::retrieveUntracked().

1352  {
1353  Entry const* entryPtr = retrieveUntracked(name);
1354  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventID();
1355  }
Definition: Entry.h:18
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name) const

Definition at line 1358 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVEventID().

1358  {
1359  return getEntryPointerOrThrow_(name)->getVEventID();
1360  }
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name,
std::vector< EventID > const &  defaultValue 
) const

Definition at line 1917 of file ParameterSet.cc.

References edm::Entry::getVEventID(), and edm::ParameterSet::retrieveUntracked().

1918  {
1919  Entry const* entryPtr = retrieveUntracked(name);
1920  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventID();
1921  }
Definition: Entry.h:18
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name) const

Definition at line 1924 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVEventID().

1924  {
1925  return getEntryPointerOrThrow_(name)->getVEventID();
1926  }
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name,
std::vector< EventRange > const &  defaultValue 
) const

Definition at line 1406 of file ParameterSet.cc.

References edm::Entry::getVEventRange(), and edm::ParameterSet::retrieveUntracked().

1407  {
1408  Entry const* entryPtr = retrieveUntracked(name);
1409  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventRange();
1410  }
Definition: Entry.h:18
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name) const

Definition at line 1413 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVEventRange().

1413  {
1414  return getEntryPointerOrThrow_(name)->getVEventRange();
1415  }
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name,
std::vector< EventRange > const &  defaultValue 
) const

Definition at line 1971 of file ParameterSet.cc.

References edm::Entry::getVEventRange(), and edm::ParameterSet::retrieveUntracked().

1972  {
1973  Entry const* entryPtr = retrieveUntracked(name);
1974  return entryPtr == nullptr ? defaultValue : entryPtr->getVEventRange();
1975  }
Definition: Entry.h:18
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name) const

Definition at line 1978 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVEventRange().

1978  {
1979  return getEntryPointerOrThrow_(name)->getVEventRange();
1980  }
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name,
std::vector< InputTag > const &  defaultValue 
) const

Definition at line 1298 of file ParameterSet.cc.

References edm::Entry::getVInputTag(), and edm::ParameterSet::retrieveUntracked().

1299  {
1300  Entry const* entryPtr = retrieveUntracked(name);
1301  return entryPtr == nullptr ? defaultValue : entryPtr->getVInputTag();
1302  }
Definition: Entry.h:18
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name) const

Definition at line 1305 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVInputTag().

1305  {
1306  return getEntryPointerOrThrow_(name)->getVInputTag();
1307  }
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name) const

Definition at line 1872 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVInputTag().

1872  {
1873  return getEntryPointerOrThrow_(name)->getVInputTag();
1874  }
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name,
std::vector< InputTag > const &  defaultValue 
) const

Definition at line 1865 of file ParameterSet.cc.

References edm::Entry::getVInputTag(), and edm::ParameterSet::retrieveUntracked().

1866  {
1867  Entry const* entryPtr = retrieveUntracked(name);
1868  return entryPtr == nullptr ? defaultValue : entryPtr->getVInputTag();
1869  }
Definition: Entry.h:18
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name) const

Definition at line 1127 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVInt32().

1127  {
1128  return getEntryPointerOrThrow_(name)->getVInt32();
1129  }
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name,
std::vector< int > const &  defaultValue 
) const

Definition at line 1120 of file ParameterSet.cc.

References edm::Entry::getVInt32(), and edm::ParameterSet::retrieveUntracked().

1121  {
1122  Entry const* entryPtr = retrieveUntracked(name);
1123  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt32();
1124  }
Definition: Entry.h:18
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name,
std::vector< int > const &  defaultValue 
) const

Definition at line 1691 of file ParameterSet.cc.

References edm::Entry::getVInt32(), and edm::ParameterSet::retrieveUntracked().

1692  {
1693  Entry const* entryPtr = retrieveUntracked(name);
1694  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt32();
1695  }
Definition: Entry.h:18
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name) const

Definition at line 1698 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVInt32().

1698  {
1699  return getEntryPointerOrThrow_(name)->getVInt32();
1700  }
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name) const

Definition at line 1210 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVInt64().

1210  {
1211  return getEntryPointerOrThrow_(name)->getVInt64();
1212  }
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name,
std::vector< long long > const &  defaultValue 
) const

Definition at line 1203 of file ParameterSet.cc.

References edm::Entry::getVInt64(), and edm::ParameterSet::retrieveUntracked().

1204  {
1205  Entry const* entryPtr = retrieveUntracked(name);
1206  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt64();
1207  }
Definition: Entry.h:18
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name) const

Definition at line 1779 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVInt64().

1779  {
1780  return getEntryPointerOrThrow_(name)->getVInt64();
1781  }
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name,
std::vector< long long > const &  defaultValue 
) const

Definition at line 1772 of file ParameterSet.cc.

References edm::Entry::getVInt64(), and edm::ParameterSet::retrieveUntracked().

1773  {
1774  Entry const* entryPtr = retrieveUntracked(name);
1775  return entryPtr == nullptr ? defaultValue : entryPtr->getVInt64();
1776  }
Definition: Entry.h:18
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const

Definition at line 1378 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockID(), and edm::ParameterSet::retrieveUntracked().

1379  {
1380  Entry const* entryPtr = retrieveUntracked(name);
1381  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockID();
1382  }
Definition: Entry.h:18
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const

Definition at line 1385 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVLuminosityBlockID().

1386  {
1387  return getEntryPointerOrThrow_(name)->getVLuminosityBlockID();
1388  }
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name) const

Definition at line 1951 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVLuminosityBlockID().

1952  {
1953  return getEntryPointerOrThrow_(name)->getVLuminosityBlockID();
1954  }
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const

Definition at line 1944 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockID(), and edm::ParameterSet::retrieveUntracked().

1945  {
1946  Entry const* entryPtr = retrieveUntracked(name);
1947  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockID();
1948  }
Definition: Entry.h:18
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const

Definition at line 1433 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockRange(), and edm::ParameterSet::retrieveUntracked().

1434  {
1435  Entry const* entryPtr = retrieveUntracked(name);
1436  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockRange();
1437  }
Definition: Entry.h:18
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const

Definition at line 1440 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVLuminosityBlockRange().

1441  {
1442  return getEntryPointerOrThrow_(name)->getVLuminosityBlockRange();
1443  }
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const

Definition at line 1998 of file ParameterSet.cc.

References edm::Entry::getVLuminosityBlockRange(), and edm::ParameterSet::retrieveUntracked().

1999  {
2000  Entry const* entryPtr = retrieveUntracked(name);
2001  return entryPtr == nullptr ? defaultValue : entryPtr->getVLuminosityBlockRange();
2002  }
Definition: Entry.h:18
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const

Definition at line 2005 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVLuminosityBlockRange().

2006  {
2007  return getEntryPointerOrThrow_(name)->getVLuminosityBlockRange();
2008  }
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 101 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, and edm::pdtentry::getPdtEntryVector().

102  {
103  Entry const *e = getEntryPointerOrThrow_(name);
104  return pdtentry::getPdtEntryVector(*e, name.c_str());
105  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:60
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( std::string const &  name,
std::vector< PdtEntry > const &  defaultValue 
) const
inline

Definition at line 108 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, and edm::pdtentry::getPdtEntryVector().

109  {
110  Entry const *e = retrieveUntracked(name);
111  if (e == nullptr)
112  return defaultValue;
113  return pdtentry::getPdtEntryVector(*e, name.c_str());
114  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:60
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name,
std::vector< PdtEntry > const &  defaultValue 
) const
inline

Definition at line 129 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, and edm::pdtentry::getPdtEntryVector().

130  {
131  Entry const *e = retrieveUntracked(name);
132  if (e == nullptr)
133  return defaultValue;
134  return pdtentry::getPdtEntryVector(*e, name);
135  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:60
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 123 of file PdtEntry.h.

References MillePedeFileConverter_cfg::e, and edm::pdtentry::getPdtEntryVector().

123  {
124  Entry const *e = getEntryPointerOrThrow_(name);
125  return pdtentry::getPdtEntryVector(*e, name);
126  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:60
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name) const

Definition at line 1263 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVString().

1264  {
1265  return getEntryPointerOrThrow_(name)->getVString();
1266  }
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name,
std::vector< std::string > const &  defaultValue 
) const

Definition at line 1256 of file ParameterSet.cc.

References edm::Entry::getVString(), and edm::ParameterSet::retrieveUntracked().

1257  {
1258  Entry const* entryPtr = retrieveUntracked(name);
1259  return entryPtr == nullptr ? defaultValue : entryPtr->getVString();
1260  }
Definition: Entry.h:18
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name) const

Definition at line 1832 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVString().

1832  {
1833  return getEntryPointerOrThrow_(name)->getVString();
1834  }
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name,
std::vector< std::string > const &  defaultValue 
) const

Definition at line 1825 of file ParameterSet.cc.

References edm::Entry::getVString(), and edm::ParameterSet::retrieveUntracked().

1826  {
1827  Entry const* entryPtr = retrieveUntracked(name);
1828  return entryPtr == nullptr ? defaultValue : entryPtr->getVString();
1829  }
Definition: Entry.h:18
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name,
std::vector< unsigned int > const &  defaultValue 
) const

Definition at line 1147 of file ParameterSet.cc.

References edm::Entry::getVUInt32(), and edm::ParameterSet::retrieveUntracked().

1148  {
1149  Entry const* entryPtr = retrieveUntracked(name);
1150  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt32();
1151  }
Definition: Entry.h:18
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name) const

Definition at line 1154 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVUInt32().

1155  {
1156  return getEntryPointerOrThrow_(name)->getVUInt32();
1157  }
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name,
std::vector< unsigned int > const &  defaultValue 
) const

Definition at line 1718 of file ParameterSet.cc.

References edm::Entry::getVUInt32(), and edm::ParameterSet::retrieveUntracked().

1719  {
1720  Entry const* entryPtr = retrieveUntracked(name);
1721  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt32();
1722  }
Definition: Entry.h:18
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name) const

Definition at line 1725 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVUInt32().

1725  {
1726  return getEntryPointerOrThrow_(name)->getVUInt32();
1727  }
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name,
std::vector< unsigned long long > const &  defaultValue 
) const

Definition at line 1175 of file ParameterSet.cc.

References edm::Entry::getVUInt64(), and edm::ParameterSet::retrieveUntracked().

1176  {
1177  Entry const* entryPtr = retrieveUntracked(name);
1178  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt64();
1179  }
Definition: Entry.h:18
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name) const

Definition at line 1182 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVUInt64().

1183  {
1184  return getEntryPointerOrThrow_(name)->getVUInt64();
1185  }
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name) const

Definition at line 1752 of file ParameterSet.cc.

References edm::ParameterSet::getEntryPointerOrThrow_(), and edm::Entry::getVUInt64().

1753  {
1754  return getEntryPointerOrThrow_(name)->getVUInt64();
1755  }
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name,
std::vector< unsigned long long > const &  defaultValue 
) const

Definition at line 1745 of file ParameterSet.cc.

References edm::Entry::getVUInt64(), and edm::ParameterSet::retrieveUntracked().

1746  {
1747  Entry const* entryPtr = retrieveUntracked(name);
1748  return entryPtr == nullptr ? defaultValue : entryPtr->getVUInt64();
1749  }
Definition: Entry.h:18
std::string edm::parameterTypeEnumToString ( ParameterTypes  iType)

Definition at line 61 of file ParameterDescriptionNode.cc.

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

61  {
62  switch (iType) {
63  TYPE_TO_NAME(int32);
64  TYPE_TO_NAME(vint32);
66  TYPE_TO_NAME(vuint32);
67  TYPE_TO_NAME(int64);
68  TYPE_TO_NAME(vint64);
70  TYPE_TO_NAME(vuint64);
71  TYPE_TO_NAME(double);
73  TYPE_TO_NAME(bool);
74  TYPE_TO_NAME(string);
76  TYPE_TO_NAME(EventID);
77  TYPE_TO_NAME(VEventID);
78  TYPE_TO_NAME(LuminosityBlockID);
79  TYPE_TO_NAME(VLuminosityBlockID);
80  TYPE_TO_NAME(InputTag);
81  TYPE_TO_NAME(VInputTag);
82  TYPE_TO_NAME(FileInPath);
83  TYPE_TO_NAME(PSet);
86  TYPE_TO_NAME(VLuminosityBlockRange);
87  TYPE_TO_NAME(EventRange);
88  TYPE_TO_NAME(VEventRange);
89  default:
90  assert(false);
91  }
92  return "";
93  }
vector< string > vstring
Definition: ExoticaDQM.cc:8
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 42 of file ParameterDescriptionNode.cc.

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

Definition at line 40 of file ParameterDescriptionNode.cc.

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

Definition at line 45 of file ParameterDescriptionNode.cc.

Definition at line 54 of file ParameterDescriptionNode.cc.

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

Definition at line 49 of file ParameterDescriptionNode.cc.

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

Definition at line 32 of file ParameterDescriptionNode.cc.

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

Definition at line 36 of file ParameterDescriptionNode.cc.

Definition at line 47 of file ParameterDescriptionNode.cc.

Definition at line 52 of file ParameterDescriptionNode.cc.

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

Definition at line 43 of file ParameterDescriptionNode.cc.

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

Definition at line 34 of file ParameterDescriptionNode.cc.

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

Definition at line 38 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 PFRecoTauDiscriminationByIsolation_cfi::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 648 of file SubProcess.cc.

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

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

648  {
649  std::vector<std::string> subProcesses =
650  parameterSet.getUntrackedParameter<std::vector<std::string>>("@all_subprocesses");
651  if (!subProcesses.empty()) {
652  return parameterSet.popVParameterSet("subProcesses");
653  }
654  return {};
655  }
static void edm::postIndexIntoFilePrintEventLists ( TFile *  tfl,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 154 of file CollUtil.cc.

References 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 lumiQTWidget::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  }
type
Definition: HCALResponse.h:21
unsigned long long EventNumber_t
std::string const & indexIntoFileBranchName()
Definition: BranchType.cc:234
std::string const & eventTreeName()
Definition: BranchType.cc:266
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, nEvents, and lumiQTWidget::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:234
UInt_t nEvents
Definition: hcalCalib.cc:41
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:229
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 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:229
UInt_t nEvents
Definition: hcalCalib.cc:41
template<typename S >
S& edm::print ( S os,
JobReport::InputFile const &  f 
)

Definition at line 66 of file JobReport.cc.

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

Referenced by FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::__del__(), hippyaddtobaddatafiles.OneAtATime::__enter__(), OrderedSet.OrderedSet::__eq__(), VarParsing.VarParsing::__getattr__(), dataset.Dataset::__getFileInfoList(), dataset.Dataset::__getMagneticField(), dataset.Dataset::__getMagneticFieldForRun(), dataset.Dataset::__getRunList(), contentValuesCheck.OptionParser::__init__(), contentValuesToDBS.OptionParser::__init__(), contentValuesToRR.OptionParser::__init__(), python.ParticleDecayDrawer.ParticleDecayDrawer::__init__(), presentation.ValidationPlots::__init__(), authentication.X509CertAuth::__init__(), edmPickEvents.Event::__init__(), generateEDF.LumiInfoCont::__init__(), python.cmstools.cmserror::__init__(), genericValidation.GenericValidationData::__init__(), crabFunctions.CertInfo::__init__(), GenObject.GenObject::__init__(), dqm_interfaces.DQMRootFile::__is_null(), dataset.Dataset::__lumiSelectionSnippet(), dirstructure.Comparison::__make_image(), GenObject.GenObject::__setattr__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), PhaseITreeProducer.ModuleLvlValuesReader::__TraverseDirTree(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::__TraverseDirTree(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker::_check_coverage(), mps_alisetup.SetupAlignment::_check_iov_definition(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker::_check_sys_side(), mps_alisetup.SetupAlignment::_construct_paths(), mps_alisetup.SetupAlignment::_create_additional_pede_jobs(), mps_alisetup.SetupAlignment::_create_input_db(), mps_alisetup.SetupAlignment::_create_mass_storage_directory(), mps_alisetup.SetupAlignment::_create_mille_jobs(), mps_alisetup.SetupAlignment::_create_pede_jobs(), mps_alisetup.SetupAlignment::_create_tracker_tree(), GenObject.GenObject::_createCppClass(), validation.Validation::_doFastsimFastVsFullPlots(), validation.Validation::_doPlots(), validation.SimpleValidation::_doPlots(), validation.Validation::_doPlotsFastFull(), validation.Validation::_doPlotsPileup(), mps_alisetup.SetupAlignment::_fetch_dataset_directory(), mps_alisetup.SetupAlignment::_fetch_datasets(), mps_alisetup.SetupAlignment::_fetch_defaults(), mps_alisetup.SetupAlignment::_fetch_essentials(), mps_alisetup.SetupAlignment::_fill_general_options(), plotting::_findBounds(), plotting::_findBoundsY(), GenObject.GenObject::_fixLostGreaterThans(), cfg-viewer.unscheduled::_getData(), plotting::_getDirectoryDetailed(), validation::_getGlobalTag(), trackselectionRefitting::_getModule(), plotting::_getObject(), validation.Validation::_getRefFileAndSelection(), validation::_getRelValUrl(), mps_alisetup.SetupAlignment::_handle_process_call(), generateEDF.LumiInfoCont::_integrateContainer(), GenObject.GenObject::_loadGoRootLibrary(), cmsPerfServer::_main(), cmsPerfRegress::_main(), XML2Python.DataNode::_outputValues(), Page1Parser.Page1Parser::_Parse(), SimL1EmulatorRepack_CalouGT_cff::_print(), SimL1EmulatorRepack_Full2015Data_cff::_print(), SimL1EmulatorRepack_FullMC_cff::_print(), SimL1EmulatorRepack_FullSimTP_cff::_print(), SimL1EmulatorRepack_uGT_cff::_print(), SimL1EmulatorRepack_Full_cff::_print(), printPaths::_printOp(), cfg-viewer.unscheduled::_proceed(), tauTools::_switchToPFTau(), VarParsing.VarParsing::_withTags(), FilterSelection::acceptMap(), customiseStuckTBMSimulation::activateStuckTBMSimulation2018NoPU(), pfTools::adaptPFElectrons(), pfTools::adaptPFMuons(), pfTools::adaptPVs(), python.rootplot.core::add_from_config_files(), newFWLiteAna::addBuildPiece(), reco::IsoDeposit::addCandEnergy(), ConfigBuilder.ConfigBuilder::addConditions(), ConfigBuilder.ConfigBuilder::addCustomise(), patMuonsWithTrigger_cff::addDiMuonTriggers(), RemoveAddSevLevel::AddFlag(), jetCollectionTools.GenJetAdder::addGenJetCollection(), helpers::addKeepStatement(), Mixing::addMixingScenario(), GenObject.GenObject::addObjectVariable(), ConfigBuilder.ConfigBuilder::addOutput(), jetCollectionTools.RecoJetAdder::addRecoJetCollection(), ConfigBuilder.ConfigBuilder::addSource(), ConfigBuilder.ConfigBuilder::addStandardSequences(), custom_jme_cff.TableGenJetAdder::addTable(), custom_jme_cff.TableRecoJetAdder::addTable(), lumiPatch::addTimeForRun(), lumiQueryAPI::allruns(), storeTreeInfo.TreeAnalyzer::analyzePath(), harvestRelVal::append_sample_mcrab(), dtChamberMasker_cff::appendDTChamberMaskerAtHLT(), CommonMethods::appendSqliteFile(), cmsswVersionTools.PickRelValInputFiles::apply(), HiHelperTools::applyPostfix(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), BeamSpotWorkflow::aselectFilesToProcess(), utils::ask_ok(), utils_v2::auth_download_file(), fetchall_from_DQM_v2::auth_wget(), utils_v2::auth_wget(), heppy_batch::batchScriptCERN(), heppy_batch::batchScriptPSI(), core.TreeAnalyzerNumpy.TreeAnalyzerNumpy::beginLoop(), plotscripts::bellcurves(), dumpWBM::bitzeroForRun(), dumpTrg::bitzeroForRun(), GenObject.GenObject::blurEvent(), diffTrackingNtuple::body(), PixelTrackBuilder::build(), psClasses.BuildThread::build(), cmsHarvester::build_dataset_list(), dataset.CMSDataset::buildListOfFilesDBS(), dataDML::bulkInsertHltLSData(), dataDML::bulkInsertLumiLSSummary(), dataDML::bulkInsertTrgLSData(), utilities::cache(), helperFunctions::cache(), estimatePileup_makeJSON::CalcPileup(), estimatePileup_makeJSON_2015::CalcPileup(), dirstructure.Directory::calcStats(), applyCalibration::calibrateRange(), applyCalibration::calibrateRun(), ValidationMatrix::call_compare_using_files(), heppy_loop::callBack(), edmIntegrityCheck::callback(), castorBaseDir::castorBaseDir(), CrabHelper.CrabHelper::check_crabtask(), combineBTagCalibrationData::check_csv_data(), harvestRelVal::check_dset(), ValidationMatrix::check_root_files(), batchmanager.BatchManager::CheckBatchScript(), alcaDQMUpload::checkFileName(), contentValuesLib::checkFilter(), checkforupdate.checkforupdate::checkforupdate(), ValidationOptions_cff::checkOptionsForBadInput(), edmConvertToStreamModule::checkout_package(), GlobalTag.GlobalTag::checkPrefix(), batchHippy.MyBatchManager::checkProxy(), alcaDQMUpload::checkSSL(), cmsRelvalreportInput::checkSteps(), edmStreamStallGrapher::chooseParser(), visDQMUtils::classifyDQMFile(), parallelization::cleanupandexit(), cmsswFiletrace::cleanupenv(), cmsswConfigtrace::cleanupenv(), VarParsing.VarParsing::clearList(), python.rootplot.core::cli_rootplot(), DQM.DQMReader::close(), shell::close_connections(), cmsPerfRegress::cmpSimpMemReport(), utils::code_generator(), cmsswConfigtrace::collect_trace(), electronDataDiscovery::common_search(), compareDQMOutput::compare(), EcalCondTools::compare(), ValidationMatrix_v2.ReleaseComparison::compare(), cmsRelRegress::compareSimMemPair(), GenObject.GenObject::compareTwoTrees(), bookConverter::compute(), Page1Parser.Page1Parser::ComputeTotalPrescales(), cms::config(), helper::ConfigSectionMap(), RecoTauValidation_cfi::ConvertDrawJobToLegacyCompare(), HltComparatorCreateWorkflow::ConvertHltOnlineToOffline(), cmsswConfigtrace::convertToUnscheduled(), conddbCopyTest::copy(), popcon2dropbox::copy(), mps_setup_new_align::copy_default_templates(), command_line::copy_tag(), createPayload::copyToWorkflowdir(), cmsPerfPublish::copytree4(), JetReCalibrator.JetReCalibrator::correctAll(), plotscripts::corrections2D(), DeadROCCounter_Phase1::countBadROCBarrel(), DeadROCCounter_Phase1::countBadROCForward(), CommonMethods::cp(), crabFunctions::crabCommandProcess(), plotting.AggregateBins::create(), harvestRelVal::create_crab(), bookConverter::create_declaration(), compareHistograms::create_dif(), harvestRelVal::create_harvest(), cmsHarvester::create_multicrab_config(), tools::create_single_iov_db(), testtree::create_tree(), HltComparatorCreateWorkflow::CreateAnalysisConfig(), edmStreamStallGrapher::createAsciiImage(), cmsPerfPublish::createCandlHTML(), alignmentValidation::createCanvasesList(), alignmentValidation::createCanvasToIDList(), SteerMultipleCompare::CreateDirectory(), alignmentValidation::createDirectoryStructure(), dbUtil.dbUtil::createEntryTable(), dbUtil.dbUtil::createIDTable(), lumidb2Schema::createLumi(), lumiSchema::createLumi(), convertParamsToOnlineFormat::createMIF(), heppy_loop::createOutputDir(), edmStreamStallGrapher::createPDFImage(), plotscripts::createPeaksProfile(), pickleFileCreater::createPickleFile(), cmsPerfPublish::createRegressHTML(), dbUtil.dbUtil::createRevMapTable(), lumidbDDL::createTables(), LaunchOnCondor::CreateTheShellFile(), PhaseITreeProducer.ModuleLvlValuesReader::CreateTree(), PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2(), cmsPerfPublish::createWebReports(), CommonMethods::createWeightedPayloads(), CommonMethods::createWeightedPayloadsNew(), MatrixReader.MatrixReader::createWorkFlows(), convertParamsToOnlineFormat::createXML(), muonCustoms::csc_PathVsModule_SanityCheck(), customHGCdigitizer_cfi::customHGCdigitizer(), Exotica_MT_SIM_cfi::customise(), Exotica_HSCP_SIM_cfi::customise(), customiseCheckEventSetup::customise(), muonCustoms::customise_csc_cond_ungangedME11A_mc(), slice_test_customizations_cff::customise_for_slice_test(), customisers::customiseGenerator(), L1Trigger_custom::customiseL1Menu(), customisers::customiseMerging(), customiseMTVForBPix123Holes::customiseMTVForBPix123Holes(), postLS1Customs::customisePostLS1(), postLS1Customs::customisePostLS1_50ns(), postLS1Customs::customisePostLS1_HI(), RecoTLR::customiseVALSKIM(), customizeMiniAOD_HcalFixLegacy2016::customizeAll(), tkal_create_file_lists::das_client(), dqmiodatasetharvest::dasquery(), dataset.Dataset::datasetSnippet(), lumiTime.lumiTime::DatetimeToStr(), plotscripts::DBdiff(), web.dbfile2html::dbfile2html(), AlCaHLTBitMon_QueryRunRegistry::DBSquery(), dumpWBM::deadcountForRun(), dumpTrg::deadcountForRun(), ZEleEleAnalyzer.ZEleEleAnalyzer::declareHandles(), ZMuMuAnalyzer.ZMuMuAnalyzer::declareHandles(), core.TreeAnalyzerNumpy.TreeAnalyzerNumpy::declareVariables(), ConfigBuilder.ConfigBuilder::define_Configs(), AlCaHLTBitMon_ParallelJobs::defineOptions(), AlCaHLTBitMon_QueryRunRegistry::defineOptions(), lumiQueryAPI::deliveredLumiForRange(), lumiQueryAPI::deliveredLumiForRun(), elec_selection::deltaR(), lumidb2Schema::describeLumi(), lumiSchema::describeLumi(), dbUtil.dbUtil::describeSchema(), dqmMemoryStats::displayDirectoryStatistics(), getRunRegistry::displayHelp(), ValidationMatrix::do_comparisons_threaded(), personalPlayback.FrameworkJob::do_exec(), ValidationMatrix::do_html(), ValidationMatrix::do_reports(), utils.BinToBin::do_test(), utils.BinToBin1percent::do_test(), WorkFlowRunner.WorkFlowRunner::doCmd(), cmsPerfPublish::docopy(), Skims_cff::documentSkims(), SkimsCosmics_cff::documentSkims(), SkimsHeavyIons_cff::documentSkims(), alignmentValidation::doCurvaturePlotsDT(), alignmentValidation::doFitFunctionsPlotsCSC(), alignmentValidation::doFitFunctionsPlotsDT(), MassReplace.MassSearchReplaceAnyInputTagVisitor::doIt(), ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::doIt(), insertMaterial::dokument(), alignmentValidation::doMapPlotsDT(), plotscripts::doTests(), plotscripts::doTestsForMapPlots(), validation.Validation::download(), TkMap_script_phase1::downloadnlineDQMhisto(), TkMap_script_phase1::downloadOfflineDQMhisto(), TkMap_script_phase1::downloadOfflinePCLhisto(), util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), dqm_diff::dqm_diff(), MergeOccDeadROC::dqm_get_dataset(), MergePCLDeadROC::dqm_get_dataset(), MergePCLFedErr::dqm_get_dataset(), PCLOthers::dqm_get_dataset(), python.ParticleDecayDrawer.ParticleDecayDrawer::draw(), plotting.Plot::draw(), matplotRender.matplotRender::drawInteractive(), lumiCorrections::driftcorrectionsForRange(), lumidb2Schema::dropLumi(), lumiSchema::dropLumi(), logger.logger::dump(), Vispa.Share.UndoEvent.UndoEvent::dump(), TreeCrawler.Package::dump(), dataset.Dataset::dump_cff(), o2olib.O2OJobMgr::dumpConfig(), PhaseITreeProducer.ModuleLvlValuesReader::DumpData(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::DumpData(), addOnTests.StandardTester::dumpTest(), EcalCondTools::dumpXML(), edmConvertToStreamModule::edit_file(), eGammaCorrection::eGammaCorrection(), geometryXMLtoCSV.ContentHandler::endElement(), cmsswPreprocessor.CmsswPreprocessor::endLoop(), MassReplace.MassSearchReplaceParamVisitor::enter(), dqmd_manager::exec_func(), cmsIgProf_Analysis::execute(), valtools.benchmark::exists(), uploads.uploader::exit_upload(), cmsRelvalreportInput::expandHyphens(), DOTExport.DotExport::export(), cmsPerfSuiteHarvest::exportIgProfReport(), cmsPerfSuiteHarvest::exportMemcheckReport(), cmssw_exportdb_xml::exportRunInfo(), cmsPerfSuiteHarvest::exportSequences(), cmsPerfSuiteHarvest::exportTimeSizeJob(), Impl.AlCa.AlCa::expressProcessing(), cmsPerfPublish::fail(), sistrip::FEDDAQHeader::FEDDAQHeader(), inputFilesetParser.inputFilesetParser::fieldtotal(), inputFilesetParser.inputFilesetParser::fieldvalues(), mergeAndRegister::filecheck(), dqmPostProcessing_online::filecheck(), dataset.Dataset::fileList(), ConfigBuilder::filesFromDASQuery(), ConfigBuilder::filesFromList(), cmsLHEtoEOSManager::fileUpload(), ntuple::fillJet(), dumpRunInfo::fillnumForRun(), estimatePileup::fillPileupHistogram(), estimatePileup2::fillPileupHistogram(), pileupCalc::fillPileupHistogram(), DBSApi_cff::FillSource(), specificLumi::filltofiles(), cppFunctionSkipper::filterFile(), mergeJSON::filterRuns(), harvestRelVal::find_dqmref(), edmConvertToStreamModule::find_file_for_module(), NuclearInteractionEDProducer::findAdditionalSecondaryTracks(), MultipleCompare::FindParents(), dataset.CMSDataset::findPrimaryDatasetEntries(), dataset.PrivateDataset::findPrimaryDatasetEntries(), dataset.CMSDataset::findPrimaryDatasetNumFiles(), dataset.PrivateDataset::findPrimaryDatasetNumFiles(), hltTrgSeedMapper::findUniqueSeed(), edmTracerLogToSimpleConfig.ConsumesParser::finish(), customisers::fix_input_tags(), relval_machine::fix_run(), mps_fire::forward_proxy(), DeadROC_duringRun::FPIX_list(), submitDQMOfflineCAF::Func_Exit(), submitDQMOfflineCAF::Func_ExitBool(), submitDQMOfflineCAF::Func_ExitUsage(), getRunInfo::Func_FillInfoDBS(), getRunInfo::Func_FillInfoRunRegistry(), submitDQMOfflineCAF::Func_MagConfig(), submitDQMOfflineCAF::Func_Usage(), utils::functor(), cms::generate(), pkg.AbstractPkg::generate(), models::generate(), generate2023Geometry::generateGeom(), main::generator(), useReflexToDescribeForGenObject::genObjectDef(), gemGeometryCustoms::geomReplace(), directories2html::get_aggr_pairs_info(), Mpslibclass.jobdatabase::get_class(), ValidationMatrix::get_clean_fileanames(), cmsRelValCmd::get_cmsDriverOptions(), harvestRelVal::get_cond_from_dsetpath(), das::get_data(), dataLoader::get_data(), cmsPerfPublish::get_environ(), ValidationMatrix::get_filenames_from_pool(), tools::get_iovs(), pkg.AbstractPkg::get_kwds(), beamvalidation::get_lastIOVs(), beamvalidation::get_listoftags(), uploadConditions::get_local_commit_hash(), cmsCpuInfo::get_NumOfCores(), cmsPerfSuiteHarvest::get_params(), beamvalidation::get_plots(), tools::get_process_object(), web.app_utils::get_release_summary_stats(), ValidationMatrix::get_roofiles_in_dir(), utils_v2::get_size_to_download(), tools::get_tags(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::get_tarball_fromlog(), PixelMapPlotter::GetAffectedRocs(), getRunAppsInfo::getAppPID(), cmsPerfPublish::getcmd(), ws_sso_content_reader::getContent(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getCorrectedMET(), JetReCalibrator.JetReCalibrator::getCorrection(), AlCaHLTBitMon_QueryRunRegistry::getData(), cmsPerfPublish::getDirnameDirs(), edmPickEvents::getFileNames_das_client(), edmPickEvents::getFileNames_dasgoclient(), dataset.Dataset::getfiles(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler::getGlobalTag(), findQualityFiles::getGoodBRuns(), findQualityFiles::getGoodQRuns(), TkMap_script_phase1::getGT(), getGTfromDQMFile_V2::getGTfromDQMFile(), production_tasks.MonitorJobs::getjobid(), BeamSpotWorkflow::getLastUploadedIOV(), Inspector.Inspector::GetListObjects(), BeamSpotWorkflow::getListOfRunsAndLumiFromDBS(), checkRuns::getListOfRunsAndLumiFromRR(), checkPayloads::getListOfRunsAndLumiFromRR(), BeamSpotWorkflow::getListOfRunsAndLumiFromRR(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::getMachineInfo(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getMETUncertainties(), SimpleL1MuGMTCand::getMomentum(), DeadROCCounter::GetNonZeroOccNumber(), cmsPerfRegress::getNpoints(), EcalCondTools::getObject(), useReflexToDescribeForGenObject::getObjectList(), Mixins._Parameterizable::getParameter(), cmsRelRegress::getParameters(), cmsPerfRegress::getParameters(), getHLTPrescaleColumns::getPrescalesFromKey(), makeHLTPrescaleTable::getProcessObjectFromConfDB(), cmsPerfPublish::getRelativeDir(), EgammaHLTValidationUtils::getResult(), FileNamesHelper::getRootFileSize(), SiStripSummary::getRunNr(), util.rrClient::getRunsNewer(), lumiDBFiller::getRunsToBeUploaded(), trackselectionRefitting::getSequence(), cmsPerfRegress::getSimpleMemLogData(), specificLumi::getSpecificLumi(), cmsPerfPublish::getStageRepDirs(), L1TMuon::TriggerPrimitive::getSubSector(), lumiPatch::getTimeForRun(), EcalCondTools::getToken(), parseEventContent::getTxtEventContentRules(), logger.logger::gitdiff(), querying_tests::global_tag_tests(), grid1d_t(), lumiPatch::GTdeadtimeBeamActiveForRun(), L1GlobalTriggerReadoutRecord::gtPsbVector(), L1GtTechnicalTrigger::gtTechnicalTriggerResult(), ValidationMatrix::guess_blacklists(), ValidationMatrix::guess_params(), heppy_hadd::hadd(), heppy_hadd::haddChunks(), heppy_hadd::haddRec(), Page1Parser.Page1Parser::handle_starttag(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::handleParsingError(), cmsPerfHarvest::harvest(), dqmiodatasetharvest::harvestfile(), dumpRecoGeometry_cfg::help(), dumpSimGeometry_cfg::help(), dataformats::help(), cmsswFiletrace::help(), cmsswConfigtrace::help(), VarParsing.VarParsing::help(), overlapValidationPlot::hist(), EcalCondTools::histo(), queryDataSource::hltFromRuninfoV2(), dumpRunInfo::hltkeyForRun(), dataformats::importDF(), dataformats::indent(), tablePrinter::indent(), dqmd_manager::info(), QGLikelihoodCalculator.QGLikelihoodCalculator::init(), BTagWeightCalculator.BTagWeightCalculator::init(), utils_v2::init_database(), cmsRelvalreportInput::init_vars(), VIDSelectorBase.VIDSelectorBase::initialize(), fileTransfer::injectFile(), RandomRunSource.RandomRunSource::insertInto(), dataDML::insertTrgHltMap(), Eras.Eras::inspect(), Eras.Eras::inspectEra(), Eras.Eras::inspectModifier(), MatrixUtil.WF::interpret(), dumpRunInfo::l1keyForRun(), customiseReEmul::L1TAddBitwiseLayer1(), customiseUtils::L1TAddDebugOutput(), customiseDemo::L1TBasicDemo(), customiseUtils::L1TDumpEventData(), customiseUtils::L1TGlobalDigisSummary(), customiseUtils::L1TGlobalSimDigisSummary(), customiseUtils::L1TGtStage2ComparisonRAWvsEMU(), customiseDemo::L1THLTDemo(), customiseReEmul::L1TReEmulFromRAW(), customiseReEmul::L1TReEmulFromRAW2015(), customiseReEmul::L1TReEmulFromRAWLegacyMuon(), customiseSettings::L1TSettingsToCaloStage2Params_UserDefine(), customiseUtils::L1TStage1DigisSummary(), customiseUtils::L1TStage1SimDigisSummary(), customiseUtils::L1TStage2ComparisonRAWvsEMU(), customiseUtils::L1TStage2DigisSummary(), customiseUtils::L1TStage2SimDigisSummary(), python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), command_line::list_object(), iov_list_tag::list_tag(), MatrixToProcess.MatrixToProcess::listAll(), valtools.website::listBenchmarks(), o2olib.O2OJobMgr::listConfig(), helpers::listDependencyChain(), dbUtil.dbUtil::listIndex(), EcalCondTools::listIovs(), EcalCondTools::listTags(), utils::literal2root(), MatrixToProcess.MatrixToProcess::load(), loadlibs::load_libs(), python.rootplot.core::load_matplotlib(), GenObject.GenObject::loadConfigFile(), ConfigBuilder.ConfigBuilder::loadDefaultOrSpecifiedCFF(), environment_cfi::loadDQMRunConfigFromFile(), GenObject.GenObject::loadEventFromTree(), generateEDF::loadEvents(), VarParsing.VarParsing::loadFromFile(), FileUtils::loadListFromFile(), PFTauMVAInputDiscriminatorTranslator_cfi::loadMVAInputsIntoPatTauDiscriminants(), python.rootplot.utilities::loadROOT(), ROOTData::loadStreamerInfo(), plotscripts::loadTestResultsMap(), conddbCopyTest.CopyTest::log(), conditionUploadTest.UploadTest::log(), dirstructure::logger(), utils::logger(), cmsRelvalreport::logger(), fileCollector2::logme(), producerFileCleanner::logme(), fileCollector::logme(), Inspector.Inspector::Loop(), looper.Looper::loop(), geometryDiff::loopover(), motionPolicyChamber::loopover(), CommonMethods::ls(), dqm_interfaces.DQMcommunicator::ls_url(), copyAndRename::main(), copyFiles::main(), rename::main(), allPlotsResiduals::main(), generateStandaloneCode::main(), cmsScimarkStop::main(), makeHGCalValidationPlots::main(), cmsPerfSuiteKill::main(), buildHistoTypes::main(), lumiData2::main(), uploader::main(), uploadPayloads::main(), PrescaleChecker::main(), combineBTagCalibrationData::main(), splitter::main(), printTrackingNtuple::main(), magneticFieldFilterJSON::main(), makeTrackValidationPlots::main(), mps_parse_pedechi2hist::main(), mps_setup_new_align::main(), produceOfflineValidationTex::main(), runall::main(), lumidb2Schema::main(), generateFlavCfromFlavB::main(), applyCalibration::main(), diffTrackingNtuple::main(), lumiDBFiller::main(), storeTreeInfo::main(), cmsBenchmark::main(), python.rootplot.rootinfo::main(), checkRuns::main(), conddbCopyTest::main(), dumpWBM::main(), dumpTrg::main(), SteerMultipleCompare::main(), das::main(), heppy_loop::main(), checkPayloads::main(), dumpRunInfo::main(), conditionUploadTest::main(), mixture::main(), MergeOccDeadROC::main(), MergePCLDeadROC::main(), MergePCLFedErr::main(), PCLOthers::main(), cmsPerfPublish::main(), showPage::main(), addOnTests::main(), lumiSchema::main(), alcaDQMUpload::main(), cmsswFiletrace::main(), python.rootplot.tree2hists::main(), MultipleCompare::main(), lumiPatch::main(), timingPdfMaker::main(), cmsswConfigtrace::main(), validateAlignments::main(), BeamSpotWorkflow::main(), uploadConditions::main(), cmsRelvalreportInput::main(), cfg-viewer::main(), python.rootplot.tree2hists::make_all_hists_all_files(), harvestRelVal::make_dbs_list(), utils_v2::make_file_pairs(), utils::make_files_pairs(), generateEDF::makeEDFplot(), groupFilesInBlocks::makeJobBlock(), RecoTauValidation_cfi::MakeLabeler(), gen.GeneratorAnalyzer.GeneratorAnalyzer::makeMCInfo(), valtools.benchmark::makeRelease(), batchmanager.BatchManager::ManageOutputDir(), cmsSimplememchecker_parser::manipulate_log(), cmsTiming_parser::manipulate_log(), cmsScimarkParser::manipulate_log(), parserTimingReport::manual_run(), plotscripts::mapplot(), MatrixUtil::merge(), python.rootplot.core::merge_pdf(), mergeVDriftHistosByStation::mergeHistosWheelSector(), mergeVDriftHistosByStation::mergeHistosWheelStation(), cmsswVersionTools.PickRelValInputFiles::messageEmptyList(), miniAodFiles::miniAodFiles(), lumiPatch::missingTimeRuns(), batchHippy.MyBatchManager::mkdir(), batchmanager.BatchManager::mkdir(), createPayload::mkWorkflowdir(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), production_tasks.MonitorJobs::monitor(), fitWZ::MyChi2(), electronCompare::mysystem(), electronStore::mysystem(), nano_cff::nanoAOD_addDeepInfo(), nano_cff::nanoAOD_addDeepInfoAK8(), EnablePSetHistory::new_dumpHistory(), python.rootplot.rootmath::newadd(), edm::ProductResolverIndexHelper::nextIndexValue(), normFunctors::normFunctionCaller(), batchHippy.MyBatchManager::notify(), helper::ScannerBase::numberOfExtraCuts(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), L1GtAlgorithmEvaluation::operandTokenVector(), l1t::AlgorithmEvaluation::operandTokenVector(), cmsPerfStripChart::operate(), operator<<(), cmsHarvester::option_handler_list_types(), cmsPerfClient::optionparse(), cmsDriverOptions::OptionsFromItems(), diffTrackingNtuple::outOfOrder(), getPayloadData::output(), compare::overlay(), uploadConditions::parse_arguments(), command_line::parse_command_line(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::parseAll(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::parseAllOtherTests(), VarParsing.VarParsing::parseArguments(), createTree::parseDir(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::parseGeneralInfo(), Page1Parser.Page1Parser::ParseL1Page(), Page1Parser.Page1Parser::ParseLumiPage(), convertParamsToOnlineFormat::parseOfflineLUTfile(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::parseTheCompletion(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::parseTimeSize(), lumiPatch::patchDeadtimeForRun(), cond2xml.CondXmlProcessor::payload2xml(), MatrixInjector::performInjectionOptionTest(), cmsPerfRegress::perfreport(), plotscripts::phiedges2c(), Photon.Photon::photonIDCSA14(), plotResiduals::plot(), plotResidualsCosmics::plot(), plotTTrigFromHistos::plot(), plotVDriftFromHistos::plot(), plotT0FromHistos::plot(), EcalCondTools::plot(), plotResidualsPerLayer::plot(), create_public_lumi_plots::PlotAllYears(), plotResidualsPerLayer::plotFromFile(), matplotRender.matplotRender::plotPeakPerday_Time(), create_public_peakpu_plots::PlotPeakPUAllYears(), matplotRender.matplotRender::plotPerdayX_Time(), plotResidualsPerLayer::plotResLayer(), matplotRender.matplotRender::plotSumX_Fill(), matplotRender.matplotRender::plotSumX_Run(), matplotRender.matplotRender::plotSumX_Time(), plotscripts::polynomials(), plotscripts.SawTeethFunction::pp(), cmsswPreprocessor.CmsswPreprocessor::prefetchOneXrootdFile(), MatrixInjector.MatrixInjector::prepare(), MatrixReader.MatrixReader::prepare(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCAHARVEST(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_GEN(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_L1HwVal(), ConfigBuilder.ConfigBuilder::prepare_L1REPACK(), ConfigBuilder.ConfigBuilder::prepare_RAW2RECO(), ConfigBuilder.ConfigBuilder::prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder::prepare_SKIM(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), batchmanager.BatchManager::PrepareJob(), batchmanager.BatchManager::PrepareJobs(), cmsBatch.MyBatchManager::PrepareJobUser(), batchmanager.BatchManager::PrepareJobUser(), heppy_batch.MyBatchManager::PrepareJobUser(), cmsPerfClient::presentBenchmarkData(), PixelMapPlotter.HistogramManager::prettifyCanvas(), PDRates::PrimaryDatasets(), cmsRelvalreport::principal(), PFCheckHitPattern::print(), dataLoader.DataLoader::print_data(), harvestRelVal::print_def(), pkg.AbstractPkg::print_etags(), cmsPerfPublish::print_header(), DQMIO2histo.DQMIO::print_index(), edmConvertToStreamModule::print_lines(), Mpslibclass.jobdatabase::print_memdb(), mps_list_evts::print_merging_scheme(), tkal_create_file_lists::print_msg(), mps_list_evts::print_num_evts_per_dataset(), dirstructure.Directory::print_report(), conddb_version_mgr::print_table(), o2olib::print_table(), pkg.AbstractPkg::print_tags(), cmsBenchmarkReader::printBenchmarkData(), config::printComps(), lumiQueryAPI::printDeliveredLumi(), plotscripts::printDeltaTs(), GenObject.GenObject::printEvent(), dataset.BaseDataset::printFiles(), GenObject.GenObject::printGlobal(), ExtractAppInfoFromXML::printGrid(), createFEDtable::printHtmlTable(), dataset.BaseDataset::printInfo(), objects.IsoTrackAnalyzer::printInfo(), objects.PhotonAnalyzer.PhotonAnalyzer::printInfo(), dataset.Dataset::printInfo(), studyJets::printJetProperties(), RemoveAddSevLevel::PrintLevels(), TablePrint::PrintLine(), classes.PedeDumpData::printLog(), AlCaHLTBitMon_QueryRunRegistry::printLumi(), insertMaterial::printMaterials(), readConfig::printMe(), Mixing::printMe(), cmsCodeRulesChecker::printOut(), lumiQueryAPI::printOverviewData(), printPaths::printPath(), lumiQueryAPI::printPerLSLumi(), lumiQueryAPI::printRecordedLumi(), edmStreamStallGrapher::printStalledModulesInOrder(), genericValidation.ValidationWithPlotsSummaryBase::printsummaryitems(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::PrintTrackerMaps(), createFEDtable::printTwikiTable(), weight::printWeights(), ExtractAppInfoFromXML::printXMLtree(), bookConverter::priorities(), CMSTestAnalyzer.CMSTestAnalyzer::process(), Printer.Printer::process(), core.Analyzer.Analyzer::process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.EventSelector.EventSelector::process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), analyzer.Analyzer::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), python.rootplot.core.Options::process_configs(), cmsPerfSuiteHarvest::process_igprof_dir(), das-selected-lumis::process_lumi(), cmsPerfSuiteHarvest::process_memcheck_dir(), cmsHarvester::process_runs_use_and_ignore_lists(), cmsPerfSuiteHarvest::process_timesize_dir(), indexGenCompare::processBenchmark(), create_public_peakpu_plots::processdata(), VIDSelectorValidator.VIDSelectorValidator::processEvents(), VIDSelectorValidator.VIDSelectorValidator::processInputList(), sysUtil::processRunning(), RPCUnpackingModule::produce(), EcalTrigPrimProducer::produce(), L1TGlobalProducer::produce(), __class__< T >::produce(), NuclearInteractionEDProducer::produce(), dirstructure.Directory::prune(), Config.Process::prune(), edmIntegrityCheck.PublishToFileSystem::publish(), uploadConditions::pull_code_from_git(), MetAnalyzer::pv(), das::query(), edm::RandomNumberGenerator::RandomNumberGenerator(), PDRates::RateInPD(), uploadConditions::re_upload(), bookConverter::read_data(), Mpslibclass.jobdatabase::read_db(), harvestRelVal::read_ds_file(), CommonMethods::readBeamSpotFile(), valtools.webpage::readCaption(), valtools.webpage::readCaptions(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimark(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::readFile(), PhaseITreeProducer.ModuleLvlValuesReader::ReadHistograms(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::ReadHistograms(), InefficientDoubleROC.InefficientDeadROCs::ReadHistograms(), getHLTprescales::readIndex(), cmsPerfServer::readlog(), crabFunctions.CrabTask::readLogArch(), MatrixReader.MatrixReader::readMatrix(), GenerateHcalLaserBadRunList::ReadNewList(), lumiregperbunch::readroot(), CommonMethods::readSqliteFile(), core.AutoHandle.AutoHandle::ReallyLoad(), MultipleCompare::Rebin(), lumiPatch::recalibrateLumiForRun(), dumpRecoGeometry_cfg::recoGeoLoad(), pfTools::reconfigurePF2PATTaus(), lumiQueryAPI::recordedLumiForRange(), lumiQueryAPI::recordedLumiForRun(), python.rootplot.rootinfo::recurse_thru_file(), utils_v2::recursive_search_online(), batchHippy.MyBatchManager::redirectProxy(), VarParsing.VarParsing::register(), alcaDQMUpload::registerFileAtLogServer(), cmsRelRegress::regressReports(), MatrixUtil::remove(), tools::remove_existing_object(), RecoTauValidation_cfi::RemoveComparisonPlotCommands(), TreeCrawler::removeRecursiveLoops(), BeamSpotWorkflow::removeUncompleteRuns(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), tools::replaceTemplate(), edmIntegrityCheck.IntegrityCheck::report(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), python.rootplot.core::report_progress(), cmsPerfServer::request_benchmark(), cmsPerfClient::request_benchmark(), RandomServiceHelper.RandomNumberServiceHelper::resetSeeds(), cmsPerfRegress::rmtree(), querying.connection::rollback(), heppy_report::root2map(), python.rootplot.core::rootplot(), PopulateDB.PopulateDB::run(), cmsDriver::run(), WorkFlowRunner.WorkFlowRunner::run(), cmsswPreprocessor.CmsswPreprocessor::run(), L1GlobalTriggerGTL::run(), popcon2dropbox::run(), cmsPerfClient.Worker::run(), dqm_interfaces.DirWalkerDB::run(), utils.unpickler::run(), production_tasks.RunCMSBatch::run(), production_tasks.MonitorJobs::run(), checkBTagCalibrationConsistency::run_check_data(), tools::run_checked(), hippyaddtobaddatafiles::runcfg(), cmsPerfClient::runclient(), sysUtil::runCmmd(), l1t::GlobalBoard::runGTL(), validateAlignments.ValidationJob::runJob(), dataset.Dataset::runList(), heppy_loop::runLoopAsync(), batchmanager.BatchManager::RunningMode(), checkforupdate.checkforupdate::runningVersion(), cmsCodeRulesChecker::runRules(), runTheMatrix::runSelected(), cmsPerfServer::runserv(), DiscoverProcessedRuns.DiscoverProcessedRuns::runsList(), MatrixRunner.MatrixRunner::runTests(), addOnTests.StandardTester::runTests(), VIDSelectorValidator.VIDSelectorValidator::runValidation(), uploadConditions::runWizard(), interactivePythonTest::save_history(), root2sqlite::save_keyvalue(), compareHistograms::save_paths(), histoStyle::savePlots(), GenObject.GenObject::saveTupleAs(), TreeCrawler.mymf::scan_opcodes_25(), cmsPerfPublish::scanReportArea(), dbs_discovery::search(), dataformats::search(), utils_v2::search_on_disk(), duplicateReflexLibrarySearch::searchClassDefXml(), duplicateReflexLibrarySearch::searchDuplicatePlugins(), cmsPerfSuiteHarvest::searchIgProfFiles(), cmsswFiletrace::searchinpath(), cmsswConfigtrace::searchinpath(), cmsPerfSuiteHarvest::searchMemcheckFiles(), runregparse::searchrun(), cmsPerfSuiteHarvest::searchTimeSizeFiles(), MatrixUtil::selectedLS(), BeamSpotWorkflow::selectFilesToProcess(), url_query.url_query::send(), uploads.uploader::send_metadata(), LaunchOnCondor::SendCluster_Push(), LaunchOnCondor::SendCluster_Submit(), LaunchOnCondor::SendCMSMergeJob(), CommonMethods::sendEmail(), query::sendMessage(), cmsswConfigtrace::serve_main(), AlCaHLTBitMon_QueryRunRegistry::serverQuery(), RecoTauValidation_cfi::SetBaseDirectory(), VarParsing.VarParsing::setDefault(), GenObject.GenObject::setEquivExpression(), L1GlobalTriggerRecord::setGtPrescaleFactorIndexAlgo(), VarParsing.VarParsing::setNoCommaSplit(), VarParsing.VarParsing::setNoDefaultClear(), optutl::CommandLineParser::setPrintOptoins(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), edm::pathStatusExpression::BinaryOperator< T >::setRight(), VarParsing.VarParsing::setType(), GeneralSetup::setup(), mps_alisetup.SetupAlignment::setup(), DTCalibrationWorker.DTCalibrationWorker::setup_crab_env(), jetTools::setupBTagging(), cmsswFiletrace::setupenv(), cmsswConfigtrace::setupenv(), cmsRelvalreportInput::setupProgramParameters(), VarParsing.VarParsing::setupTags(), TtFullLeptonicEvent::setWrongCharge(), RecoTauValidation_cfi::SetYmodulesToLog(), storeTreeInfo.TreeAnalyzer::show(), MatrixReader.MatrixReader::show(), conddb_version_mgr.conddb_tool::show_tag_boost_version(), Formatter.SimpleAsciiFormatter::showLine(), MatrixReader.MatrixReader::showRaw(), MatrixReader.MatrixReader::showWorkFlows(), dumpSimGeometry_cfg::simGeoLoad(), cmsIgProf_Analysis::simple_igprof_analysis(), TtSemiLeptonicEvent::singleNeutrino(), muonisolation::Cuts::size(), MSLayersAtAngle::size(), sistrip::FEDDAQTrailer::slinkCRCError(), CommonMethods::sortAndCleanBeamList(), ValidationUtils::SpawnPSet(), specificLumi::specificlumiTofile(), cmsCodeRulesChecker::splitPaths(), sqr(), python.rootplot.utilities.HistStack::stackmax(), cmsPerfPublish::stageIgProfReports(), logger.logger::stageIn(), logger.logger::stageOut(), geometryXMLtoCSV.ContentHandler::startElement(), alcaDQMUpload::startUpload(), crabFunctions.CrabController::status(), tools::stdinWait(), cmsPerfPublish::step_cmp(), runTheMatrix::stepOrIndex(), lumiTime.lumiTime::StrToDatetime(), valtools.comparison::submit(), MatrixInjector.MatrixInjector::submit(), batchmanager.BatchManager::SubmitJob(), batchmanager.BatchManager::SubmitJobArray(), batchHippy.MyBatchManager::submitJobs(), batchmanager.BatchManager::SubmitJobs(), RPCLinkSynchroStat::SynchroCounts::sum(), genvalidTools::switchGenSource(), tauTools::switchToCaloTau(), pfTools::switchToPFJets(), pfTools::switchToPFMET(), cmsPerfPublish::syncToRemoteLoc(), cmsPerfPublish::syscp(), conddb_migrate::tags_in_gts(), edmIntegrityCheck.IntegrityCheck::test(), tier0::test(), data_formats_tests.data_formats_tests::test_dicts_to_orm_objects(), utils::test_env(), edmIntegrityCheck.IntegrityCheck::testFileTimeOut(), valtools::testFileType(), usedOutput.TestPrintPath::testGetModules(), ROOTData::tfile_cd(), FBaseSimEvent::theTable(), ThrowAndSetRandomRun::throwAndSetRandomRun(), lumiregperbunch::timeof(), CommonMethods::timeoutManager(), TkOnlyDigi_cff::TkOnlyDigi(), lumiReport::toCSVLumiByLSXing(), dumpFill::tofiles(), CommonUtil::tolegalJSON(), HiCoreTools.RestrictInputToAOD::toolCode(), coreTools.RunOnData::toolCode(), HiCoreTools.RemoveMCMatching::toolCode(), coreTools.RemoveMCMatching::toolCode(), trigTools.SwitchOnTrigger::toolCode(), HiCoreTools.RemoveSpecificPATObjects::toolCode(), trigTools.SwitchOnTriggerStandAlone::toolCode(), tauTools.AddTauCollection::toolCode(), HiCoreTools.RemoveCleaning::toolCode(), trigTools.SwitchOnTriggerMatching::toolCode(), HiCoreTools.AddCleaning::toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone::toolCode(), trigTools.SwitchOnTriggerMatchEmbedding::toolCode(), TopGenEvent::topBar(), lumiReport::toScreenConfHlt(), lumiReport::toScreenLSBeam(), lumiReport::toScreenLSEffective(), lumiReport::toScreenLSHlt(), lumiReport::toScreenLSTrg(), lumiReport::toScreenLumiByLS(), lumiReport::toScreenNormDetail(), lumiReport::toScreenNormSummary(), lumiReport::toScreenOverview(), lumiReport::toScreenSingleTag(), lumiReport::toScreenTags(), lumiReport::toScreenTotDelivered(), lumiReport::toScreenTotEffective(), cmsswConfigtrace::trace_python(), PixelMapPlotter::TranslatePartString(), PixelMapPlotter::TranslateReasonStringBPix(), PixelMapPlotter::TranslateReasonStringFPix(), utils::tree(), python.rootplot.tree2hists::tree2hists_main(), root2sqlite::treetotable(), plot_hgcal_utils::TwikiPrintout(), cmsPerfRegress::ungzip(), RefreshWebPage::unpackRelease(), crabFunctions.CrabTask::updateJobStats(), popcon2dropbox::upload(), compareDQMOutput::upload(), addOnTests.StandardTester::upload(), MatrixInjector.MatrixInjector::upload(), uploadConditions::upload(), compareDQMOutput::upload_to_gui(), MatrixInjector.MatrixInjector::uploadConf(), CommonMethods::uploadSqliteFile(), buildHistoTypes::usage(), EcalCondDB::usage(), PrescaleChecker::usage(), loadConditions::usage(), timingPdfMaker::usage(), dqmd_manager::usage(), cmsBenchmark::usage(), genvalidTools::useExternalWeight(), pfTools::usePF2PAT(), pfClusteringCustoms::usePFWithMethodOne(), pfClusteringCustoms::usePFWithMethodOnePointFive(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Averages_3Invpb::vbtfRatioAverage(), Averages_36Invpb::vbtfRatioAverage(), Averages_3Invpb::vbtfRatioCheck(), Averages_36Invpb::vbtfRatioCheck(), Averages_3Invpb::vbtfXSectionAverage(), Averages_36Invpb::vbtfXSectionAverage(), Averages_3Invpb::vbtfXSectionCheck(), Averages_36Invpb::vbtfXSectionCheck(), dumpSimGeometry_cfg::versionCheck(), dumpRecoGeometry_cfg::versionCheck(), cmsPerfHarvest::visit(), cmsPerfHarvest::visit_timesize_steps(), Reco.Reco::visualizationProcessing(), dqm_interfaces.DirWalkerFile::walk(), compare_using_files_v2.RootFileComparison::walk_through(), python::warn(), GenObject::warn(), pfTools::warningIsolation(), lumiPatch::WBMdeadtimeBeamActiveForRun(), utils::wget(), TtFullHadronicEvent::wMinus(), wordWrappers::wrap_onspace_strict(), Formatter.SimpleAsciiFormatter::write(), electronCompare.flushfile::write(), electronStore.flushfile::write(), uploads.output::write(), TriggerAnalyzer::write(), python.rootplot.core::write_config(), python.rootplot.tree2hists::write_default_T2H_config(), mps_fire::write_HTCondor_submit_file_pede(), DOTExport.DotExport::write_output(), uploads.uploader::write_server_side_log(), DQMIO2histo.DQMIO::write_to_file(), cmssw_exportdb_xml::write_xml(), valtools.website::writeAccess(), Formatter.SimpleAsciiFormatter::writeB(), Formatter.SimpleAsciiFormatter::writeBr(), edm::ParameterDescriptionNode::writeCfi(), cmsRelvalreportInput::writeCommands(), cmsRelvalreportInput::writeCommandsToReport(), plotscripts::writeDQMReport(), Formatter.SimpleAsciiFormatter::writeH1(), Formatter.SimpleAsciiFormatter::writeH2(), Formatter.SimpleAsciiFormatter::writeH3(), cmsswFiletrace::writeoutput(), cmsswConfigtrace::writeoutput(), presentation::writePageReg(), cmsRelvalreportInput::writeReportFileHeader(), Formatter.SimpleAsciiFormatter::writeRow(), CommonMethods::writeSqliteFile(), lumiQueryAPI::xingLuminosityForRun(), hitfit::Base_Constrainer::~Base_Constrainer(), hitfit::Chisq_Constrainer::~Chisq_Constrainer(), lumi::LumiSectionData::~LumiSectionData(), RecoTauCleanerImpl< Prod >::~RecoTauCleanerImpl(), and RPCRawDataCounts::~RPCRawDataCounts().

66  {
67  tinyxml2::XMLDocument doc;
68  os << "\n<InputFile>";
69  formatFile(f, os);
70  os << "\n<InputType>" << f.inputType << "</InputType>";
71  os << "\n<InputSourceClass>" << doc.NewText(f.inputSourceClassName.c_str())->Value() << "</InputSourceClass>";
72  os << "\n<EventsRead>" << f.numEventsRead << "</EventsRead>";
73  return os;
74  }
reco::JetExtendedAssociation::JetExtendedData Value
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:40
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, common_cff::doc, 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
double f[11][100]
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  }
rep
Definition: cuy.py:1190
template<typename RecordT >
void edm::print_eventsetup_record_dependencies ( std::ostream &  oStream,
std::string const &  iIndent = std::string() 
)

Definition at line 79 of file print_eventsetup_record_dependencies.h.

References edm::rec_dep::inherits_from_DependentRecordTag(), and dataset::name.

Referenced by print_eventsetup_record_dependencies(), and print_eventsetup_record_dependencies_recursive().

79  {
80  oStream << iIndent << edm::eventsetup::EventSetupRecordKey::makeKey<RecordT>().name() << std::endl;
81 
82  print_eventsetup_record_dependencies_recursive<RecordT>(
83  oStream, iIndent, rec_dep::inherits_from_DependentRecordTag(static_cast<RecordT const*>(nullptr)));
84  }
boost::mpl::true_ inherits_from_DependentRecordTag(edm::eventsetup::DependentRecordTag const *)
template<typename T >
void edm::print_eventsetup_record_dependencies ( std::ostream &  ,
std::string  ,
T const *  ,
T const *   
)

Definition at line 42 of file print_eventsetup_record_dependencies.h.

42 {}
template<typename TFirst , typename TEnd >
void edm::print_eventsetup_record_dependencies ( std::ostream &  oStream,
std::string  iIndent,
TFirst const *  ,
TEnd const *  iEnd 
)

Definition at line 45 of file print_eventsetup_record_dependencies.h.

References GetRecoTauVFromDQM_MC_cff::next, and print_eventsetup_record_dependencies().

48  {
49  iIndent += " ";
51  typename boost::mpl::next<TFirst>::type const* next(nullptr);
52  print_eventsetup_record_dependencies(oStream, iIndent, next, iEnd);
53  }
type
Definition: HCALResponse.h:21
void print_eventsetup_record_dependencies(std::ostream &oStream, std::string iIndent, TFirst const *, TEnd const *iEnd)
template<typename RecordT >
void edm::print_eventsetup_record_dependencies_recursive ( std::ostream &  oStream,
std::string const &  iIndent,
boost::mpl::true_   
)

Definition at line 63 of file print_eventsetup_record_dependencies.h.

References begin, end, and print_eventsetup_record_dependencies().

65  {
66  typedef typename RecordT::list_type list_type;
67 
68  typename boost::mpl::begin<list_type>::type const* begin(nullptr);
69  typename boost::mpl::end<list_type>::type const* end(nullptr);
71  }
type
Definition: HCALResponse.h:21
void print_eventsetup_record_dependencies(std::ostream &oStream, std::string iIndent, TFirst const *, TEnd const *iEnd)
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
template<typename RecordT >
void edm::print_eventsetup_record_dependencies_recursive ( std::ostream &  ,
std::string const &  ,
boost::mpl::false_   
)

Definition at line 74 of file print_eventsetup_record_dependencies.h.

74  {
75  return;
76  }
void edm::printBranchNames ( TTree *  tree)

Definition at line 72 of file CollUtil.cc.

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

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  }
size
Write out results.
Definition: tree.py:1
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
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  }
void edm::printEventLists ( TFile *  tfl)

Definition at line 237 of file CollUtil.cc.

References 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:219
std::string const & metaDataTreeName()
Definition: BranchType.cc:169
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 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:219
static void preIndexIntoFilePrintEventsInLumis(TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:255
std::string const & metaDataTreeName()
Definition: BranchType.cc:169
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 fftjetcommon_cfi::Class, crabWrapper::key, and hgcalPlots::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  }
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  }
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:224
BranchID edm::productIDToBranchID ( ProductID const &  pid,
BranchIDLists const &  lists,
BranchListIndexes const &  indexes 
)

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

12  {
13 
14  if (pid.isValid()) {
15  size_t procIndex = pid.processIndex()-1;
16  if (procIndex < indexes.size()) {
17  BranchListIndex blix = indexes[procIndex];
18  if (blix < lists.size()) {
19  BranchIDList const& blist = lists[blix];
20  size_t prodIndex =pid.productIndex()-1;
21  if (prodIndex<blist.size()) {
22  BranchID::value_type bid = blist[prodIndex];
23  return BranchID(bid);
24  }
25  }
26  }
27  }
28  return BranchID();
29  }
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 runEdmFileComparison::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  }
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)
base
Make Sure CMSSW is Setup ##.
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 mps_splice::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, corrVsCorr::filename, input, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

10  {
12  std::ifstream input(filename.c_str());
13  if (!input) {
14  throw edm::Exception(errors::Configuration, "MissingFile") << "Cannot read file " << filename;
15  }
17  while (getline(input, buffer)) {
18  // getline strips newlines; we have to put them back by hand.
19  result += buffer;
20  result += '\n';
21  }
22  return result;
23  }
static std::string const input
Definition: EdmProvDump.cc:48
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(), cmspython3::PyBind11ProcessDesc::parameterSet(), and edm::cmspybind11::readConfig().

Referenced by XMLConfigReader::setEventsFile().

11  {
13 }
Definition: config.py:1
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(), cmspython3::PyBind11ProcessDesc::parameterSet(), and edm::cmspybind11::readConfig().

Referenced by readConfig().

15  {
17 }
Definition: config.py:1
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 MillePedeFileConverter_cfg::e, cond::persistency::import(), edm::python3::initializePyBind11Module(), edm::python::initializePyBind11Module(), makePSetsFromFile(), makePSetsFromString(), resolutioncreator_cfi::object, Python11ParameterSet::pset(), cmspython3::Python11ParameterSet::pset(), cmspython3::pythonToCppException(), 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)

Definition at line 18 of file RefToPtr.h.

Referenced by ParticleLevelProducer::addGenJet(), EgammaHLTFilteredObjProducer< OutCollType >::addObj(), PFEGammaAlgo::attachPSClusters(), PFEGammaProducer::createSingleLegConversions(), EGammaMvaEleEstimator::isoMvaValue(), noPuUtils::isVertexAssociated(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::operator<<(), ParticleLevelProducer::produce(), pat::PATTauSlimmer::produce(), pat::PATSecondaryVertexSlimmer::produce(), IsolatedTrackCleaner::produce(), pat::PackedPFCandidateRefMixer::produce(), GEDPhotonCoreProducer::produce(), pat::PATGenJetSlimmer::produce(), pat::PATJetSlimmer::produce(), pat::PATMuonSlimmer::produce(), TauGenJetProducer::produce(), JetSubstructurePacker::produce(), PFTauPrimaryVertexProducerBase::produce(), and PFTauPrimaryVertexProducerBase::~PFTauPrimaryVertexProducerBase().

19  {
20  typedef typename C::value_type T;
21  if (ref.isNull()) {
22  return Ptr<T>();
23  }
24  if (ref.isTransient()) {
25  return Ptr<T>(ref.get(), ref.key());
26  } else {
27  //Another thread could change this value so get only once
28  EDProductGetter const* getter = ref.productGetter();
29  if (getter) {
30  return Ptr<T>(ref.id(), ref.key(), getter);
31  }
32  }
33  return Ptr<T>(ref.id(), ref.get(), ref.key());
34  }
long double T
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, and patRefSel_triggerMatching_cfi::matches.

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(), regexMatch(), and fetchall_from_DQM_v2::regexp.

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();
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 50 of file resolveSymbolicLinks.cc.

References runEdmFileComparison::found.

50  {
51  bool found = resolveOneSymbolicLink(fullPath);
52  if (found) {
53  resolveSymbolicLinks(fullPath);
54  }
55  }
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
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 215 of file ParameterSet.cc.

Referenced by FilterOR::accept(), HGCDigitizer::accumulate(), CaloTruthAccumulator::accumulateEvent(), TkTrackingRegionsMargin< float >::add(), pos::PixelConfigFile::addAlias(), FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), PrintGeomSummary::addName(), ProtonTransport::addPartToHepMC(), Hector::addPartToHepMC(), TrackingRecHitProduct::addRecHit(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), gen::EvtGenInterface::addToHepMC(), EcalPreshowerGeometry::alignmentTransformIndexLocal(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), SiStripDetVOffHandler::analyze(), SiStripThresholdBuilder::analyze(), EcalDQMonitorTask::analyze(), L1TGlobalSummary::analyze(), RPCGeometryServTest::analyze(), DTPreCalibrationTask::analyze(), DTNoiseCalibration::analyze(), BxTiming::analyze(), HcalQIEDataCheck::analyze(), HcalPedestalWidthsCheck::analyze(), HcalHBHEMuonSimAnalyzer::analyze(), HeavyFlavorValidation::analyze(), DTNoiseTask::analyze(), TopMonitor::analyze(), L1TRPCTPG::analyze(), l1t::GtRecordDump::analyze(), HLTScalers::analyze(), HcalHBHEMuonAnalyzer::analyze(), DTDigiTask::analyze(), HLTExoticaSubAnalysis::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), L1GtAnalyzer::analyzeL1GtUtilsCore(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), HGCalTBAnalyzer::analyzeRecHits(), HGCalTimingAnalyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), SurveyDataConverter::applyFineSurveyInfo(), TrackerHitAssociator::associateHit(), L1GtTriggerMenuTester::associateL1SeedsHltPath(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), Tracker_OldtoNewConverter::beginJob(), GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), GctFormatTranslateMCLegacy::blockToRctEmCand(), SiStripGainFromCalibTree::bookDQMHistos(), QIE11Task::bookHistograms(), SimHitsValidationHcal::bookHistograms(), BxTiming::bookHistograms(), HLTSeedL1LogicScalers::bookHistograms(), SiStripGainsPCLWorker::bookHistograms(), CSCGeometryParsFromDD::build(), ME0PadDigiClusterProducer::buildClusters(), GEMPadDigiClusterProducer::buildClusters(), 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(), 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(), DDHGCalModule::constructLayers(), DDHGCalTBModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), DDHGCalTBModuleX::constructLayers(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHCalBarrelAlgo::constructMidLayer(), DDHCalEndcapModuleAlgo::constructScintLayer(), DDHCalEndcapAlgo::constructScintLayer(), DDHCalBarrelAlgo::constructSideLayer(), SiPixelStatusHarvester::constructTag(), CaloTowersCreationAlgo::convert(), GctFormatTranslateV35::convertBlock(), GctFormatTranslateMCLegacy::convertBlock(), GctFormatTranslateV38::convertBlock(), popcon::PopConSourceHandler< CastorPedestals >::convertFromOld(), FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter >::correct(), TauJetCorrector::correction(), JetPartonCorrector::correction(), LatencyHistosUsingDb::create(), PFCand_AssoMapAlgos::createMappings(), PF_PU_AssoMapAlgos::createMappings(), HFSimpleTimeCheck::determineAnodeStatus(), PFRecoTauDiscriminationByInvMass::discriminate(), SurveyPxbDicer::doDice(), CSCGEMMotherboard::doesWiregroupCrossStrip(), VectorDoublet< Vector3D, Vector3D >::dot(), 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(), TowerBlockFormatter::EndEvent(), DTT0Calibration::endJob(), IsoTrig::endJob(), AlcaBeamMonitor::endLuminosityBlock(), AlcaBeamMonitorClient::endRun(), SiPixelStatusHarvester::endRunProduce(), 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_(), DDHGCalWafer8::execute(), DDHGCalCell::execute(), DDTIDModulePosAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTOBAxCableAlgo::execute(), DDTOBRadCableAlgo::execute(), DDTOBRodAlgo::execute(), DDTrackerLinear::execute(), DDTrackerZPosAlgo::execute(), DDTrackerXYZPosAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDTIBRadCableAlgo_MTCC::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDPixFwdDiskAlgo::execute(), DDPixPhase1FwdDiskAlgo::execute(), DDTrackerLinearXY::execute(), DDPixBarLayerAlgo::execute(), DDHCalTBCableAlgo::execute(), DDTIBLayerAlgo::execute(), DDHCalForwardAlgo::execute(), DDBHMAngular::execute(), DDTECCoolAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTIDModuleAlgo::execute(), DDTIDRingAlgo::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTECAxialCableAlgo::execute(), DDTrackerAngularV1::execute(), DDTECModuleAlgo::execute(), DDHCalFibreBundle::execute(), DDTECPhiAlgo::execute(), DDHCalLinearXY::execute(), DDTECPhiAltAlgo::execute(), DDTrackerRingAlgo::execute(), DDPixFwdBlades::execute(), CommissioningHistograms::extractHistograms(), TrackTimeValueMapProducer::extractTrackVertexTime(), BPHWriteSpecificDecay::fill(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton::MonitorEnsemble::fill(), OutInConversionSeedFinder::fillClusterSeeds(), GenParticleProducer::fillDaughters(), PixelTripletLargeTipGenerator::fillDescriptions(), DTLocalTriggerTest::fillGlobalSummary(), edm::RootFile::fillIndexIntoFile(), EcalEBTrigPrimTestAlgo::fillMap(), EcalTrigPrimFunctionalAlgo::fillMap(), SiStripCMMonitorPlugin::fillMaps(), SiStripNoisesDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), SiPixelUtility::fillPaveText(), RunDCSHVDat::fillTheMapByTime(), GEMTrackMatch::FillWithTrigger(), ProbeTreeProducer::filter(), CSCDigiValidator::filter(), JetHTJetPlusHOFilter::filter(), SinglePhotonJetPlusHOFilter::filter(), Hector::filterD1(), Hector::filterFP420(), Hector::filterZDC(), EcalTBCrystalMap::findCrystalAngles(), SymmetryFit::findUsableMinMax(), CosmicMuonSmoother::fit(), KFTrajectoryFitter::fitOne(), JetCoreClusterSplitter::fittingSplit(), alpgen::fixEventHiggsTTbar(), alpgen::fixEventSingleTop(), alpgen::fixEventTTbar(), for_each_token(), NuclearTester::fwdEstimate(), SiStripGainsPCLHarvester::gainQualityMonitor(), edm::RangeMap< det_id_type, edm::OwnVector< B > >::get(), DTTPGParameters::get(), DTLVStatus::get(), edm::helper::IndexRangeAssociation::get(), DTHVStatus::get(), DTRangeT0::get(), DTTtrig::get(), DTDeadFlag::get(), DTPerformance::get(), DTStatusFlag::get(), DTMtime::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(), EcalElectronicsMapping::getLMNumber(), 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(), fastTrackingUtilities::getRecHitCombinationIndex(), OMTFConfiguration::getRegionNumberFromMap(), HcalDDDRecConstants::getRZ(), LMFCorrCoefDat::getSeqID(), LMFCorrCoefDat::getSequence(), PileUpSubtractor::getSigmaAtTower(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), SiStripBaseCondObjDQM::getSummaryMEs(), HcalDDDRecConstants::getThickActive(), ZIterativeAlgorithmWithFit::getWeight(), hgcal::ClusterTools::getWidths(), SimTrackManager::giveMotherNeeded(), HcalPiecewiseLinearFunctor::HcalPiecewiseLinearFunctor(), HcalTopology::HcalTopology(), HFPreRecHit::HFPreRecHit(), PixelTripletLargeTipGenerator::hitTriplets(), HLTEgammaEtFilterPairs::hltFilter(), HLTJetSortedVBFFilter< T >::hltFilter(), SimTrackManager::idSavedTrack(), L1MuGMTLUT::Init(), init_filter(), MultiHitGeneratorFromChi2::initES(), HcalLayerDepthMap::initialize(), HcalDDDRecConstants::initialize(), L1GtUtils::LogicalExpressionL1Results::initialize(), edm::ParentageRegistry::insertMapped(), TRange< int >::inside(), egammaisolation::EgammaRange< float >::inside(), muonisolation::Range< float >::inside(), PixelRecoRange< float >::inside(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), APVCyclePhaseProducerFromL1TS::isBadRun(), TtGenEvent::isFullLeptonic(), GEMSegmentAlgorithm::isGoodToMerge(), AntiElectronIDCut2::isInEcalCrack(), RPCFw::isMajor(), CSCGEMMotherboard::isPadInOverlap(), 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(), pos::PixelConfigFile::makeKey(), HGCalDDDConstants::maskCell(), match(), CSCGEMMotherboard::matchingPads(), JetPartonMatching::matchingPtOrderedMinDist(), TRange< int >::max(), muonisolation::Range< float >::max(), egammaisolation::EgammaRange< float >::max(), PixelRecoRange< float >::max(), TRange< int >::mean(), egammaisolation::EgammaRange< float >::mean(), muonisolation::Range< float >::mean(), PixelRecoRange< float >::mean(), lhef::LHEReader::next(), Quantile::next(), ReflectedIterator::offsetCorrectJets(), MultipleAlgoIterator::offsetCorrectJets(), PileUpSubtractor::offsetCorrectJets(), DDValuePair::operator const double &(), DDValuePair::operator double &(), PhysicsTools::AtomicId::operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), reco::tau::RecoTauDiscriminantFromDiscriminator::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(), l1t::Parameter::Parameter(), reco::modules::TrackerTrackHitFilter::parseStoN(), PartitionGenerator::partitions(), L1MuDTAssignmentUnit::PhiAU(), L1MuBMAssignmentUnit::PhiAU(), PhiBorderFinder::PhiBorderFinder(), HiggsValidation::MonitoredDecays::position(), SiStripRegionCabling::position(), DDHGCalHEAlgo::positionMix(), DDAHcalModuleAlgo::positionSensitive(), DDHGCalTBModule::positionSensitive(), DDHGCalTBModuleX::positionSensitive(), DDHGCalEEAlgo::positionSensitive(), DDHGCalHEAlgo::positionSensitive(), BPHMonitor::Prescale(), Quantile::prev(), TtFullLeptonicEvent::print(), TrackerHitAssociator::printDetBnchEvtTrk(), edm::PluginDescription< T >::printNestedContent_(), PixelTemplateSmearerBase::process(), hcalCalib::Process(), PFAlgo::processBlock(), cscdqm::EventProcessor::processCSC(), DDLSpecPar::processElement(), DDLNumeric::processElement(), GEDGsfElectronProducer::produce(), TTTrackAssociator< T >::produce(), CandOneToManyDeltaRMatcher::produce(), TtFullLepKinSolutionProducer::produce(), PFConversionProducer::produce(), HcalRawToDigi::produce(), DTFakeT0ESProducer::produce(), PFTrackProducer::produce(), L1ExtraParticleMapProd::produce(), RunManagerMTWorker::produce(), PF_PU_FirstVertexTracks::produce(), HLTScoutingMuonProducer::produce(), PFCand_NoPU_WithAM::produce(), HFPreReconstructor::produce(), JetPlusTrackProducerAA::produce(), PixelJetPuId::produce(), RunManager::produce(), BoostedDoubleSVProducer::produce(), BTagProbabilityToDiscriminator::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), NuclearTrackCorrector::produce(), emtf::Forest::rankVariables(), RBorderFinder::RBorderFinder(), RunSummaryRead::readData(), L1TriggerScalerRead::readData(), SiStripDetVOffBuilder::readLastValueFromFile(), FedRawDataInputSource::readWorker(), GroupedDAFHitCollector::recHits(), CSCEfficiency::recHitSegment_Efficiencies(), CSCEfficiency::recSimHitEfficiency(), SiStripDetVOffBuilder::reduce(), SiStripDetVOffBuilder::reduction(), CandidateSeededTrackingRegionsProducer::regions(), PointSeededTrackingRegionsProducer::regions(), jsoncollector::FastMonitor::registerGlobalMonitorable(), pftools::CaloWindow::relativePosition(), DDI::rep_type< DDName, std::unique_ptr< DDI::Material > >::rep(), L1GtUtils::LogicalExpressionL1Results::reset(), l1t::L1TGlobalUtil::resetDecisionVectors(), L1TOccupancyClientHistogramService::resetHisto(), l1t::L1TGlobalUtil::resetPrescaleVectors(), l1t::L1TGlobalUtil::retrieveL1Event(), l1t::L1TGlobalUtil::retrieveL1Setup(), EmbeddingHepMCFilter::DecayChannel::reverse(), TkTrackingRegionsMargin< float >::right(), EcalClusterToolsT< noZS >::roundnessBarrelSuperClusters(), EcalClusterToolsT< noZS >::roundnessBarrelSuperClustersUserExtended(), reco::modules::TrackerTrackHitFilter::Rule::Rule(), PixelCPEClusterRepair::Rule::Rule(), L1MuGMTSorter::run(), DTTSS::run(), EcalEBTrigPrimTestAlgo::run(), DTTSM::run(), DTSC::run(), MillePedeAlignmentAlgorithm::run(), EcalTrigPrimFunctionalAlgo::run_part2(), DTLocalTriggerLutTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), math::Graph< N, E >::value_type::secondToValue(), SortCollectionSelector< InputCollection, Comparator, OutputCollection, StoreContainer, RefAdder >::select(), FWTableView::selectCollection(), MuScleFit::selectMuons(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), DTLVStatus::set(), DTTPGParameters::set(), DTRangeT0::set(), DTHVStatus::set(), DTTtrig::set(), DTPerformance::set(), DTStatusFlag::set(), DTDeadFlag::set(), DTMtime::set(), PFElectronAlgo::SetActive(), pixeltemp::Cluster1DMerger< reco::Track >::setBeamSpot(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent(), EGFull5x5ShowerShapeModifierFromValueMaps::setEventContent(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), FWEventItemsManager::setFrom(), TauJetCorrector::setParameters(), JetPartonCorrector::setParameters(), DDLSolid::setReference(), L1Analysis::L1AnalysisCSCTF::SetTracks(), ShallowTree::ShallowTree(), ConvBremSeedProducer::sharedHits(), SiStripGainESProducerTemplate< TDependentRecord, TInputRecord >::SiStripGainNormalizationFunction(), muonisolation::Range< float >::sort(), egammaisolation::EgammaRange< 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(), PropagateToMuon::startingState(), L1MuGMTLUT::PortDecoder::str(), StringBasedNTupler::StringBasedNTupler(), RPCDigiL1Link::strip(), StripCPE::StripCPE(), MagGeoBuilderFromDDD::summary(), PixelRecoRange< float >::swap(), CompositeLogicalTrajectoryFilter::TBC(), TwoBodyDecayTrajectoryFactory::trajectories(), L3MuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), CovarianceParameterization::unpack(), MonopoleSteppingAction::update(), LatencyHistosUsingDb::update(), SiTrackerMultiRecHitUpdator::update(), TauJetCorrector::ParametrizationTauJet::value(), viewNameFrom(), MuonAssociatorByHitsHelper::write_matched_simtracks(), and VirtualJetProducer::writeJets().

215  {
216  return p.second;
217  }
static std::string const edm::separator ( ":"  )
static
template<typename T >
void edm::SetCustomStreamer ( )

Definition at line 41 of file CustomStreamer.h.

References GetRecoTauVFromDQM_MC_cff::cl.

41  {
42  TClass *cl = TClass::GetClass(typeid(T));
43  if (cl->GetStreamer() == 0) {
44  cl->AdoptStreamer(new CustomStreamer<T>());
45  }
46  }
long double T
template<typename T >
void edm::SetCustomStreamer ( T const &  )

Definition at line 50 of file CustomStreamer.h.

References GetRecoTauVFromDQM_MC_cff::cl.

50  {
51  TClass *cl = TClass::GetClass(typeid(T));
52  if (cl->GetStreamer() == 0) {
53  cl->AdoptStreamer(new CustomStreamer<T>());
54  }
55  }
long double T
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(), PFRecoTauDiscriminationByIsolation_cfi::offset, AlCaHLTBitMon_ParallelJobs::p, edm::BranchDescription::setIsMergeable(), and edm::BranchDescription::wrappedType().

Referenced by edm::ProductRegistryHelper::addToRegistry(), edm::RootFile::RootFile(), edm::Schedule::Schedule(), TFWLiteSelectorBasic::setupNewFile(), and ProvenanceDumper::work_().

15  {
16 
17  // Save some time here with the knowledge that the isMergeable
18  // data member can only be true for run or lumi products.
19  // It defaults to false. Also if it is true that means it
20  // was already set.
21  if (desc.branchType() == InRun || desc.branchType() == InLumi) {
22  if (!desc.isMergeable()) {
23  TClass* wrapperBaseTClass = TypeWithDict::byName("edm::WrapperBase").getClass();
24  TClass* tClass = desc.wrappedType().getClass();
25  void* p = tClass->New();
26  int offset = tClass->GetBaseClassOffset(wrapperBaseTClass);
27  std::unique_ptr<WrapperBase> wrapperBase = getAnyPtr<WrapperBase>(p, offset);
28  if (wrapperBase->isMergeable()) {
29  desc.setIsMergeable(true);
30  }
31  }
32  }
33  }
void edm::setMaxLoggedErrorsSummaryIndicies ( unsigned int  iMax)

Definition at line 185 of file MessageSender.cc.

References errorSummaryMaps.

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

185 { errorSummaryMaps.resize(iMax); }
static std::vector< tbb::concurrent_unordered_map< ErrorSummaryMapKey, AtomicUnsignedInt, ErrorSummaryMapKey::key_hash > > errorSummaryMaps
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 72 of file setPtr.h.

References edm::detail::reallySetPtr().

Referenced by edm::WrapperBase::isPresent(), and edm::SortedCollection< EcalRecHit >::pop_back().

75  {
76  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
77  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:37
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 81 of file setPtr.h.

References edm::detail::reallySetPtr().

84  {
85  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
86  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:37
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 90 of file setPtr.h.

References edm::detail::reallySetPtr().

93  {
94  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
95  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:37
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 99 of file setPtr.h.

References edm::detail::reallySetPtr().

102  {
103  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
104  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:37
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 463 of file SortedCollection.h.

References edm::SortedCollection< T, SORT >::setPtr().

466  {
467  obj.setPtr(toType, index, ptr);
468  }
template<typename T , unsigned int M, typename P >
void edm::setPtr ( OwnArray< T, M, P > const &  obj,
std::type_info const &  toType,
unsigned long  index,
void const *&  ptr 
)
inline

Definition at line 469 of file OwnArray.h.

References edm::OwnArray< T, MAX_SIZE, P >::setPtr().

472  {
473  obj.setPtr(toType, index, ptr);
474  }
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 544 of file OwnVector.h.

References edm::OwnVector< T, P >::setPtr().

547  {
548  obj.setPtr(toType, index, ptr);
549  }
void edm::setRefCoreStreamer ( bool  resetAll = false)
EDProductGetter const * edm::setRefCoreStreamer ( EDProductGetter const *  ep)

Definition at line 97 of file RefCoreStreamer.cc.

References edm::EDProductGetter::switchProductGetter().

97  {
98  EDProductGetter const* returnValue=nullptr;
99  if (ep != nullptr) {
101  }
102  return returnValue;
103  }
static EDProductGetter const * switchProductGetter(EDProductGetter const *)
These can only be used internally by the framework.
void edm::setRefCoreStreamerInTClass ( )

Definition at line 77 of file RefCoreStreamer.cc.

References GetRecoTauVFromDQM_MC_cff::cl, and edm::RefCoreStreamer::RefCoreStreamer().

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

77  {
78 
79  TClass *cl = TClass::GetClass("edm::RefCore");
80  TClassStreamer *st = cl->GetStreamer();
81  if (st == nullptr) {
82  cl->AdoptStreamer(new RefCoreStreamer());
83  }
84  {
85  TClass *cl = TClass::GetClass("edm::RefCoreWithIndex");
86  TClassStreamer *st = cl->GetStreamer();
87  if (st == nullptr) {
88  cl->AdoptStreamer(new RefCoreWithIndexStreamer());
89  }
90  }
91  }
void edm::setStandAloneMessageThreshold ( edm::ELseverityLevel const &  severity)

Definition at line 132 of file MessageLogger.cc.

References edm::MessageLoggerQ::standAloneThreshold().

Referenced by edm::Suppress_LogDebug_::log().

132  {
134  }
static void standAloneThreshold(edm::ELseverityLevel const &severity)
void edm::sigInventory ( )

Definition at line 135 of file UnixSignalHandlers.cc.

References MessageLogger_cfi::cerr, gen::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  }
int k[5][pyjets_maxn]
#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 96 of file LuminosityBlockRange.cc.

References MillePedeFileConverter_cfg::e, mps_fire::i, merge(), sort_all(), and mitigatedMETSequence_cff::U.

96  {
97  if (lumiRange.size() <= 1U) return lumiRange;
98  sort_all(lumiRange, sortByStartLuminosityBlockID);
99  for (std::vector<LuminosityBlockRange>::iterator i = lumiRange.begin() + 1, e = lumiRange.end();
100  i != e; ++i) {
101  std::vector<LuminosityBlockRange>::iterator iprev = i - 1;
102  if (merge(*iprev, *i)) {
103  i = lumiRange.erase(iprev);
104  e = lumiRange.end();
105  }
106  }
107  return lumiRange;
108  }
void sort_all(RandomAccessSequence &s)
wrappers for std::sort
Definition: Algorithms.h:92
def merge(dictlist, TELL=False)
Definition: MatrixUtil.py:194
std::vector< EventRange > & edm::sortAndRemoveOverlaps ( std::vector< EventRange > &  eventRange)

Definition at line 102 of file EventRange.cc.

References MillePedeFileConverter_cfg::e, mps_fire::i, sort_all(), and mitigatedMETSequence_cff::U.

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

102  {
103  if (eventRange.size() <= 1U) return eventRange;
104  sort_all(eventRange, sortByStartEventIDSpecial);
105  for (std::vector<EventRange>::iterator i = eventRange.begin() + 1, e = eventRange.end();
106  i != e; ++i) {
107  std::vector<EventRange>::iterator iprev = i - 1;
108  if (mergeSpecial(*iprev, *i)) {
109  i = eventRange.erase(iprev);
110  e = eventRange.end();
111  }
112  }
113  return eventRange;
114  }
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(), MillePedeFileConverter_cfg::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:120
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 135 of file MessageLogger.cc.

References edm::MessageLoggerQ::squelch().

Referenced by edm::Suppress_LogDebug_::log().

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 edm::stripLeadingDirectoryTree ( const std::string &  file)
std::string edm::stripNamespace ( std::string const &  theName)

Definition at line 90 of file TypeID.cc.

References EnergyCorrector::c, and egammaForCoreTracking_cff::depth.

Referenced by edm::TypeWithDict::byName(), and edm::TypeWithDict::unscopedName().

90  {
91  // Find last colon
92  std::string::size_type colonIndex = theName.rfind(':');
93  if (colonIndex == std::string::npos) {
94  // No colons, so no namespace to strip
95  return theName;
96  }
97  std::string::size_type bracketIndex = theName.rfind('>');
98  if (bracketIndex == std::string::npos || bracketIndex < colonIndex) {
99  // No '>' after last colon. Strip up to and including last colon.
100  return theName.substr(colonIndex + 1);
101  }
102  // There is a '>' after the last colon.
103  int depth = 1;
104  for (size_t index = bracketIndex; index != 0; --index) {
105  char c = theName[index - 1];
106  if (c == '>') {
107  ++depth;
108  } else if (c == '<') {
109  --depth;
110  assert(depth >= 0);
111  } else if (depth == 0 && c == ':') {
112  return theName.substr(index);
113  }
114  }
115  return theName;
116  }
uint16_t size_type
bool edm::stripTemplate ( std::string &  theName)

Definition at line 64 of file TypeID.cc.

References first(), training_settings::idx, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::TypeID::userClassName().

64  {
65  std::string const spec("<,>");
66  char const space = ' ';
67  std::string::size_type idx = theName.find_first_of(spec);
68  if (idx == std::string::npos) {
69  return false;
70  }
73  if (theName[idx] == '<') {
74  after = theName.rfind('>');
75  assert(after != std::string::npos);
76  first = ++idx;
77  } else {
78  theName = theName.substr(0, idx);
79  }
80  std::string::size_type idxa = after;
81  while (space == theName[--idxa])
82  --after;
84  while (space == theName[idxf++])
85  ++first;
86  theName = theName.substr(first, after - first);
87  return true;
88  }
uint16_t size_type
void edm::subProcessDoGlobalBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
LuminosityBlockPrincipal iPrincipal,
IOVSyncValue const &  iTS 
)
inline

Definition at line 38 of file globalTransitionAsync.h.

References edm::SubProcess::doBeginLuminosityBlockAsync(), and eostools::move().

Referenced by beginGlobalTransitionAsync().

41  {
42  iSubProcess.doBeginLuminosityBlockAsync(std::move(iHolder), iPrincipal, iTS);
43  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoGlobalBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
RunPrincipal iPrincipal,
IOVSyncValue const &  iTS 
)
inline

Definition at line 45 of file globalTransitionAsync.h.

References edm::SubProcess::doBeginRunAsync(), and eostools::move().

48  {
49  iSubProcess.doBeginRunAsync(std::move(iHolder), iPrincipal, iTS);
50  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoGlobalEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
LuminosityBlockPrincipal iPrincipal,
IOVSyncValue const &  iTS,
bool  cleaningUpAfterException 
)
inline

Definition at line 52 of file globalTransitionAsync.h.

References edm::SubProcess::doEndLuminosityBlockAsync(), and eostools::move().

Referenced by endGlobalTransitionAsync().

56  {
57  iSubProcess.doEndLuminosityBlockAsync(std::move(iHolder), iPrincipal, iTS, cleaningUpAfterException);
58  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoGlobalEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
RunPrincipal iPrincipal,
IOVSyncValue const &  iTS,
bool  cleaningUpAfterException 
)
inline

Definition at line 60 of file globalTransitionAsync.h.

References edm::SubProcess::doEndRunAsync(), and eostools::move().

64  {
65  iSubProcess.doEndRunAsync(std::move(iHolder), iPrincipal, iTS, cleaningUpAfterException);
66  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoStreamBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
LuminosityBlockPrincipal iPrincipal,
IOVSyncValue const &  iTS 
)
inline

Definition at line 38 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamBeginLuminosityBlockAsync(), and eostools::move().

Referenced by beginStreamTransitionAsync().

42  {
43  iSubProcess.doStreamBeginLuminosityBlockAsync(std::move(iHolder), i, iPrincipal, iTS);
44  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoStreamBeginTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
RunPrincipal iPrincipal,
IOVSyncValue const &  iTS 
)
inline

Definition at line 46 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamBeginRunAsync(), and eostools::move().

50  {
51  iSubProcess.doStreamBeginRunAsync(std::move(iHolder), i, iPrincipal, iTS);
52  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoStreamEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
LuminosityBlockPrincipal iPrincipal,
IOVSyncValue const &  iTS,
bool  cleaningUpAfterException 
)
inline

Definition at line 54 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamEndLuminosityBlockAsync(), and eostools::move().

Referenced by endStreamTransitionAsync().

59  {
60  iSubProcess.doStreamEndLuminosityBlockAsync(std::move(iHolder), i, iPrincipal, iTS, cleaningUpAfterException);
61  }
def move(src, dest)
Definition: eostools.py:511
void edm::subProcessDoStreamEndTransitionAsync ( WaitingTaskHolder  iHolder,
SubProcess iSubProcess,
unsigned int  i,
RunPrincipal iPrincipal,
IOVSyncValue const &  iTS,
bool  cleaningUpAfterException 
)
inline

Definition at line 63 of file streamTransitionAsync.h.

References edm::SubProcess::doStreamEndRunAsync(), and eostools::move().

68  {
69  iSubProcess.doStreamEndRunAsync(std::move(iHolder), i, iPrincipal, iTS, cleaningUpAfterException);
70  }
def move(src, dest)
Definition: eostools.py:511
void edm::swap ( ElementID a,
ElementID b 
)
inline

Definition at line 38 of file ElementID.h.

References edm::ElementID::swap().

38  {
39  a.swap(b);
40  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( ProductID a,
ProductID b 
)
inline

Definition at line 49 of file ProductID.h.

References edm::ProductID::swap().

49  {
50  a.swap(b);
51  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( Parentage a,
Parentage b 
)
inline

Definition at line 63 of file Parentage.h.

References edm::Parentage::swap().

63  {
64  a.swap(b);
65  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T , class P >
void edm::swap ( CloningPtr< T, P > &  a,
CloningPtr< T, P > &  b 
)
inline

Definition at line 65 of file CloningPtr.h.

References edm::CloningPtr< T, P >::swap().

66  {
67  a.swap(b);
68  }
void edm::swap ( OrphanHandleBase a,
OrphanHandleBase b 
)
inline

Definition at line 75 of file OrphanHandleBase.h.

References edm::OrphanHandleBase::swap().

75  {
76  a.swap(b);
77  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( ProductData a,
ProductData b 
)
inline

Definition at line 86 of file ProductData.h.

References edm::ProductData::swap().

86  {
87  a.swap(b);
88  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
void edm::swap ( RefToBaseVector< T > &  a,
RefToBaseVector< T > &  b 
)
inline

Definition at line 90 of file RefToBaseVector.h.

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

90  {
91  a.swap(b);
92  }
void edm::swap ( ProcessHistory a,
ProcessHistory b 
)
inline

Definition at line 96 of file ProcessHistory.h.

References edm::ProcessHistory::swap().

96  {
97  a.swap(b);
98  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( TriggerResults lhs,
TriggerResults rhs 
)
inline

Definition at line 99 of file TriggerResults.h.

References edm::TriggerResults::swap().

99  {
100  lhs.swap(rhs);
101  }
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:120
double a
Definition: hdecay.h:121
void edm::swap ( HLTGlobalStatus lhs,
HLTGlobalStatus rhs 
)
inline

Free swap function.

Definition at line 110 of file HLTGlobalStatus.h.

References edm::HLTGlobalStatus::swap().

110  {
111  lhs.swap(rhs);
112  }
template<typename C >
void edm::swap ( Association< C > &  lhs,
Association< C > &  rhs 
)
inline

Definition at line 116 of file Association.h.

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

Referenced by L1TStage2CaloLayer1::analyze(), ftl_digitizer::FTLDigitizer< SensorPhysics, ElectronicsSim >::beginRun(), SimTrackManager::cleanTkCaloStateInfoMap(), SimCluster::clearHitsAndFractions(), edm::DetSetRefVector< T, C >::DetSetRefVector(), edm::IndexIntoFile::doneFileInitialization(), HGCDigitizer::endRun(), LA_Filler_Fitter::fill(), CaloTruthAccumulator::finalizeEvent(), EgHLTOfflineSummaryClient::getEgHLTFiltersToMon_(), EgHLTOfflineSource::getHLTFilterNamesUsed(), hitfit::Constraint_Intermed_Labels::has_labels(), HcalDcsMap::HcalDcsMap(), HcalElectronicsMap::HcalElectronicsMap(), HcalFrontEndMap::HcalFrontEndMap(), HcalSiPMCharacteristics::HcalSiPMCharacteristics(), HGCDigitizer::HGCDigitizer(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), edm::IndexIntoFile::IndexIntoFileItr::IndexIntoFileItr(), edm::IndexIntoFile::inputFileClosed(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), edm::RefVectorBase< key_type >::operator=(), fwlite::Handle< Collection >::operator=(), edm::value_ptr< edm::service::MessageLoggerDefaults >::operator=(), edm::Handle< GenericObject >::operator=(), TempTrajectory::operator=(), edm::Handle< FWGenericObject >::operator=(), Trajectory::operator=(), TrajectoryMeasurement::operator=(), edm::PtrVector< reco::reco::PFCluster >::operator=(), edm::DetSetRefVector< T, C >::operator=(), edm::SortedCollection< EcalRecHit >::pop_back(), StripCompactDigiSimLinksProducer::produce(), FWRecoGeometryESProducer::produce(), PFElecTkProducer::produce(), FastjetJetProducer::produceTrackJets(), MultiHitGeneratorFromChi2::refit2Hits(), HGCal3DClustering::reset(), SimTrackManager::reset(), HGCalCLUEAlgo::reset(), HGCalImagingAlgo::reset(), SubjetFilterAlgorithm::run(), SiStripBaseCondObjDQM::selectModules(), hitfit::Top_Decaykin::solve_nu(), hitfit::Top_Decaykin::solve_nu_tmass(), DynamicTruncation::sort(), SimTrackManager::storeTracks(), FWGUIManager::subviewSwapped(), edm::ElementID::swap(), HcalDataFrameContainer< Digi >::swap(), edm::Handle< GenericObject >::swap(), edm::RefToBaseProd< T >::swap(), edm::Handle< FWGenericObject >::swap(), edm::RefProd< C >::swap(), edmNew::DetSetVector< T >::swap(), timestudy::SleepingServer::threadWork(), and CaloSD::update().

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

Definition at line 121 of file ErrorObj.h.

References edm::ErrorObj::swap().

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

Definition at line 121 of file DetSet.h.

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

121  {
122  a.swap(b);
123  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( BasicHandle a,
BasicHandle b 
)
inline

Definition at line 124 of file BasicHandle.h.

References a, and b.

Referenced by edm::BasicHandle::swap().

124  {
125  a.swap(b);
126  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( FileInPath a,
FileInPath b 
)
inline

Definition at line 127 of file FileInPath.h.

References edm::FileInPath::swap().

127 { a.swap(b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( HandleBase a,
HandleBase b 
)
inline

Definition at line 137 of file HandleBase.h.

References edm::HandleBase::swap().

Referenced by edm::HandleBase::operator=(), and edm::HandleBase::swap().

137  {
138  a.swap(b);
139  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename KEY >
void edm::swap ( RefVectorBase< KEY > &  a,
RefVectorBase< KEY > &  b 
)
inline

swap two vectors

Definition at line 154 of file RefVectorBase.h.

References edm::RefVectorBase< KEY >::swap().

154  {
155  a.swap(b);
156  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
void edm::swap ( EDCollection< T > &  a,
EDCollection< T > &  b 
)
inline

Definition at line 161 of file EDCollection.h.

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

162  {
163  a.swap(b);
164  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( edm::RefCore lhs,
edm::RefCore rhs 
)
inline

Definition at line 163 of file RefCore.h.

References edm::RefCore::swap().

163  {
164  lhs.swap(rhs);
165  }
void swap(RefCore &) noexcept
Definition: RefCore.h:157
template<typename K , typename T >
void edm::swap ( MapOfVectors< K, T > &  lhs,
MapOfVectors< K, T > &  rhs 
)
inline

Definition at line 165 of file MapOfVectors.h.

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

165  {
166  lhs.swap(rhs);
167  }
void edm::swap ( edm::RefCoreWithIndex lhs,
edm::RefCoreWithIndex rhs 
)
inline

Definition at line 169 of file RefCoreWithIndex.h.

References edm::RefCoreWithIndex::swap().

169  {
170  lhs.swap(rhs);
171  }
void swap(RefCoreWithIndex &)
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 , typename T , typename F >
void edm::swap ( RefVector< C, T, F > &  a,
RefVector< C, T, F > &  b 
)
inline

Definition at line 186 of file RefVector.h.

References a, and b.

186  {
187  a.swap(b);
188  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
void edm::swap ( edm::RefToBaseProd< T > const &  lhs,
edm::RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 191 of file RefToBaseProd.h.

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

191  {
192  lhs.swap(rhs);
193  }
void swap(RefToBaseProd< T > &)
template<typename ID , typename C , typename P >
void edm::swap ( IDVectorMap< ID, C, P > &  a,
IDVectorMap< ID, C, P > &  b 
)
inline

Definition at line 192 of file IDVectorMap.h.

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

192  {
193  a.swap(b);
194  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
void edm::swap ( PtrVector< T > &  lhs,
PtrVector< T > &  rhs 
)
inline

Definition at line 213 of file PtrVector.h.

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

213  {
214  lhs.swap(rhs);
215  }
template<typename C >
void edm::swap ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 217 of file RefProd.h.

217  {
218  lhs.swap(rhs);
219  }
template<typename ID , typename C , typename P >
void edm::swap ( RangeMap< ID, C, P > &  a,
RangeMap< ID, C, P > &  b 
)
inline

Definition at line 221 of file RangeMap.h.

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

221  {
222  a.swap(b);
223  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( DataFrameContainer lhs,
DataFrameContainer rhs 
)
inline

Definition at line 226 of file DataFrameContainer.h.

References edm::DataFrameContainer::swap().

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

Definition at line 242 of file Hash.h.

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

242  {
243  a.swap(b);
244  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
void edm::swap ( ValueMap< T > &  lhs,
ValueMap< T > &  rhs 
)
inline

Definition at line 263 of file ValueMap.h.

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

263  {
264  lhs.swap(rhs);
265  }
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 269 of file AssociationVector.h.

References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::swap().

270  {
271  a.swap(b);
272  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( ParameterSet a,
ParameterSet b 
)
inline

Definition at line 279 of file ParameterSet.h.

References a, b, isTransientEqual(), cms::operator==(), and edm::ParameterSet::swap().

279 { a.swap(b); }
template<typename T , typename C >
void edm::swap ( DetSetRefVector< T, C > &  a,
DetSetRefVector< T, C > &  b 
)
inline

Definition at line 286 of file DetSetRefVector.h.

References edm::DetSetRefVector< T, C >::swap().

286  {
287  a.swap(b);
288  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C >
void edm::swap ( MultiAssociation< C > &  lhs,
MultiAssociation< C > &  rhs 
)
inline

Definition at line 292 of file MultiAssociation.h.

292 { lhs.swap(rhs); }
template<typename T >
void edm::swap ( View< T > &  lhs,
View< T > &  rhs 
)
inline

Definition at line 395 of file View.h.

395  {
396  lhs.swap(rhs);
397  }
template<class T >
void edm::swap ( RefToBase< T > &  a,
RefToBase< T > &  b 
)
inline

Definition at line 403 of file RefToBase.h.

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

404  {
405  a.swap(b);
406  }
template<typename T , typename SORT >
void edm::swap ( SortedCollection< T, SORT > &  a,
SortedCollection< T, SORT > &  b 
)
inline

Definition at line 403 of file SortedCollection.h.

References edm::SortedCollection< T, SORT >::swap().

403  {
404  a.swap(b);
405  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T , unsigned int M, typename P >
void edm::swap ( OwnArray< T, M, P > &  a,
OwnArray< T, M, P > &  b 
)
inline

Definition at line 430 of file OwnArray.h.

References edm::OwnArray< T, MAX_SIZE, P >::swap().

430  {
431  a.swap(b);
432  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
void edm::swap ( DetSetVector< T > &  a,
DetSetVector< T > &  b 
)
inline

Definition at line 441 of file DetSetVector.h.

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

442  {
443  a.swap(b);
444  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T , typename P >
void edm::swap ( OwnVector< T, P > &  a,
OwnVector< T, P > &  b 
)
inline

Definition at line 505 of file OwnVector.h.

References a, and b.

505  {
506  a.swap(b);
507  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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, modifiedElectrons_cfi::processName, PRODUCT_TYPE, and AlCaHLTBitMon_QueryRunRegistry::string.

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
void edm::throwExceptionWithText ( char const *  txt)

Definition at line 272 of file BranchDescription.cc.

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

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

272  {
274  e << "Problem using an incomplete BranchDescription\n"
275  << txt
276  << "\nPlease report this error to the FWCore developers";
277  throw e;
278  }
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, 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(seq, keepstr=True)
Definition: tier0.py:25
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, 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(seq, keepstr=True)
Definition: tier0.py:25
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::set< std::string > &  producedTypes,
bool  consumedWithView 
)

Definition at line 281 of file DictionaryTools.cc.

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

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 219 of file EventPrincipal.cc.

References cppFunctionSkipper::exception.

Referenced by edm::EventPrincipal::getByProductID(), and edm::DataManagingProductResolver::setFailedStatus().

220  {
222  exception << "get by product ID: The product with given id: " << pid << "\ntype: " << phb->productType()
223  << "\nproduct instance name: " << phb->productInstanceName() << "\nprocess name: " << phb->processName()
224  << "\nwas already deleted. This is a configuration error. Please change the configuration of the module "
225  "which caused this exception to state it reads this data.";
226  throw exception;
227  }
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 fwlite::ChainEvent::event(), fwlite::Run::getBranchDescriptions(), fwlite::LuminosityBlock::getBranchDescriptions(), edm::Principal::getProvenance(), fwlite::Event::processHistory(), and fwlite::MultiChainEvent::secondaryFileIndex().

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  }
std::vector<std::string> edm::tokenize ( std::string const &  input,
std::string const &  separator 
)
std::vector<std::string> edm::tokenize ( const std::string &  input,
const std::string &  separator 
)

Definition at line 52 of file Parse.cc.

References copy_all(), and mps_fire::result.

52  {
53  typedef boost::char_separator<char> separator_t;
54  typedef boost::tokenizer<separator_t> tokenizer_t;
55 
56  std::vector<std::string> result;
57  separator_t sep(separator.c_str(), "", boost::keep_empty_tokens); // separator for elements in path
58  tokenizer_t tokens(input, sep);
59  copy_all(tokens, std::back_inserter<std::vector<std::string> >(result));
60  return result;
61  }
string separator
Definition: mps_merge.py:79
static std::string const input
Definition: EdmProvDump.cc:48
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:20
template<typename T >
pybind11::list edm::toPython11List ( const std::vector< T > &  v)

Definition at line 17 of file PyBind11Wrapper.h.

References list(), and mps_fire::result.

Referenced by Python11ParameterSet::getParameters().

17  {
18  pybind11::list result = pybind11::cast(v);
19  return result;
20  }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
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  }
static std::string const edm::triggerResults ( "TriggerResults"  )
static
static std::string const edm::triggerResultsInserter ( "TriggerResultsInserter"  )
static

Referenced by moduleName().

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

Definition at line 108 of file RefCoreGet.h.

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

108  {
109  if (ref.isTransient()) {
110  ref.nullPointerForTransientException(typeid(T));
111  }
112  return refcore::tryToGetProductWithCoreFromRef_<T>(ref, prodGetter);
113  }
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(), edm::TypeID::print(), 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  }
void replaceString(std::string &demangledName, std::string const &from, std::string const &to)
demangled
Definition: symbols.py:62
std::string edm::uniqueSharedResourceName ( )

Definition at line 18 of file SharedResourceNames.cc.

Referenced by edm::GeneratorFilter< HAD, DEC >::GeneratorFilter(), and edm::HadronizerFilter< HAD, DEC >::HadronizerFilter().

18  {
19  std::stringstream ss;
20  ss << "uniqueSharedResourceName" << counter.fetch_add(1);
21  return ss.str();
22 }
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::validateTopLevelParameterSets ( ParameterSet processParameterSet)

Definition at line 75 of file validateTopLevelParameterSets.cc.

References cms::Exception::addContext(), edm::ParameterSet::addUntrackedParameter(), edm::errors::Configuration, heppy_report::description, Exception, fillMaxEventsDescription(), fillMaxLuminosityBlocksDescription(), fillMaxSecondsUntilRampdownDescription(), fillOptionsDescription(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), modifiedElectrons_cfi::processName, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, and edm::ParameterSetDescription::validate().

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

75  {
76  std::string processName = processParameterSet->getParameter<std::string>("@process_name");
77 
78  std::vector<std::string> psetNames{"options", "maxEvents", "maxLuminosityBlocks", "maxSecondsUntilRampdown"};
79 
80  for (auto const& psetName : psetNames) {
81  bool isTracked{false};
82  ParameterSet* pset = processParameterSet->getPSetForUpdate(psetName, isTracked);
83  if (pset == nullptr) {
84  ParameterSet emptyPset;
85  processParameterSet->addUntrackedParameter<ParameterSet>(psetName, emptyPset);
86  pset = processParameterSet->getPSetForUpdate(psetName, isTracked);
87  }
88  if (isTracked) {
89  throw Exception(errors::Configuration) << "In the configuration the top level parameter set named \'"
90  << psetName << "\' in process \'" << processName << "\' is tracked.\n"
91  << "It must be untracked";
92  }
93 
95  if (psetName == "options") {
96  fillOptionsDescription(description);
97  } else if (psetName == "maxEvents") {
98  fillMaxEventsDescription(description);
99  } else if (psetName == "maxLuminosityBlocks") {
101  } else if (psetName == "maxSecondsUntilRampdown") {
103  }
104 
105  try {
106  description.validate(*pset);
107  } catch (cms::Exception& ex) {
108  std::ostringstream ost;
109  ost << "Validating top level \'" << psetName << "\' ParameterSet for process \'" << processName << "\'";
110  ex.addContext(ost.str());
111  throw;
112  }
113  }
114  }
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 CaloTauSelectorDefinition::CaloTauSelectorDefinition(), reco::modules::CandCombinerBase::CandCombinerBase(), EGammaCutBasedEleIdAnalyzer::EGammaCutBasedEleIdAnalyzer(), ElectronSeedProducer::ElectronSeedProducer(), GenWeightsTableProducer::GenWeightsTableProducer(), HLTBTagPerformanceAnalyzer::HLTBTagPerformanceAnalyzer(), HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer(), pf2pat::IsolatedPFCandidateSelectorDefinition::IsolatedPFCandidateSelectorDefinition(), JetSubstructurePacker::JetSubstructurePacker(), MultiTrackValidator::MultiTrackValidator(), reco::modules::NamedCandCombinerBase::NamedCandCombinerBase(), OccupancyPlots::OccupancyPlots(), pat::PATElectronProducer::PATElectronProducer(), pat::PATGenericParticleProducer::PATGenericParticleProducer(), pat::PATJetProducer::PATJetProducer(), pat::PATJetUpdater::PATJetUpdater(), pat::PATMuonProducer::PATMuonProducer(), pat::PATPFParticleProducer::PATPFParticleProducer(), pat::PATPhotonProducer::PATPhotonProducer(), pat::PATSingleVertexSelector::PATSingleVertexSelector(), PATTauIDEmbedder::PATTauIDEmbedder(), pat::PATTauProducer::PATTauProducer(), pat::PATTriggerEventProducer::PATTriggerEventProducer(), PixelInactiveAreaFinder::PixelInactiveAreaFinder(), pat::PATMuonProducer::readIsolationLabels(), pat::PATPhotonProducer::readIsolationLabels(), pat::PATElectronProducer::readIsolationLabels(), ReducedESRecHitCollectionProducer::ReducedESRecHitCollectionProducer(), ReducedRecHitCollectionProducer::ReducedRecHitCollectionProducer(), SeedCombiner::SeedCombiner(), SiStripClusterizer::SiStripClusterizer(), SiStripProcessedRawDigiProducer::SiStripProcessedRawDigiProducer(), TrackerDpgAnalysis::TrackerDpgAnalysis(), TrackingMonitor::TrackingMonitor(), TrackingNtuple::TrackingNtuple(), and TtEvtBuilder< C >::TtEvtBuilder().

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  }
type
Definition: HCALResponse.h:21
static std::string const input
Definition: EdmProvDump.cc:48
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 284 of file Trie.h.

References MillePedeFileConverter_cfg::e, label, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

284  {
285  typedef TrieNodeIter<T> node_iterator;
286  node_iterator e;
287  for (node_iterator p(&n); p!=e; ++p) {
288  v((*p).value(),label+(char)p.label());
289  walkTrie(v,*p,label+(char)p.label());
290  }
291  }
char const * label
void walkTrie(V &v, TrieNode< T > const &n, std::string const &label="")
visit each node of the trie
Definition: Trie.h:284
std::string edm::withoutQuotes ( std::string const &  from)
std::string edm::withoutQuotes ( const std::string &  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  }
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:30

Variable Documentation

int const edm::bufSize = 128
static
debugvalue edm::debugit
ELslProxy< ELdebugGen > const edm::ELdebug
ELslGen edm::ELdebugGen
ELslProxy< ELerrorGen > const edm::ELerror

Definition at line 308 of file ELseverityLevel.cc.

Referenced by loadMap(), and LoggedErrorsOnlySummary().

ELslGen edm::ELerrorGen
ELslProxy< ELhighestSeverityGen > const edm::ELhighestSeverity
ELslGen edm::ELhighestSeverityGen
ELslProxy< ELinfoGen > const edm::ELinfo

Definition at line 296 of file ELseverityLevel.cc.

Referenced by loadMap().

ELslGen edm::ELinfoGen
ELslProxy< ELsevereGen > const edm::ELsevere
ELslGen edm::ELsevereGen
ELslProxy< ELunspecifiedGen > const edm::ELunspecified

Definition at line 314 of file ELseverityLevel.cc.

Referenced by edm::ELextendedID::clear(), and loadMap().

ELslGen edm::ELunspecifiedGen
ELslProxy< ELwarningGen > const edm::ELwarning
ELslGen edm::ELwarningGen
ELslProxy< ELzeroSeverityGen > const edm::ELzeroSeverity
ELslGen edm::ELzeroSeverityGen
char const* edm::fmt_Guid = "%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02hhX"
static

Definition at line 21 of file Guid.cc.

MallocOptionSetter edm::global_malloc_options

Definition at line 194 of file MallocOpts.cc.

Referenced by getGlobalOptionSetter().

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 edm::kAveEventPerSec = 200ULL
static

Definition at line 36 of file ProducerSourceBase.cc.

Referenced by edm::ProducerSourceBase::fillDescription().

unsigned long long edm::kNanoSecPerSec = 1000000000ULL
static

Definition at line 35 of file ProducerSourceBase.cc.

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 20 of file EDMModuleType.h.

Referenced by edmModuleType(), DependencyGraph::edmModuleType(), edmModuleTypeEnum(), and DependencyGraph::edmModuleTypeEnum().

constexpr unsigned int edm::s_defaultNumberOfThreads = 1

Definition at line 9 of file validateTopLevelParameterSets.h.

Referenced by fillOptionsDescription().

const std::vector<void const*> edm::s_emptyCache {}
static

Definition at line 196 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 = 0
unsigned int const edm::shift = 8 * sizeof(unsigned int)
static

Definition at line 9 of file LuminosityBlockID.cc.

Referenced by algorithm(), EcalTPGParamBuilder::analyze(), L1TCSCTF::analyze(), HcalTriggerPrimitiveAlgo::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), HcalTriggerPrimitiveAlgo::analyzeHFQIE10(), HcalTriggerPrimitiveAlgo::analyzeQIE11(), BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), MuScleFitUtils::applyScale(), CSCTFTrackBuilder::buildTracks(), barrelUtil::calculatePhiWindow(), HGCalDDDConstants::cellHex(), DEutils< T >::DEDigi(), InitialState::Evolve(), DDCutTubsFromPoints::execute(), PFPhotonClusters::FillClusterShape(), 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(), 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(), HcalDDDSimConstants::HcalCellTypes(), PixelTripletNoTipGenerator::hitTriplets(), SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db(), FFTJetPFPileupCleaner::isRemovable(), 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(), HcalPulseShapes::normalizeShift(), pat::MET::Vector2::phi(), HcalTTPDigiProducer::produce(), DistortedMuonProducerFromDB::produce(), BeamDivergenceVtxGenerator::produce(), ShiftedMETcorrInputProducer::produce(), ShiftedJetProducerByMatchedObjectT< T >::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), ShiftedParticleProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedParticleProducerT< T >::produce(), l1t::GenToInputProducer::produce(), ShiftedJetProducerT< T, Textractor >::produce(), HFPreRecAlgo::reconstruct(), CSCTFSectorProcessor::run(), CSCTFSPCoreLogic::run(), HFRecHitAuxSetter::setAux(), reco::PFCandidate::setHcalDepthEnergyFractions(), UCTCTP7RawData::setHFFeatureBits(), HcalTriggerPrimitiveAlgo::setNCTScaleShift(), BackgroundHandler::setParameters(), HcalTriggerPrimitiveAlgo::setRCTScaleShift(), FFTJetPFPileupCleaner::setRemovalBit(), pat::MET::setUncShift(), pat::MET::shiftedP2_74x(), pat::MET::shiftedP4_74x(), pat::MET::shiftedSumEt_74x(), DTTracoChip::storeCorr(), DTTracoChip::storeUncorr(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), RigidBodyAlignmentParameters::translation(), BeamSpotAlignmentParameters::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}
pset::TypeTrans const edm::sTypeTranslations
static

Definition at line 72 of file Entry.cc.