CMS 3D CMS Logo

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

A PluginFactory for concrete instances of class KalmanAlignmentMetricsUpdator. More...

Namespaces

 actions
 
 clonehelper
 
 convertException
 
 daqsource
 
 detail
 
 details
 
 detailsTrie
 
 dslv
 
 dslvdetail
 
 dsrvdetail
 
 edmmltest
 
 errors
 
 es
 
 event_processor
 
 eventsetup
 
 evtSel
 
 extensioncord
 
 fillDetails
 
 friendlyname
 
 handleimpl
 
 hash_detail
 
 helper
 
 helpers
 
 hlt
 
 InputType
 
 lazydetail
 
 math_private
 
 messagedrop
 
 multicore
 
 pdtentry
 
 poolNames
 
 principal_get_adapter_detail
 
 pset
 
 python
 
 rec_dep
 
 refcore
 
 refcoreimpl
 
 refhelper
 
 refitem
 
 reftobase
 
 releaseversion
 
 root
 
 rootfix
 
 roottree
 
 service
 
 serviceregistry
 
 test
 
 typelookup
 
 writeParameterValue
 

Classes

class  ActionTable
 
class  ActivityRegistry
 
class  AllowedLabelsDescription
 
class  AllowedLabelsDescription< ParameterSetDescription >
 
class  AllowedLabelsDescription< std::vector< ParameterSet > >
 
class  AllowedLabelsDescriptionBase
 
class  AnalyzerWrapper
 
class  ANDGroupDescription
 
class  AndHelper
 
class  AsciiOutputModule
 
class  AssertHandler
 
struct  Association
 
class  AssociationMap
 
class  AssociationVector
 
class  AssociativeIterator
 
class  BaseFlatGunProducer
 
class  BaseFlatGunSource
 
class  BasicAnalyzer
 
class  BasicFilter
 
class  BasicHandle
 
class  BeamHaloProducer
 
class  BeamHaloSource
 
class  BMixingModule
 
class  BoolCache
 
class  BranchChildren
 
class  BranchDescription
 
class  BranchID
 
class  BranchIDListHelper
 
struct  BranchKey
 
class  BranchMapper
 
class  CachedHistory
 
class  CFWriter
 
struct  ClonePolicy
 
class  CloningPtr
 
struct  CommonParams
 
class  Compare_Index
 
class  Compare_Index_Run
 
class  Compare_Run_Lumi_EventEntry
 
struct  CompareRefDetSet
 
struct  CompareTypeInBranchTypeConstBranchDescription
 
class  ComposedSelectorWrapper
 
class  ConditionsInEventBlock
 
class  ConditionsInLumiBlock
 
class  ConditionsInRunBlock
 
class  ConfigurableInputSource
 
class  ConfigurationDescriptions
 
struct  ConfigurationHandshake
 
class  ConstBranchDescription
 
class  ConstProductRegistry
 
class  ConstPtrCache
 
class  ContainerMask
 
class  ContainerMaskTraits
 
class  ContainerMaskTraits< edm::LazyGetter< T > >
 
class  ContainerMaskTraits< edmNew::DetSetVector< T > >
 
struct  CopyPolicy
 
class  CosMuoGenProducer
 
class  CosMuoGenSource
 
class  CountAndLimit
 
class  CPUTimer
 
class  CurrentProcessingContext
 
class  CustomStreamer
 
struct  DaqProvenanceHelper
 
class  DaqSource
 
class  DataFrame
 
class  DataFrameContainer
 
class  DataMixingEMDigiWorker
 
class  DataMixingEMWorker
 
class  DataMixingGeneralTrackWorker
 
class  DataMixingHcalDigiWorker
 
class  DataMixingHcalDigiWorkerProd
 
class  DataMixingHcalWorker
 
class  DataMixingModule
 
class  DataMixingMuonWorker
 
class  DataMixingSiPixelWorker
 
class  DataMixingSiStripRawWorker
 
class  DataMixingSiStripWorker
 
class  debugging_allocator
 
struct  debugvalue
 
class  DelayedReader
 
class  DescriptionFillerForESProducers
 
class  DescriptionFillerForESSources
 
class  DescriptionFillerForServices
 
class  DetSet
 
class  DetSetLazyVector
 
class  DetSetRefVector
 
class  DetSetVector
 
struct  do_nothing_deleter
 
struct  DoAssign
 
class  DocFormatHelper
 
struct  DoFillView
 
struct  DoHasIsProductEqual
 
struct  DoIsProductEqual
 
struct  DoMergeProduct
 
struct  DoNotFillView
 
struct  DoNotHasIsProductEqual
 
struct  DoNotIsProductEqual
 
struct  DoNotMergeProduct
 
struct  DoNotPostInsert
 
struct  DoNotRecordParents
 
struct  DoNotSetPtr
 
struct  DoNotSortUponInsertion
 
struct  DoPostInsert
 
struct  DoSetPtr
 
struct  DoSwap
 
class  DQMHttpSource
 
class  DummyProvenanceReader
 
class  DuplicateChecker
 
class  EarlyDeleteHelper
 
class  EDAnalyzer
 
class  EDCollection
 
class  EDFilter
 
class  EDInputSource
 
class  EDLooper
 
class  EDLooperBase
 
class  EdmEventItemGetter
 Helper class that fetches some type of Ref given ProductID and index, using the edm::Event. More...
 
class  EDProducer
 
class  EDProductGetter
 
class  ELextendedID
 
class  ELlog4cplus
 
class  ELseverityLevel
 
struct  ELslProxy
 
class  EmptyESSource
 
class  EmptyGroupDescription
 
class  EmptySource
 
class  Entry
 
class  ErrorObj
 
struct  ErrorSummaryEntry
 
class  ESHandle
 
class  ESHandleBase
 
class  ESInputTag
 
class  ESOutlet
 
class  ESProducer
 
class  ESProducerLooper
 
struct  ESProducts
 
class  ESProxyFactoryProducer
 
class  ESRecordAuxiliary
 
class  ESTransientHandle
 
class  ESWatcher
 
class  Event
 
class  EventAux
 
class  EventAuxiliary
 
class  EventAuxiliaryHistoryProducer
 
class  EventBase
 
class  EventBuffer
 
class  EventContentAnalyzer
 
class  EventEntryDescription
 
class  EventEntryInfo
 
class  EventExtractor
 
class  EventID
 
class  EventMsg
 
class  EventPrincipal
 
class  EventProcessHistoryID
 
class  EventProcessor
 
class  EventRange
 
class  EventSelector
 
class  EventSetup
 
class  EventSetupRecordDataGetter
 
class  EventSetupRecordIntervalFinder
 
class  EventSkipperByID
 
class  EventStreamHttpReader
 
struct  EventSummary
 
class  EventTime
 
class  Exception
 
class  ExceptionCollector
 
class  ExhumeProducer
 
class  ExpoRandomPtGunProducer
 
class  ExpoRandomPtGunSource
 
class  ExtensionCord
 
class  ExternalInputSource
 
class  Factory
 
class  FileBlock
 
class  FileCatalogItem
 
class  FileFormatVersion
 
class  FileID
 
class  FileIndex
 
class  FileInPath
 
class  FileLocator
 
class  FileRandomKEThetaGunProducer
 
struct  FilledGroupPtr
 
class  FilterObjectWrapper
 
class  FilterWrapper
 
struct  FindRegion
 
struct  FindValue
 
class  FixedPUGenerator
 
class  FlatBaseThetaGunProducer
 
class  FlatBaseThetaGunSource
 
class  FlatEGunASCIIWriter
 
class  FlatRandomEGunProducer
 
class  FlatRandomEGunSource
 
class  FlatRandomEThetaGunProducer
 
class  FlatRandomEThetaGunSource
 
class  FlatRandomOneOverPtGunProducer
 
class  FlatRandomPtGunProducer
 
class  FlatRandomPtGunSource
 
class  FlatRandomPtThetaGunProducer
 
class  FlatRandomPtThetaGunSource
 
class  FullHistoryToReducedHistoryMap
 
class  FullProvenanceReader
 
class  FUShmOutputModule
 
class  FwdPtr
 
class  FwdRef
 
struct  FWGenericObject
 This class is just a 'tag' used to allow a specialization of edm::Handle. More...
 
class  FWLiteFilterWrapper
 
class  GeneratedInputSource
 
class  GeneratorFilter
 
struct  GenericObject
 This class is just a 'tag' used to allow a specialization of edm::Handle. More...
 
class  GenericObjectOwner
 
class  GenericSelectorByValueMap
 
class  GenHIEvent
 
class  GetProductCheckerOutputModule
 
class  Group
 
class  GroupSelector
 
class  GroupSelectorRules
 
class  Guid
 
class  H2RootNtplSource
 
class  HadronizerFilter
 
class  Handle
 
class  Handle< FWGenericObject >
 
class  Handle< GenericObject >
 
class  HandleBase
 
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_match
 
struct  has_match< AndHelper< A, B > >
 
struct  has_match< NotHelper< A > >
 
struct  has_match< OrHelper< A, B > >
 
struct  has_match< SelectorBase >
 
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 > >
 
class  Hash
 
class  HcalNoiseStorage
 
class  HepMCProduct
 
class  HiMixingModule
 
class  HiMixingWorker
 
class  HiMixingWorkerBase
 
class  History
 
class  HistoryAppender
 
class  HLTGlobalStatus
 
class  HLTPathStatus
 
class  IDVectorMap
 
class  IEventProcessor
 
class  IfExistsDescription
 
class  IllegalParameters
 
class  IndexIntoFile
 
class  InitMsg
 
class  InputAnalyzer
 
class  InputFile
 
class  InputFileCatalog
 
class  InputGroup
 
class  InputSource
 
struct  InputSourceDescription
 
class  InputSourceFactory
 
class  InputTag
 
class  InputTagSelector
 
class  IOVSyncValue
 
struct  IsMergeable
 
struct  IsNotMergeable
 
class  IterateNTimesLooper
 
class  JobHeaderDecoder
 
class  JobHeaderExtractor
 
class  JobHeaderInserter
 
class  JobReport
 
struct  key_traits
 
struct  key_traits< std::pair< U, V > >
 
struct  key_traits< std::string >
 
class  LazyAdapter
 
class  LazyGetter
 
class  LazyUnpacker
 
class  LimitAndTimespan
 
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
 
class  LuminosityBlockID
 
class  LuminosityBlockPrincipal
 
class  LuminosityBlockRange
 
class  LumiReWeighting
 
struct  MainParameterSet
 
class  MakeDummyProvenanceReader
 
class  MakeFullProvenanceReader
 
class  MakeOldProvenanceReader
 
class  MakeProvenanceReader
 
class  Maker
 
class  MakeReducedProvenanceReader
 
class  MallocOptionSetter
 
struct  MallocOpts
 
class  MapOfVectors
 
class  MatchAllSelector
 
class  MCFileSource
 
struct  MergeableCounter
 
struct  MessageDrop
 
class  MessageLoggerQ
 
class  MessageSender
 
class  MixingModule
 
class  MixingWorker
 
class  MixingWorkerBase
 
class  ModelFilter
 
class  ModuleChanger
 
class  ModuleDescription
 
struct  ModuleInPathSummary
 
class  ModuleLabelSelector
 
class  ModuleTime
 
class  MsgCode
 
class  MultiAssociation
 
class  MultiParticleInConeGunProducer
 
class  MultiParticleInConeGunSource
 
class  NavigateEventsLooper
 
struct  NewPolicy
 
class  NotHelper
 
class  OccurrenceTraits
 
class  OccurrenceTraits< EventPrincipal, BranchActionBegin >
 
class  OccurrenceTraits< LuminosityBlockPrincipal, BranchActionBegin >
 
class  OccurrenceTraits< LuminosityBlockPrincipal, BranchActionEnd >
 
class  OccurrenceTraits< RunPrincipal, BranchActionBegin >
 
class  OccurrenceTraits< RunPrincipal, BranchActionEnd >
 
class  OldProvenanceReader
 
class  OneToMany
 
class  OneToManyWithQuality
 
class  OneToManyWithQualityGeneric
 
class  OneToOne
 
class  OneToOneGeneric
 
class  OneToValue
 
class  ORGroupDescription
 
class  OrHelper
 
class  OrphanHandle
 
class  OrphanHandle< GenericObjectOwner >
 
class  OrphanHandleBase
 
struct  Other
 
class  OutletBase
 
class  OutputHandle
 
class  OutputModule
 
struct  OutputModuleDescription
 
class  OutputWorker
 
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  Path
 
struct  PathSummary
 
class  PileUp
 
class  PoissonPUGenerator
 
class  PomwigProducer
 
class  PoolOutputModule
 
class  PoolSource
 
class  Prescaler
 
class  Presence
 
class  PresenceFactory
 
class  Principal
 
class  PrincipalCache
 
class  PrincipalGetAdapter
 
class  PrintEventSetupContent
 
class  PrintEventSetupDataRetrieval
 
class  ProblemTracker
 
class  ProcessConfiguration
 
class  ProcessDesc
 
class  ProcessHistory
 
class  ProcessingController
 
class  ProcessNameSelector
 
class  ProcessOneOccurrence
 
class  ProducedGroup
 
class  ProducerBase
 
struct  ProductData
 
class  ProductDeletedException
 
class  ProductID
 
class  ProductInstanceNameSelector
 
class  ProductLookupIndex
 
class  ProductProvenance
 
class  ProductRegistry
 author Stefano ARGIRO author Bill Tanenbaum More...
 
class  ProductRegistryHelper
 
class  Provenance
 
class  ProvenanceAdaptor
 
class  ProvenanceCheckerOutputModule
 
class  ProvenanceReaderBase
 
class  Ptr
 
class  PtrHolder
 
class  PtrVector
 
class  PtrVectorBase
 
class  PtrVectorItr
 
class  PUGenerator
 
class  RandomEngineStates
 
class  RandomFilter
 
class  RandomNumberGenerator
 
class  RangeMap
 
class  RawInputSource
 
class  RecordEventID
 
struct  RecordInParentfull
 
struct  RecordInParentless
 
class  ReducedProvenanceReader
 
class  Ref
 
class  Ref< REF_FOR_VECTOR_ARGS >
 
class  RefBase
 
class  RefCore
 
class  RefCoreStreamer
 
class  RefCoreWithIndex
 
class  RefCoreWithIndexStreamer
 
class  RefGetter
 
class  RefProd
 
class  RefToBase
 
class  RefToBaseProd
 
class  RefToBaseVector
 
class  RefVector
 
class  RefVectorBase
 
class  RefVectorIterator
 
class  RegionIndex
 
class  RootAutoLibraryLoader
 
class  RootDebug
 
class  RootDelayedReader
 
class  RootFile
 
class  RootFileEventFinder
 
class  RootHandlers
 
class  RootInputFileSequence
 
class  RootOutputFile
 
class  RootOutputTree
 
class  RootServiceChecker
 
class  RootTree
 
class  Run
 
class  RunAux
 
class  RunAuxiliary
 
class  RunBase
 
class  RunDualStopwatches
 
class  RunID
 
class  RunLumiEntryInfo
 
class  RunPrincipal
 
class  RunStopwatch
 
class  Schedule
 
class  ScheduledGroup
 
class  ScheduleInfo
 
struct  ScheduleItems
 
class  SecSourceAnalyzer
 
class  Selector
 
class  SelectorBase
 
class  SendEvent
 
class  SendJobHeader
 
class  Service
 
class  ServiceRegistry
 
class  ServiceToken
 
class  SignallingProductRegistry
 
class  SimpleOutlet
 
class  SingleConsumerQ
 
class  SiteLocalConfig
 
class  SortedCollection
 
class  SourceGroup
 
class  StatsCount
 
struct  StoredProductProvenance
 
class  StreamDQMDeserializer
 
class  StreamDQMSerializer
 
class  StreamedProduct
 
class  StreamedProductStreamer
 
class  StreamerFileReader
 
class  StreamerFileWriter
 
struct  StreamerFileWriterEventParams
 
struct  StreamerFileWriterHeaderParams
 
class  StreamerInputFile
 
class  StreamerInputModule
 
class  StreamerInputSource
 
class  StreamerOutputModule
 
class  StreamerOutputModuleBase
 
class  StreamSerializer
 
struct  StrictWeakOrdering
 
class  SubProcess
 
class  Suppress_LogDebug_
 
class  TestHandle
 
class  TestMix
 
class  TestMixedSource
 
struct  TimeOfDay
 
class  TimeoutPoolOutputModule
 
class  Timestamp
 
class  TRandomAdaptor
 
struct  TransEntry
 
class  TransientDataFrame
 
class  TransientProductLookupMap
 
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
 
class  TypeID
 
class  TypeIDBase
 
class  TypeInBranchType
 
class  UnknownModuleException
 Exception thrown when trying to instance a module which is not registered to the system. More...
 
class  UnscheduledCallProducer
 
class  UnscheduledGroup
 
class  UnscheduledHandler
 
class  UnscheduledHandlerSentry
 
class  UpdateGetterAdapter
 
class  ValidityInterval
 
class  value_ptr
 
struct  value_ptr_traits
 
struct  value_ptr_traits< IndexIntoFile::IndexIntoFileItrImpl >
 
struct  value_ptr_traits< ParameterDescriptionNode >
 
struct  value_ptr_traits< SelectorBase >
 
class  ValueHolderECGetter
 
class  ValueMap
 
class  VectorInputSource
 
class  VectorInputSourceFactory
 
class  View
 
class  View< T >
 
class  ViewBase
 
class  VParameterSetEntry
 
class  Worker
 
class  WorkerInPath
 
class  WorkerMaker
 
struct  WorkerParams
 
class  WorkerRegistry
 
struct  WorkerSummary
 
class  WorkerT
 
class  Wrapper
 
class  WrapperHolder
 
class  WrapperInterface
 
class  WrapperInterfaceBase
 
class  WrapperOwningHolder
 
class  XMLOutputModule
 
class  XORGroupDescription
 

Typedefs

typedef unsigned int BranchDescriptionIndex
 
typedef std::vector
< BranchID::value_type
BranchIDList
 
typedef
edm::detail::ThreadSafeIndexedRegistry
< BranchIDList,
BranchIDListHelper
BranchIDListRegistry
 
typedef std::vector< BranchIDListBranchIDLists
 
typedef unsigned short BranchListIndex
 
typedef std::vector
< BranchListIndex
BranchListIndexes
 
typedef void(* CFUNC )(int, siginfo_t *, void *)
 
typedef uint32_t det_id_type
 
typedef std::list
< ELdestination * > 
ELlist_dest
 
typedef std::list< ELstringELlist_string
 
typedef std::map< ELstring
const, ELseverityLevel::ELsev_
ELmap
 
typedef std::map< ELextendedID,
CountAndLimit
ELmap_counts
 
typedef std::map< ELstring,
LimitAndTimespan
ELmap_limits
 
typedef std::map< ELextendedID,
StatsCount
ELmap_stats
 
typedef ELseverityLevel const ELslGen ()
 
typedef std::string ELstring
 
typedef Hash
< EntryDescriptionType
EntryDescriptionID
 
typedef
EntryDescriptionRegistry::collection_type 
EntryDescriptionMap
 
typedef
edm::detail::ThreadSafeRegistry
< edm::EntryDescriptionID,
edm::EventEntryDescription
EntryDescriptionRegistry
 
typedef std::map
< ErrorSummaryMapKey, unsigned
int >::iterator 
ErrorSummaryMapIterator
 
typedef ErrorSummaryEntry ErrorSummaryMapKey
 
typedef std::vector
< EventEntryInfo
EventEntryInfoVector
 
typedef unsigned int EventNumber_t
 
typedef ParameterSetID EventSelectionID
 
typedef std::vector
< EventSelectionID
EventSelectionIDVector
 
typedef Handle< FWGenericObjectFWGenericHandle
 
typedef Handle< GenericObjectGenericHandle
 
typedef boost::shared_ptr
< reftobase::RefHolderBase
helper_ptr
 
typedef
reftobase::RefVectorHolderBase 
helper_vector
 
typedef boost::shared_ptr
< reftobase::RefVectorHolderBase
helper_vector_ptr
 
typedef long long int HRTimeDiffType
 
typedef unsigned long long int HRTimeType
 
typedef
edmplugin::PluginFactory
< ISFunc
InputSourcePluginFactory
 
typedef InputSource *( ISFunc )(ParameterSet const &, InputSourceDescription const &)
 
typedef VectorInputSource *( ISVecFunc )(ParameterSet const &, InputSourceDescription const &)
 
typedef std::vector
< LHCTransportLink
LHCTransportLinkContainer
 
typedef RunLumiEntryInfo LumiEntryInfo
 
typedef unsigned int LuminosityBlockNumber_t
 
typedef unsigned int LumiNumber_t
 
typedef
edmplugin::PluginFactory
< Maker *()> 
MakerPluginFactory
 
typedef Hash
< ModuleDescriptionType
ModuleDescriptionID
 
typedef
edmplugin::PluginFactory
< ParameterSetDescriptionFillerBase
*(void)> 
ParameterSetDescriptionFillerPluginFactory
 
typedef Hash< ParameterSetTypeParameterSetID
 
typedef std::map
< ParameterSetID,
ParameterSetBlob
ParameterSetMap
 
typedef Hash< ParentageTypeParentageID
 
typedef
ParentageRegistry::collection_type 
ParentageMap
 
typedef
edm::detail::ThreadSafeRegistry
< edm::ParentageID,
edm::Parentage
ParentageRegistry
 
typedef std::string PassID
 
typedef std::vector< PCaloHitPCaloHitContainer
 
typedef boost::shared_ptr
< Pointer_to_new_exception_on_heap
Place_for_passing_exception_ptr
 
typedef boost::shared_ptr
< edm::Exception
Pointer_to_new_exception_on_heap
 
typedef PoolSource PoolRASource
 
typedef Presence *( PresenceFunc )()
 
typedef
edmplugin::PluginFactory
< Presence *()> 
PresencePluginFactory
 
typedef Hash
< ProcessConfigurationType
ProcessConfigurationID
 
typedef
ProcessConfigurationRegistry::collection_type 
ProcessConfigurationMap
 
typedef
edm::detail::ThreadSafeRegistry
< edm::ProcessConfigurationID,
edm::ProcessConfiguration
ProcessConfigurationRegistry
 
typedef
ProcessConfigurationRegistry::vector_type 
ProcessConfigurationVector
 
typedef Hash< ProcessHistoryTypeProcessHistoryID
 
typedef
ProcessHistoryRegistry::collection_type 
ProcessHistoryMap
 
typedef
edm::detail::ThreadSafeRegistry
< edm::ProcessHistoryID,
edm::ProcessHistory,
edm::FullHistoryToReducedHistoryMap
ProcessHistoryRegistry
 
typedef
ProcessHistoryRegistry::vector_type 
ProcessHistoryVector
 
typedef unsigned short ProcessIndex
 
typedef std::string ProcessingTask
 
typedef unsigned short ProductIndex
 
typedef std::vector
< ProductProvenance
ProductProvenanceVector
 
typedef unsigned int ProductTransientIndex
 
typedef std::vector< PSimHitPSimHitContainer
 
typedef std::multimap
< EventSetupRecordKey,
FactoryInfo
Record2Factories
 
typedef std::string ReleaseVersion
 
typedef RunLumiEntryInfo RunEntryInfo
 
typedef unsigned int RunNumber_t
 
typedef std::vector
< BranchDescription const * > 
Selections
 
typedef boost::array
< Selections, NumBranchTypes
SelectionsArray
 
typedef std::vector
< BranchDescription
SendDescs
 
typedef std::vector
< StreamedProduct
SendProds
 
typedef std::vector< SimTrackSimTrackContainer
 
typedef std::vector< SimVertexSimVertexContainer
 
typedef edm::Ref< std::vector
< SimVertex > > 
SimVertexRef
 
typedef edm::RefProd
< std::vector< SimVertex > > 
SimVertexRefProd
 
typedef edm::RefVector
< std::vector< SimVertex > > 
SimVertexRefVector
 
typedef std::vector
< StoredProductProvenance
StoredProductProvenanceVector
 
typedef std::set< std::string > StringSet
 
typedef std::vector< std::string > StringVector
 
typedef unsigned long long TimeValue_t
 
typedef
detail::CachedProducts::handle_t 
Trig
 
typedef std::map
< edm::ParameterSetID,
edm::TriggerNames
TriggerNamesMap
 
typedef std::map< std::string,
char > 
Type2Code
 
typedef std::vector
< edm::BranchDescription const * > 
VCBDP
 
typedef
edmplugin::PluginFactory
< ISVecFunc
VectorInputSourcePluginFactory
 
typedef std::vector< ParameterSetVParameterSet
 
typedef std::vector< std::string > vstring
 

Enumerations

enum  { kChildSucceed, kChildExitBadly, kChildSegv, kMaxChildAction }
 
enum  BranchActionType { BranchActionBegin = 0, BranchActionEnd = 1 }
 
enum  BranchType { InEvent = 0, InLumi = 1, InRun = 2, NumBranchTypes }
 
enum  HashedTypes {
  ModuleDescriptionType, ParameterSetType, ProcessHistoryType, ProcessConfigurationType,
  EntryDescriptionType, ParentageType
}
 
enum  JobMode { GridJobMode, ReleaseValidationJobMode, AnalysisJobMode, NilJobMode }
 
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  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)
 
template<class FP >
bool asm_isnan (FP x)
 
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)
 
static void check (Principal const &p, std::string const &id)
 
void checkDictionaries (std::string const &name, bool noComponents=false)
 
void checkForWrongProduct (ProductID const &keyID, ProductID const &refID)
 
static void cleanup (const Factory::MakerMap::value_type &v)
 
bool combinable (BranchDescription const &a, BranchDescription const &b)
 
bool contains (LuminosityBlockRange const &lh, LuminosityBlockID const &rh)
 
bool contains (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool contains (EventRange const &lh, EventID 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)
 
template<typename T >
void convert_handle (BasicHandle const &bh, Handle< T > &result)
 
void convert_handle (BasicHandle const &orig, Handle< FWGenericObject > &result)
 specialize this function forFWGenericHandle More...
 
void convert_handle (BasicHandle const &orig, Handle< GenericObject > &result)
 specialize this function for GenericHandle More...
 
template<typename ForwardSequence , typename Func >
Func copy_all (ForwardSequence &s, Func f)
 wrappers for copy More...
 
template<typename T1 , typename T2 , typename T3 , typename ToT >
void copyFromTo (ESProducts< T1, T2, T3 > &iFrom, ToT &iTo)
 
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 &)
 
unsigned int decodeInt (unsigned char *v)
 
 DEFINE_FWK_MODULE (HiMixingModule)
 
void disableAllSigs (sigset_t *oldset)
 
bool DisableLoggedErrorsSummary ()
 
void disableRTSigs ()
 
void disableSignal (sigset_t *newset, int signum)
 
bool distinct (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool distinct (EventRange const &lh, EventRange const &rh)
 
void doBuildRealData (const std::string &name)
 
void edmodule_mightGet_config (ConfigurationDescriptions &iDesc)
 
ELseverityLevel const ELabortGen ()
 
ELseverityLevel const ELerror2Gen ()
 
ELseverityLevel const ELerrorGen ()
 
ELseverityLevel const ELfatalGen ()
 
ELseverityLevel const ELhighestSeverityGen ()
 
ELseverityLevel const ELincidentalGen ()
 
ELseverityLevel const ELinfoGen ()
 
ELseverityLevel const ELnextEventGen ()
 
ELseverityLevel const ELsevere2Gen ()
 
ELseverityLevel const ELsevereGen ()
 
ELseverityLevel const ELsuccessGen ()
 
ELseverityLevel const ELunspecifiedGen ()
 
ELseverityLevel const ELwarning2Gen ()
 
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 &)
 
void encodeInt (unsigned int i, unsigned char *v)
 
void endmsg (ErrorLog &)
 
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 fillDescriptionFromPSet (ParameterSet const &pset, ParameterSetDescription &desc)
 
static void fillInProcessIndexes (TransientProductLookupMap::ProductLookupIndexList::iterator iIt, TransientProductLookupMap::ProductLookupIndexList::iterator iEnd, std::vector< std::string > const &iNameOrder)
 
static void fillLookup (Reflex::Type const &type, ProductTransientIndex const &index, ConstBranchDescription const *branchDesc, TransientProductLookupMap::FillFromMap &oMap)
 
boost::shared_ptr< EDLooperBasefillLooper (eventsetup::EventSetupsController &esController, eventsetup::EventSetupProvider &cp, ParameterSet &params)
 
void fillModuleInPathSummary (Path const &, ModuleInPathSummary &)
 
void fillModuleInPathSummary (Path const &path, size_t which, ModuleInPathSummary &sum)
 
void fillPathSummary (Path const &path, PathSummary &sum)
 
void fillProductRegistryTransients (std::vector< ProcessConfiguration > const &pcVec, ProductRegistry const &preg, bool okToRegister=false)
 
void fillProductRegistryTransients (ProcessConfiguration const &pc, ProductRegistry const &preg, bool okToRegister=false)
 
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, helper_vector &helpers)
 
template<class T , class A >
void fillView (std::list< T, A > const &obj, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers)
 
template<class T , class A >
void fillView (std::deque< T, A > const &obj, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &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, helper_vector &helpers)
 
template<typename T >
void fillView (PtrVector< T > const &obj, std::vector< void const * > &pointers)
 
template<typename C , typename T , typename F >
void fillView (RefVector< C, T, F > const &obj, ProductID const &id, std::vector< void const * > &pointers, helper_vector &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, helper_vector &helpers)
 
template<typename T >
void fillView (RefToBaseVector< T > const &obj, std::vector< void const * > &pointers)
 
template<class T >
void fillView (DetSetVector< T > const &obj, ProductID const &id, std::vector< void const * > &pointers, helper_vector &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, helper_vector &helpers)
 
template<typename T , typename P >
void fillView (OwnVector< T, P > const &obj, ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers)
 
template<typename T , typename SORT >
void fillView (SortedCollection< T, SORT > const &obj, ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers)
 
void fillWorkerSummary (Worker const *pw, WorkerSummary &sum)
 
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)
 
bool find_nested_type_named (std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)
 
bool find_nested_type_named (std::string const &nested_type, Type const &type_to_search, Type &found_type)
 
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 >
S & formatFile (T const &f, S &os)
 
static char * formatTime (const time_t t)
 
StringSetfoundTypes ()
 
bool FreshErrorsExist ()
 
Type get_final_type (Type t)
 
std::vector< BranchDescription
const * > 
getAllBranchDescriptions ()
 
std::vector< std::string > const & getAllTriggerNames ()
 
void getCodeTable (Exception::CodeMap *&setme)
 
std::string getEnvironmentVariable (std::string const &name, std::string const &defaultValue=std::string())
 
EventBuffergetEventBuffer (int event_size_max, int queue_depth_max)
 
int getFileFormatVersion ()
 
MallocOptionSettergetGlobalOptionSetter ()
 
std::string getName (Reflex::Type &cc)
 
ParameterSet const & getParameterSet (ParameterSetID const &id)
 
std::string getPassID ()
 
ParameterSet const & getProcessParameterSet ()
 
template<typename T >
T const * getProduct (RefCore const &ref)
 
template<typename PROD >
boost::shared_ptr< Wrapper
< PROD > const > 
getProductByTag (Principal const &ep, InputTag const &tag)
 
template<typename C , typename T , typename F , typename KEY >
T const * getPtr (RefCore const &product, KEY const &iKey)
 
template<typename C , typename T , typename F , typename KEY >
T const * getPtr_ (RefCore const &product, KEY const &key)
 
template<typename C >
helper::MatcherGetRef< C >
::ref_type 
getRef (const Handle< C > &c, size_t k)
 
edm::ProductRegistry getRegFromFile (std::string const &filename)
 
std::string getReleaseVersion ()
 
int getSigNum ()
 
TClass * getTClass (const std::type_info &ti)
 
std::string getUuid (TTree *uuidTree)
 
std::string glob2reg (std::string const &pattern)
 
void GroupLogStatistics (std::string const &category)
 
void HaltMessageLogging ()
 
HRTimeType hrRealTime ()
 
void installCustomHandler (int signum, CFUNC func)
 
void installSig (int signum, CFUNC func)
 
bool is_glob (std::string const &pattern)
 
bool is_PtrVector (Reflex::Type const &possible_ref_vector, Reflex::Type &value_type)
 
bool is_RefToBaseVector (Reflex::Type const &possible_ref_vector, Reflex::Type &value_type)
 
bool is_RefVector (Reflex::Type const &possible_ref_vector, Reflex::Type &value_type)
 
bool isAncestor (ProcessHistory const &a, ProcessHistory const &b)
 
bool isDebugEnabled ()
 
bool isDescendant (ProcessHistory const &a, ProcessHistory const &b)
 
bool isErrorEnabled ()
 
bool isInfoEnabled ()
 
bool isMessageProcessingSetUp ()
 
bool isnan (float f)
 
bool isnan (double d)
 
bool isnan (long double q)
 
bool isSameEvent (EventAuxiliary const &a, EventAuxiliary const &b)
 
bool isSameEvent (EventPrincipal const &a, EventPrincipal const &b)
 
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 std::string const kBaseType ("Source")
 
static const std::string kBaseType ("EDAnalyzer")
 
static const std::string kBaseType ("EDFilter")
 
static const std::string kBaseType ("EDProducer")
 
static const std::string kBaseType ("OutputModule")
 
static const TimeValue_t kLowMask (0xFFFFFFFF)
 
bool lessThan (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool lessThan (EventRange const &lh, EventRange const &rh)
 
bool lessThanSpecial (EventRange const &lh, EventRange const &rh)
 
void loadCap (const std::string &name)
 
void loadExtraClasses ()
 
static ELmap const & loadMap ()
 
void loadMissingDictionaries ()
 
std::vector< ErrorSummaryEntryLoggedErrorsOnlySummary ()
 
std::vector< ErrorSummaryEntryLoggedErrorsSummary ()
 
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)
 
boost::shared_ptr< InputSourcemakeInput (ParameterSet &params, CommonParams const &common, ProductRegistry &preg, PrincipalCache &pCache, boost::shared_ptr< ActivityRegistry > areg, boost::shared_ptr< ProcessConfiguration > processConfiguration)
 
static boost::shared_ptr
< cms::Exception
makeNotFoundException (char const *where, TypeID const &productType)
 
static boost::shared_ptr
< cms::Exception
makeNotFoundException (char const *where, TypeID const &productType, std::string const &label, std::string const &instance, std::string const &process)
 
void makeParameterSets (std::string const &configtext, boost::shared_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<class HandleT >
Ref< typename
HandleT::element_type,
typename
HandleT::element_type::value_type::value_type > 
makeRefToDetSetLazyVector (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 > 
makeRefToDetSetLazyVector (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 > 
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)
 
template<typename T >
Ref< LazyGetter< T >, T,
FindValue< T > > 
makeRefToLazyGetter (const Handle< LazyGetter< T > > &handle, const uint32_t index)
 
std::string match (ConstBranchDescription const &a, ConstBranchDescription const &b, std::string const &fileName, BranchDescription::MatchMode m)
 
std::string match (BranchDescription const &a, BranchDescription const &b, std::string const &fileName, BranchDescription::MatchMode m)
 
LuminosityBlockID const & max (LuminosityBlockID const &lh, LuminosityBlockID const &rh)
 
EventID const & max (EventID const &lh, EventID const &rh)
 
const unsigned int maxIDlength (200)
 
static void maybeThrowMissingDictionaryException (TypeID const &productType, bool isElement, std::vector< std::string > const &missingDictionaries)
 
bool merge (LuminosityBlockRange &lh, LuminosityBlockRange &rh)
 
LuminosityBlockID const & min (LuminosityBlockID const &lh, LuminosityBlockID const &rh)
 
EventID const & min (EventID const &lh, EventID const &rh)
 
StringSetmissingTypes ()
 
EDProductGetter const * mustBeNonZero (EDProductGetter const *prodGetter, std::string refType, ProductID const &productID)
 
Long64_t numEntries (TFile *hdl, std::string const &trname)
 
TFile * openFileHdl (std::string const &fname)
 
template<typename A >
boost::enable_if_c< has_match
< A >::value, NotHelper< A >
>::type 
operator! (A const &a)
 
bool operator!= (FileID const &lh, FileID const &rh)
 
bool operator!= (RunLumiEntryInfo const &a, RunLumiEntryInfo 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!= (BranchKey const &a, BranchKey const &b)
 
bool operator!= (TypeID const &a, TypeID const &b)
 
bool operator!= (const TypeIDBase &a, const TypeIDBase &b)
 
bool operator!= (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
bool operator!= (Parentage const &a, Parentage const &b)
 
template<class X , class Y >
bool operator!= (debugging_allocator< X > const &, debugging_allocator< Y > const &) throw ()
 
bool operator!= (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator!= (RefCore const &lhs, RefCore const &rhs)
 
bool operator!= (ProcessHistory const &a, ProcessHistory const &b)
 
template<typename KEY >
bool operator!= (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Inequality operator. More...
 
template<typename T >
bool operator!= (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
template<typename T >
bool operator!= (View< T > const &, View< T > const &)
 
bool operator!= (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
bool operator!= (ProductRegistry const &a, ProductRegistry const &b)
 
bool operator!= (Entry const &a, Entry const &b)
 
template<typename T , typename U >
bool operator!= (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, value_ptr< T > const &rhs)
 
bool operator!= (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
template<typename C >
bool operator!= (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (RefVector< C, T, F > const &lhs, RefVector< C, T, F > const &rhs)
 
template<typename T >
bool operator!= (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (FwdRef< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (Ref< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (FwdRef< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
bool operator!= (ParameterSet const &a, ParameterSet const &b)
 
template<typename C , typename T , typename F >
bool operator!= (Ref< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
template<typename A , typename B >
boost::enable_if_c< has_match
< A >::value &&has_match< B >
::value, AndHelper< A, B >
>::type 
operator&& (A const &a, B const &b)
 
std::auto_ptr
< ParameterDescriptionNode
operator&& (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator&& (std::auto_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator&& (ParameterDescriptionNode const &node_left, std::auto_ptr< ParameterDescriptionNode > node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator&& (std::auto_ptr< ParameterDescriptionNode > node_left, std::auto_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< (BranchKey const &a, BranchKey const &b)
 
bool operator< (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator< (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
bool operator< (ProductID const &lh, ProductID const &rh)
 
bool operator< (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator< (ConstBranchDescription const &a, ConstBranchDescription 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< (RefCore const &lhs, RefCore const &rhs)
 
bool operator< (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator< (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
template<typename T >
bool operator< (View< T > const &, View< T > const &)
 
template<typename T >
bool operator< (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
bool operator< (BranchDescription const &a, BranchDescription const &b)
 
bool operator< (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
template<typename C >
bool operator< (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<typename T >
bool operator< (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (FwdRef< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (Ref< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator< (FwdRef< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
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 &os, BranchType const &branchType)
 
std::ostream & operator<< (std::ostream &os, BranchID const &id)
 
std::ostream & operator<< (std::ostream &os, FileFormatVersion const &ff)
 
std::ostream & operator<< (std::ostream &os, RunLumiEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &os, EventEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &os, const GroupSelector &gs)
 
std::ostream & operator<< (std::ostream &os, EventEntryDescription const &p)
 
std::ostream & operator<< (std::ostream &ost, InputTag const &tag)
 
std::ostream & operator<< (std::ostream &ost, const MallocOpts &)
 
std::ostream & operator<< (std::ostream &os, ProductID const &id)
 
std::ostream & operator<< (std::ostream &os, BranchKey const &bk)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockRange const &iID)
 
std::ostream & operator<< (std::ostream &os, TypeID const &id)
 
std::ostream & operator<< (std::ostream &os, Parentage const &p)
 
std::ostream & operator<< (std::ostream &os, const RunAuxiliary &p)
 
std::ostream & operator<< (std::ostream &oStream, EventRange const &iID)
 
std::ostream & operator<< (std::ostream &os, const LuminosityBlockAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, ConstBranchDescription const &p)
 
std::ostream & operator<< (std::ostream &os, ProductProvenance const &p)
 
std::ostream & operator<< (std::ostream &os, ProcessConfiguration const &pc)
 
std::ostream & operator<< (std::ostream &os, ModuleDescription const &p)
 
std::ostream & operator<< (std::ostream &oStream, RunID const &iID)
 
std::ostream & operator<< (std::ostream &os, const EventAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, ParameterSetEntry const &psetEntry)
 
std::ostream & operator<< (std::ostream &os, Provenance const &p)
 
std::ostream & operator<< (std::ostream &ost, const HLTGlobalStatus &hlt)
 Formatted printout of trigger tbale. More...
 
std::ostream & operator<< (std::ostream &os, VParameterSetEntry const &vpsetEntry)
 
std::ostream & operator<< (std::ostream &ost, ProcessHistory const &ph)
 
std::ostream & operator<< (std::ostream &os, JobReport::RunReport const &f)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockID const &iID)
 
std::ostream & operator<< (std::ostream &oStream, EventID const &iID)
 
edm::MessageSenderoperator<< (edm::MessageSender &os, JobReport::InputFile const &f)
 
template<class T >
ErrorObjoperator<< (ErrorObj &e, const T &t)
 
ErrorObjoperator<< (ErrorObj &e, const char s[])
 
edm::MessageSenderoperator<< (edm::MessageSender &os, JobReport::OutputFile const &f)
 
edm::MessageSenderoperator<< (edm::MessageSender &os, JobReport::RunReport const &f)
 
std::ostream & operator<< (std::ostream &os, const edm::FileInPath &fip)
 
std::ostream & operator<< (std::ostream &os, FileIndex const &fileIndex)
 
std::ostream & operator<< (std::ostream &os, Group const &g)
 
std::ostream & operator<< (std::ostream &os, ProductRegistry const &pr)
 
std::ostream & operator<< (std::ostream &os, BranchDescription const &p)
 
template<int I>
std::ostream & operator<< (std::ostream &os, Hash< I > const &h)
 
template<typename PROD >
std::ostream & operator<< (std::ostream &os, Handle< PROD > const &h)
 
template<typename C , typename T , typename F >
std::ostream & operator<< (std::ostream &os, RefVector< C, T, F > const &r)
 
std::ostream & operator<< (std::ostream &os, const ELseverityLevel &sev)
 
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, JobReport::LumiSectionReport const &rep)
 
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== (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator== (ProductID const &lh, ProductID const &rh)
 
bool operator== (BranchKey const &a, BranchKey const &b)
 
bool operator== (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator== (EventEntryDescription const &a, EventEntryDescription 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 &) throw ()
 
bool operator== (Parentage const &a, Parentage const &b)
 
bool operator== (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator== (ConstBranchDescription const &a, ConstBranchDescription const &b)
 
template<class T >
bool operator== (RefToBaseVector< T > const &a, RefToBaseVector< T > const &b)
 
bool operator== (RefCore const &lhs, RefCore const &rhs)
 
bool operator== (ProcessHistory const &a, ProcessHistory const &b)
 
template<typename KEY >
bool operator== (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Equality operator. More...
 
bool operator== (Provenance const &a, Provenance const &b)
 
template<typename T >
bool operator== (FwdPtr< T > const &lhs, FwdPtr< T > const &rhs)
 
bool operator== (FileIndex::Element const &lh, FileIndex::Element const &rh)
 
template<typename T >
bool operator== (View< T > const &, View< T > const &)
 
bool operator== (edm::FileInPath const &a, edm::FileInPath const &b)
 
bool operator== (ProductRegistry const &a, ProductRegistry const &b)
 
bool operator== (Entry const &a, Entry const &b)
 
template<typename T >
bool operator== (RefToBaseProd< T > const &lhs, RefToBaseProd< T > const &rhs)
 
template<typename T , typename U >
bool operator== (value_ptr< T > const &lhs, U const &rhs)
 
template<typename T , typename U >
bool operator== (U const &lhs, value_ptr< T > const &rhs)
 
bool operator== (BranchDescription const &a, BranchDescription const &b)
 
template<typename C >
bool operator== (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
bool operator== (ELseverityLevel const &e1, ELseverityLevel const &e2)
 
template<typename C , typename T , typename F >
bool operator== (RefVector< C, T, F > const &lhs, RefVector< C, T, F > const &rhs)
 
template<typename T >
bool operator== (Ptr< T > const &lhs, Ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (FwdRef< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (Ref< C, T, F > const &lhs, FwdRef< C, T, F > const &rhs)
 
template<typename C , typename T , typename F >
bool operator== (FwdRef< C, T, F > const &lhs, Ref< C, T, F > const &rhs)
 
bool operator== (ParameterSet const &a, ParameterSet const &b)
 
template<typename 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::auto_ptr
< ParameterDescriptionCases
< bool > > 
operator>> (bool caseValue, ParameterDescriptionNode const &node)
 
std::auto_ptr
< ParameterDescriptionCases
< int > > 
operator>> (int caseValue, ParameterDescriptionNode const &node)
 
std::auto_ptr
< ParameterDescriptionCases
< std::string > > 
operator>> (std::string const &caseValue, ParameterDescriptionNode const &node)
 
std::auto_ptr
< ParameterDescriptionCases
< std::string > > 
operator>> (char const *caseValue, ParameterDescriptionNode const &node)
 
std::auto_ptr
< ParameterDescriptionCases
< bool > > 
operator>> (bool caseValue, std::auto_ptr< ParameterDescriptionNode > node)
 
std::auto_ptr
< ParameterDescriptionCases
< int > > 
operator>> (int caseValue, std::auto_ptr< ParameterDescriptionNode > node)
 
std::auto_ptr
< ParameterDescriptionCases
< std::string > > 
operator>> (std::string const &caseValue, std::auto_ptr< ParameterDescriptionNode > node)
 
std::auto_ptr
< ParameterDescriptionCases
< std::string > > 
operator>> (char const *caseValue, std::auto_ptr< ParameterDescriptionNode > node)
 
std::auto_ptr
< ParameterDescriptionNode
operator^ (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator^ (std::auto_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator^ (ParameterDescriptionNode const &node_left, std::auto_ptr< ParameterDescriptionNode > node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator^ (std::auto_ptr< ParameterDescriptionNode > node_left, std::auto_ptr< ParameterDescriptionNode > node_right)
 
std::auto_ptr
< ParameterDescriptionCases
< bool > > 
operator|| (std::auto_ptr< ParameterDescriptionCases< bool > >, std::auto_ptr< ParameterDescriptionCases< bool > >)
 
std::auto_ptr
< ParameterDescriptionCases
< int > > 
operator|| (std::auto_ptr< ParameterDescriptionCases< int > >, std::auto_ptr< ParameterDescriptionCases< int > >)
 
std::auto_ptr
< ParameterDescriptionCases
< std::string > > 
operator|| (std::auto_ptr< ParameterDescriptionCases< std::string > >, std::auto_ptr< ParameterDescriptionCases< std::string > >)
 
template<typename A , typename B >
boost::enable_if_c< has_match
< A >::value &&has_match< B >
::value, OrHelper< A, B >
>::type 
operator|| (A const &a, B const &b)
 
std::auto_ptr
< ParameterDescriptionNode
operator|| (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator|| (std::auto_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator|| (ParameterDescriptionNode const &node_left, std::auto_ptr< ParameterDescriptionNode > node_right)
 
std::auto_ptr
< ParameterDescriptionNode
operator|| (std::auto_ptr< ParameterDescriptionNode > node_left, std::auto_ptr< ParameterDescriptionNode > node_right)
 
bool overlaps (LuminosityBlockRange const &lh, LuminosityBlockRange const &rh)
 
bool overlaps (EventRange const &lh, EventRange const &rh)
 
template<>
std::string ParameterSet::getParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getParameter< std::vector< double > > (char const *name) const
 
template<>
std::vector< ESInputTagParameterSet::getParameter< std::vector< ESInputTag > > (std::string const &name) const
 
template<>
std::vector< ESInputTagParameterSet::getParameter< std::vector< ESInputTag > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getParameter< std::vector< EventID > > (std::string const &name) const
 
template<>
std::vector< EventIDParameterSet::getParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventRangeParameterSet::getParameter< std::vector< EventRange > > (std::string const &name) const
 
template<>
std::vector< EventRangeParameterSet::getParameter< std::vector< EventRange > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getParameter< std::vector< InputTag > > (std::string const &name) const
 
template<>
std::vector< InputTagParameterSet::getParameter< std::vector< InputTag > > (char const *name) const
 
template<>
std::vector< int > ParameterSet::getParameter< std::vector< int > > (std::string const &name) const
 
template<>
std::vector< int > ParameterSet::getParameter< std::vector< int > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getParameter< std::vector< long long > > (std::string const &name) const
 
template<>
std::vector< long long > ParameterSet::getParameter< std::vector< long long > > (char const *name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getParameter< std::vector< LuminosityBlockID > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getParameter< std::vector< LuminosityBlockID > > (char const *name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getParameter< std::vector< LuminosityBlockRange > > (std::string const &name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getParameter< std::vector< LuminosityBlockRange > > (char const *name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (std::string const &name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > (bool trackiness) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name) 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) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (char const *name, std::vector< ESInputTag > const &defaultValue) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (std::string const &name, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (std::string const &name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name) const
 
template<>
std::vector< EventIDParameterSet::getUntrackedParameter< std::vector< EventID > > (char const *name, std::vector< EventID > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string const &name, 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) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name, std::vector< InputTag > const &defaultValue) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (char const *name, std::vector< InputTag > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (std::string const &name) 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) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (char const *name, std::vector< int > const &defaultValue) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (std::string const &name, 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) 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 > > (char const *name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > (char const *name, std::vector< LuminosityBlockRange > 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< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (std::string const &name, std::vector< PdtEntry > const &defaultValue) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (std::string const &name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name, std::vector< unsigned long long > const &defaultValue) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name, std::vector< unsigned long long > const &defaultValue) const
 
std::string parameterTypeEnumToString (ParameterTypes iType)
 
std::auto_ptr< ParameterSetpopSubProcessParameterSet (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 >
S & print (S &os, JobReport::InputFile const &f)
 
template<typename S >
S & print (S &os, JobReport::OutputFile const &f)
 
template<typename S >
S & print (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=0, int rc=-1)
 
void printCmsExceptionWarning (char const *behavior, cms::Exception const &e, edm::JobReport *jobRep=0, int rc=-1)
 
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)
 
void public_base_classes (Reflex::Type const &type, std::vector< Reflex::Type > &baseTypes)
 
void public_base_classes (Type const &type, std::vector< Type > &baseTypes)
 
std::string pythonFileToConfigure (const std::string &iPythonFileName)
 
void pythonToCppException (const std::string &iType)
 
void read_from_cin (std::string &output)
 
std::string read_whole_file (std::string const &filename)
 only does the yacc interpretation More...
 
boost::shared_ptr< ParameterSetreadConfig (std::string const &config)
 
boost::shared_ptr< ParameterSetreadConfig (std::string const &config, int argc, char *argv[])
 same, but with arguments More...
 
std::auto_ptr< SendJobHeaderreadHeaderFromStream (std::ifstream &ist)
 
std::auto_ptr< SendJobHeaderreadHeaderFromStream (ifstream &ist)
 
boost::shared_ptr< ParameterSetreadPSetsFrom (std::string const &fileOrString)
 
void reenableSigs (sigset_t *oldset)
 
template<class T >
T const * reflex_cast (void *raw, Reflex::Type const &dynamicType)
 
void const * reflex_pointer_adjust (void *raw, Reflex::Type const &dynamicType, std::type_info const &toType)
 
void const * reflex_pointer_adjust (void *raw, Type const &dynamicType, std::type_info const &toType)
 
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, boost::regex const &regexp)
 
std::vector< std::vector
< std::string >
::const_iterator > 
regexMatch (std::vector< std::string > const &strings, std::string const &pattern)
 
bool registryIsSubset (SendJobHeader const &, ProductRegistry const &reg)
 
bool registryIsSubset (SendJobHeader const &sd, SendJobHeader const &ref)
 
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)
 
template<typename T >
void SetCustomStreamer ()
 
template<typename T >
void SetCustomStreamer (T const &)
 
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 setStandAloneMessageThreshold (std::string const &severity)
 
void setStreamedProductStreamer ()
 
void sigInventory ()
 
 size_ (0)
 
 size_ (n)
 
void snapshotMessageLog ()
 
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)
 
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)
 
void swap (ProductID &a, ProductID &b)
 
void swap (ProductData &a, ProductData &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 (ESHandleBase &a, ESHandleBase &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 (HandleBase &a, HandleBase &b)
 
void swap (HLTGlobalStatus &lhs, HLTGlobalStatus &rhs)
 Free swap function. More...
 
template<typename C >
void swap (Association< C > &lhs, Association< C > &rhs)
 
void swap (OutputHandle &a, OutputHandle &b)
 
template<class T >
void swap (DetSet< T > &a, DetSet< T > &b)
 
template<typename KEY >
void swap (RefVectorBase< KEY > &a, RefVectorBase< KEY > &b)
 swap two vectors More...
 
void swap (edm::RefCore &lhs, edm::RefCore &rhs)
 
void swap (BasicHandle &a, BasicHandle &b)
 
void swap (edm::RefCoreWithIndex &lhs, edm::RefCoreWithIndex &rhs)
 
void swap (FileInPath &a, FileInPath &b)
 
void swap (ErrorObj &a, ErrorObj &b)
 
template<typename K , typename T >
void swap (MapOfVectors< K, T > &lhs, MapOfVectors< K, T > &rhs)
 
template<class T >
void swap (EDCollection< T > &a, EDCollection< T > &b)
 
template<class T >
void swap (RefGetter< T > &a, RefGetter< T > &b)
 
template<typename C , typename T , typename F >
void swap (RefVector< C, T, F > &a, RefVector< C, T, F > &b) noexcept
 
template<typename ID , typename C , typename P >
void swap (IDVectorMap< ID, C, P > &a, IDVectorMap< ID, C, P > &b)
 
template<typename T >
void swap (value_ptr< T > &vp1, value_ptr< T > &vp2)
 
template<typename T >
void swap (PtrVector< T > &lhs, PtrVector< T > &rhs)
 
void swap (InputGroup &a, InputGroup &b)
 
void swap (DataFrameContainer &lhs, DataFrameContainer &rhs)
 
template<typename T >
void swap (edm::RefToBaseProd< T > const &lhs, edm::RefToBaseProd< T > const &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)
 
template<typename ID , typename C , typename P >
void swap (RangeMap< ID, C, P > &a, RangeMap< ID, C, P > &b)
 
template<int I>
void swap (Hash< I > &a, Hash< I > &b)
 
template<typename C >
void swap (RefProd< C > const &lhs, RefProd< C > const &rhs)
 
template<typename T >
void swap (ValueMap< T > &lhs, ValueMap< T > &rhs)
 
template<class T >
void swap (DetSetLazyVector< T > &a, DetSetLazyVector< T > &b)
 
void swap (ScheduledGroup &a, ScheduledGroup &b)
 
template<typename T , typename C >
void swap (DetSetRefVector< T, C > &a, DetSetRefVector< T, C > &b)
 
void swap (UnscheduledGroup &a, UnscheduledGroup &b)
 
template<typename C >
void swap (MultiAssociation< C > &lhs, MultiAssociation< C > &rhs)
 
void swap (ParameterSet &a, ParameterSet &b)
 
void swap (SourceGroup &a, SourceGroup &b)
 
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 >
void swap (View< T > &lhs, View< T > &rhs)
 
template<typename T , unsigned int M, typename P >
void swap (OwnArray< T, M, P > &a, OwnArray< T, M, P > &b)
 
template<typename T , typename P >
void swap (OwnVector< T, P > &a, OwnVector< T, P > &b) noexcept
 
template<class T >
void swap (DetSetVector< T > &a, DetSetVector< T > &b)
 
template<class T >
void swap (LazyGetter< T > &a, LazyGetter< T > &b)
 
static void throwCorruptionException (char const *where, std::string const &branchName)
 
void throwExceptionWithText (char const *txt)
 
static void throwGroupNotFoundException (char const *where, errors::ErrorCodes error, BranchID const &bid)
 
void throwMissingDictionariesException ()
 
static void throwMultiFoundException (char const *where, int nFound, TypeID const &productType)
 
static void throwNotFoundException (char const *where, TypeID const &productType, InputTag const &tag)
 
static void throwProductDeletedException (const char *where, TypeID const &productType, std::string const &label, std::string const &instance, std::string const &process)
 
static void throwProductDeletedException (ProductID const &pid, edm::EventPrincipal::ConstGroupPtr const g)
 
std::vector< std::string > tokenize (std::string const &input, std::string const &separator)
 breaks the input string into tokens, delimited by the separator More...
 
template<typename T >
boost::python::list toPythonList (const std::vector< T > &v)
 
template<typename T >
std::vector< TtoVector (boost::python::list &l)
 
void typeDemangle (char const *mangledName, std::string &demangledName)
 
bool untaintString (char const *pattern, char const *regexp)
 
bool value_type_of (Reflex::Type const &t, Reflex::Type &found_type)
 
template<typename V , typename T >
void walkTrie (V &v, TrieNode< T > const &n, std::string const &label="")
 visit each node of the trie More...
 
std::string withoutQuotes (std::string const &from)
 
std::string wrappedClassName (std::string const &iFullName)
 
bool wrapper_type_of (Reflex::Type const &possible_wrapper, Reflex::Type &found_wrapped_type)
 

Variables

static int const bufSize = 128
 
debugvalue debugit
 
ELslProxy< ELabortGen > const ELabort
 
ELslGen ELabortGen
 
ELslProxy< ELerrorGen > const ELerror
 
ELslProxy< ELerror2Gen > const ELerror2
 
ELslGen ELerror2Gen
 
ELslGen ELerrorGen
 
ELslProxy< ELfatalGen > const ELfatal
 
ELslGen ELfatalGen
 
ELslProxy
< ELhighestSeverityGen > const 
ELhighestSeverity
 
ELslGen ELhighestSeverityGen
 
ELslProxy< ELincidentalGen > const ELincidental
 
ELslGen ELincidentalGen
 
ELslProxy< ELinfoGen > const ELinfo
 
ELslGen ELinfoGen
 
ELslProxy< ELnextEventGen > const ELnextEvent
 
ELslGen ELnextEventGen
 
ELslProxy< ELsevereGen > const ELsevere
 
ELslProxy< ELsevere2Gen > const ELsevere2
 
ELslGen ELsevere2Gen
 
ELslGen ELsevereGen
 
ELslProxy< ELsuccessGen > const ELsuccess
 
ELslGen ELsuccessGen
 
ELslProxy< ELunspecifiedGen > const ELunspecified
 
ELslGen ELunspecifiedGen
 
ELslProxy< ELwarningGen > const ELwarning
 
ELslProxy< ELwarning2Gen > const ELwarning2
 
ELslGen ELwarning2Gen
 
ELslGen ELwarningGen
 
ELslProxy< ELzeroSeverityGen >
const 
ELzeroSeverity
 
ELslGen ELzeroSeverityGen
 
static char const * fmt_Guid
 
static StringSet foundTypes_
 
MallocOptionSetter global_malloc_options
 
const int init_size = 1024*1024
 
static unsigned long long const kAveEventPerSec = 200ULL
 
static unsigned long long const kNanoSecPerSec = 1000000000ULL
 
static StringSet missingTypes_
 
static const unsigned char MLSCRIBE_RUNNING_INDICATOR = 29
 
static
TriggerNamesMap::const_iterator 
previousTriggerName
 
static EDProductGetter const * s_productGetter =0
 
static unsigned int const shift = 8 * sizeof(unsigned int)
 
volatile bool shutdown_flag = false
 
boost::mutex signum_lock
 
volatile int signum_value
 
static pset::TypeTrans const sTypeTranslations
 
TransEntry table []
 
static TriggerNamesMap triggerNamesMap
 
boost::mutex usr2_lock
 

Detailed Description

A PluginFactory for concrete instances of class KalmanAlignmentMetricsUpdator.

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

classes declaration

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

HLT enums.

A PluginFactory for updators for the KalmanAlignmentAlgorithm.

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 should inherit from std::binary_function<const C&, typename IndexT, const T*> (or must provide the typedefs obtained from that inheritance directly).

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

Date:
2007/12/21 22:42:30
Revision:
1.3
Author
Martin Grunewald

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

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

A filter for particles in the user-defined kinematic acceptabce.

Author
Patrick Janot

Parameters used in the hadron fast simulation

CurrentProcessingContext is a class that carries information about the current event processing context. Each module in a framework job can access its CurrentProcessingContext when that module is active in event processing. At such a time, the CurrentProcessingContext will provide information about that module's place in the schedule, as seen at that moment.

N.B.: An individual module instance can appear in more than one path; this is why CurrentProcessingContext reports the module's place in the schedule as seen at the time of execution. This is also why the module can not be queried for this information when it is not active in processing.

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

----------------------

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>

A ThreadSafeIndexedRegistry is used to keep track of the instances of some type 'value_typed', stored in a vector.

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!

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'.

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.

StreamDQMDeserializer.h

Utility class for translating streamer message objects into DQM objects (monitor elements)

StreamDQMSerializer.h

Utility class for translating DQM objects (monitor elements) into streamer message objects.

StreamDQMDeserializer.cc

Utility class for deserializing streamer message objects into DQM objects (monitor elements)

StreamDQMSerializer.cc

Utility class for serializing DQM objects (monitor elements) into streamer message objects.

StreamSerializer.cc

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

jet parton energy corrections

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.

Typedef Documentation

typedef unsigned int edm::BranchDescriptionIndex

Definition at line 28 of file BranchDescriptionIndex.h.

Definition at line 18 of file BranchIDList.h.

Definition at line 9 of file BranchIDListRegistry.h.

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 21 of file UnixSignalHandlers.h.

typedef uint32_t edm::det_id_type

Definition at line 22 of file DetSet.h.

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

Definition at line 39 of file ELlist.h.

Definition at line 42 of file ELlist.h.

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

Definition at line 59 of file ELseverityLevel.cc.

Definition at line 101 of file ELmap.h.

Definition at line 99 of file ELmap.h.

typedef std::map< ELextendedID , StatsCount > edm::ELmap_stats

Definition at line 103 of file ELmap.h.

typedef ELseverityLevel const edm::ELslGen()

Definition at line 60 of file ELseverityLevel.h.

typedef std::string edm::ELstring

Definition at line 26 of file ELstring.h.

Definition at line 9 of file EntryDescriptionID.h.

Definition at line 14 of file EntryDescriptionRegistry.h.

Definition at line 13 of file EntryDescriptionRegistry.h.

typedef std::map<ErrorSummaryMapKey, unsigned int>::iterator edm::ErrorSummaryMapIterator

Definition at line 30 of file MessageSender.h.

Definition at line 28 of file MessageSender.h.

Definition at line 57 of file EventEntryInfo.h.

typedef unsigned int edm::EventNumber_t

Definition at line 30 of file EventID.h.

Definition at line 16 of file EventSelectionID.h.

Definition at line 17 of file EventSelectionID.h.

Definition at line 153 of file FWGenericHandle.h.

Definition at line 145 of file GenericHandle.h.

typedef boost::shared_ptr<reftobase::RefHolderBase> edm::helper_ptr

Definition at line 44 of file EDProductfwd.h.

Definition at line 45 of file EDProductfwd.h.

Definition at line 46 of file EDProductfwd.h.

typedef long long int edm::HRTimeDiffType

Definition at line 70 of file HRRealTime.h.

typedef unsigned long long int edm::HRTimeType

Definition at line 71 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 &, InputSourceDescription 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 31 of file EventID.h.

typedef unsigned int edm::LumiNumber_t

Definition at line 31 of file EventRange.h.

Definition at line 15 of file Factory.h.

Definition at line 55 of file classes.h.

Definition at line 30 of file ParameterSetDescriptionFillerPluginFactory.h.

Definition at line 23 of file ParameterSetID.h.

Definition at line 40 of file ParameterSetConverter.h.

Definition at line 9 of file ParentageID.h.

Definition at line 14 of file ParentageRegistry.h.

Definition at line 13 of file ParentageRegistry.h.

typedef std::string edm::PassID

Definition at line 8 of file PassID.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.

Definition at line 76 of file PoolSource.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 11 of file ProcessConfigurationRegistry.h.

Definition at line 10 of file ProcessConfigurationRegistry.h.

Definition at line 12 of file ProcessConfigurationRegistry.h.

Definition at line 9 of file ProcessHistoryID.h.

Definition at line 12 of file ProcessHistoryRegistry.h.

Definition at line 11 of file ProcessHistoryRegistry.h.

Definition at line 13 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 8 of file ProcessingTask.h.

typedef unsigned short edm::ProductIndex

Definition at line 26 of file ProductID.h.

Definition at line 82 of file ProductProvenance.h.

typedef unsigned int edm::ProductTransientIndex

Definition at line 22 of file ProductTransientIndex.h.

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

Definition at line 11 of file PSimHitContainer.h.

Definition at line 28 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 32 of file EventRange.h.

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

Definition at line 10 of file Selections.h.

Definition at line 12 of file Selections.h.

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

Definition at line 104 of file StreamedProducts.h.

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

Definition at line 72 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 13 of file SimVertexContainer.h.

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

Definition at line 14 of file SimVertexContainer.h.

Definition at line 15 of file SimVertexContainer.h.

Definition at line 16 of file SimVertexContainer.h.

Definition at line 34 of file StoredProductProvenance.h.

typedef std::set<std::string> edm::StringSet

Definition at line 22 of file ReflexTools.h.

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 27 of file Timestamp.h.

Definition at line 31 of file OutputModule.h.

Definition at line 29 of file EventBase.cc.

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

Definition at line 79 of file Entry.cc.

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

Definition at line 16 of file GroupSelector.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 147 of file Schedule.cc.

Enumeration Type Documentation

anonymous enum
Enumerator
kChildSucceed 
kChildExitBadly 
kChildSegv 
kMaxChildAction 

Definition at line 866 of file EventProcessor.cc.

Enumerator
BranchActionBegin 
BranchActionEnd 

Definition at line 12 of file BranchActionType.h.

Enumerator
InEvent 
InLumi 
InRun 
NumBranchTypes 

Definition at line 11 of file BranchType.h.

11  {
12  InEvent = 0,
13  InLumi = 1,
14  InRun = 2,
16  };
Enumerator
ModuleDescriptionType 
ParameterSetType 
ProcessHistoryType 
ProcessConfigurationType 
EntryDescriptionType 
ParentageType 

Definition at line 10 of file HashedTypes.h.

Enumerator
GridJobMode 
ReleaseValidationJobMode 
AnalysisJobMode 
NilJobMode 

Definition at line 15 of file JobMode.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 32 of file ParameterDescriptionNode.h.

32  {
33  k_int32 = 'I',
34  k_vint32 = 'i',
35  k_uint32 = 'U',
36  k_vuint32 = 'u',
37  k_int64 = 'L',
38  k_vint64 = 'l',
39  k_uint64 = 'X',
40  k_vuint64 = 'x',
41  k_double = 'D',
42  k_vdouble = 'd',
43  k_bool = 'B',
44  k_string = 'S',
45  k_vstring = 's',
46  k_EventID = 'E',
47  k_VEventID = 'e',
48  k_LuminosityBlockID = 'M',
50  k_InputTag = 't',
51  k_VInputTag = 'v',
52  k_FileInPath = 'F',
55  k_EventRange = 'R',
56  k_VEventRange = 'r',
57  k_PSet = 'Q',
58  k_VPSet = 'q'
59  };
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 18 of file ParameterWildcardBase.h.

Function Documentation

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

Definition at line 13 of file ExceptionHelpers.cc.

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

Referenced by callWithTryCatchAndPrint(), and edm::Schedule::processOneOccurrence().

15  {
16  if (context != 0 && strlen(context) != 0U) {
17  ex.addContext(context);
18  }
19  if (!disablePrint) {
20  Service<JobReport> jobReportSvc;
21  if (jobReportSvc.isAvailable()) {
22  JobReport *jobRep = jobReportSvc.operator->();
23  edm::printCmsException(ex, jobRep, ex.returnCode());
24  }
25  else {
27  }
28  ex.setAlreadyPrinted(true);
29  }
30  }
void setAlreadyPrinted(bool value)
Definition: Exception.cc:255
void addContext(std::string const &context)
Definition: Exception.cc:227
int returnCode() const
Definition: Exception.cc:199
void printCmsException(cms::Exception &e, edm::JobReport *jobRep=0, int rc=-1)
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
Definition: DDAxes.h:10
template<typename ForwardSequence , typename Datum >
bool edm::binary_search_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

wrappers for std::binary_search

Definition at line 76 of file Algorithms.h.

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

76  {
77  return std::binary_search(s.begin(), s.end(), d);
78  }
template<typename ForwardSequence , typename Datum , typename Predicate >
bool edm::binary_search_all ( ForwardSequence const &  s,
Datum const &  d,
Predicate  p 
)
inline

Definition at line 83 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

83  {
84  return std::binary_search(s.begin(), s.end(), d, p);
85  }
std::string const & edm::BranchTypeToAuxBranchName ( BranchType const &  branchType)

Definition at line 118 of file BranchType.cc.

References InEvent, and InRun.

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

118  { // backward compatibility
119  return ((branchType == InEvent) ? eventAux : ((branchType == InRun) ? runAux : lumiAux)); // backward compatibility
120  } // backward compatibility
std::string const & edm::BranchTypeToAuxiliaryBranchName ( BranchType const &  branchType)
std::string const & edm::BranchTypeToBranchEntryInfoBranchName ( BranchType const &  branchType)

Definition at line 126 of file BranchType.cc.

References InEvent, and InRun.

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

126  {
127  return ((branchType == InEvent) ? eventEventEntryInfo : ((branchType == InRun) ? runEventEntryInfo : lumiEventEntryInfo));
128  }
std::string const & edm::BranchTypeToInfoTreeName ( BranchType const &  branchType)

Definition at line 110 of file BranchType.cc.

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

110  { // backward compatibility
111  return ((branchType == InEvent) ? eventInfo : ((branchType == InRun) ? runInfo : lumiInfo)); // backward compatibility
112  } // backward compatibility
list lumiInfo
Definition: pileupCalc.py:262
std::string const & edm::BranchTypeToMajorIndexName ( BranchType const &  branchType)

Definition at line 134 of file BranchType.cc.

References InEvent, and InRun.

134  {
135  return ((branchType == InEvent) ? eventMajorIndex : ((branchType == InRun) ? runMajorIndex : lumiMajorIndex));
136  }
std::string const & edm::BranchTypeToMetaDataTreeName ( BranchType const &  branchType)

Definition at line 106 of file BranchType.cc.

References InEvent, and InRun.

Referenced by ProvenanceDumper::work_().

106  {
107  return ((branchType == InEvent) ? eventMeta : ((branchType == InRun) ? runMeta : lumiMeta));
108  }
std::string const & edm::BranchTypeToMinorIndexName ( BranchType const &  branchType)

Definition at line 138 of file BranchType.cc.

References InEvent, and InRun.

138  {
139  return ((branchType == InEvent) ? eventMinorIndex : ((branchType == InRun) ? runMinorIndex : lumiMinorIndex));
140  }
std::string const & edm::BranchTypeToProductProvenanceBranchName ( BranchType const &  BranchType)

Definition at line 130 of file BranchType.cc.

References InEvent, and InRun.

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

130  {
131  return ((branchType == InEvent) ? eventProductProvenance : ((branchType == InRun) ? runProductProvenance : lumiProductProvenance));
132  }
std::string const & edm::BranchTypeToProductStatusBranchName ( BranchType const &  branchType)

Definition at line 122 of file BranchType.cc.

References InEvent, and InRun.

122  { // backward compatibility
123  return ((branchType == InEvent) ? eventProductStatus : ((branchType == InRun) ? runProductStatus : lumiProductStatus)); // backward compatibility
124  } // backward compatibility
std::string const & edm::BranchTypeToProductTreeName ( BranchType const &  branchType)

Definition at line 102 of file BranchType.cc.

References patZpeak::events, InEvent, InRun, edmLumisInFiles::lumis, and gather_cfg::runs.

Referenced by ProvenanceDumper::work_().

102  {
103  return ((branchType == InEvent) ? events : ((branchType == InRun) ? runs : lumis));
104  }
tuple runs
Definition: gather_cfg.py:87
tuple events
Definition: patZpeak.py:19
std::string const & edm::BranchTypeToString ( BranchType const &  branchType)

Definition at line 98 of file BranchType.cc.

References event(), InEvent, InRun, fjr2json::lumi, and DTTTrigCorrFirst::run.

Referenced by operator<<().

98  {
99  return ((branchType == InEvent) ? event : ((branchType == InRun) ? run : lumi));
100  }
tuple lumi
Definition: fjr2json.py:35
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 but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
template<typename TReturn >
TReturn edm::callWithTryCatchAndPrint ( std::function< TReturn(void)>  iFunc,
char const *  context = 0,
bool  disablePrint = false 
)

Definition at line 54 of file ExceptionHelpers.h.

References addContextAndPrintException(), edm::convertException::badAllocToEDM(), trackerHits::c, edm::convertException::charPtrToEDM(), alignCSCRings::e, cppFunctionSkipper::exception, alignCSCRings::s, edm::convertException::stdToEDM(), edm::convertException::stringToEDM(), and edm::convertException::unknownToEDM().

56  {
57 
58  try {
59  try {
60  return iFunc();
61  }
62  catch (cms::Exception& e) { throw; }
63  catch (std::bad_alloc& bda) { convertException::badAllocToEDM(); }
65  catch (std::string& s) { convertException::stringToEDM(s); }
66  catch (char const* c) { convertException::charPtrToEDM(c); }
67  catch (...) { convertException::unknownToEDM(); }
68  }
69  catch(cms::Exception& ex) {
70  addContextAndPrintException(context, ex, disablePrint);
71  throw;
72  }
73  return TReturn();
74  }
void addContextAndPrintException(char const *context, cms::Exception &ex, bool disablePrint)
void stdToEDM(std::exception const &e)
void charPtrToEDM(char const *c)
void stringToEDM(std::string &s)
static void edm::check ( Principal const &  p,
std::string const &  id 
)
static

Definition at line 79 of file GetProductCheckerOutputModule.cc.

References edm::Principal::begin(), edm::Provenance::branchDescription(), edm::ConstBranchDescription::branchID(), edm::BranchDescription::branchID(), edm::OutputHandle::desc(), edm::Principal::end(), edm::hlt::Exception, edm::Principal::getByLabel(), edm::Principal::getForOutput(), edm::BasicHandle::provenance(), and groupFilesInBlocks::temp.

Referenced by SegmentsTrackAssociator::associate(), edm::StreamerInputFile::openStreamerFile(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), edm::GetProductCheckerOutputModule::write(), edm::GetProductCheckerOutputModule::writeLuminosityBlock(), and edm::GetProductCheckerOutputModule::writeRun().

79  {
80  for(Principal::const_iterator it = p.begin(), itEnd = p.end();
81  it != itEnd;
82  ++it) {
83  if(*it) {
84  BranchID branchID = (*it)->branchDescription().branchID();
85  OutputHandle const oh = p.getForOutput(branchID, false);
86 
87  if(0 != oh.desc() && oh.desc()->branchID() != branchID) {
88  throw cms::Exception("BranchIDMissMatch") << "While processing " << id << " request for BranchID " << branchID << " returned BranchID " << oh.desc()->branchID() << "\n";
89  }
90 
91  TypeID const& tid((*it)->branchDescription().typeID());
92  size_t temp = 0;
93  int tempCount = -1;
94  BasicHandle bh = p.getByLabel(tid,
95  (*it)->branchDescription().moduleLabel(),
96  (*it)->branchDescription().productInstanceName(),
97  (*it)->branchDescription().processName(),
98  temp, tempCount);
99 
100  /*This doesn't appear to be an error, it just means the Product isn't available, which can be legitimate
101  if(!bh.product()) {
102  throw cms::Exception("GetByLabelFailure") << "While processing " << id << " getByLabel request for " << (*it)->productDescription().moduleLabel()
103  << " '" << (*it)->productDescription().productInstanceName() << "' " << (*it)->productDescription().processName() << " failed\n.";
104  }*/
105  if(0 != bh.provenance() && bh.provenance()->branchDescription().branchID() != branchID) {
106  throw cms::Exception("BranchIDMissMatch") << "While processing " << id << " getByLabel request for " << (*it)->branchDescription().moduleLabel()
107  << " '" << (*it)->branchDescription().productInstanceName() << "' " << (*it)->branchDescription().processName()
108  << "\n should have returned BranchID " << branchID << " but returned BranchID " << bh.provenance()->branchDescription().branchID() << "\n";
109  }
110  }
111  }
112  }
void edm::checkDictionaries ( std::string const &  name,
bool  noComponents = false 
)

Definition at line 199 of file ReflexTools.cc.

References createPayload::checkType, and missingTypes().

Referenced by edm::PoolOutputModule::beginJob(), loadCap(), loadMissingDictionaries(), and maybeThrowMissingDictionaryException().

199  {
200  Type null;
201  Type t = Type::ByName(name);
202  if(t == null) {
203  missingTypes().insert(name);
204  return;
205  }
206  checkType(Type::ByName(name), noComponents);
207  }
StringSet & missingTypes()
Definition: ReflexTools.cc:189
void edm::checkForWrongProduct ( ProductID const &  keyID,
ProductID const &  refID 
)

Definition at line 6 of file CommonExceptions.cc.

References edm::hlt::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
bool edm::combinable ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 284 of file BranchDescription.cc.

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

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

284  {
285  return
286  (a.branchType() == b.branchType()) &&
287  (a.processName() == b.processName()) &&
288  (a.fullClassName() == b.fullClassName()) &&
289  (a.friendlyClassName() == b.friendlyClassName()) &&
290  (a.productInstanceName() == b.productInstanceName()) &&
291  (a.moduleLabel() == b.moduleLabel()) &&
292  (a.branchID() == b.branchID());
293  }
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: SSEVec.h:55
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: SSEVec.h:55
bool edm::contains ( EventRange const &  lh,
EventID const &  rh 
)
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: SSEVec.h:55
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: SSEVec.h:55
template<class FwdIter >
FwdIter edm::contextual_find ( FwdIter  b,
FwdIter  e,
char  first,
char  sep,
char  last 
)

Definition at line 48 of file split.h.

References b, alignCSCRings::e, and CommonUtil::nested.

Referenced by split().

50 {
51  for(int nested = 0; b != e; ++b) {
52  if(*b == first)
53  ++nested;
54  else if(*b == last)
55  --nested;
56  else if(*b == sep && nested == 0)
57  return b;
58  }
59 
60  return e;
61 
62 } // contextual_find()
list nested
Definition: CommonUtil.py:281
bool first
Definition: L1TdeRCT.cc:94
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 70 of file split.h.

References b, and alignCSCRings::e.

Referenced by split().

72 {
73  for(; b != e; ++b) {
74  if(*b != sep)
75  return b;
76  }
77 
78  return e;
79 
80 } // contextual_find_not()
double b
Definition: hdecay.h:120
void edm::conversion ( LuminosityBlockAux const &  from,
LuminosityBlockAuxiliary &  to 
)
void edm::conversion ( RunAux const &  from,
RunAuxiliary &  to 
)

Definition at line 12 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_.

12  {
13  to.processHistoryID_ = from.processHistoryID_;
14  to.id_ = RunID(from.id_);
15  to.beginTime_ = to.endTime_ = Timestamp::invalidTimestamp();
16  }
static std::string from(" from ")
void edm::conversion ( EventAux const &  from,
EventAuxiliary &  to 
)
template<typename T >
void edm::convert_handle ( BasicHandle const &  bh,
Handle< T > &  result 
)

Definition at line 19 of file ConvertHandle.h.

References compareJSON::const, edm::WrapperInterfaceBase::dynamicTypeInfo(), edm::BasicHandle::failedToGet(), h, edm::BasicHandle::interface(), edm::Wrapper< T >::product(), edm::BasicHandle::provenance(), edm::handleimpl::throwConvertTypeError(), edm::handleimpl::throwInvalidReference(), edm::BasicHandle::whyFailed(), wrapper, and edm::BasicHandle::wrapper().

Referenced by edm::Event::get(), edm::PrincipalGetAdapter::get(), edm::EventBase::getByLabel(), edm::Event::getByLabel(), edm::RunBase::getByLabel(), edm::PrincipalGetAdapter::getByLabel(), edm::LuminosityBlockBase::getByLabel(), edm::PrincipalGetAdapter::getByType(), edm::PrincipalGetAdapter::getMany(), and edm::PrincipalGetAdapter::getManyByType().

20  {
21  if(bh.failedToGet()) {
22  Handle<T> h(bh.whyFailed());
23  h.swap(result);
24  return;
25  }
26  void const* basicWrapper = bh.wrapper();
27  if(basicWrapper == 0) {
29  }
30  if(!(bh.interface()->dynamicTypeInfo() == typeid(T))) {
31  handleimpl::throwConvertTypeError(typeid(T), bh.interface()->dynamicTypeInfo());
32  }
33  Wrapper<T> const* wrapper = static_cast<Wrapper<T> const*>(basicWrapper);
34 
35  Handle<T> h(wrapper->product(), bh.provenance());
36  h.swap(result);
37  }
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void throwInvalidReference()
Definition: ConvertHandle.cc:6
string const
Definition: compareJSON.py:14
long double T
static HepMC::HEPEVT_Wrapper wrapper
void edm::convert_handle ( BasicHandle const &  orig,
Handle< FWGenericObject > &  result 
)

specialize this function forFWGenericHandle

Definition at line 19 of file FWGenericHandle.cc.

References dtNoiseDBValidation_cfg::cerr, edm::hlt::Exception, edm::BasicHandle::failedToGet(), h, edm::BasicHandle::id(), edm::errors::InvalidReference, edm::WrapperHolder::isValid(), edm::errors::LogicError, edm::BasicHandle::provenance(), edm::Handle< FWGenericObject >::setWhyFailed(), edm::Handle< FWGenericObject >::type(), edm::BasicHandle::whyFailed(), wrap(), edm::WrapperHolder::wrappedTypeInfo(), edm::WrapperHolder::wrapper(), and edm::BasicHandle::wrapperHolder().

21 {
22  if(orig.failedToGet()) {
23  result.setWhyFailed(orig.whyFailed());
24  return;
25  }
26 
27  WrapperHolder originalWrap = orig.wrapperHolder();
28  if(!originalWrap.isValid()) {
30  << "edm::BasicHandle has null pointer to Wrapper";
31  }
32 
33  Reflex::Object wrap(Reflex::Type::ByTypeInfo(originalWrap.wrappedTypeInfo()), const_cast<void*>(originalWrap.wrapper()));
34  assert(wrap != Reflex::Object());
35 
36  Reflex::Object product(wrap.Get("obj"));
37 
38  if(!product){
39  throw edm::Exception(edm::errors::LogicError)<<"FWGenericObject could not find 'obj' member";
40  }
41  if(product.TypeOf().IsTypedef()){
42  //For a 'Reflex::Typedef' the 'ToType' method returns the actual type
43  // this is needed since you are now allowed to 'invoke' methods of a 'Typedef'
44  // only for a 'real' class
45  product = Reflex::Object(product.TypeOf().ToType(), product.Address());
46  assert(!product.TypeOf().IsTypedef());
47  }
48  // NOTE: comparing on type doesn't seem to always work! The problem appears to be if we have a typedef
49  if(product.TypeOf()!=result.type() &&
50  !product.TypeOf().IsEquivalentTo(result.type()) &&
51  product.TypeOf().TypeInfo()!= result.type().TypeInfo()){
52  std::cerr << "FWGenericObject asked for "<<result.type().Name()
53  <<" but was given a " << product.TypeOf().Name();
54  throw edm::Exception(edm::errors::LogicError)<<"FWGenericObject asked for "<<result.type().Name()
55  <<" but was given a "<<product.TypeOf().Name();
56  }
57 
58  Handle<FWGenericObject> h(product, orig.provenance(), orig.id());
59  h.swap(result);
60 }
void wrap(unsigned me1aValidp, unsigned me1aQp, unsigned me1aEtap, unsigned me1aPhip, unsigned me1aCSCidp, unsigned me1bValidp, unsigned me1bQp, unsigned me1bEtap, unsigned me1bPhip, unsigned me1bCSCidp, unsigned me1cValidp, unsigned me1cQp, unsigned me1cEtap, unsigned me1cPhip, unsigned me1cCSCidp, unsigned me1dValidp, unsigned me1dQp, unsigned me1dEtap, unsigned me1dPhip, unsigned me1dCSCidp, unsigned me1eValidp, unsigned me1eQp, unsigned me1eEtap, unsigned me1ePhip, unsigned me1eCSCidp, unsigned me1fValidp, unsigned me1fQp, unsigned me1fEtap, unsigned me1fPhip, unsigned me1fCSCidp, unsigned me2aValidp, unsigned me2aQp, unsigned me2aEtap, unsigned me2aPhip, unsigned me2bValidp, unsigned me2bQp, unsigned me2bEtap, unsigned me2bPhip, unsigned me2cValidp, unsigned me2cQp, unsigned me2cEtap, unsigned me2cPhip, unsigned me3aValidp, unsigned me3aQp, unsigned me3aEtap, unsigned me3aPhip, unsigned me3bValidp, unsigned me3bQp, unsigned me3bEtap, unsigned me3bPhip, unsigned me3cValidp, unsigned me3cQp, unsigned me3cEtap, unsigned me3cPhip, unsigned me4aValidp, unsigned me4aQp, unsigned me4aEtap, unsigned me4aPhip, unsigned me4bValidp, unsigned me4bQp, unsigned me4bEtap, unsigned me4bPhip, unsigned me4cValidp, unsigned me4cQp, unsigned me4cEtap, unsigned me4cPhip, unsigned mb1aValidp, unsigned mb1aQp, unsigned mb1aPhip, unsigned mb1bValidp, unsigned mb1bQp, unsigned mb1bPhip, unsigned mb1cValidp, unsigned mb1cQp, unsigned mb1cPhip, unsigned mb1dValidp, unsigned mb1dQp, unsigned mb1dPhip, unsigned &ptHp, unsigned &signHp, unsigned &modeMemHp, unsigned &etaPTHp, unsigned &FRHp, unsigned &phiHp, unsigned &ptMp, unsigned &signMp, unsigned &modeMemMp, unsigned &etaPTMp, unsigned &FRMp, unsigned &phiMp, unsigned &ptLp, unsigned &signLp, unsigned &modeMemLp, unsigned &etaPTLp, unsigned &FRLp, unsigned &phiLp, unsigned &me1idH, unsigned &me2idH, unsigned &me3idH, unsigned &me4idH, unsigned &mb1idH, unsigned &mb2idH, unsigned &me1idM, unsigned &me2idM, unsigned &me3idM, unsigned &me4idM, unsigned &mb1idM, unsigned &mb2idM, unsigned &me1idL, unsigned &me2idL, unsigned &me3idL, unsigned &me4idL, unsigned &mb1idL, unsigned &mb2idL, unsigned mneta12p, unsigned mneta13p, unsigned mneta23p, unsigned mneta24p, unsigned mneta34p, unsigned mneta12ovp, unsigned mneta12dtp, unsigned mneta14p, unsigned mxeta12p, unsigned mxeta13p, unsigned mxeta23p, unsigned mxeta24p, unsigned mxeta34p, unsigned mxeta12ovp, unsigned mxeta12dtp, unsigned mxeta14p, unsigned etawn12p, unsigned etawn13p, unsigned etawn23p, unsigned etawn24p, unsigned etawn34p, unsigned etawn12ovp, unsigned etawn14p, unsigned mindphip, unsigned mindetap, unsigned mindeta_halo12p, unsigned maxdeta_halo12p, unsigned maxdphi_halo12p, unsigned mindeta_halo13p, unsigned maxdeta_halo13p, unsigned maxdphi_halo13p, unsigned mindeta_halo112p, unsigned maxdeta_halo112p, unsigned maxdphi_halo112p, unsigned mindeta_halo113p, unsigned maxdeta_halo113p, unsigned maxdphi_halo113p, unsigned mindphi_halop, unsigned mindeta_halop, unsigned straightp, unsigned curvedp, unsigned mb1a_phi_offp, unsigned mb1b_phi_offp, unsigned controlp)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void edm::convert_handle ( BasicHandle const &  orig,
Handle< GenericObject > &  result 
)

specialize this function for GenericHandle

Definition at line 19 of file GenericHandle.cc.

References edm::hlt::Exception, edm::BasicHandle::failedToGet(), h, edm::BasicHandle::id(), edm::errors::InvalidReference, edm::WrapperHolder::isValid(), edm::errors::LogicError, edm::BasicHandle::provenance(), edm::Handle< GenericObject >::setWhyFailed(), edm::Handle< GenericObject >::type(), edm::BasicHandle::whyFailed(), wrap(), edm::WrapperHolder::wrappedTypeInfo(), edm::WrapperHolder::wrapper(), and edm::BasicHandle::wrapperHolder().

21 {
22  if(orig.failedToGet()) {
23  result.setWhyFailed(orig.whyFailed());
24  return;
25  }
26  WrapperHolder originalWrap = orig.wrapperHolder();
27  if(!originalWrap.isValid()) {
29  << "edm::BasicHandle has null pointer to Wrapper";
30  }
31 
32  Reflex::Object wrap(Reflex::Type::ByTypeInfo(originalWrap.wrappedTypeInfo()), const_cast<void*>(originalWrap.wrapper()));
33  assert(wrap != Reflex::Object());
34 
35  Reflex::Object product(wrap.Get("obj"));
36  if(!product){
37  throw edm::Exception(edm::errors::LogicError)<<"GenericObject could not find 'obj' member";
38  }
39  if(product.TypeOf().IsTypedef()){
40  //For a 'Reflex::Typedef' the 'ToType' method returns the actual type
41  // this is needed since you are now allowed to 'invoke' methods of a 'Typedef'
42  // only for a 'real' class
43  product = Reflex::Object(product.TypeOf().ToType(), product.Address());
44  assert(!product.TypeOf().IsTypedef());
45  }
46  //NOTE: comparing on type doesn't seem to always work! The problem appears to be if we have a typedef
47  if(product.TypeOf()!=result.type() &&
48  !product.TypeOf().IsEquivalentTo(result.type()) &&
49  product.TypeOf().TypeInfo()!= result.type().TypeInfo()){
50  throw edm::Exception(edm::errors::LogicError)<<"GenericObject asked for "<<result.type().Name()
51  <<" but was given a "<<product.TypeOf().Name();
52  }
53 
54  Handle<GenericObject> h(product, orig.provenance(), orig.id());
55  h.swap(result);
56 }
void wrap(unsigned me1aValidp, unsigned me1aQp, unsigned me1aEtap, unsigned me1aPhip, unsigned me1aCSCidp, unsigned me1bValidp, unsigned me1bQp, unsigned me1bEtap, unsigned me1bPhip, unsigned me1bCSCidp, unsigned me1cValidp, unsigned me1cQp, unsigned me1cEtap, unsigned me1cPhip, unsigned me1cCSCidp, unsigned me1dValidp, unsigned me1dQp, unsigned me1dEtap, unsigned me1dPhip, unsigned me1dCSCidp, unsigned me1eValidp, unsigned me1eQp, unsigned me1eEtap, unsigned me1ePhip, unsigned me1eCSCidp, unsigned me1fValidp, unsigned me1fQp, unsigned me1fEtap, unsigned me1fPhip, unsigned me1fCSCidp, unsigned me2aValidp, unsigned me2aQp, unsigned me2aEtap, unsigned me2aPhip, unsigned me2bValidp, unsigned me2bQp, unsigned me2bEtap, unsigned me2bPhip, unsigned me2cValidp, unsigned me2cQp, unsigned me2cEtap, unsigned me2cPhip, unsigned me3aValidp, unsigned me3aQp, unsigned me3aEtap, unsigned me3aPhip, unsigned me3bValidp, unsigned me3bQp, unsigned me3bEtap, unsigned me3bPhip, unsigned me3cValidp, unsigned me3cQp, unsigned me3cEtap, unsigned me3cPhip, unsigned me4aValidp, unsigned me4aQp, unsigned me4aEtap, unsigned me4aPhip, unsigned me4bValidp, unsigned me4bQp, unsigned me4bEtap, unsigned me4bPhip, unsigned me4cValidp, unsigned me4cQp, unsigned me4cEtap, unsigned me4cPhip, unsigned mb1aValidp, unsigned mb1aQp, unsigned mb1aPhip, unsigned mb1bValidp, unsigned mb1bQp, unsigned mb1bPhip, unsigned mb1cValidp, unsigned mb1cQp, unsigned mb1cPhip, unsigned mb1dValidp, unsigned mb1dQp, unsigned mb1dPhip, unsigned &ptHp, unsigned &signHp, unsigned &modeMemHp, unsigned &etaPTHp, unsigned &FRHp, unsigned &phiHp, unsigned &ptMp, unsigned &signMp, unsigned &modeMemMp, unsigned &etaPTMp, unsigned &FRMp, unsigned &phiMp, unsigned &ptLp, unsigned &signLp, unsigned &modeMemLp, unsigned &etaPTLp, unsigned &FRLp, unsigned &phiLp, unsigned &me1idH, unsigned &me2idH, unsigned &me3idH, unsigned &me4idH, unsigned &mb1idH, unsigned &mb2idH, unsigned &me1idM, unsigned &me2idM, unsigned &me3idM, unsigned &me4idM, unsigned &mb1idM, unsigned &mb2idM, unsigned &me1idL, unsigned &me2idL, unsigned &me3idL, unsigned &me4idL, unsigned &mb1idL, unsigned &mb2idL, unsigned mneta12p, unsigned mneta13p, unsigned mneta23p, unsigned mneta24p, unsigned mneta34p, unsigned mneta12ovp, unsigned mneta12dtp, unsigned mneta14p, unsigned mxeta12p, unsigned mxeta13p, unsigned mxeta23p, unsigned mxeta24p, unsigned mxeta34p, unsigned mxeta12ovp, unsigned mxeta12dtp, unsigned mxeta14p, unsigned etawn12p, unsigned etawn13p, unsigned etawn23p, unsigned etawn24p, unsigned etawn34p, unsigned etawn12ovp, unsigned etawn14p, unsigned mindphip, unsigned mindetap, unsigned mindeta_halo12p, unsigned maxdeta_halo12p, unsigned maxdphi_halo12p, unsigned mindeta_halo13p, unsigned maxdeta_halo13p, unsigned maxdphi_halo13p, unsigned mindeta_halo112p, unsigned maxdeta_halo112p, unsigned maxdphi_halo112p, unsigned mindeta_halo113p, unsigned maxdeta_halo113p, unsigned maxdphi_halo113p, unsigned mindphi_halop, unsigned mindeta_halop, unsigned straightp, unsigned curvedp, unsigned mb1a_phi_offp, unsigned mb1b_phi_offp, unsigned controlp)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
template<typename ForwardSequence , typename Func >
Func edm::copy_all ( ForwardSequence &  s,
Func  f 
)
inline
template<typename T1 , typename T2 , typename T3 , typename ToT >
void edm::copyFromTo ( ESProducts< T1, T2, T3 > &  iFrom,
ToT &  iTo 
)

Definition at line 200 of file ESProducts.h.

References edm::eventsetup::produce::ProductHolder< T1, T2, T3 >::assignTo().

201  {
202  iFrom.assignTo(iTo);
203  }
std::string edm::createGlobalIdentifier ( )

Definition at line 6 of file GlobalIdentifier.cc.

References edm::Guid::toString().

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

6  {
7  Guid guid;
8  return guid.toString();
9  }
std::string toString() const
Definition: Guid.cc:27
ora::Guid Guid
Definition: Guid.h:26
bool edm::decode ( bool &  to,
std::string const &  from 
)
bool edm::decode ( std::vector< bool > &  to,
std::string const &  from 
)

Definition at line 82 of file types.cc.

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

82  {
83  std::vector<std::string> temp;
84  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
85  return false;
86  }
87 
88  to.clear();
89  for(std::vector<std::string>::const_iterator b = temp.begin()
90  , e = temp.end()
91  ; b != e; ++b) {
92  bool val = false;
93  if(!decode(val, *b)) {
94  return false;
95  }
96  to.push_back(val);
97  }
98  return true;
99  } // decode to vector<bool>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
double b
Definition: hdecay.h:120
double split
Definition: MVATrainer.cc:139
bool edm::decode ( int &  to,
std::string const &  from 
)

Definition at line 129 of file types.cc.

References b, and alignCSCRings::e.

129  {
130  std::string::const_iterator b = from.begin()
131  , e = from.end();
132 
133  if(*b != '+' && *b != '-') {
134  return false;
135  }
136  int sign = (*b == '+') ? +1 : -1;
137 
138  to = 0;
139  while(++b != e) {
140  if(!std::isdigit(*b)) {
141  return false;
142  }
143  to = 10 * to + (*b - '0');
144  }
145  to *= sign;
146 
147  return true;
148  } // decode to int
static std::string from(" from ")
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(), alignCSCRings::e, split(), and groupFilesInBlocks::temp.

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()
226  , e = temp.end()
227  ; b != e; ++b) {
228  int val = 0;
229  if(!decode(val, *b)) {
230  return false;
231  }
232  to.push_back(val);
233  }
234 
235  return true;
236  } // decode to vector<int>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
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 314 of file types.cc.

References b, and alignCSCRings::e.

314  {
315  std::string::const_iterator b = from.begin()
316  , e = from.end();
317 
318  to = 0u;
319  for(; b != e; ++b) {
320  if(*b == 'u' || *b == 'U') {
321  return true;
322  }
323  if(!std::isdigit(*b)) {
324  return false;
325  }
326  to = 10u * to + (*b - '0');
327  }
328  return true;
329  } // decode to unsigned
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::decode ( std::vector< unsigned int > &  to,
std::string const &  from 
)

Definition at line 383 of file types.cc.

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

383  {
384  std::vector<std::string> temp;
385  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
386  return false;
387  }
388  to.clear();
389  for(std::vector<std::string>::const_iterator b = temp.begin()
390  , e = temp.end()
391  ; b != e; ++b) {
392  unsigned int val = 0;
393  if(!decode(val, *b)) {
394  return false;
395  }
396  to.push_back(val);
397  }
398 
399  return true;
400  } // decode to vector<unsigned int>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
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 173 of file types.cc.

References b, and alignCSCRings::e.

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

Definition at line 267 of file types.cc.

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

267  {
268  std::vector<std::string> temp;
269  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
270  return false;
271  }
272 
273  to.clear();
274  for(std::vector<std::string>::const_iterator b = temp.begin()
275  , e = temp.end()
276  ; b != e; ++b) {
277  long long val = 0LL;
278  if(!decode(val, *b)) {
279  return false;
280  }
281  to.push_back(val);
282  }
283 
284  return true;
285  } // decode to vector<int>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
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 349 of file types.cc.

References b, and alignCSCRings::e.

349  {
350  std::string::const_iterator b = from.begin()
351  , e = from.end();
352  to = 0u;
353  for(; b != e; ++b) {
354  if(*b == 'u' || *b == 'U') {
355  return true;
356  }
357  if(!std::isdigit(*b)) {
358  return false;
359  }
360  to = 10u * to + (*b - '0');
361  }
362  return true;
363  } // decode to unsigned
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::decode ( std::vector< unsigned long long > &  to,
std::string const &  from 
)

Definition at line 430 of file types.cc.

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

430  {
431  std::vector<std::string> temp;
432  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
433  return false;
434  }
435  to.clear();
436  for(std::vector<std::string>::const_iterator b = temp.begin()
437  , e = temp.end()
438  ; b != e; ++b) {
439  unsigned long long val = 0ULL;
440  if(!decode(val, *b)) {
441  return false;
442  }
443  to.push_back(val);
444  }
445 
446  return true;
447  } // decode to vector<unsigned int>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
double b
Definition: hdecay.h:120
double split
Definition: MVATrainer.cc:139
bool edm::decode ( double &  to,
std::string const &  from 
)

Definition at line 479 of file types.cc.

References Capri::details::from(), infinity, and max().

479  {
480  if(from == "NaN") {
481  to = std::numeric_limits<double>::quiet_NaN();
482  } else if(from == "+inf" || from == "inf") {
483  to = std::numeric_limits<double>::has_infinity
485  : std::numeric_limits<double>::max();
486  } else if(from == "-inf") {
487  to = std::numeric_limits<double>::has_infinity
489  : -std::numeric_limits<double>::max();
490  }
491 
492  else {
493  try {
494  // std::cerr << "from:" << from << std::endl;
495  to = boost::lexical_cast<double>(from);
496  // std::cerr << "to:" << to << std::endl;
497  }
498  catch(boost::bad_lexical_cast&) {
499  return false;
500  }
501  }
502  return true;
503  }
const T & max(const T &a, const T &b)
const double infinity
static std::string from(" from ")
bool edm::decode ( std::vector< double > &  to,
std::string const &  from 
)

Definition at line 523 of file types.cc.

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

523  {
524  std::vector<std::string> temp;
525  if(!split(std::back_inserter(temp), from, '{', ',', '}'))
526  return false;
527 
528  to.clear();
529  for(std::vector<std::string>::const_iterator b = temp.begin()
530  , e = temp.end()
531  ; b != e; ++b) {
532  double val;
533  if(!decode(val, *b))
534  return false;
535  to.push_back(val);
536  }
537 
538  return true;
539  } // decode to vector<double>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
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 569 of file types.cc.

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

569  {
570  /*std::cerr << "Decoding: " << from << '\n'; //DEBUG*/
571  std::string::const_iterator b = from.begin()
572  , e = from.end();
573 
574  to = "";
575  to.reserve((e-b)/2);
576  char c = '\0';
577  for(bool even_pos = true
578  ; b != e; ++b, even_pos = !even_pos) {
579  if(even_pos) {
580  /*std::cerr << "Even: |"
581  << *b
582  << "| giving "
583  << from_hex(*b)
584  << "\n"; //DEBUG*/
585  c = static_cast<char>(from_hex(*b));
586  }
587  else {
588  /*std::cerr << "Odd: |"
589  << *b
590  << "| giving "
591  << from_hex(*b)
592  << "\n"; //DEBUG*/
593  c = static_cast<char>(c * 16 + from_hex(*b));
594  // if(std::isalnum(c)) {
595  /*std::cerr << "Ans: |" << c << "|\n"; //DEBUG*/
596  to += c;
597  //}
598  //else { // keep all special chars encoded
599  //to += "\\x";
600  //to += to_hex_rep(c);
601  //}
602  }
603  }
604  /*std::cerr << "Decoded: " << to << '\n'; //DEBUG*/
605  return true;
606  } // decode to String
static unsigned int from_hex(char c)
Definition: types.cc:36
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::decode ( std::vector< std::string > &  to,
std::string const &  from 
)

Definition at line 1092 of file types.cc.

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

1092  {
1093  std::vector<std::string> temp;
1094  if(!split(std::back_inserter(temp), from, '{', ',', '}'))
1095  return false;
1096 
1097  to.clear();
1098  for(std::vector<std::string>::const_iterator b = temp.begin()
1099  , e = temp.end()
1100  ; b != e; ++b) {
1101  std::string val;
1102  // treat blank string specially
1103  if(*b == "XXX") {
1104  val = "";
1105  } else if(!decode(val, *b)) {
1106  return false;
1107  }
1108  to.push_back(val);
1109  }
1110 
1111  return true;
1112  } // decode to vector<string>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
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 614 of file types.cc.

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

614  {
615  std::istringstream is(from);
617  temp.readFromParameterSetBlob(is);
618  if (!is) return false;
619  to = temp;
620  return true;
621  } // decode to FileInPath
static std::string from(" from ")
void readFromParameterSetBlob(std::istream &is)
Definition: FileInPath.cc:319
bool edm::decode ( edm::InputTag to,
std::string const &  from 
)

Definition at line 640 of file types.cc.

640  {
641  to = InputTag(from);
642  return true;
643  } // decode to InputTag
static std::string from(" from ")
bool edm::decode ( std::vector< edm::InputTag > &  to,
std::string const &  from 
)

Definition at line 659 of file types.cc.

References decode().

659  {
660  std::vector<std::string> strings;
661  decode(strings, from);
662 
663  for(std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
664  stringItr != stringItrEnd; ++stringItr) {
665  to.push_back(InputTag(*stringItr));
666  }
667  return true;
668  } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
bool edm::decode ( edm::ESInputTag to,
std::string const &  from 
)

Definition at line 690 of file types.cc.

690  {
691  to = ESInputTag(from);
692  return true;
693  } // decode to InputTag
static std::string from(" from ")
bool edm::decode ( std::vector< edm::ESInputTag > &  to,
std::string const &  from 
)

Definition at line 709 of file types.cc.

References decode().

709  {
710  std::vector<std::string> strings;
711  decode(strings, from);
712 
713  for(std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
714  stringItr != stringItrEnd; ++stringItr) {
715  to.push_back(ESInputTag(*stringItr));
716  }
717  return true;
718  } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
bool edm::decode ( edm::EventID to,
std::string const &  from 
)

Definition at line 739 of file types.cc.

References event(), fjr2json::lumi, DTTTrigCorrFirst::run, and tokenize().

739  {
740  std::vector<std::string> tokens = edm::tokenize(from, ":");
741  assert(tokens.size() == 2 || tokens.size() == 3);
742  unsigned int run = strtoul(tokens[0].c_str(), 0, 0);
743  unsigned int lumi = (tokens.size() == 2 ? 0 : strtoul(tokens[1].c_str(), 0, 0));
744  unsigned int event = strtoul(tokens[tokens.size() - 1].c_str(), 0, 0);
745  to = edm::EventID(run, lumi, event);
746 
747  return true;
748  } // decode to EventID
tuple lumi
Definition: fjr2json.py:35
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 but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
static std::string from(" from ")
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:57
bool edm::decode ( std::vector< edm::EventID > &  to,
std::string const &  from 
)

Definition at line 770 of file types.cc.

References decode().

770  {
771  std::vector<std::string> strings;
772  decode(strings, from);
773 
774  for(std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
775  stringItr != stringItrEnd; ++stringItr) {
776  edm::EventID eventID;
777  decode(eventID, *stringItr);
778  to.push_back(eventID);
779  }
780  return true;
781  } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
bool edm::decode ( edm::LuminosityBlockID to,
std::string const &  from 
)

Definition at line 803 of file types.cc.

References fjr2json::lumi, DTTTrigCorrFirst::run, and tokenize().

803  {
804  std::vector<std::string> tokens = edm::tokenize(from, ":");
805  assert(tokens.size() == 2);
806  unsigned int run = strtoul(tokens[0].c_str(), 0, 0);
807  unsigned int lumi = strtoul(tokens[1].c_str(), 0, 0);
808  to = edm::LuminosityBlockID(run, lumi);
809  return true;
810  } // decode to LuminosityBlockID
tuple lumi
Definition: fjr2json.py:35
static std::string from(" from ")
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:57
bool edm::decode ( std::vector< edm::LuminosityBlockID > &  to,
std::string const &  from 
)

Definition at line 828 of file types.cc.

References decode().

828  {
829  std::vector<std::string> strings;
830  decode(strings, from);
831 
832  for(std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
833  stringItr != stringItrEnd; ++stringItr) {
834  edm::LuminosityBlockID lumiID;
835  decode(lumiID, *stringItr);
836  to.push_back(lumiID);
837  }
838  return true;
839  } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
bool edm::decode ( edm::LuminosityBlockRange to,
std::string const &  from 
)

Definition at line 862 of file types.cc.

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

862  {
863  std::vector<std::string> tokens = edm::tokenize(from, "-");
864  assert(tokens.size() == 2);
867  edm::decode(begin,tokens[0]);
868  edm::decode(end,tokens[1]);
869  to = edm::LuminosityBlockRange(begin.run(), begin.luminosityBlock(),
870  end.run(), end.luminosityBlock());
871  return true;
872  } // decode to LuminosityBlockRange
RunNumber_t run() const
bool decode(bool &, std::string const &)
Definition: types.cc:62
#define end
Definition: vmac.h:38
static std::string from(" from ")
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:57
LuminosityBlockNumber_t luminosityBlock() const
#define begin
Definition: vmac.h:31
bool edm::decode ( std::vector< edm::LuminosityBlockRange > &  to,
std::string const &  from 
)

Definition at line 888 of file types.cc.

References decode().

888  {
889  std::vector<std::string> strings;
890  decode(strings, from);
891 
892  for(std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
893  stringItr != stringItrEnd; ++stringItr) {
894  edm::LuminosityBlockRange lumiRange;
895  decode(lumiRange, *stringItr);
896  to.push_back(lumiRange);
897  }
898  return true;
899  } // decode to VInputTag
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
bool edm::decode ( edm::EventRange to,
std::string const &  from 
)

Definition at line 919 of file types.cc.

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

919  {
920  std::vector<std::string> tokens = edm::tokenize(from, "-");
921  assert(tokens.size() == 2);
924  edm::decode(begin,tokens[0]);
925  edm::decode(end,tokens[1]);
926  assert((begin.luminosityBlock() == 0) == (end.luminosityBlock() == 0));
927  to = edm::EventRange(begin.run(), begin.luminosityBlock(), begin.event(),
928  end.run(), end.luminosityBlock(), end.event());
929  return true;
930  } // decode to EventRange
RunNumber_t run() const
Definition: EventID.h:42
EventNumber_t event() const
Definition: EventID.h:44
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:43
bool decode(bool &, std::string const &)
Definition: types.cc:62
#define end
Definition: vmac.h:38
static std::string from(" from ")
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:57
#define begin
Definition: vmac.h:31
bool edm::decode ( std::vector< edm::EventRange > &  to,
std::string const &  from 
)

Definition at line 953 of file types.cc.

References decode().

953  {
954  std::vector<std::string> strings;
955  decode(strings, from);
956 
957  for(std::vector<std::string>::const_iterator stringItr = strings.begin(), stringItrEnd = strings.end();
958  stringItr != stringItrEnd; ++stringItr) {
959  edm::EventRange eventRange;
960  decode(eventRange, *stringItr);
961  to.push_back(eventRange);
962  }
963  return true;
964  }
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
bool edm::decode ( ParameterSet to,
std::string const &  from 
)

Definition at line 1146 of file types.cc.

1146  {
1147  to = ParameterSet(from);
1148  return true;
1149  } // decode to ParameterSet
static std::string from(" from ")
bool edm::decode ( std::vector< ParameterSet > &  to,
std::string const &  from 
)

Definition at line 1165 of file types.cc.

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

1165  {
1166  std::vector<std::string> temp;
1167  if(!split(std::back_inserter(temp), from, '{', ',', '}'))
1168  return false;
1169 
1170  to.clear();
1171  for(std::vector<std::string>::const_iterator b = temp.begin()
1172  , e = temp.end()
1173  ; b != e; ++b) {
1174  ParameterSet val;
1175  if(!decode(val, *b)) {
1176  return false;
1177  }
1178  to.push_back(val);
1179  }
1180 
1181  return true;
1182  } // decode to vector<ParameterSet>
bool decode(bool &, std::string const &)
Definition: types.cc:62
static std::string from(" from ")
double b
Definition: hdecay.h:120
double split
Definition: MVATrainer.cc:139
unsigned int edm::decodeInt ( unsigned char *  v)
inline

Definition at line 33 of file Messages.h.

References a, b, and trackerHits::c.

Referenced by edm::MsgCode::getCode(), edm::EventMsg::getDataSize(), edm::InitMsg::getDataSize(), edm::EventMsg::getEventNumber(), edm::EventMsg::getRunNumber(), edm::EventMsg::getTotalSegs(), and edm::EventMsg::getWhichSeg().

34  {
35  // first four bytes are code, LSB first
36  unsigned int a=v[0], b=v[1], c=v[2], d=v[3];
37  a|=(b<<8)|(c<<16)|(d<<24);
38  return a;
39  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
mathSSE::Vec4< T > v
edm::DEFINE_FWK_MODULE ( HiMixingModule  )
void edm::disableAllSigs ( sigset_t *  oldset)

Definition at line 59 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

Referenced by installCustomHandler(), and MulticoreRunLumiEventChecker::postForkReacquireResources().

60  {
61  sigset_t myset;
62  // all blocked for now
63  MUST_BE_ZERO(sigfillset(&myset));
64  MUST_BE_ZERO(pthread_sigmask(SIG_SETMASK,&myset,oldset));
65  }
#define MUST_BE_ZERO(fun)
bool edm::DisableLoggedErrorsSummary ( )

Definition at line 18 of file LoggedErrorsSummary.cc.

References edm::MessageSender::errorSummaryIsBeingKept, and run_regression::ret.

Referenced by edm::LogErrorHarvester::endJob().

18  {
19  bool ret = MessageSender::errorSummaryIsBeingKept;
20  MessageSender::errorSummaryIsBeingKept = false;
21  return ret;
22 }
void edm::disableRTSigs ( )

Definition at line 69 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO, and NULL.

Referenced by installCustomHandler().

70  {
71 #if defined(__linux__)
72  // ignore all the RT signals
73  sigset_t myset;
74  MUST_BE_ZERO(sigemptyset(&myset));
75 
76  struct sigaction tmpact;
77  memset(&tmpact,0,sizeof(tmpact));
78  tmpact.sa_handler = SIG_IGN;
79 
80  for(int num = SIGRTMIN; num < SIGRTMAX; ++num) {
81  MUST_BE_ZERO(sigaddset(&myset,num));
82  MUST_BE_ZERO(sigaction(num,&tmpact,NULL));
83  }
84 
85  MUST_BE_ZERO(pthread_sigmask(SIG_BLOCK,&myset,0));
86 #endif
87  }
#define NULL
Definition: scimark2.h:8
long long int num
Definition: procUtils.cc:71
#define MUST_BE_ZERO(fun)
void edm::disableSignal ( sigset_t *  newset,
int  signum 
)

Definition at line 108 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

109  {
110  // disable the specified signal
111  MUST_BE_ZERO(sigdelset(newset, signum));
112  }
#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: SSEVec.h:55
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 lessThan(), and edm::EventRange::startLumi().

Referenced by overlaps().

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

Definition at line 34 of file ClassFiller.cc.

References edm::errors::Configuration, edm::hlt::Exception, FDEBUG, and getName().

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

34  {
35  FDEBUG(3) << "doing BuildRealData for " << name << "\n";
36  Reflex::Type cc = Reflex::Type::ByName(name);
37  TClass* ttest = TClass::GetClass(getName(cc).c_str());
38  if (ttest != 0) {
39  ttest->BuildRealData();
40  } else {
42  << "Could not find TClass for " << name << "\n";
43  }
44  }
#define FDEBUG(lev)
Definition: DebugMacros.h:18
std::string getName(Reflex::Type &cc)
Definition: ClassFiller.cc:18
void edm::edmodule_mightGet_config ( ConfigurationDescriptions iDesc)

Definition at line 38 of file edmodule_mightGet_config.cc.

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

Referenced by edm::EDAnalyzer::prevalidate(), edm::EDProducer::prevalidate(), and edm::EDFilter::prevalidate().

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

Definition at line 398 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_abort.

398  {
399  static ELseverityLevel const e( ELseverityLevel::ELsev_abort );
400  return e;
401 }
ELseverityLevel const edm::ELerror2Gen ( )

Definition at line 368 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_error2.

368  {
369  static ELseverityLevel const e( ELseverityLevel::ELsev_error2 );
370  return e;
371 }
ELseverityLevel const edm::ELerrorGen ( )

Definition at line 362 of file ELseverityLevel.cc.

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

362  {
363  static ELseverityLevel const e( ELseverityLevel::ELsev_error );
364  return e;
365 }
ELseverityLevel const edm::ELfatalGen ( )

Definition at line 404 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_fatal.

404  {
405  static ELseverityLevel const e( ELseverityLevel::ELsev_fatal );
406  return e;
407 }
ELseverityLevel const edm::ELhighestSeverityGen ( )

Definition at line 410 of file ELseverityLevel.cc.

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

410  {
411  static ELseverityLevel const e( ELseverityLevel::ELsev_highestSeverity );
412  return e;
413 }
ELseverityLevel const edm::ELincidentalGen ( )

Definition at line 332 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_incidental.

332  {
333  static ELseverityLevel const e( ELseverityLevel::ELsev_incidental );
334  return e;
335 }
ELseverityLevel const edm::ELinfoGen ( )

Definition at line 344 of file ELseverityLevel.cc.

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

344  {
345  static ELseverityLevel const e( ELseverityLevel::ELsev_info );
346  return e;
347 }
ELseverityLevel const edm::ELnextEventGen ( )

Definition at line 374 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_next.

374  {
375  static ELseverityLevel const e( ELseverityLevel::ELsev_next );
376  return e;
377 }
ELseverityLevel const edm::ELsevere2Gen ( )

Definition at line 392 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_severe2.

392  {
393  static ELseverityLevel const e( ELseverityLevel::ELsev_severe2 );
394  return e;
395 }
ELseverityLevel const edm::ELsevereGen ( )

Definition at line 386 of file ELseverityLevel.cc.

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

386  {
387  static ELseverityLevel const e( ELseverityLevel::ELsev_severe );
388  return e;
389 }
ELseverityLevel const edm::ELsuccessGen ( )

Definition at line 338 of file ELseverityLevel.cc.

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

338  {
339  static ELseverityLevel const e( ELseverityLevel::ELsev_success );
340  return e;
341 }
ELseverityLevel const edm::ELunspecifiedGen ( )

Definition at line 380 of file ELseverityLevel.cc.

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

380  {
381  static ELseverityLevel const e( ELseverityLevel::ELsev_unspecified );
382  return e;
383 }
ELseverityLevel const edm::ELwarning2Gen ( )

Definition at line 356 of file ELseverityLevel.cc.

References alignCSCRings::e, and edm::ELseverityLevel::ELsev_warning2.

356  {
357  static ELseverityLevel const e( ELseverityLevel::ELsev_warning2 );
358  return e;
359 }
ELseverityLevel const edm::ELwarningGen ( )

Definition at line 350 of file ELseverityLevel.cc.

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

350  {
351  static ELseverityLevel const e( ELseverityLevel::ELsev_warning );
352  return e;
353 }
ELseverityLevel const edm::ELzeroSeverityGen ( )

Definition at line 326 of file ELseverityLevel.cc.

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

326  {
327  static ELseverityLevel const e( ELseverityLevel::ELsev_zeroSeverity );
328  return e;
329 }
bool edm::EnableLoggedErrorsSummary ( )

Definition at line 12 of file LoggedErrorsSummary.cc.

References edm::MessageSender::errorSummaryIsBeingKept, and run_regression::ret.

Referenced by edm::LogErrorHarvester::beginJob().

12  {
13  bool ret = MessageSender::errorSummaryIsBeingKept;
14  MessageSender::errorSummaryIsBeingKept = true;
15  return ret;
16 }
void edm::enableSignal ( sigset_t *  newset,
int  signum 
)

Definition at line 99 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

100  {
101  // enable the specified signal
102  MUST_BE_ZERO(sigaddset(newset, signum));
103  }
#define MUST_BE_ZERO(fun)
bool edm::encode ( std::string &  to,
bool  from 
)

Definition at line 71 of file types.cc.

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

71  {
72  to = from ? "true" : "false";
73  return true;
74  } // encode from bool
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< bool > const &  from 
)

Definition at line 104 of file types.cc.

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

104  {
105  to = "{";
106 
107  std::string converted;
108  for(std::vector<bool>::const_iterator b = from.begin()
109  , e = from.end()
110  ; b != e; ++b) {
111  if(!encode(converted, *b)) {
112  return false;
113  }
114  if(b != from.begin()) {
115  to += ",";
116  }
117  to += converted;
118  }
119  to += '}';
120  return true;
121  } // encode from vector<bool>
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::encode ( std::string &  to,
int  from 
)

Definition at line 153 of file types.cc.

References Capri::details::from().

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

Definition at line 241 of file types.cc.

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

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

Definition at line 334 of file types.cc.

334  {
335  to.clear();
336  do {
337  to = static_cast<char>(from % 10 + '0') + to;
338  from /= 10u;
339  } while(from > 0u);
340 
341  return true;
342  } // encode from unsigned
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< unsigned int > const &  from 
)

Definition at line 405 of file types.cc.

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

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

Definition at line 197 of file types.cc.

References Capri::details::from().

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

Definition at line 290 of file types.cc.

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

290  {
291  to = "{";
292 
293  std::string converted;
294  for(std::vector<long long>::const_iterator b = from.begin()
295  , e = from.end()
296  ; b != e; ++b) {
297  if(!encode(converted, *b)) {
298  return false;
299  }
300  if(b != from.begin()) {
301  to += ",";
302  }
303  to += converted;
304  }
305  to += '}';
306  return true;
307  } // encode from vector<int>
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::encode ( std::string &  to,
unsigned long long  from 
)

Definition at line 368 of file types.cc.

368  {
369  to.clear();
370  do {
371  to = static_cast<char>(from % 10 + '0') + to;
372  from /= 10u;
373  } while(from > 0u);
374 
375  return true;
376  } // encode from unsigned
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< unsigned long long > const &  from 
)

Definition at line 452 of file types.cc.

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

452  {
453  to = "{";
454 
455  std::string converted;
456  for(std::vector<unsigned long long>::const_iterator b = from.begin()
457  , e = from.end()
458  ; b != e; ++b) {
459  if(!encode(converted, *b)) {
460  return false;
461  }
462 
463  if(b != from.begin()) {
464  to += ",";
465  }
466  to += converted;
467  }
468 
469  to += '}';
470  return true;
471  } // encode from vector<unsigned int>
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::encode ( std::string &  to,
double  from 
)

Definition at line 508 of file types.cc.

References Capri::details::from().

508  {
509  std::ostringstream ost;
510  ost.precision(std::numeric_limits<double>::digits10 + 1);
511  ost << from;
512  if(!ost) return false;
513  to = ost.str();
514  return true;
515  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< double > const &  from 
)

Definition at line 544 of file types.cc.

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

544  {
545  to = "{";
546 
547  std::string converted;
548  for(std::vector<double>::const_iterator b = from.begin()
549  , e = from.end()
550  ; b != e; ++b) {
551  if(!encode(converted, *b))
552  return false;
553 
554  if(b != from.begin())
555  to += ",";
556  to += converted;
557  }
558 
559  to += '}';
560  return true;
561  } // encode from vector<double>
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::encode ( std::string &  to,
std::string const &  from 
)

Definition at line 982 of file types.cc.

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

982  {
983  std::string::const_iterator b = from.begin()
984  , e = from.end();
985 
986  enum escape_state { NONE
987  , BACKSLASH
988  , HEX, HEX1
989  , OCT1, OCT2
990  };
991 
992  escape_state state = NONE;
993  int code = 0;
994  to = "";
995  for(; b != e; ++b) {
996  /*std::cerr << "State: " << state << "; char = " << *b << '\n'; //DEBUG*/
997  switch(state) {
998  case NONE: {
999  if(*b == '\\') state = BACKSLASH;
1000  else append_hex_rep(to, *b);
1001  /*std::cerr << "To: |" << to << "|\n"; //DEBUG*/
1002  break;
1003  }
1004  case BACKSLASH: {
1005  code = 0;
1006  switch(*b) {
1007  case 'x': case 'X': {
1008  state = HEX;
1009  break;
1010  }
1011  case '0': case '1': case '2': case '3':
1012  case '4': case '5': case '6': case '7': {
1013  code = 8 * code + from_hex(*b);
1014  state = OCT1;
1015  break;
1016  }
1017  case 'n': {
1018  append_hex_rep(to, 10);
1019  state = NONE;
1020  break;
1021  }
1022  case 't': {
1023  append_hex_rep(to, 9);
1024  state = NONE;
1025  break;
1026  }
1027  default: {
1028  append_hex_rep(to, *b);
1029  state = NONE;
1030  break;
1031  }
1032  }
1033  break;
1034  }
1035  case HEX: {
1036  to += *b;
1037  state = HEX1;
1038  break;
1039  }
1040  case HEX1: {
1041  to += *b;
1042  state = NONE;
1043  break;
1044  }
1045  case OCT1: {
1046  switch(*b) {
1047  case '0': case '1': case '2': case '3':
1048  case '4': case '5': case '6': case '7': {
1049  code = 8 * code + from_hex(*b);
1050  state = OCT2;
1051  break;
1052  }
1053  default: {
1054  append_hex_rep(to, code);
1055  state = NONE;
1056  break;
1057  }
1058  }
1059  break;
1060  }
1061  case OCT2: {
1062  switch(*b) {
1063  case '0': case '1': case '2': case '3':
1064  case '4': case '5': case '6': case '7': {
1065  code = 8 * code + from_hex(*b);
1066  break;
1067  }
1068  default: {
1069  append_hex_rep(to, code);
1070  break;
1071  }
1072  }
1073  state = NONE;
1074  break;
1075  }
1076  default: {
1077  throw std::logic_error("can't happen");
1078  break;
1079  }
1080  }
1081  } // for
1082 
1083  return true;
1084  } // encode from String
static unsigned int from_hex(char c)
Definition: types.cc:36
static std::string from(" from ")
static void append_hex_rep(std::string &s, unsigned int c)
Definition: types.cc:51
double b
Definition: hdecay.h:120
char state
Definition: procUtils.cc:75
bool edm::encode ( std::string &  to,
std::vector< std::string > const &  from 
)

Definition at line 1117 of file types.cc.

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

1117  {
1118  to = "{";
1119 
1120  std::string converted;
1121  for(std::vector<std::string>::const_iterator b = from.begin()
1122  , e = from.end()
1123  ; b != e; ++b) {
1124  // treat blank string specially
1125  if(*b == "") {
1126  converted = "XXX";
1127  } else if(!encode(converted, *b)) {
1128  return false;
1129  }
1130 
1131  if(b != from.begin())
1132  to += ",";
1133  to += converted;
1134  }
1135 
1136  to += '}';
1137  return true;
1138  } // encode from vector<string>
static std::string from(" from ")
double b
Definition: hdecay.h:120
bool edm::encode ( std::string &  to,
edm::FileInPath const &  from 
)

Definition at line 626 of file types.cc.

References Capri::details::from().

626  {
627  std::ostringstream ost;
628  ost << from;
629  if (!ost) return false;
630  to = ost.str();
631  return true;
632  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::InputTag const &  from 
)

Definition at line 648 of file types.cc.

References edm::InputTag::encode().

648  {
649  to = from.encode();
650  return true;
651  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::InputTag > const &  from 
)

Definition at line 673 of file types.cc.

References encode().

673  {
674  std::vector<std::string> strings;
675  for(std::vector<InputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end();
676  tagItr != tagItrEnd; ++tagItr) {
677  strings.push_back(tagItr->encode());
678  }
679  encode(to, strings);
680  return true;
681  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::ESInputTag const &  from 
)

Definition at line 698 of file types.cc.

References edm::ESInputTag::encode().

698  {
699  to = from.encode();
700  return true;
701  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::ESInputTag > const &  from 
)

Definition at line 723 of file types.cc.

References encode().

723  {
724  std::vector<std::string> strings;
725  for(std::vector<ESInputTag>::const_iterator tagItr = from.begin(), tagItrEnd = from.end();
726  tagItr != tagItrEnd; ++tagItr) {
727  strings.push_back(tagItr->encode());
728  }
729  encode(to, strings);
730  return true;
731  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::EventID const &  from 
)

Definition at line 753 of file types.cc.

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

753  {
754  std::ostringstream os;
755  if (from.luminosityBlock() == 0U) {
756  os << from.run() << ":" << from.event();
757  } else {
758  os << from.run() << ":" << from.luminosityBlock() << ":" << from.event();
759  }
760  to = os.str();
761  return true;
762  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::EventID > const &  from 
)

Definition at line 786 of file types.cc.

References encode().

786  {
787  std::vector<std::string> strings;
788  for(std::vector<edm::EventID>::const_iterator idItr = from.begin(), idItrEnd = from.end();
789  idItr != idItrEnd; ++idItr) {
790  std::string encodedEventID;
791  encode(encodedEventID, *idItr);
792  strings.push_back(encodedEventID);
793  }
794  encode(to, strings);
795  return true;
796  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::LuminosityBlockID const &  from 
)

Definition at line 815 of file types.cc.

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

815  {
816  std::ostringstream os;
817  os << from.run() << ":" << from.luminosityBlock();
818  to = os.str();
819  return true;
820  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockID > const &  from 
)

Definition at line 844 of file types.cc.

References encode().

844  {
845  std::vector<std::string> strings;
846  for(std::vector<edm::LuminosityBlockID>::const_iterator idItr = from.begin(), idItrEnd = from.end();
847  idItr != idItrEnd; ++idItr) {
848  std::string encodedLuminosityBlockID;
849  encode(encodedLuminosityBlockID, *idItr);
850  strings.push_back(encodedLuminosityBlockID);
851  }
852  encode(to, strings);
853  return true;
854  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::LuminosityBlockRange const &  from 
)

Definition at line 875 of file types.cc.

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

875  {
876  std::ostringstream os;
877  os << from.startRun() << ":" << from.startLumi() << "-"
878  << from.endRun() << ":" << from.endLumi();
879  to = os.str();
880  return true;
881  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockRange > const &  from 
)

Definition at line 902 of file types.cc.

References encode().

902  {
903  std::vector<std::string> strings;
904  for(std::vector<edm::LuminosityBlockRange>::const_iterator idItr = from.begin(), idItrEnd = from.end();
905  idItr != idItrEnd; ++idItr) {
906  std::string encodedLuminosityBlockRange;
907  encode(encodedLuminosityBlockRange, *idItr);
908  strings.push_back(encodedLuminosityBlockRange);
909  }
910  encode(to, strings);
911  return true;
912  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::EventRange const &  from 
)

Definition at line 933 of file types.cc.

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

933  {
934  std::ostringstream os;
935  if (from.startLumi() == 0) {
936  assert(from.endLumi() == 0);
937  os << from.startRun() << ":" << from.startEvent() << "-"
938  << from.endRun() << ":" << from.endEvent();
939  } else {
940  assert(from.endLumi() != 0);
941  os << from.startRun() << ":" << from.startLumi() << ":" << from.startEvent() << "-"
942  << from.endRun() << ":" << from.endLumi() << ":" << from.endEvent();
943  }
944  to = os.str();
945  return true;
946  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::EventRange > const &  from 
)

Definition at line 967 of file types.cc.

References encode().

967  {
968  std::vector<std::string> strings;
969  for(std::vector<edm::EventRange>::const_iterator idItr = from.begin(), idItrEnd = from.end();
970  idItr != idItrEnd; ++idItr) {
971  std::string encodedEventRange;
972  encode(encodedEventRange, *idItr);
973  strings.push_back(encodedEventRange);
974  }
975  encode(to, strings);
976  return true;
977  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
ParameterSet const &  from 
)

Definition at line 1154 of file types.cc.

References edm::ParameterSet::toString().

1154  {
1155  to = from.toString();
1156  return true;
1157  } // encode from ParameterSet
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< ParameterSet > const &  from 
)

Definition at line 1187 of file types.cc.

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

1187  {
1188  to = "{";
1189 
1190  std::string converted;
1191  for(std::vector<ParameterSet>::const_iterator b = from.begin()
1192  , e = from.end()
1193  ; b != e; ++b) {
1194  if(!encode(converted, *b)) {
1195  return false;
1196  }
1197  if(b != from.begin()) {
1198  to += ",";
1199  }
1200  to += converted;
1201  }
1202  to += '}';
1203  return true;
1204  } // encode from vector<ParameterSet>
static std::string from(" from ")
double b
Definition: hdecay.h:120
void edm::encodeInt ( unsigned int  i,
unsigned char *  v 
)
inline

Definition at line 41 of file Messages.h.

Referenced by edm::MsgCode::setCode(), edm::EventMsg::setDataSize(), edm::InitMsg::setDataSize(), edm::EventMsg::setEventNumber(), edm::EventMsg::setRunNumber(), edm::EventMsg::setTotalSegs(), and edm::EventMsg::setWhichSeg().

42  {
43  v[0]=i&0xff;
44  v[1]=(i>>8)&0xff;
45  v[2]=(i>>16)&0xff;
46  v[3]=(i>>24)&0xff;
47  }
int i
Definition: DBlmapReader.cc:9
mathSSE::Vec4< T > v
void edm::endmsg ( ErrorLog &  )
void edm::ep_sigusr2 ( int  ,
siginfo_t *  ,
void *   
)

Definition at line 27 of file UnixSignalHandlers.cc.

References FDEBUG, and shutdown_flag.

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

28  {
29  FDEBUG(1) << "in sigusr2 handler\n";
30  shutdown_flag = true;
31  }
#define FDEBUG(lev)
Definition: DebugMacros.h:18
volatile bool shutdown_flag
bool edm::eq ( const ELstring &  s1,
const ELstring  s2 
)

Definition at line 42 of file ELstring.cc.

References indexGen::s2.

Referenced by edm::service::ELstatistics::formSummary().

42  {
43 
44  return s1 == s2;
45 
46 } // eq()
tuple s2
Definition: indexGen.py:106
bool edm::eq_nocase ( const ELstring &  s1,
const char  s2[] 
)

Definition at line 24 of file ELstring.cc.

References p1, p2, and indexGen::s2.

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

24  {
25  using std::toupper;
26 
27  if (s1.length() != strlen(s2) ) return false;
28 
29  ELstring::const_iterator p1;
30  const char * p2;
31 
32  for ( p1 = s1.begin(), p2 = s2; *p2 != '\0'; ++p1, ++p2 ) {
33  if ( toupper(*p1) != toupper(*p2) ) {
34  return false;
35  }
36  }
37  return true;
38 
39 } // eq_nocase()
tuple s2
Definition: indexGen.py:106
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.

References x.

Referenced by isnan().

62  {
63  return x !=x;
64  }
Definition: DDAxes.h:10
void edm::fillDescriptionFromPSet ( ParameterSet const &  pset,
ParameterSetDescription desc 
)

Definition at line 88 of file FillDescriptionFromPSet.cc.

References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addUntracked(), python.tagInventory::entries, edm::ParameterSet::getParameterSet(), edm::ParameterSet::getParameterSetVector(), edm::ParameterSet::getUntrackedParameterSet(), edm::ParameterSet::getUntrackedParameterSetVector(), python.Node::node, 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().

89  {
90  ParameterSet::table const& entries = pset.tbl();
91  for (ParameterSet::table::const_iterator entry = entries.begin(),
92  endEntries = entries.end();
93  entry != endEntries;
94  ++entry) {
95  std::map<edm::ParameterTypes, FillDescriptionFromParameter>::iterator iter =
96  findTheRightFunction().find(static_cast<edm::ParameterTypes>(entry->second.typeCode()));
97  if (iter != findTheRightFunction().end()) {
98  iter->second(pset, entry->first, entry->second.isTracked(), desc);
99  }
100  }
101 
102  ParameterSet::psettable const& pset_entries = pset.psetTable();
103  for (ParameterSet::psettable::const_iterator pset_entry = pset_entries.begin(),
104  endEntries = pset_entries.end();
105  pset_entry != endEntries;
106  ++pset_entry) {
107  edm::ParameterSet nestedPset;
108  if (pset_entry->second.isTracked()) {
109  nestedPset = pset.getParameterSet(pset_entry->first);
110  }
111  else {
112  nestedPset = pset.getUntrackedParameterSet(pset_entry->first);
113  }
114  ParameterSetDescription nestedDescription;
115  fillDescriptionFromPSet(nestedPset, nestedDescription);
116  if (pset_entry->second.isTracked()) {
117  desc.add<edm::ParameterSetDescription>(pset_entry->first, nestedDescription);
118  }
119  else {
120  desc.addUntracked<edm::ParameterSetDescription>(pset_entry->first, nestedDescription);
121  }
122  }
123 
124  ParameterSet::vpsettable const& vpset_entries = pset.vpsetTable();
125  for (ParameterSet::vpsettable::const_iterator vpset_entry = vpset_entries.begin(),
126  endEntries = vpset_entries.end();
127  vpset_entry != endEntries;
128  ++vpset_entry) {
129  std::vector<edm::ParameterSet> nestedVPset;
130  if (vpset_entry->second.isTracked()) {
131  nestedVPset = pset.getParameterSetVector(vpset_entry->first);
132  }
133  else {
134  nestedVPset = pset.getUntrackedParameterSetVector(vpset_entry->first);
135  }
136  ParameterSetDescription emptyDescription;
137 
138  std::auto_ptr<ParameterDescription<std::vector<ParameterSet> > >
139  pd(new ParameterDescription<std::vector<ParameterSet> >(vpset_entry->first, emptyDescription, vpset_entry->second.isTracked(), nestedVPset));
140 
141  pd->setPartOfDefaultOfVPSet(true);
142  std::auto_ptr<ParameterDescriptionNode> node(pd);
143  desc.addNode(node);
144  }
145  }
list table
Definition: asciidump.py:386
void fillDescriptionFromPSet(ParameterSet const &pset, ParameterSetDescription &desc)
tuple node
Definition: Node.py:50
ParameterSet const & getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
ParameterSet const & getParameterSet(std::string const &) const
static void edm::fillInProcessIndexes ( TransientProductLookupMap::ProductLookupIndexList::iterator  iIt,
TransientProductLookupMap::ProductLookupIndexList::iterator  iEnd,
std::vector< std::string > const &  iNameOrder 
)
static

Definition at line 159 of file TransientProductLookupMap.cc.

References getHLTprescales::index.

Referenced by edm::TransientProductLookupMap::fillFrom(), and edm::TransientProductLookupMap::reorderIfNecessary().

161  {
162  //NOTE the iterators are already in the same order as iNameOrder
163  std::vector<std::string>::const_reverse_iterator itNO = iNameOrder.rbegin();
164  unsigned int index = 0;
165  for(; iIt != iEnd; ++iIt) {
166  if(iIt->isFirst()) {
167  itNO = iNameOrder.rbegin();
168  index = 0;
169  }
170  while(*itNO != iIt->branchDescription()->processName()) {
171  ++itNO;
172  assert(itNO != iNameOrder.rend());
173  ++index;
174  }
175  iIt->setProcessIndex(index);
176  }
177  }
static void edm::fillLookup ( Reflex::Type const &  type,
ProductTransientIndex const &  index,
ConstBranchDescription const *  branchDesc,
TransientProductLookupMap::FillFromMap &  oMap 
)
static

Definition at line 231 of file ProductRegistry.cc.

References edm::ConstBranchDescription::branchType(), and getHLTprescales::index.

Referenced by edm::ProductRegistry::initializeLookupTables().

234  {
235  oMap[std::make_pair(TypeInBranchType(TypeID(type.TypeInfo()),
236  branchDesc->branchType()),
237  branchDesc)] = index;
238  }
type
Definition: HCALResponse.h:22
boost::shared_ptr<EDLooperBase> edm::fillLooper ( eventsetup::EventSetupsController &  esController,
eventsetup::EventSetupProvider &  cp,
ParameterSet params 
)

Definition at line 339 of file EventProcessor.cc.

References edm::eventsetup::ComponentFactory< T >::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), and edm::ParameterSet::registerIt().

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

341  {
342  boost::shared_ptr<EDLooperBase> vLooper;
343 
344  std::vector<std::string> loopers = params.getParameter<std::vector<std::string> >("@all_loopers");
345 
346  if(loopers.size() == 0) {
347  return vLooper;
348  }
349 
350  assert(1 == loopers.size());
351 
352  for(std::vector<std::string>::iterator itName = loopers.begin(), itNameEnd = loopers.end();
353  itName != itNameEnd;
354  ++itName) {
355 
356  ParameterSet* providerPSet = params.getPSetForUpdate(*itName);
357  providerPSet->registerIt();
358  vLooper = eventsetup::LooperFactory::get()->addTo(esController,
359  cp,
360  *providerPSet);
361  }
362  return vLooper;
363 
364  }
T get(const Candidate &c)
Definition: component.h:56
void edm::fillModuleInPathSummary ( Path const &  ,
ModuleInPathSummary &   
)

Definition at line 1245 of file Schedule.cc.

Referenced by fillPathSummary().

1245  {
1246  }
void edm::fillModuleInPathSummary ( Path const &  path,
size_t  which,
ModuleInPathSummary &  sum 
)

Definition at line 1249 of file Schedule.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().

1251  {
1252  sum.timesVisited = path.timesVisited(which);
1253  sum.timesPassed = path.timesPassed(which);
1254  sum.timesFailed = path.timesFailed(which);
1255  sum.timesExcept = path.timesExcept(which);
1256  sum.moduleLabel = path.getWorker(which)->description().moduleLabel();
1257  }
list path
Definition: scaleCards.py:51
void edm::fillPathSummary ( Path const &  path,
PathSummary &  sum 
)

Definition at line 1260 of file Schedule.cc.

References edm::PathSummary::bitPosition, edm::Path::bitPosition(), fillModuleInPathSummary(), 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::Schedule::getTriggerReport().

1260  {
1261  sum.name = path.name();
1262  sum.bitPosition = path.bitPosition();
1263  sum.timesRun = path.timesRun();
1264  sum.timesPassed = path.timesPassed();
1265  sum.timesFailed = path.timesFailed();
1266  sum.timesExcept = path.timesExcept();
1267 
1268  Path::size_type sz = path.size();
1269  std::vector<ModuleInPathSummary> temp(sz);
1270  for (size_t i = 0; i != sz; ++i) {
1272  }
1273  sum.moduleInPathSummaries.swap(temp);
1274  }
int i
Definition: DBlmapReader.cc:9
uint16_t size_type
list path
Definition: scaleCards.py:51
void fillModuleInPathSummary(Path const &, ModuleInPathSummary &)
Definition: Schedule.cc:1245
void edm::fillProductRegistryTransients ( std::vector< ProcessConfiguration > const &  pcVec,
ProductRegistry const &  preg,
bool  okToRegister = false 
)

Definition at line 66 of file FillProductRegistryTransients.cc.

References i.

Referenced by edm::StreamerInputSource::mergeIntoRegistry(), edm::RootFile::RootFile(), edm::Schedule::Schedule(), TFWLiteSelectorBasic::setupNewFile(), and ProvenanceDumper::work_().

66  {
67  typedef std::vector<ProcessConfiguration>::const_iterator PCIter;
68  for(PCIter i = pcVec.begin(), iEnd = pcVec.end(); i != iEnd; ++i) {
69  fillProductRegistryTransients(*i, preg, okToRegister);
70  }
71  }
int i
Definition: DBlmapReader.cc:9
void fillProductRegistryTransients(std::vector< ProcessConfiguration > const &pcVec, ProductRegistry const &preg, bool okToRegister=false)
void edm::fillProductRegistryTransients ( ProcessConfiguration const &  pc,
ProductRegistry const &  preg,
bool  okToRegister = false 
)

Definition at line 20 of file FillProductRegistryTransients.cc.

References edm::ParameterSet::empty(), edm::ParameterSet::existsAs(), edm::detail::ThreadSafeRegistry< KEY, T, E >::getMapped(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), edm::ProcessConfiguration::id(), edm::ParameterSet::id(), LaserDQM_cfg::input, edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::ParameterSet::isRegistered(), edm::BranchDescription::moduleLabel(), edm::BranchDescription::moduleNames(), edm::ProcessConfiguration::parameterSetID(), edm::BranchDescription::parameterSetIDs(), edm::ProcessConfiguration::processName(), edm::BranchDescription::processName(), edm::ProductRegistry::productList(), edm::ParameterSet::registerIt(), LaserTracksInput_cfi::source, and patRefSel_triggerSelection_cff::triggerResults.

20  {
21  std::string const triggerResults = std::string("TriggerResults");
22  std::string const triggerResultsInserter = std::string("TriggerResultsInserter");
23  std::string const triggerPaths = std::string("@trigger_paths");
24  std::string const source = std::string("source");
25  std::string const input = std::string("@main_input");
26  ProcessConfigurationID pcid = pc.id();
27  std::string const& processName = pc.processName();
28  ParameterSetID const& processParameterSetID = pc.parameterSetID();
29  ParameterSet const* processParameterSet = pset::Registry::instance()->getMapped(processParameterSetID);
30  if(0 == processParameterSet || processParameterSet->empty()) {
31  return;
32  }
33  for(ProductRegistry::ProductList::const_iterator it = preg.productList().begin(),
34  itEnd = preg.productList().end();
35  it != itEnd; ++it) {
36  BranchDescription const& bd = it->second;
37  if(processName != bd.processName()) {
38  continue;
39  }
40  std::string moduleLabel = bd.moduleLabel();
41  bool isTriggerResults = (moduleLabel == triggerResults);
42  if(isTriggerResults) {
43  moduleLabel = triggerPaths;
44  } else if(moduleLabel == source) {
45  moduleLabel = input;
46  }
47  if(processParameterSet->existsAs<ParameterSet>(moduleLabel)) {
48  ParameterSet const& moduleParameterSet = processParameterSet->getParameterSet(moduleLabel);
49  if(okToRegister && !moduleParameterSet.isRegistered()) {
50  ParameterSet moduleParameterSetCopy = processParameterSet->getParameterSet(moduleLabel);
51  moduleParameterSetCopy.registerIt();
52  bd.parameterSetIDs().insert(std::make_pair(pcid, moduleParameterSetCopy.id()));
53  } else {
54  bd.parameterSetIDs().insert(std::make_pair(pcid, moduleParameterSet.id()));
55  }
56  if(isTriggerResults) {
57  bd.moduleNames().insert(std::make_pair(pcid, triggerResultsInserter));
58  } else {
59  bd.moduleNames().insert(std::make_pair(pcid, moduleParameterSet.getParameter<std::string>("@module_type")));
60  }
61  }
62  }
63  }
static PFTauRenderPlugin instance
Hash< ProcessConfigurationType > ProcessConfigurationID
Hash< ParameterSetType > ParameterSetID
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 97 of file fillPtrVector.h.

References edm::detail::reallyfillPtrVector().

Referenced by edm::helpers::PtrSetter< T >::fill().

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

References edm::detail::reallyfillPtrVector().

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

References edm::detail::reallyfillPtrVector().

118  {
119  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
120  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:39
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 124 of file fillPtrVector.h.

References edm::detail::reallyfillPtrVector().

127  {
128  detail::reallyfillPtrVector(obj, iToType, iIndicies, oPtr);
129  }
void reallyfillPtrVector(COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:39
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 464 of file SortedCollection.h.

467  {
468  obj.fillPtrVector(toType, indices, ptrs);
469  }
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 491 of file OwnVector.h.

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

494  {
495  obj.fillPtrVector(toType, indices, ptrs);
496  }
template<class T , class A >
void edm::fillView ( std::vector< T, A > const &  obj,
ProductID const &  id,
std::vector< void const * > &  ptrs,
helper_vector &  helpers 
)

Definition at line 79 of file FillView.h.

References edm::detail::reallyFillView().

83  {
84  detail::reallyFillView(obj, id, ptrs, helpers);
85  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers)
Definition: FillView.h:49
template<class T , class A >
void edm::fillView ( std::list< T, A > const &  obj,
ProductID const &  id,
std::vector< void const * > &  ptrs,
helper_vector &  helpers 
)

Definition at line 89 of file FillView.h.

References edm::detail::reallyFillView().

93  {
94  detail::reallyFillView(obj, id, ptrs, helpers);
95  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers)
Definition: FillView.h:49
template<class T , class A >
void edm::fillView ( std::deque< T, A > const &  obj,
ProductID const &  id,
std::vector< void const * > &  ptrs,
helper_vector &  helpers 
)

Definition at line 99 of file FillView.h.

References edm::detail::reallyFillView().

103  {
104  detail::reallyFillView(obj, id, ptrs, helpers);
105  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers)
Definition: FillView.h:49
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,
helper_vector &  helpers 
)

Definition at line 109 of file FillView.h.

References edm::detail::reallyFillView().

113  {
114  detail::reallyFillView(obj, id, ptrs, helpers);
115  }
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers)
Definition: FillView.h:49
template<typename T >
void edm::fillView ( PtrVector< T > const &  obj,
std::vector< void const * > &  pointers 
)
inline

Definition at line 192 of file PtrVector.h.

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

193  {
194  obj.fillView(pointers);
195  }
template<typename C , typename T , typename F >
void edm::fillView ( RefVector< C, T, F > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
helper_vector &  helpers 
)
inline

Definition at line 205 of file RefVector.h.

208  {
209  obj.fillView(id, pointers, helpers);
210  }
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,
helper_vector &  helpers 
)
inline
template<typename T >
void edm::fillView ( RefToBaseVector< T > const &  obj,
std::vector< void const * > &  pointers 
)
inline

Definition at line 249 of file RefToBaseVector.h.

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

250  {
251  obj.fillView(pointers);
252  }
template<class T >
void edm::fillView ( DetSetVector< T > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
helper_vector &  helpers 
)
inline

Definition at line 415 of file DetSetVector.h.

419  {
420  obj.fillView(id, pointers, helpers);
421  }
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,
helper_vector &  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 P >
void edm::fillView ( OwnVector< T, P > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
helper_vector &  helpers 
)
inline

Definition at line 443 of file OwnVector.h.

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

446  {
447  obj.fillView(id, pointers, helpers);
448  }
template<typename T , typename SORT >
void edm::fillView ( SortedCollection< T, SORT > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
helper_vector &  helpers 
)
inline

Definition at line 443 of file SortedCollection.h.

446  {
447  obj.fillView(id, pointers, helpers);
448  }
void edm::fillWorkerSummary ( Worker const *  pw,
WorkerSummary &  sum 
)

Definition at line 1287 of file Schedule.cc.

References fillWorkerSummaryAux().

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

1287  {
1288  fillWorkerSummaryAux(*pw, sum);
1289  }
void fillWorkerSummaryAux(Worker const &w, WorkerSummary &sum)
Definition: Schedule.cc:1277
void edm::fillWorkerSummaryAux ( Worker const &  w,
WorkerSummary &  sum 
)

Definition at line 1277 of file Schedule.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().

1277  {
1278  sum.timesVisited = w.timesVisited();
1279  sum.timesRun = w.timesRun();
1280  sum.timesPassed = w.timesPassed();
1281  sum.timesFailed = w.timesFailed();
1282  sum.timesExcept = w.timesExcept();
1283  sum.moduleLabel = w.description().moduleLabel();
1284  }
T w() const
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 54 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

54  {
55  return std::find_if(s.begin(), s.end(), p);
56  }
template<typename ForwardSequence , typename Predicate >
ForwardSequence::iterator edm::find_if_in_all ( ForwardSequence &  s,
Predicate const &  p 
)
inline

Definition at line 61 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

61  {
62  return std::find_if(s.begin(), s.end(), p);
63  }
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 32 of file Algorithms.h.

References spr::find().

Referenced by edm::RootFile::fillIndexIntoFile(), edm::ParameterSet::fromString(), edm::EventPrincipal::unscheduledFill(), and edm::BranchIDListHelper::updateFromInput().

32  {
33  return std::find(s.begin(), s.end(), d);
34  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator edm::find_in_all ( ForwardSequence &  s,
Datum const &  d 
)
inline

Definition at line 39 of file Algorithms.h.

References spr::find().

39  {
40  return std::find(s.begin(), s.end(), d);
41  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
bool edm::find_nested_type_named ( std::string const &  nested_type,
Reflex::Type const &  type_to_search,
Reflex::Type &  found_type 
)
bool edm::find_nested_type_named ( std::string const &  nested_type,
Type const &  type_to_search,
Type &  found_type 
)

Definition at line 38 of file ReflexTools.cc.

References alignCSCRings::e, get_final_type(), and i.

40  {
41  // Look for a sub-type named 'nested_type'
42  for(Type_Iterator
43  i = type_to_search.SubType_Begin(),
44  e = type_to_search.SubType_End();
45  i != e;
46  ++i) {
47  if(i->Name() == nested_type) {
48  found_type = get_final_type(*i);
49  return true;
50  }
51  }
52  return false;
53  }
int i
Definition: DBlmapReader.cc:9
Type get_final_type(Type t)
Definition: ReflexTools.cc:32
template<typename Key , typename Value >
Value const& edm::findOrAssert ( std::map< Key, Value > const &  m,
Key const &  k 
)
inline

Definition at line 58 of file Map.h.

58  {
59  typename std::map<Key, Value>::const_iterator it = m.find(k);
60  if (it == m.end()) assert("findOrAssert" && 0);
61  return it->second;
62  }
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 67 of file Map.h.

67  {
68  typename std::map<Key, Value>::const_iterator it = m.find(k);
69  if (it == m.end()) assert("findOrAssert" && 0);
70  return it->second;
71  }
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 28 of file Map.h.

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

28  {
29  typename std::map<Key, Value>::const_iterator it = m.find(k);
30  return (it == m.end() ? defaultValue : it->second);
31  }
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 36 of file Map.h.

36  {
37  typename std::map<Key, Value>::const_iterator it = m.find(k);
38  return (it == m.end() ? defaultValue : it->second);
39  }
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 47 of file Map.h.

47  {
48  typename std::map<Key, Value>::const_iterator it = m.find(k);
49  return (it == m.end() ? Value() : it->second);
50  }
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 18 of file Map.h.

References gen::k.

18  {
19  return m[k];
20  }
int k[5][pyjets_maxn]
template<typename T , typename U >
T edm::first ( std::pair< T, U > const &  p)
void edm::FlushMessageLog ( )

Definition at line 94 of file MessageLogger.cc.

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

Referenced by lhef::logFileAction(), edm::InputFile::logFileAction(), edm::StreamerInputFile::logFileAction(), DQMRootSource::logFileAction(), and RFIOFile::retryRead().

94  {
95  if (MessageDrop::instance()->messageLoggerScribeIsRunning !=
96  MLSCRIBE_RUNNING_INDICATOR) return; // 6/20/08 mf
97  edm::MessageLoggerQ::MLqFLS ( ); // Flush the message log queue
98 }
static PFTauRenderPlugin instance
static const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:121
static void MLqFLS()
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 16 of file Algorithms.h.

References f.

Referenced by edm::Schedule::beginJob(), edm::ParameterSwitch< T >::checkAndGetLabelsAndTypes_(), edm::detail::CachedProducts::clear(), edm::Path::clearCounters(), edm::Schedule::clearCounters(), edm::Schedule::closeOutputFiles(), edm::Schedule::fillEndPath(), edm::Schedule::fillTrigPath(), edm::RootOutputTree::fillTTree(), loadCap(), main(), edm::Schedule::openNewOutputFilesIfNeeded(), edm::Schedule::openOutputFiles(), edm::Schedule::postForkReacquireResources(), edm::Schedule::preForkReleaseResources(), edm::EDLooperBase::prepareForNextLoop(), edm::ConfigurationDescriptions::print(), edm::ParameterSetDescription::print(), edm::ParameterSwitch< T >::printNestedContent_(), edm::eventsetup::EventSetupProvider::proxyProviderDescriptions(), edm::Schedule::reduceParameterSet(), edm::Schedule::resetAll(), edm::eventsetup::EventSetupRecordProvider::resetProxies(), edm::eventsetup::EventSetupProvider::resetRecordPlusDependentRecords(), edm::eventsetup::EventSetupRecordProvider::resetTransients(), edm::Schedule::respondToCloseInputFile(), edm::Schedule::respondToCloseOutputFiles(), edm::Schedule::respondToOpenInputFile(), edm::Schedule::respondToOpenOutputFiles(), edm::Schedule::runEndPaths(), edm::Schedule::runTriggerPaths(), edm::eventsetup::EventSetupRecordProvider::setDependentProviders(), 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::Schedule::writeLumi(), edm::Schedule::writeRun(), edm::writeParameterValue::writeVector(), edm::Event::~Event(), edm::Factory::~Factory(), edm::LuminosityBlock::~LuminosityBlock(), and edm::Run::~Run().

16  {
17  return std::for_each(s.begin(), s.end(), f);
18  }
double f[11][100]
template<typename S , typename T >
S& edm::formatFile ( T const &  f,
S &  os 
)

Definition at line 39 of file JobReport.cc.

Referenced by print().

39  {
40 
41  if(f.fileHasBeenClosed) {
42  os << "\n<State Value=\"closed\"/>";
43  } else {
44  os << "\n<State Value=\"open\"/>";
45  }
46 
47  os << "\n<LFN>" << TiXmlText(f.logicalFileName) << "</LFN>";
48  os << "\n<PFN>" << TiXmlText(f.physicalFileName) << "</PFN>";
49  os << "\n<Catalog>" << TiXmlText(f.catalog) << "</Catalog>";
50  os << "\n<ModuleLabel>" << TiXmlText(f.moduleLabel) << "</ModuleLabel>";
51  os << "\n<GUID>" << f.guid << "</GUID>";
52  os << "\n<Branches>";
53  for(std::vector<std::string>::const_iterator iBranch = f.branchNames.begin(),
54  iBranchEnd = f.branchNames.end();
55  iBranch != iBranchEnd;
56  ++iBranch) {
57  os << "\n <Branch>" << TiXmlText(*iBranch) << "</Branch>";
58  }
59  os << "\n</Branches>";
60  return os;
61  }
double f[11][100]
static char* edm::formatTime ( const time_t  t)
static

Definition at line 57 of file ELlog4cplus.cc.

References trackerHits::c.

Referenced by edm::ELlog4cplus::ELlog4cplus(), edm::ELlog4cplus::log(), and Vx3DHLTAnalyzer::writeToFile().

57  {
58 
59 static char ts[] = "dd-Mon-yyyy hh:mm:ss XYZ";
60 
61 
62 #ifdef ANALTERNATIVE
63  char * c = ctime( &t ); // 6/14/99 mf Can't be static!
64  strncpy( ts+ 0, c+ 8, 2 ); // dd
65  strncpy( ts+ 3, c+ 4, 3 ); // Mon
66  strncpy( ts+ 7, c+20, 4 ); // yyyy
67  strncpy( ts+12, c+11, 8 ); // hh:mm:ss
68  strncpy( ts+21, tzname[localtime(&t)->tm_isdst], 3 ); // CST
69 #endif
70 
71  strftime( ts, strlen(ts)+1, "%d-%b-%Y %H:%M:%S %Z", localtime(&t) );
72  // mf 4-9-04
73 
74 
75  return ts;
76 
77 } // formatTime()
StringSet & edm::foundTypes ( )

Definition at line 193 of file ReflexTools.cc.

References foundTypes_.

Referenced by edm::ProductRegistry::initializeLookupTables().

193  {
194  // The only purpose of this cache is to stop infinite recursion.
195  // Reflex maintains its own internal cache.
196  return foundTypes_;
197  }
static StringSet foundTypes_
Definition: ReflexTools.cc:29
bool edm::FreshErrorsExist ( )

Definition at line 24 of file LoggedErrorsSummary.cc.

References edm::MessageSender::freshError.

Referenced by edm::LogErrorHarvester::produce().

24  {
25  return MessageSender::freshError;
26 }
Type edm::get_final_type ( Type  t)

Definition at line 32 of file ReflexTools.cc.

References lumiQTWidget::t.

Referenced by find_nested_type_named().

32  {
33  while(t.IsTypedef()) t = t.ToType();
34  return t;
35  }
std::vector<BranchDescription const*> edm::getAllBranchDescriptions ( )

Definition at line 32 of file OutputModule.cc.

References edm::ConstProductRegistry::allBranchDescriptions().

Referenced by edm::OutputModule::selectProducts().

32  {
34  return reg->allBranchDescriptions();
35  }
std::vector< std::string > const & edm::getAllTriggerNames ( )
void edm::getCodeTable ( Exception::CodeMap *&  setme)

Definition at line 48 of file EDMException.cc.

References edm::errors::FilledMap::trans_.

Referenced by edm::Exception::codeToString().

48  {
49  static errors::FilledMap fm;
50  setme = &fm.trans_;
51  }
std::string edm::getEnvironmentVariable ( std::string const &  name,
std::string const &  defaultValue = std::string() 
)
inline

Definition at line 9 of file GetEnvironmentVariable.h.

References AlCaHLTBitMon_ParallelJobs::p.

9  {
10  char *p = ::getenv(name.c_str());
11  return (p ? std::string(p) : defaultValue);
12  }
EventBuffer * edm::getEventBuffer ( int  event_size_max,
int  queue_depth_max 
)

Definition at line 28 of file BufferArea.cc.

References b.

29  {
30  std::auto_ptr<EventBuffer> b(new EventBuffer(es,qd));
31  holder.v_.push_front(b.get());
32  return b.release();
33  }
double b
Definition: hdecay.h:120
int edm::getFileFormatVersion ( )

Definition at line 4 of file GetFileFormatVersion.cc.

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

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

Definition at line 217 of file MallocOpts.cc.

References global_malloc_options.

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

218  {
219  return global_malloc_options;
220  }
MallocOptionSetter global_malloc_options
Definition: MallocOpts.cc:215
std::string edm::getName ( Reflex::Type &  cc)

Definition at line 18 of file ClassFiller.cc.

Referenced by MuonAlignment::analyze(), CaloTowersDQMClient::CaloTowersEndjob(), CaloTowersClient::CaloTowersEndjob(), ESDaqInfoTask::cleanup(), ESTrendTask::cleanup(), EETestPulseTask::cleanup(), EBCosmicTask::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EBLaserTask::cleanup(), EBOccupancyTask::cleanup(), EEClusterTask::cleanup(), EBPedestalOnlineTask::cleanup(), EECosmicTask::cleanup(), EBPedestalTask::cleanup(), EELaserTask::cleanup(), EELedTask::cleanup(), EEPedestalOnlineTask::cleanup(), EEPedestalTask::cleanup(), EcalBarrelMonitorModule::cleanup(), EcalEndcapMonitorModule::cleanup(), EBTestPulseTask::cleanup(), EEClusterTaskExtras::cleanup(), EBClusterTaskExtras::cleanup(), EBDataCertificationTask::cleanup(), EEDaqInfoTask::cleanup(), EEDataCertificationTask::cleanup(), EEDcsInfoTask::cleanup(), EBTimingTask::cleanup(), EESummaryClient::cleanup(), EBStatusFlagsTask::cleanup(), EEStatusFlagsTask::cleanup(), EBIntegrityTask::cleanup(), EETrendClient::cleanup(), EBTrendClient::cleanup(), EEIntegrityTask::cleanup(), EETimingTask::cleanup(), EEOccupancyTask::cleanup(), EELaserClient::cleanup(), EBLaserClient::cleanup(), EELedClient::cleanup(), EBTimingClient::cleanup(), EEIntegrityClient::cleanup(), EBPedestalOnlineClient::cleanup(), EEPedestalClient::cleanup(), EEPedestalOnlineClient::cleanup(), EBTestPulseClient::cleanup(), EETestPulseClient::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EETriggerTowerClient::cleanup(), EBTriggerTowerClient::cleanup(), EETimingClient::cleanup(), EESelectiveReadoutTask::cleanup(), FWGUIManager::createHelpGLPopup(), FWGUIManager::createShortcutPopup(), doBuildRealData(), MonitorElementsDb::endJob(), FourVectorHLTClient::endRun(), HcalRecHitsDQMClient::HcalRecHitsEndjob(), HcalRecHitsClient::HcalRecHitsEndjob(), HcalNoiseRatesClient::NoiseRatesEndjob(), NoiseRatesClient::NoiseRatesEndjob(), GenericMVAComputer::TaggingVariableIterator< Iter_t >::Value::operator PhysicsTools::Variable::Value(), BTagHLTOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), EESummaryClient::setup(), EBTimingClient::setup(), EBLaserClient::setup(), EELaserClient::setup(), EELedClient::setup(), EBPedestalOnlineClient::setup(), EBTestPulseClient::setup(), EEPedestalOnlineClient::setup(), EBIntegrityClient::setup(), EEIntegrityClient::setup(), EETestPulseClient::setup(), EEPedestalClient::setup(), EBPedestalClient::setup(), EBTriggerTowerClient::setup(), EETriggerTowerClient::setup(), and EETimingClient::setup().

18  {
19  return cc.Name(Reflex::SCOPED);
20  }
ParameterSet const & edm::getParameterSet ( ParameterSetID const &  id)
std::string edm::getPassID ( )
inline

Definition at line 8 of file GetPassID.h.

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

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

Definition at line 34 of file Registry.cc.

References edm::errors::EventCorruption, edm::hlt::Exception, edm::detail::ThreadSafeRegistry< KEY, T, E >::getMapped(), edm::pset::getProcessParameterSetID(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), and query::result.

Referenced by DQMDcsInfoClient::beginRun(), DQMDcsInfo::beginRun(), HLTPrescaleRecorder::beginRun(), DQMEventInfo::beginRun(), CentralityProvider::CentralityProvider(), edm::service::PrescaleService::configure(), ProbeTreeProducer::endJob(), HLTAnalyzer::endJob(), TagProbeFitTreeProducer::endJob(), and getCentralityBinsFromDB().

34  {
37 
38  ParameterSet const* result;
39  if (0==(result=reg->getMapped(id))) {
40  throw edm::Exception(errors::EventCorruption, "Unknown ParameterSetID")
41  << "Unable to find the ParameterSet for id: "
42  << id
43  << ";\nthis was supposed to be the process ParameterSet\n";
44  }
45  return *result;
46  }
static PFTauRenderPlugin instance
detail::ThreadSafeRegistry< ParameterSetID, ParameterSet, ProcessParameterSetIDCache > Registry
Definition: Registry.h:37
tuple result
Definition: query.py:137
Hash< ParameterSetType > ParameterSetID
ParameterSetID getProcessParameterSetID(Registry const *reg)
Associated free functions.
Definition: Registry.cc:11
template<typename T >
T const * edm::getProduct ( RefCore const &  ref)
inline

Definition at line 33 of file RefCoreGet.h.

References compareJSON::const, edm::RefCore::isTransient(), edm::RefCore::nullPointerForTransientException(), AlCaHLTBitMon_ParallelJobs::p, and edm::RefCore::productPtr().

Referenced by edm::EventPrincipal::resolveProduct_(), edm::RunPrincipal::resolveProductImmediate(), and edm::LuminosityBlockPrincipal::resolveProductImmediate().

33  {
34  T const* p = static_cast<T const*>(ref.productPtr());
35  if (p != 0) return p;
36  if (ref.isTransient()) {
37  ref.nullPointerForTransientException(typeid(T));
38  }
39  return refcore::getProductPtr_<T>(ref);
40  }
string const
Definition: compareJSON.py:14
long double T
template<typename PROD >
boost::shared_ptr<Wrapper<PROD> const> edm::getProductByTag ( Principal const &  ep,
InputTag const &  tag 
)
inline

Definition at line 249 of file Principal.h.

References edm::WrapperInterfaceBase::dynamicTypeInfo(), edm::Principal::findGroupByTag(), edm::ProductData::getInterface(), edm::Principal::maybeFlushCache(), PROD, query::result, edm::handleimpl::throwConvertTypeError(), and edm::ProductData::wrapper_.

249  {
250  TypeID tid = TypeID(typeid(PROD));
251  ep.maybeFlushCache(tid, tag);
252  ProductData const* result = ep.findGroupByTag(tid, tag);
253 
254  if(result->getInterface() &&
255  (!(result->getInterface()->dynamicTypeInfo() == typeid(PROD)))) {
256  handleimpl::throwConvertTypeError(typeid(PROD), result->getInterface()->dynamicTypeInfo());
257  }
258  return boost::static_pointer_cast<Wrapper<PROD> const>(result->wrapper_);
259  }
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
tuple result
Definition: query.py:137
#define PROD(A, B)
template<typename C , typename T , typename F , typename KEY >
T const* edm::getPtr ( RefCore const &  product,
KEY const &  iKey 
)
inline

Definition at line 41 of file RefItemGet.h.

References edm::refitem::GetPtrImpl< C, T, F, KEY >::getPtr_(), and AlCaHLTBitMon_ParallelJobs::p.

41  {
42  T const* p=refitem::GetPtrImpl<C, T, F, KEY>::getPtr_(product, iKey);
43  return p;
44  }
T const * getPtr_(RefCore const &product, KEY const &key)
Definition: RefItemGet.h:35
long double T
template<typename C , typename T , typename F , typename KEY >
T const* edm::getPtr_ ( RefCore const &  product,
KEY const &  key 
)
inline

Definition at line 35 of file RefItemGet.h.

References edm::refitem::GetPtrImpl< C, T, F, KEY >::getPtr_().

35  {
37  }
T const * getPtr_(RefCore const &product, KEY const &key)
Definition: RefItemGet.h:35
list key
Definition: combine.py:13
template<typename C >
helper::MatcherGetRef<C>::ref_type edm::getRef ( const Handle< C > &  c,
size_t  k 
)
edm::ProductRegistry edm::getRegFromFile ( std::string const &  filename)

Definition at line 206 of file Utilities.cc.

References edm::hlt::Exception, lut2db_cfg::filename, recoMuon::in, edm::StreamerInputSource::mergeIntoRegistry(), AlCaHLTBitMon_ParallelJobs::p, and readHeaderFromStream().

207  {
209  ifstream ist(filename.c_str(), std::ios_base::binary | std::ios_base::in);
210 
211  if(!ist)
212  {
213  throw cms::Exception("ReadRegistry","getRegFromFile")
214  << "cannot open file " << filename;
215  }
216 
217  std::auto_ptr<SendJobHeader> p = readHeaderFromStream(ist);
218  StreamerInputSource::mergeIntoRegistry(*p, pr, false);
219  return pr;
220  }
std::auto_ptr< SendJobHeader > readHeaderFromStream(std::ifstream &ist)
author Stefano ARGIRO author Bill Tanenbaum
tuple filename
Definition: lut2db_cfg.py:20
std::string edm::getReleaseVersion ( )
int edm::getSigNum ( )

Definition at line 46 of file UnixSignalHandlers.cc.

References signum_lock, and signum_value.

47  {
48  boost::mutex::scoped_lock sl(signum_lock);
49  int rc = signum_value;
50  ++signum_value;
51  return rc;
52  }
boost::mutex signum_lock
volatile int signum_value
TClass * edm::getTClass ( const std::type_info &  ti)

Definition at line 87 of file ClassFiller.cc.

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

87  {
88  Reflex::Type const typ = getReflectClass(ti);
89  return getRootClass(typ.Name(Reflex::SCOPED));
90  }
std::string edm::getUuid ( TTree *  uuidTree)

Definition at line 98 of file CollUtil.cc.

References edm::FileID::fid(), NewTree::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  }
list fid
Definition: NewTree.py:51
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:217
std::string edm::glob2reg ( std::string const &  pattern)

Definition at line 22 of file RegexMatch.cc.

References listBenchmarks::pattern.

Referenced by triggerExpression::L1Reader::init(), triggerExpression::L1TechReader::init(), HLTConfigProvider::matched(), and regexMatch().

22  {
23  std::string regexp = pattern;
24  boost::replace_all(regexp, "*", ".*");
25  boost::replace_all(regexp, "?", ".");
26  return regexp;
27  }
void edm::GroupLogStatistics ( std::string const &  category)

Definition at line 115 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqGRP().

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

Definition at line 90 of file MessageLogger.cc.

References edm::MessageLoggerQ::MLqSHT().

90  {
91  edm::MessageLoggerQ::MLqSHT ( ); // Shut the logger up
92 }
static void MLqSHT()
HRTimeType edm::hrRealTime ( )
inline

Definition at line 74 of file HRRealTime.h.

74  {
75  return details::rdtsc();
76  }
void edm::installCustomHandler ( int  signum,
CFUNC  func 
)

Definition at line 116 of file UnixSignalHandlers.cc.

References disableAllSigs(), disableRTSigs(), installSig(), and reenableSigs().

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

117  {
118  sigset_t oldset;
119  edm::disableAllSigs(&oldset);
120 #if defined(__linux__)
122 #endif
123  edm::installSig(signum,func);
124  edm::reenableSigs(&oldset);
125  }
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 129 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO, and NULL.

Referenced by installCustomHandler().

130  {
131  // set up my RT signal now
132  struct sigaction act;
133  memset(&act,0,sizeof(act));
134  act.sa_sigaction = func;
135  act.sa_flags = SA_RESTART;
136 
137  // get my signal number
138  int mysig = signum;
139  if( mysig == SIGKILL ) {
140  perror("Cannot install handler for KILL signal");
141  return;
142  } else if( mysig == SIGSTOP ) {
143  perror("Cannot install handler for STOP signal");
144  return;
145  }
146 
147  if(sigaction(mysig,&act,NULL) != 0) {
148  perror("sigaction failed");
149  abort();
150  }
151 
152  sigset_t newset;
153  MUST_BE_ZERO(sigemptyset(&newset));
154  MUST_BE_ZERO(sigaddset(&newset,mysig));
155  MUST_BE_ZERO(pthread_sigmask(SIG_UNBLOCK,&newset,0));
156  }
#define NULL
Definition: scimark2.h:8
#define MUST_BE_ZERO(fun)
bool edm::is_glob ( std::string const &  pattern)

Definition at line 18 of file RegexMatch.cc.

Referenced by triggerExpression::HLTReader::init(), triggerExpression::L1Reader::init(), HLTHighLevel::init(), and edm::EventSelector::init().

18  {
19  return (pattern.find_first_of("*?") != pattern.npos);
20  }
bool edm::is_PtrVector ( Reflex::Type const &  possible_ref_vector,
Reflex::Type &  value_type 
)

Definition at line 69 of file ReflexTools.cc.

References find_nested_type_named().

Referenced by edm::ProductRegistry::initializeLookupTables().

70  {
71 
72  static TypeTemplate ref_vector_template_id(TypeTemplate::ByName("edm::PtrVector", 1));
73  static std::string member_type("member_type");
74  static std::string val_type("value_type");
75  TypeTemplate primary_template_id(possible_ref_vector.TemplateFamily());
76  if(primary_template_id == ref_vector_template_id) {
77  Reflex::Type ptrType;
78  if(find_nested_type_named(val_type, possible_ref_vector, ptrType)) {
79  return find_nested_type_named(val_type, ptrType, value_type);
80  }
81  }
82  return false;
83  }
Container::value_type value_type
bool find_nested_type_named(std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)
bool edm::is_RefToBaseVector ( Reflex::Type const &  possible_ref_vector,
Reflex::Type &  value_type 
)

Definition at line 86 of file ReflexTools.cc.

References find_nested_type_named().

Referenced by edm::ProductRegistry::initializeLookupTables().

87  {
88 
89  static TypeTemplate ref_vector_template_id(TypeTemplate::ByName("edm::RefToBaseVector", 1));
90  static std::string member_type("member_type");
91  TypeTemplate primary_template_id(possible_ref_vector.TemplateFamily());
92  if(primary_template_id == ref_vector_template_id) {
93  return find_nested_type_named(member_type, possible_ref_vector, value_type);
94  }
95  return false;
96  }
Container::value_type value_type
bool find_nested_type_named(std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)
bool edm::is_RefVector ( Reflex::Type const &  possible_ref_vector,
Reflex::Type &  value_type 
)

Definition at line 56 of file ReflexTools.cc.

References find_nested_type_named().

Referenced by edm::ProductRegistry::initializeLookupTables().

57  {
58 
59  static TypeTemplate ref_vector_template_id(TypeTemplate::ByName("edm::RefVector", 3));
60  static std::string member_type("member_type");
61  TypeTemplate primary_template_id(possible_ref_vector.TemplateFamily());
62  if(primary_template_id == ref_vector_template_id) {
63  return find_nested_type_named(member_type, possible_ref_vector, value_type);
64  }
65  return false;
66  }
Container::value_type value_type
bool find_nested_type_named(std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)
bool edm::isAncestor ( ProcessHistory const &  a,
ProcessHistory const &  b 
)

Definition at line 54 of file ProcessHistory.cc.

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

Referenced by isDescendant().

54  {
55  if (a.size() >= b.size()) return false;
56  typedef ProcessHistory::collection_type::const_iterator const_iterator;
57  for (const_iterator itA = a.data().begin(), itB = b.data().begin(),
58  itAEnd = a.data().end(); itA != itAEnd; ++itA, ++itB) {
59  if (*itA != *itB) return false;
60  }
61  return true;
62  }
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::debugEnabled.

Referenced by SiStripQualityHotStripIdentifier::algoAnalyze(), FedChannelConnection::apvPairNumber(), L1GtTriggerMenuLiteProducer::beginRun(), CommissioningHistosUsingDb::buildDetInfo(), SiStripFedCabling::buildFedCabling(), JetPlusTrackCorrector::calculateCorr(), OldThreeThresholdAlgorithm::clusterizeDetUnit_(), SiStripEventSummary::commissioningInfo(), SiStripFedCabling::connection(), SiStripFedCabling::connections(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::DigiToRaw::createFedBuffers_(), sistrip::DigiToRaw::DigiToRaw(), sistrip::DigiToRawModule::DigiToRawModule(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), sistrip::RawToClustersLazyUnpacker::fill(), LaserAlignmentEventFilter::filter(), BSCTrigger::getBSCNum(), sistrip::RawToDigiUnpacker::handleException(), HLTMuonL1RegionalFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonL2PreFilter::hltFilter(), HLTMuonL1Filter::hltFilter(), HLTMuonL1Filter::HLTMuonL1Filter(), HLTMuonL1RegionalFilter::HLTMuonL1RegionalFilter(), HLTMuonL2PreFilter::HLTMuonL2PreFilter(), FedChannelConnection::i2cAddr(), SiStripFedZeroSuppression::IsAValidDigi(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), JetPlusTrackCorrector::jtaUsingEventData(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GetHistLimits::l1HistLimits(), FedChannelConnection::lldChannel(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), jpt::Map::Map(), JetPlusTrackCorrector::matchTracks(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtParametersConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtPsbSetupConfigOnlineProd::newObject(), L1GtTriggerMenuConfigOnlineProd::newObject(), L1GtTriggerMenuXmlParser::parseCalo(), L1GtTriggerMenuXmlParser::parseCastor(), L1GtTriggerMenuXmlParser::parseCorrelation(), L1GtTriggerMenuXmlParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), L1GtTriggerMenuXmlParser::parseMuon(), jpt::Efficiency::print(), QuarkoniaTrackSelector::produce(), TriggerSummaryProducerAOD::produce(), BSCTrigger::produce(), L1GlobalTriggerRecordProducer::produce(), sistrip::RawToClusters::RawToClusters(), sistrip::RawToDigiModule::RawToDigiModule(), sistrip::RawToDigiUnpacker::RawToDigiUnpacker(), SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents(), sistrip::SpyDigiConverterModule::SpyDigiConverterModule(), sistrip::SpyUnpacker::SpyUnpacker(), sistrip::SpyUnpackerModule::SpyUnpackerModule(), SiStripFedZeroSuppression::suppress(), sistrip::RawToDigiUnpacker::triggerFed(), L1GtfeExtWord::unpack(), L1GtfeWord::unpack(), L1TcsWord::unpack(), L1GtFdlWord::unpack(), L1GlobalTriggerEvmRawToDigi::unpackHeader(), PedestalsHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), sistrip::RawToDigiModule::updateCabling(), sistrip::RawToDigiUnpacker::updateEventSummary(), L1GtTriggerMenuXmlParser::workAlgorithm(), L1GtTriggerMenuXmlParser::workTechTrigger(), L1GtPatternWriter::writePatterns(), sistrip::DigiToRaw::~DigiToRaw(), sistrip::DigiToRawModule::~DigiToRawModule(), sistrip::RawToClusters::~RawToClusters(), 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
74 }
static bool debugEnabled
Definition: MessageDrop.h:105
static bool debugAlwaysSuppressed
Definition: MessageDrop.h:111
bool edm::isDescendant ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 118 of file ProcessHistory.h.

References isAncestor().

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

Definition at line 86 of file MessageLogger.cc.

References edm::MessageDrop::errorEnabled.

86  {
87  return edm::MessageDrop::errorEnabled; // 7/6/11 fwyzard
88 }
static bool errorEnabled
Definition: MessageDrop.h:108
bool edm::isInfoEnabled ( )

Definition at line 76 of file MessageLogger.cc.

References edm::MessageDrop::infoAlwaysSuppressed, and edm::MessageDrop::infoEnabled.

Referenced by edm::InputSource::issueReports().

76  {
77  return ((!edm::MessageDrop::infoAlwaysSuppressed) // 9/27/10 mf
79 }
static bool infoEnabled
Definition: MessageDrop.h:106
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:112
bool edm::isMessageProcessingSetUp ( )

Definition at line 107 of file MessageLogger.cc.

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

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

Definition at line 69 of file math.h.

References edm::detail::isnan().

Referenced by PrimaryVertexAnalyzer::analyze().

69 { return detail::isnan(f); }
bool isnan(float x)
Definition: math.h:13
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(float x)
Definition: math.h:13
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 184 of file EventPrincipal.h.

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

184  {
185  return isSameEvent(a.aux(), b.aux());
186  }
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::isTransientEqual ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 847 of file ParameterSet.cc.

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

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

847  {
848  if(a.tbl().size() != b.tbl().size()) {
849  return false;
850  }
851  if(a.psetTable().size() != b.psetTable().size()) {
852  return false;
853  }
854  if(a.vpsetTable().size() != b.vpsetTable().size()) {
855  return false;
856  }
857  typedef ParameterSet::table::const_iterator Ti;
858  for (Ti i = a.tbl().begin(), e = a.tbl().end(),
859  j = b.tbl().begin(), f = b.tbl().end();
860  i != e && j != f; ++i, ++j) {
861  if(*i != *j) {
862  return false;
863  }
864  }
865  typedef ParameterSet::psettable::const_iterator Pi;
866  for (Pi i = a.psetTable().begin(), e = a.psetTable().end(),
867  j = b.psetTable().begin(), f = b.psetTable().end();
868  i != e && j != f; ++i, ++j) {
869  if(i->first != j->first) {
870  return false;
871  }
872  if(i->second.isTracked() != j->second.isTracked()) {
873  return false;
874  }
875  if(!isTransientEqual(i->second.pset(), j->second.pset())) {
876  return false;
877  }
878  }
879  typedef ParameterSet::vpsettable::const_iterator PVi;
880  for (PVi i = a.vpsetTable().begin(), e = a.vpsetTable().end(),
881  j = b.vpsetTable().begin(), f = b.vpsetTable().end();
882  i != e && j != f; ++i, ++j) {
883  if(i->first != j->first) {
884  return false;
885  }
886  if(i->second.isTracked() != j->second.isTracked()) {
887  return false;
888  }
889  std::vector<ParameterSet> const& iv = i->second.vpset();
890  std::vector<ParameterSet> const& jv = j->second.vpset();
891  if(iv.size() != jv.size()) {
892  return false;
893  }
894  for (size_t k = 0; k < iv.size(); ++k) {
895  if(!isTransientEqual(iv[k], jv[k])) {
896  return false;
897  }
898  }
899  }
900  return true;
901  }
const double Pi
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
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 298 of file Trie.h.

References alignCSCRings::e, diffTwoXMLs::label, AlCaHLTBitMon_ParallelJobs::p, and v.

298  {
299  typedef TrieNode<T> const node_base;
300  typedef TrieNodeIter<T> node_iterator;
301  node_iterator e;
302  node_iterator p(&n);
303  if (p==e) return true;
304  for (; p!=e; ++p) {
305  if (iterateTrieLeaves(v,*p,label+(char)p.label()) )
306  v((*p).value(),label+(char)p.label());
307  }
308  return false;
309  }
edm::TrieNodeIter< PDet > node_iterator
bool iterateTrieLeaves(V &v, TrieNode< T > const &n, std::string const &label="")
visits only leaf nodes
Definition: Trie.h:298
mathSSE::Vec4< T > v
static std::string const edm::kBaseType ( "Source"  )
static
static const std::string edm::kBaseType ( "EDAnalyzer"  )
static
static const std::string edm::kBaseType ( "EDFilter"  )
static
static const std::string edm::kBaseType ( "EDProducer"  )
static
static const std::string edm::kBaseType ( "OutputModule"  )
static
static const TimeValue_t edm::kLowMask ( 0xFFFFFFFF  )
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: SSEVec.h:55
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(), and edm::EventSkipperByID::skipIt().

67  {
68  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
69  return lh.endEventID() < rh.startEventID();
70  }
bool int lh
Definition: SSEVec.h:55
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: SSEVec.h:55
void edm::loadCap ( const std::string &  name)

Definition at line 22 of file ClassFiller.cc.

References checkDictionaries(), relativeConstraints::empty, FDEBUG, alignmentValidation::fname, for_all(), edmplugin::PluginCapabilities::get(), edmplugin::PluginCapabilities::load(), combine::missing, and missingTypes().

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

22  {
23  static std::string const fname("LCGReflex/");
24  FDEBUG(1) << "Loading dictionary for " << name << "\n";
27  if (!missingTypes().empty()) {
29  missingTypes().clear();
30  for_all(missing, loadCap);
31  }
32  }
dictionary missing
Definition: combine.py:4
#define FDEBUG(lev)
Definition: DebugMacros.h:18
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
Definition: Algorithms.h:16
StringSet & missingTypes()
Definition: ReflexTools.cc:189
std::set< std::string > StringSet
Definition: ReflexTools.h:22
void checkDictionaries(std::string const &name, bool noComponents=false)
Definition: ReflexTools.cc:199
static PluginCapabilities * get()
string fname
main script
void load(const std::string &iName)
void loadCap(const std::string &name)
Definition: ClassFiller.cc:22
void edm::loadExtraClasses ( )

Definition at line 47 of file ClassFiller.cc.

References run_regression::done, and loadCap().

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

47  {
48  static bool done = false;
49  if (done == false) {
50  loadCap(std::string("edm::StreamedProduct"));
51  loadCap(std::string("std::vector<edm::StreamedProduct>"));
52  loadCap(std::string("edm::SendEvent"));
53  loadCap(std::string("std::vector<edm::BranchDescription>"));
54  loadCap(std::string("edm::SendJobHeader"));
55  }
56  G__SetCatchException(0);
57  ROOT::Cintex::Cintex::Enable();
58  done=true;
59  }
void loadCap(const std::string &name)
Definition: ClassFiller.cc:22
static ELmap const& edm::loadMap ( )
static

Definition at line 62 of file ELseverityLevel.cc.

References ELabort, ELerror, ELerror2, ELfatal, ELhighestSeverity, ELincidental, ELinfo, ELnextEvent, edm::ELseverityLevel::ELsev_abort, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_error2, edm::ELseverityLevel::ELsev_fatal, edm::ELseverityLevel::ELsev_highestSeverity, edm::ELseverityLevel::ELsev_incidental, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_next, edm::ELseverityLevel::ELsev_severe, edm::ELseverityLevel::ELsev_severe2, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_unspecified, edm::ELseverityLevel::ELsev_warning, edm::ELseverityLevel::ELsev_warning2, edm::ELseverityLevel::ELsev_zeroSeverity, ELsevere, ELsevere2, ELsuccess, ELunspecified, ELwarning, ELwarning2, ELzeroSeverity, and m.

Referenced by edm::ELseverityLevel::ELseverityLevel().

62  {
63 
64  static ELmap m;
65 
66 
67  m[ ELzeroSeverity.getSymbol() ] = ELseverityLevel::ELsev_zeroSeverity
68  , m[ ELzeroSeverity.getName() ] = ELseverityLevel::ELsev_zeroSeverity
69  , m[ ELzeroSeverity.getInputStr() ] = ELseverityLevel::ELsev_zeroSeverity
70  , m[ ELzeroSeverity.getVarName() ] = ELseverityLevel::ELsev_zeroSeverity
71  ;
72 
73  m[ ELincidental.getSymbol() ] = ELseverityLevel::ELsev_incidental
74  , m[ ELincidental.getName() ] = ELseverityLevel::ELsev_incidental
75  , m[ ELincidental.getInputStr() ] = ELseverityLevel::ELsev_incidental
76  , m[ ELincidental.getVarName() ] = ELseverityLevel::ELsev_incidental
77  ;
78 
79  m[ ELsuccess.getSymbol() ] = ELseverityLevel::ELsev_success
80  , m[ ELsuccess.getName() ] = ELseverityLevel::ELsev_success
81  , m[ ELsuccess.getInputStr() ] = ELseverityLevel::ELsev_success
82  , m[ ELsuccess.getVarName() ] = ELseverityLevel::ELsev_success
83  ;
84 
85  m[ ELinfo.getSymbol() ] = ELseverityLevel::ELsev_info
86  , m[ ELinfo.getName() ] = ELseverityLevel::ELsev_info
87  , m[ ELinfo.getInputStr() ] = ELseverityLevel::ELsev_info
88  , m[ ELinfo.getVarName() ] = ELseverityLevel::ELsev_info
89  ;
90 
91  m[ ELwarning.getSymbol() ] = ELseverityLevel::ELsev_warning
92  , m[ ELwarning.getName() ] = ELseverityLevel::ELsev_warning
93  , m[ ELwarning.getInputStr() ] = ELseverityLevel::ELsev_warning
94  , m[ ELwarning.getVarName() ] = ELseverityLevel::ELsev_warning
95  ;
96 
97  m[ ELwarning2.getSymbol() ] = ELseverityLevel::ELsev_warning2
98  , m[ ELwarning2.getName() ] = ELseverityLevel::ELsev_warning2
99  , m[ ELwarning2.getInputStr() ] = ELseverityLevel::ELsev_warning2
100  , m[ ELwarning2.getVarName() ] = ELseverityLevel::ELsev_warning2
101  ;
102 
103  m[ ELerror.getSymbol() ] = ELseverityLevel::ELsev_error
104  , m[ ELerror.getName() ] = ELseverityLevel::ELsev_error
105  , m[ ELerror.getInputStr() ] = ELseverityLevel::ELsev_error
106  , m[ ELerror.getVarName() ] = ELseverityLevel::ELsev_error
107  ;
108 
109  m[ ELerror2.getSymbol() ] = ELseverityLevel::ELsev_error2
110  , m[ ELerror2.getName() ] = ELseverityLevel::ELsev_error2
111  , m[ ELerror2.getInputStr() ] = ELseverityLevel::ELsev_error2
112  , m[ ELerror2.getVarName() ] = ELseverityLevel::ELsev_error2
113  ;
114 
115  m[ ELnextEvent.getSymbol() ] = ELseverityLevel::ELsev_next
116  , m[ ELnextEvent.getName() ] = ELseverityLevel::ELsev_next
117  , m[ ELnextEvent.getInputStr() ] = ELseverityLevel::ELsev_next
118  , m[ ELnextEvent.getVarName() ] = ELseverityLevel::ELsev_next
119  ;
120 
121  m[ ELunspecified.getSymbol() ] = ELseverityLevel::ELsev_unspecified
122  , m[ ELunspecified.getName() ] = ELseverityLevel::ELsev_unspecified
123  , m[ ELunspecified.getInputStr() ] = ELseverityLevel::ELsev_unspecified
124  , m[ ELunspecified.getVarName() ] = ELseverityLevel::ELsev_unspecified
125  ;
126 
127  m[ ELsevere.getSymbol() ] = ELseverityLevel::ELsev_severe
128  , m[ ELsevere.getName() ] = ELseverityLevel::ELsev_severe
129  , m[ ELsevere.getInputStr() ] = ELseverityLevel::ELsev_severe
130  , m[ ELsevere.getVarName() ] = ELseverityLevel::ELsev_severe
131  ;
132 
133  m[ ELsevere2.getSymbol() ] = ELseverityLevel::ELsev_severe2
134  , m[ ELsevere2.getName() ] = ELseverityLevel::ELsev_severe2
135  , m[ ELsevere2.getInputStr() ] = ELseverityLevel::ELsev_severe2
136  , m[ ELsevere2.getVarName() ] = ELseverityLevel::ELsev_severe2
137  ;
138 
139  m[ ELabort.getSymbol() ] = ELseverityLevel::ELsev_abort
140  , m[ ELabort.getName() ] = ELseverityLevel::ELsev_abort
141  , m[ ELabort.getInputStr() ] = ELseverityLevel::ELsev_abort
142  , m[ ELabort.getVarName() ] = ELseverityLevel::ELsev_abort
143  ;
144 
145  m[ ELfatal.getSymbol() ] = ELseverityLevel::ELsev_fatal
146  , m[ ELfatal.getName() ] = ELseverityLevel::ELsev_fatal
147  , m[ ELfatal.getInputStr() ] = ELseverityLevel::ELsev_fatal
148  , m[ ELfatal.getVarName() ] = ELseverityLevel::ELsev_fatal
149  ;
150 
151  m[ ELhighestSeverity.getSymbol() ] = ELseverityLevel::ELsev_highestSeverity
152  , m[ ELhighestSeverity.getName() ] = ELseverityLevel::ELsev_highestSeverity
153  , m[ ELhighestSeverity.getInputStr() ] = ELseverityLevel::ELsev_highestSeverity
154  , m[ ELhighestSeverity.getVarName() ] = ELseverityLevel::ELsev_highestSeverity
155  ;
156 
157  return m;
158 
159 }
ELslProxy< ELnextEventGen > const ELnextEvent
ELslProxy< ELsuccessGen > const ELsuccess
ELslProxy< ELfatalGen > const ELfatal
ELslProxy< ELunspecifiedGen > const ELunspecified
ELslProxy< ELwarningGen > const ELwarning
ELslProxy< ELhighestSeverityGen > const ELhighestSeverity
ELslProxy< ELsevere2Gen > const ELsevere2
ELslProxy< ELzeroSeverityGen > const ELzeroSeverity
ELslProxy< ELincidentalGen > const ELincidental
ELslProxy< ELabortGen > const ELabort
ELslProxy< ELerrorGen > const ELerror
std::map< ELstring const, ELseverityLevel::ELsev_ > ELmap
ELslProxy< ELinfoGen > const ELinfo
ELslProxy< ELerror2Gen > const ELerror2
ELslProxy< ELsevereGen > const ELsevere
ELslProxy< ELwarning2Gen > const ELwarning2
void edm::loadMissingDictionaries ( )

Definition at line 231 of file ReflexTools.cc.

References checkDictionaries(), relativeConstraints::empty, combine::missing, missingTypes(), and throwMissingDictionariesException().

Referenced by edm::Schedule::beginJob(), and edm::Schedule::Schedule().

231  {
232  while (!missingTypes().empty()) {
234  for (StringSet::const_iterator it = missing.begin(), itEnd = missing.end();
235  it != itEnd; ++it) {
236  try {
237  gROOT->GetClass(it->c_str(), kTRUE);
238  }
239  // We don't want to fail if we can't load a plug-in.
240  catch(...) {}
241  }
242  missingTypes().clear();
243  for (StringSet::const_iterator it = missing.begin(), itEnd = missing.end();
244  it != itEnd; ++it) {
245  checkDictionaries(*it);
246  }
247  if (missingTypes() == missing) {
248  break;
249  }
250  }
251  if (missingTypes().empty()) {
252  return;
253  }
255  }
dictionary missing
Definition: combine.py:4
StringSet & missingTypes()
Definition: ReflexTools.cc:189
std::set< std::string > StringSet
Definition: ReflexTools.h:22
void checkDictionaries(std::string const &name, bool noComponents=false)
Definition: ReflexTools.cc:199
void throwMissingDictionariesException()
Definition: ReflexTools.cc:209
std::vector< ErrorSummaryEntry > edm::LoggedErrorsOnlySummary ( )

Definition at line 43 of file LoggedErrorsSummary.cc.

References begin, edm::ErrorSummaryEntry::count, alignCSCRings::e, ELerror, end, edm::MessageSender::errorSummaryMap, edm::MessageSender::freshError, i, edm::ErrorSummaryEntry::severity, and v.

43  { // ChangeLog 2
44  std::vector<ErrorSummaryEntry> v;
45  ErrorSummaryEntry e;
46  ErrorSummaryMapIterator end = MessageSender::errorSummaryMap.end();
47  for (ErrorSummaryMapIterator i = MessageSender::errorSummaryMap.begin();
48  i != end; ++i) {
49  e = i->first;
50  if (e.severity >= edm::ELerror) {
51  e.count = (i->second);
52  v.push_back(e);
53  }
54  }
55  MessageSender::freshError = false;
56  MessageSender::errorSummaryMap.clear();
57  return v;
58 }
int i
Definition: DBlmapReader.cc:9
std::map< ErrorSummaryMapKey, unsigned int >::iterator ErrorSummaryMapIterator
Definition: MessageSender.h:30
ELslProxy< ELerrorGen > const ELerror
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31
mathSSE::Vec4< T > v
std::vector< ErrorSummaryEntry > edm::LoggedErrorsSummary ( )

Definition at line 28 of file LoggedErrorsSummary.cc.

References begin, edm::ErrorSummaryEntry::count, alignCSCRings::e, end, edm::MessageSender::errorSummaryMap, edm::MessageSender::freshError, i, and v.

Referenced by edm::LogErrorHarvester::produce().

28  {
29  std::vector<ErrorSummaryEntry> v;
30  ErrorSummaryEntry e;
31  ErrorSummaryMapIterator end = MessageSender::errorSummaryMap.end();
32  for (ErrorSummaryMapIterator i = MessageSender::errorSummaryMap.begin();
33  i != end; ++i) {
34  e = i->first; // sets category, module and severity ChangeLog 2
35  e.count = (i->second); // count is 0 in key; set it to correct value
36  v.push_back(e);
37  }
38  MessageSender::freshError = false;
39  MessageSender::errorSummaryMap.clear();
40  return v;
41 }
int i
Definition: DBlmapReader.cc:9
std::map< ErrorSummaryMapKey, unsigned int >::iterator ErrorSummaryMapIterator
Definition: MessageSender.h:30
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31
mathSSE::Vec4< T > v
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 i.

87  {
88  if (tr != 0) {
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  }
int i
Definition: DBlmapReader.cc:9
tuple cout
Definition: gather_cfg.py:121
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 91 of file Algorithms.h.

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

91  {
92  return std::lower_bound(s.begin(), s.end(), d);
93  }
template<typename ForwardSequence , typename Datum >
ForwardSequence::iterator edm::lower_bound_all ( ForwardSequence &  s,
Datum const &  d 
)
inline

Definition at line 98 of file Algorithms.h.

98  {
99  return std::lower_bound(s.begin(), s.end(), d);
100  }
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 105 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

105  {
106  return std::lower_bound(s.begin(), s.end(), d, p);
107  }
template<typename ForwardSequence , typename Datum , typename Predicate >
ForwardSequence::iterator edm::lower_bound_all ( ForwardSequence &  s,
Datum const &  d,
Predicate  p 
)
inline

Definition at line 112 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

112  {
113  return std::lower_bound(s.begin(), s.end(), d, p);
114  }
boost::shared_ptr<InputSource> edm::makeInput ( ParameterSet params,
CommonParams const &  common,
ProductRegistry &  preg,
PrincipalCache &  pCache,
boost::shared_ptr< ActivityRegistry areg,
boost::shared_ptr< ProcessConfiguration >  processConfiguration 
)

Definition at line 261 of file EventProcessor.cc.

References cms::Exception::addContext(), edm::convertException::badAllocToEDM(), trackerHits::c, edm::convertException::charPtrToEDM(), edm::errors::Configuration, SurfaceDeformationFactory::create(), alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, edm::InputSourceFactory::get(), reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), edm::ParameterSet::id(), LaserDQM_cfg::input, edm::InputSourceFactory::makeInputSource(), edm::CommonParams::maxEventsInput_, edm::CommonParams::maxLumisInput_, edm::ParameterSet::registerIt(), alignCSCRings::s, edm::convertException::stdToEDM(), edm::convertException::stringToEDM(), edm::convertException::unknownToEDM(), and edm::ConfigurationDescriptions::validate().

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

266  {
267  ParameterSet* main_input = params.getPSetForUpdate("@main_input");
268  if(main_input == 0) {
270  << "There must be exactly one source in the configuration.\n"
271  << "It is missing (or there are sufficient syntax errors such that it is not recognized as the source)\n";
272  }
273 
274  std::string modtype(main_input->getParameter<std::string>("@module_type"));
275 
276  std::auto_ptr<ParameterSetDescriptionFillerBase> filler(
278  ConfigurationDescriptions descriptions(filler->baseType());
279  filler->fill(descriptions);
280 
281  try {
282  try {
283  descriptions.validate(*main_input, std::string("source"));
284  }
285  catch (cms::Exception& e) { throw; }
286  catch (std::bad_alloc& bda) { convertException::badAllocToEDM(); }
287  catch (std::exception& e) { convertException::stdToEDM(e); }
288  catch (std::string& s) { convertException::stringToEDM(s); }
289  catch (char const* c) { convertException::charPtrToEDM(c); }
290  catch (...) { convertException::unknownToEDM(); }
291  }
292  catch (cms::Exception & iException) {
293  std::ostringstream ost;
294  ost << "Validating configuration of input source of type " << modtype;
295  iException.addContext(ost.str());
296  throw;
297  }
298 
299  main_input->registerIt();
300 
301  // Fill in "ModuleDescription", in case the input source produces
302  // any EDproducts, which would be registered in the ProductRegistry.
303  // Also fill in the process history item for this process.
304  // There is no module label for the unnamed input source, so
305  // just use "source".
306  // Only the tracked parameters belong in the process configuration.
307  ModuleDescription md(main_input->id(),
308  main_input->getParameter<std::string>("@module_type"),
309  "source",
310  processConfiguration.get());
311 
312  InputSourceDescription isdesc(md, preg, pCache, areg, common.maxEventsInput_, common.maxLumisInput_);
313  areg->preSourceConstructionSignal_(md);
314  boost::shared_ptr<InputSource> input;
315  try {
316  try {
317  input = boost::shared_ptr<InputSource>(InputSourceFactory::get()->makeInputSource(*main_input, isdesc).release());
318  }
319  catch (cms::Exception& e) { throw; }
320  catch (std::bad_alloc& bda) { convertException::badAllocToEDM(); }
321  catch (std::exception& e) { convertException::stdToEDM(e); }
322  catch (std::string& s) { convertException::stringToEDM(s); }
323  catch (char const* c) { convertException::charPtrToEDM(c); }
324  catch (...) { convertException::unknownToEDM(); }
325  }
326  catch (cms::Exception& iException) {
327  areg->postSourceConstructionSignal_(md);
328  std::ostringstream ost;
329  ost << "Constructing input source of type " << modtype;
330  iException.addContext(ost.str());
331  throw;
332  }
333  areg->postSourceConstructionSignal_(md);
334  return input;
335  }
void stdToEDM(std::exception const &e)
void charPtrToEDM(char const *c)
void stringToEDM(std::string &s)
void addContext(std::string const &context)
Definition: Exception.cc:227
SurfaceDeformation * create(int type, const std::vector< double > &params)
T get(const Candidate &c)
Definition: component.h:56
static boost::shared_ptr<cms::Exception> edm::makeNotFoundException ( char const *  where,
TypeID const &  productType 
)
static

Definition at line 62 of file Principal.cc.

References cppFunctionSkipper::exception, edm::hlt::Exception, and edm::errors::ProductNotFound.

Referenced by edm::Principal::getByLabel(), edm::Principal::getBySelector(), edm::Principal::getByType(), and throwNotFoundException().

62  {
63  boost::shared_ptr<cms::Exception> exception(new Exception(errors::ProductNotFound));
64  *exception << "Principal::" << where << ": Found zero products matching all criteria\nLooking for type: " << productType << "\n";
65  return exception;
66  }
static boost::shared_ptr<cms::Exception> edm::makeNotFoundException ( char const *  where,
TypeID const &  productType,
std::string const &  label,
std::string const &  instance,
std::string const &  process 
)
static

Definition at line 70 of file Principal.cc.

References cppFunctionSkipper::exception, edm::hlt::Exception, and edm::errors::ProductNotFound.

70  {
71  boost::shared_ptr<cms::Exception> exception(new Exception(errors::ProductNotFound));
72  *exception << "Principal::" << where << ": Found zero products matching all criteria\nLooking for type: " << productType << "\n"
73  << "Looking for module label: " << label << "\n" << "Looking for productInstanceName: " << instance << "\n"
74  << (process.empty() ? "" : "Looking for process: ") << process << "\n";
75  return exception;
76  }
static PFTauRenderPlugin instance
tuple process
Definition: LaserDQM_cfg.py:3
void edm::makeParameterSets ( std::string const &  configtext,
boost::shared_ptr< ParameterSet > &  main 
)

essentially the same as the previous method

Definition at line 54 of file MakeParameterSets.cc.

References PythonProcessDesc::parameterSet().

Referenced by edm::ServiceRegistry::createServicesFromConfig().

55  {
56  PythonProcessDesc pythonProcessDesc(configtext);
57  main = pythonProcessDesc.parameterSet();
58  }
int main(int argc, char **argv)
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 
)

Definition at line 465 of file DetSetVector.h.

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

Referenced by makeRefToDetSetVector().

467  {
468  typedef typename HandleT::element_type Vec;
470  typename Vec::const_iterator itFound = iHandle->find(iDetID);
471  if(itFound == iHandle->end()) {
472  Exception::throwThis(errors::InvalidReference,
473  "an edm::Ref to an edm::DetSetVector was given a DetId, ", iDetID, ", that is not in the DetSetVector");
474  }
475  index += (itIter- itFound->data.begin());
476  if(index >= itFound->data.size()) {
477  Exception::throwThis(errors::InvalidReference,
478  "an edm::Ref to a edm::DetSetVector is being made with an interator that is not part of the edm::DetSet itself");
479  }
480  return Ref<typename HandleT::element_type,
482  (iHandle,std::make_pair(iDetID,index));
483  }
uint16_t size_type
Container::value_type value_type
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetLazyVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::const_iterator  itIter 
)

Definition at line 284 of file DetSetLazyVector.h.

References getHLTprescales::index.

Referenced by makeRefToDetSetLazyVector().

286  {
287  typedef typename HandleT::element_type Vec;
289  typename Vec::const_iterator itFound = iHandle->find(iDetID);
290  index += (itIter- itFound->data.begin());
291  return Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> (iHandle,std::make_pair(iDetID,index));
292  }
uint16_t size_type
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetLazyVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::iterator  itIter 
)

Definition at line 296 of file DetSetLazyVector.h.

References makeRefToDetSetLazyVector().

298  {
299  typedef typename HandleT::element_type Vec;
300  typename Vec::detset::const_iterator itIter2 = itIter;
301  return makeRefToDetSetLazyVector(iHandle,iDetID,itIter2);
302  }
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetLazyVector(const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
template<class HandleT >
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetRefVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::const_iterator  itIter 
)

Definition at line 307 of file DetSetRefVector.h.

References getHLTprescales::index.

Referenced by makeRefToDetSetRefVector().

309  {
310  typedef typename HandleT::element_type Vec;
312  typename Vec::const_iterator itFound = iHandle->find(iDetID);
313  index += (itIter- itFound->data.begin());
314  return Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> (iHandle,std::make_pair(iDetID,index));
315  }
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 319 of file DetSetRefVector.h.

References makeRefToDetSetRefVector().

321  {
322  typedef typename HandleT::element_type Vec;
323  typename Vec::detset::const_iterator itIter2 = itIter;
324  return makeRefToDetSetRefVector(iHandle,iDetID,itIter2);
325  }
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefToDetSetRefVector(const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
template<class HandleT >
Ref<typename HandleT::element_type, typename HandleT::element_type::value_type::value_type> edm::makeRefToDetSetVector ( const HandleT &  iHandle,
det_id_type  iDetID,
typename HandleT::element_type::value_type::iterator  itIter 
)

Definition at line 487 of file DetSetVector.h.

References makeRefTo().

489  {
490  typedef typename HandleT::element_type Vec;
491  typename Vec::detset::const_iterator itIter2 = itIter;
492  return makeRefTo(iHandle,iDetID,itIter2);
493  }
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:465
template<typename T >
Ref< LazyGetter<T>, T, FindValue<T> > edm::makeRefToLazyGetter ( const Handle< LazyGetter< T > > &  handle,
const uint32_t  index 
)

Definition at line 532 of file LazyGetter.h.

References patZpeak::handle, and getHLTprescales::index.

Referenced by TkStripMeasurementDet::fastMeasurements(), TkStripMeasurementDet::recHits(), SiStripRecHitConverterAlgorithm::run(), and TkStripMeasurementDet::simpleRecHits().

532 {return Ref< LazyGetter<T>, T, FindValue<T> >(handle,index);}
tuple handle
Definition: patZpeak.py:22
long double T
std::string edm::match ( ConstBranchDescription const &  a,
ConstBranchDescription const &  b,
std::string const &  fileName,
BranchDescription::MatchMode  m 
)
inline

Definition at line 86 of file ConstBranchDescription.h.

References convertXMLtoSQLite_cfg::fileName, m, match(), and edm::ConstBranchDescription::me().

89  {
90  return match(a.me(), b.me(), fileName, m);
91  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:6
std::string edm::match ( BranchDescription const &  a,
BranchDescription const &  b,
std::string const &  fileName,
BranchDescription::MatchMode  m 
)

Definition at line 305 of file BranchDescription.cc.

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

Referenced by edm::RootOutputFile::beginInputFile(), edm::EventSelector::identical(), match(), ConversionTools::matchedConversion(), ConversionTools::matchedPromptElectron(), edm::ProductRegistry::merge(), reco::modules::MCMatchCandRefSelector::newEvent(), HLTTauRefCombiner::produce(), and CosmicMuonLinksProducer::sharedHits().

307  {
308  std::ostringstream differences;
309  if(a.branchName() != b.branchName()) {
310  differences << "Branch name '" << b.branchName() << "' does not match '" << a.branchName() << "'.\n";
311  // Need not compare components of branch name individually.
312  // (a.friendlyClassName() != b.friendlyClassName())
313  // (a.moduleLabel() != b.moduleLabel())
314  // (a.productInstanceName() != b.productInstanceName())
315  // (a.processName() != b.processName())
316  }
317  if(a.branchType() != b.branchType()) {
318  differences << "Branch '" << b.branchName() << "' is a(n) '" << b.branchType() << "' branch\n";
319  differences << " in file '" << fileName << "', but a(n) '" << a.branchType() << "' branch in previous files.\n";
320  }
321  if(a.branchID() != b.branchID()) {
322  differences << "Branch '" << b.branchName() << "' has a branch ID of '" << b.branchID() << "'\n";
323  differences << " in file '" << fileName << "', but '" << a.branchID() << "' in previous files.\n";
324  }
325  if(a.fullClassName() != b.fullClassName()) {
326  differences << "Products on branch '" << b.branchName() << "' have type '" << b.fullClassName() << "'\n";
327  differences << " in file '" << fileName << "', but '" << a.fullClassName() << "' in previous files.\n";
328  }
329  if(!b.dropped() && a.dropped()) {
330  differences << "Branch '" << a.branchName() << "' was dropped in the first input file but is present in '" << fileName << "'.\n";
331  }
332  if(m == BranchDescription::Strict) {
333  if(b.parameterSetIDs().size() > 1) {
334  differences << "Branch '" << b.branchName() << "' uses more than one parameter set in file '" << fileName << "'.\n";
335  } else if(a.parameterSetIDs().size() > 1) {
336  differences << "Branch '" << a.branchName() << "' uses more than one parameter set in previous files.\n";
337  } else if(a.parameterSetIDs() != b.parameterSetIDs()) {
338  differences << "Branch '" << b.branchName() << "' uses different parameter sets in file '" << fileName << "'.\n";
339  differences << " than in previous files.\n";
340  }
341  }
342  return differences.str();
343  }
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 136 of file LuminosityBlockID.h.

136  {
137  return (rh < lh ? lh : rh);
138  }
bool int lh
Definition: SSEVec.h:55
EventID const& edm::max ( EventID const &  lh,
EventID const &  rh 
)
inline
const unsigned int edm::maxIDlength ( 200  )

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

static void edm::maybeThrowMissingDictionaryException ( TypeID const &  productType,
bool  isElement,
std::vector< std::string > const &  missingDictionaries 
)
static

Definition at line 31 of file Principal.cc.

References binary_search_all(), checkDictionaries(), edm::TypeID::className(), throwMissingDictionariesException(), and wrappedClassName().

Referenced by edm::Principal::findGroup(), edm::Principal::findGroupByLabel(), and edm::Principal::findGroups().

31  {
32  if(binary_search_all(missingDictionaries, productType.className())) {
33  checkDictionaries(isElement ? productType.className() : wrappedClassName(productType.className()), false);
35  }
36  }
void checkDictionaries(std::string const &name, bool noComponents=false)
Definition: ReflexTools.cc:199
void throwMissingDictionariesException()
Definition: ReflexTools.cc:209
std::string wrappedClassName(std::string const &iFullName)
bool binary_search_all(ForwardSequence const &s, Datum const &d)
wrappers for std::binary_search
Definition: Algorithms.h:76
bool edm::merge ( LuminosityBlockRange lh,
LuminosityBlockRange rh 
)

Definition at line 78 of file LuminosityBlockRange.cc.

References begin, end, edm::LuminosityBlockRange::endLumiID(), max(), min(), overlaps(), 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 min(a, b)
Definition: mlp_lapack.h:161
const T & max(const T &a, const T &b)
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31
LuminosityBlockID const& edm::min ( LuminosityBlockID const &  lh,
LuminosityBlockID const &  rh 
)
inline

Definition at line 131 of file LuminosityBlockID.h.

131  {
132  return (rh < lh ? rh : lh);
133  }
bool int lh
Definition: SSEVec.h:55
EventID const& edm::min ( EventID const &  lh,
EventID const &  rh 
)
inline
StringSet & edm::missingTypes ( )

Definition at line 189 of file ReflexTools.cc.

References missingTypes_.

Referenced by checkDictionaries(), edm::ProductRegistry::initializeLookupTables(), loadCap(), loadMissingDictionaries(), and throwMissingDictionariesException().

189  {
190  return missingTypes_;
191  }
static StringSet missingTypes_
Definition: ReflexTools.cc:30
EDProductGetter const * edm::mustBeNonZero ( EDProductGetter const *  prodGetter,
std::string  refType,
ProductID const &  productID 
)

Definition at line 69 of file EDProductGetter.cc.

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

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

Definition at line 50 of file CollUtil.cc.

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

Referenced by format_vstring(), edm::RootFile::readEntryDescriptionTree(), edm::RootFile::readParentageTree(), and ProvenanceDumper::work_().

50  {
51  TTree *tree = (TTree*)hdl->Get(trname.c_str());
52  if (tree) {
53  return tree->GetEntries();
54  } else {
55  std::cout << "ERR cannot find a TTree named \"" << trname << "\""
56  << std::endl;
57  return -1;
58  }
59  }
tuple cout
Definition: gather_cfg.py:121
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 (0 == hdl) {
28  std::cout << "ERR Could not open file " << fname.c_str() << std::endl;
29  exit(1);
30  }
31  return hdl;
32  }
string fname
main script
tuple cout
Definition: gather_cfg.py:121
template<typename A >
boost::enable_if_c< has_match<A>::value, NotHelper<A> >::type edm::operator! ( A const &  a)

Definition at line 238 of file Selector.h.

References a.

238  {
239  return NotHelper<A>(a);
240  }
double a
Definition: hdecay.h:121
bool edm::operator!= ( FileID const &  lh,
FileID const &  rh 
)
inline

Definition at line 28 of file FileID.h.

28 {return !(lh == rh);}
bool int lh
Definition: SSEVec.h:55
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!= ( 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.

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

Definition at line 59 of file EventEntryDescription.h.

References b.

59 { return !(a==b); }
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 61 of file BranchKey.h.

References b.

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

Definition at line 62 of file TypeID.h.

References b.

62  {
63  return !(a == b);
64  }
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 70 of file TypeIDBase.h.

References b.

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

Definition at line 74 of file ProcessConfiguration.h.

References b.

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

Definition at line 75 of file Parentage.h.

References b.

75 { 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 &   
)
throw (
)

Definition at line 76 of file debugging_allocator.h.

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

Definition at line 81 of file ProductProvenance.h.

References b.

81 { return !(a == b); }
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 104 of file RefCore.h.

104  {
105  return !(lhs == rhs);
106  }
bool edm::operator!= ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 109 of file ProcessHistory.h.

References b.

109  {
110  return !(a==b);
111  }
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 113 of file RefVectorBase.h.

113  {
114  return !(lhs == rhs);
115  }
template<typename T >
bool edm::operator!= ( FwdPtr< T > const &  lhs,
FwdPtr< T > const &  rhs 
)
inline

Definition at line 144 of file FwdPtr.h.

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

Definition at line 372 of file View.h.

372  {
373  return !(lhs == rhs);
374  }
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: SSEVec.h:55
bool edm::operator!= ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 185 of file ProductRegistry.h.

References b.

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

Definition at line 205 of file Entry.h.

References b.

205  {
206  return !(a == b);
207  }
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 208 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

208  {
209  lhs.this_type_does_not_support_comparisons();
210  return false;
211  }
template<typename T >
bool edm::operator!= ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 208 of file RefToBaseProd.h.

208  {
209  return !(lhs == rhs);
210  }
template<typename T , typename U >
bool edm::operator!= ( U const &  lhs,
value_ptr< T > const &  rhs 
)
inline

Definition at line 220 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

220  {
221  rhs.this_type_does_not_support_comparisons();
222  return false;
223  }
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 226 of file RefProd.h.

226  {
227  return !(lhs == rhs);
228  }
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 227 of file RefVector.h.

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

Definition at line 248 of file Ptr.h.

248  {
249  return !(lhs == rhs);
250  }
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 293 of file FwdRef.h.

293  {
294  return !(lhs == rhs);
295  }
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 300 of file FwdRef.h.

300  {
301  return !(lhs == rhs);
302  }
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 307 of file FwdRef.h.

307  {
308  return !(lhs == rhs);
309  }
bool edm::operator!= ( ParameterSet const &  a,
ParameterSet const &  b 
)
inline

Definition at line 319 of file ParameterSet.h.

References b.

319  {
320  return !(a == b);
321  }
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 649 of file Ref.h.

649  {
650  return !(lhs == rhs);
651  }
template<typename A , typename B >
boost::enable_if_c< has_match<A>::value && has_match<B>::value, AndHelper<A, B> >::type edm::operator&& ( A const &  a,
B const &  b 
)

Definition at line 185 of file Selector.h.

References a, and b.

185  {
186  return AndHelper<A, B>(a, b);
187  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
std::auto_ptr< ParameterDescriptionNode > edm::operator&& ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 193 of file ParameterDescriptionNode.cc.

194  {
195  return std::auto_ptr<ParameterDescriptionNode>(new ANDGroupDescription(node_left, node_right));
196  }
std::auto_ptr< ParameterDescriptionNode > edm::operator&& ( std::auto_ptr< ParameterDescriptionNode >  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 199 of file ParameterDescriptionNode.cc.

200  {
201  return std::auto_ptr<ParameterDescriptionNode>(new ANDGroupDescription(node_left, node_right));
202  }
std::auto_ptr< ParameterDescriptionNode > edm::operator&& ( ParameterDescriptionNode const &  node_left,
std::auto_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 205 of file ParameterDescriptionNode.cc.

206  {
207  return std::auto_ptr<ParameterDescriptionNode>(new ANDGroupDescription(node_left, node_right));
208  }
std::auto_ptr< ParameterDescriptionNode > edm::operator&& ( std::auto_ptr< ParameterDescriptionNode >  node_left,
std::auto_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 211 of file ParameterDescriptionNode.cc.

212  {
213  return std::auto_ptr<ParameterDescriptionNode>(new ANDGroupDescription(node_left, node_right));
214  }

Definition at line 2414 of file ParameterSet.cc.

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

2414  {
2416  return ParameterSet::False;
2417  } else if(a == ParameterSet::Unknown || b == ParameterSet::Unknown) {
2418  return ParameterSet::Unknown;
2419  }
2420  return ParameterSet::True;
2421  }
#define False
Definition: Types.h:97
#define True
Definition: Types.h:96
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 72 of file RefVectorIterator.h.

References n.

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

Definition at line 122 of file Association.h.

References a.

123  {
124  Association<C> a = a1;
125  a += a2;
126  return a;
127  }
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 241 of file ValueMap.h.

References a.

242  {
243  ValueMap<T> a = a1;
244  a += a2;
245  return a;
246  }
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: SSEVec.h:55
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< ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 41 of file BranchKey.h.

References edm::BranchKey::friendlyClassName_, edm::BranchKey::moduleLabel_, edm::BranchKey::processName_, and edm::BranchKey::productInstanceName_.

41  {
42  return
43  a.friendlyClassName_ < b.friendlyClassName_ ? true :
44  a.friendlyClassName_ > b.friendlyClassName_ ? false :
45  a.moduleLabel_ < b.moduleLabel_ ? true :
46  a.moduleLabel_ > b.moduleLabel_ ? false :
47  a.productInstanceName_ < b.productInstanceName_ ? true :
48  a.productInstanceName_ > b.productInstanceName_ ? false :
49  a.processName_ < b.processName_ ? true :
50  false;
51  }
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< ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)

Definition at line 89 of file ProcessConfiguration.cc.

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

89  {
90  if (a.processName() < b.processName()) return true;
91  if (b.processName() < a.processName()) return false;
92  if (a.parameterSetID() < b.parameterSetID()) return true;
93  if (b.parameterSetID() < a.parameterSetID()) return false;
94  if (a.releaseVersion() < b.releaseVersion()) return true;
95  if (b.releaseVersion() < a.releaseVersion()) return false;
96  if (a.passID() < b.passID()) return true;
97  return false;
98  }
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: SSEVec.h:55
bool edm::operator< ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 68 of file ProductProvenance.h.

References edm::ProductProvenance::branchID().

68  {
69  return a.branchID() < b.branchID();
70  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator< ( ConstBranchDescription const &  a,
ConstBranchDescription const &  b 
)
inline

Definition at line 76 of file ConstBranchDescription.h.

References edm::ConstBranchDescription::me().

76  {
77  return a.me() < b.me();
78  }
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 91 of file DetSet.h.

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

Definition at line 98 of file DetSet.h.

References x, and detailsBasic3DVector::y.

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

Definition at line 105 of file DetSet.h.

References x, and detailsBasic3DVector::y.

105  {
106  return x < y.detId();
107  }
Definition: DDAxes.h:10
bool edm::operator< ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 110 of file RefCore.h.

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

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

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

Definition at line 379 of file View.h.

379  {
380  return std::lexicographical_compare(lhs.begin(), lhs.end(),
381  rhs.begin(), rhs.end());
382  }
template<typename T >
bool edm::operator< ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 215 of file RefToBaseProd.h.

215  {
216  return (lhs.refCore() < rhs.refCore());
217  }
bool edm::operator< ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 257 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::moduleNames(), edm::BranchDescription::parameterSetIDs(), edm::BranchDescription::present(), edm::BranchDescription::processName(), and edm::BranchDescription::productInstanceName().

257  {
258  if(a.processName() < b.processName()) return true;
259  if(b.processName() < a.processName()) return false;
260  if(a.fullClassName() < b.fullClassName()) return true;
261  if(b.fullClassName() < a.fullClassName()) return false;
262  if(a.friendlyClassName() < b.friendlyClassName()) return true;
263  if(b.friendlyClassName() < a.friendlyClassName()) return false;
264  if(a.productInstanceName() < b.productInstanceName()) return true;
265  if(b.productInstanceName() < a.productInstanceName()) return false;
266  if(a.moduleLabel() < b.moduleLabel()) return true;
267  if(b.moduleLabel() < a.moduleLabel()) return false;
268  if(a.branchType() < b.branchType()) return true;
269  if(b.branchType() < a.branchType()) return false;
270  if(a.branchID() < b.branchID()) return true;
271  if(b.branchID() < a.branchID()) return false;
272  if(a.parameterSetIDs() < b.parameterSetIDs()) return true;
273  if(b.parameterSetIDs() < a.parameterSetIDs()) return false;
274  if(a.moduleNames() < b.moduleNames()) return true;
275  if(b.moduleNames() < a.moduleNames()) return false;
276  if(a.branchAliases() < b.branchAliases()) return true;
277  if(b.branchAliases() < a.branchAliases()) return false;
278  if(a.present() < b.present()) return true;
279  if(b.present() < a.present()) return false;
280  return false;
281  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 233 of file RefProd.h.

233  {
234  return(lhs.refCore() < rhs.refCore());
235  }
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 255 of file Ptr.h.

255  {
258  return (lhs.refCore() == rhs.refCore() ? lhs.key() < rhs.key() : lhs.refCore() < rhs.refCore());
259  }
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 316 of file FwdRef.h.

316  {
317  return (lhs.ref() < rhs.ref() );
318  }
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 323 of file FwdRef.h.

323  {
324  return (lhs < rhs.ref() );
325  }
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 330 of file FwdRef.h.

330  {
331  return (lhs.ref() < rhs );
332  }
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 656 of file Ref.h.

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

Definition at line 27 of file TimeOfDay.cc.

References begin, min, listBenchmarks::pattern, and edm::TimeOfDay::tv_.

27  {
28  std::ios::fmtflags oldflags = os.flags(); // Save stream formats so they can be left unchanged.
29  struct tm timebuf;
30  localtime_r(&tod.tv_.tv_sec, &timebuf);
31  typedef std::ostreambuf_iterator<char, std::char_traits<char> > Iter;
32  std::time_put<char, Iter> const& tp = std::use_facet<std::time_put<char, Iter> >(std::locale());
33  int precision = os.precision();
34  Iter begin(os);
35  if(precision == 0) {
36  char const pattern[] = "%d-%b-%Y %H:%M:%S %Z";
37  tp.put(begin, os, ' ', &timebuf, pattern, pattern + sizeof(pattern) - 1);
38  } else {
39  char const pattern[] = "%d-%b-%Y %H:%M:%S.";
40  tp.put(begin, os, ' ', &timebuf, pattern, pattern + sizeof(pattern) - 1);
41  precision = std::min(precision, 6);
42  os << std::setfill('0') << std::setw(precision) << tod.tv_.tv_usec/power[precision] << ' ';
43  tp.put(begin, os, ' ', &timebuf, 'Z');
44  }
45  os.flags(oldflags);
46  return os;
47  }
#define min(a, b)
Definition: mlp_lapack.h:161
#define begin
Definition: vmac.h:31
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,
BranchType const &  branchType 
)

Definition at line 6 of file BranchType.cc.

References BranchTypeToString().

6  {
8  return os;
9  }
std::string const & BranchTypeToString(BranchType const &branchType)
Definition: BranchType.cc:98
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,
FileFormatVersion const &  ff 
)

Definition at line 106 of file FileFormatVersion.cc.

References edm::FileFormatVersion::value().

106  {
107  os << ff.value();
108  return os;
109  }
std::ostream& edm::operator<< ( std::ostream &  os,
RunLumiEntryInfo const &  p 
)
inline

Definition at line 40 of file RunLumiEntryInfo.h.

References edm::RunLumiEntryInfo::write().

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

Definition at line 49 of file EventEntryInfo.h.

References edm::EventEntryInfo::write().

49  {
50  p.write(os);
51  return os;
52  }
std::ostream & edm::operator<< ( std::ostream &  os,
const GroupSelector &  gs 
)

Definition at line 81 of file GroupSelector.cc.

References edm::GroupSelector::print().

82  {
83  gs.print(os);
84  return os;
85  }
std::ostream& edm::operator<< ( std::ostream &  os,
EventEntryDescription const &  p 
)
inline

Definition at line 52 of file EventEntryDescription.h.

References edm::EventEntryDescription::write().

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

Definition at line 87 of file InputTag.cc.

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

87  {
88  static std::string const process(", process = ");
89  ost << "InputTag: label = " << tag.label() << ", instance = " << tag.instance()
90  << (tag.process().empty() ? std::string() : (process + tag.process()));
91  return ost;
92  }
tuple process
Definition: LaserDQM_cfg.py:3
std::ostream & edm::operator<< ( std::ostream &  ost,
const MallocOpts &  opts 
)

Definition at line 26 of file MallocOpts.cc.

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

27  {
28  ost << "mmap_max=" << opts.mmap_max_
29  << " trim_threshold=" << opts.trim_thr_
30  << " top_padding=" << opts.top_pad_
31  << " mmap_threshold=" << opts.mmap_thr_;
32  return ost;
33  }
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 &  os,
BranchKey const &  bk 
)

Definition at line 28 of file BranchKey.cc.

References edm::BranchKey::friendlyClassName_, edm::BranchKey::moduleLabel_, edm::BranchKey::processName_, and edm::BranchKey::productInstanceName_.

28  {
29  os << "BranchKey("
30  << bk.friendlyClassName_ << ", "
31  << bk.moduleLabel_ << ", "
32  << bk.productInstanceName_ << ", "
33  << bk.processName_ << ')';
34  return os;
35  }
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 &  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,
Parentage const &  p 
)
inline

Definition at line 68 of file Parentage.h.

References edm::Parentage::write().

68  {
69  p.write(os);
70  return os;
71  }
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 &  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 LuminosityBlockAuxiliary &  p 
)
inline

Definition at line 70 of file LuminosityBlockAuxiliary.h.

References edm::LuminosityBlockAuxiliary::write().

70  {
71  p.write(os);
72  return os;
73  }
std::ostream& edm::operator<< ( std::ostream &  os,
ConstBranchDescription const &  p 
)
inline

Definition at line 70 of file ConstBranchDescription.h.

References edm::ConstBranchDescription::me().

70  {
71  os << p.me();
72  return os;
73  }
std::ostream& edm::operator<< ( std::ostream &  os,
ProductProvenance const &  p 
)
inline

Definition at line 74 of file ProductProvenance.h.

References edm::ProductProvenance::write().

74  {
75  p.write(os);
76  return os;
77  }
std::ostream & edm::operator<< ( std::ostream &  os,
ProcessConfiguration const &  pc 
)

Definition at line 101 of file ProcessConfiguration.cc.

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

101  {
102  os << pc.processName() << ' '
103  << pc.parameterSetID() << ' '
104  << pc.releaseVersion() << ' '
105  << pc.passID();
106  return os;
107  }
std::ostream& edm::operator<< ( std::ostream &  os,
ModuleDescription const &  p 
)
inline

Definition at line 84 of file ModuleDescription.h.

References edm::ModuleDescription::write().

84  {
85  p.write(os);
86  return os;
87  }
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,
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,
ParameterSetEntry const &  psetEntry 
)

Definition at line 103 of file ParameterSetEntry.cc.

References edm::ParameterSetEntry::isTracked(), and edm::ParameterSetEntry::pset().

103  {
104  const char* trackiness = (psetEntry.isTracked()?"tracked":"untracked");
105  os << "PSet "<<trackiness<<" = ("<< psetEntry.pset() << ")";
106  return os;
107  }
std::ostream& edm::operator<< ( std::ostream &  os,
Provenance const &  p 
)
inline

Definition at line 115 of file Provenance.h.

References edm::Provenance::write().

115  {
116  p.write(os);
117  return os;
118  }
std::ostream& edm::operator<< ( std::ostream &  ost,
const HLTGlobalStatus &  hlt 
)
inline

Formatted printout of trigger tbale.

Definition at line 117 of file HLTGlobalStatus.h.

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

117  {
118  std::vector<std::string> text(4); text[0]="n"; text[1]="1"; text[2]="0"; text[3]="e";
119  const unsigned int n(hlt.size());
120  for (unsigned int i = 0; i != n; ++i) ost << text.at(hlt.state(i));
121  return ost;
122  }
int i
Definition: DBlmapReader.cc:9
tuple text
Definition: runonSM.py:42
std::ostream& edm::operator<< ( std::ostream &  os,
VParameterSetEntry const &  vpsetEntry 
)

Definition at line 119 of file VParameterSetEntry.cc.

References alignCSCRings::e, i, edm::VParameterSetEntry::isTracked(), errorMatrix2Lands_multiChannel::start, and edm::VParameterSetEntry::vpset().

119  {
120  std::vector<ParameterSet> const& vps = vpsetEntry.vpset();
121  os << "VPSet "<<(vpsetEntry.isTracked()?"tracked":"untracked")<<" = ({" << std::endl;
122  std::string start;
123  std::string const between(",\n");
124  for(std::vector<ParameterSet>::const_iterator i = vps.begin(), e = vps.end(); i != e; ++i) {
125  os << start << *i;
126  start = between;
127  }
128  if (!vps.empty()) {
129  os << std::endl;
130  }
131  os << "})";
132  return os;
133  }
int i
Definition: DBlmapReader.cc:9
std::ostream & edm::operator<< ( std::ostream &  ost,
ProcessHistory const &  ph 
)

Definition at line 65 of file ProcessHistory.cc.

References copy_all().

65  {
66  ost << "Process History = ";
67  copy_all(ph, std::ostream_iterator<ProcessHistory::value_type>(ost,";"));
68  return ost;
69  }
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:24
std::ostream& edm::operator<< ( std::ostream &  os,
JobReport::RunReport const &  f 
)

Definition at line 124 of file JobReport.cc.

References print().

124  {
125  return print(os,f);
126  }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
double f[11][100]
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 &  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  }
edm::MessageSender& edm::operator<< ( edm::MessageSender os,
JobReport::InputFile const &  f 
)

Definition at line 129 of file JobReport.cc.

References print().

129  {
130  return print(os,f);
131  }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
double f[11][100]
template<class T >
ErrorObj& edm::operator<< ( ErrorObj &  e,
const T t 
)
inline
ErrorObj & edm::operator<< ( ErrorObj &  e,
const char  s[] 
)

Definition at line 294 of file ErrorObj.cc.

References edm::ErrorObj::opltlt().

294  {
295  return e.opltlt(s);
296 }
edm::MessageSender& edm::operator<< ( edm::MessageSender os,
JobReport::OutputFile const &  f 
)

Definition at line 132 of file JobReport.cc.

References print().

132  {
133  return print(os,f);
134  }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
double f[11][100]
edm::MessageSender& edm::operator<< ( edm::MessageSender os,
JobReport::RunReport const &  f 
)

Definition at line 135 of file JobReport.cc.

References print().

135  {
136  return print(os,f);
137  }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
double f[11][100]
std::ostream& edm::operator<< ( std::ostream &  os,
const edm::FileInPath fip 
)
inline

Definition at line 145 of file FileInPath.h.

References edm::FileInPath::write().

146  {
147  fip.write(os);
148  return os;
149  }
void write(std::ostream &os) const
Definition: FileInPath.cc:177
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,
Group const &  g 
)
inline

Definition at line 162 of file Group.h.

References edm::Group::write().

162  {
163  g.write(os);
164  return os;
165  }
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 g
Definition: Activities.doc:4
std::ostream& edm::operator<< ( std::ostream &  os,
ProductRegistry const &  pr 
)
inline

Definition at line 191 of file ProductRegistry.h.

References edm::ProductRegistry::print().

191  {
192  pr.print(os);
193  return os;
194  }
std::ostream& edm::operator<< ( std::ostream &  os,
BranchDescription const &  p 
)
inline

Definition at line 211 of file BranchDescription.h.

References edm::BranchDescription::write().

211  {
212  p.write(os);
213  return os;
214  }
template<int I>
std::ostream& edm::operator<< ( std::ostream &  os,
Hash< I > const &  h 
)
inline

Definition at line 234 of file Hash.h.

References h.

234  {
235  return h.print(os);
236  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
template<typename PROD >
std::ostream& edm::operator<< ( std::ostream &  os,
Handle< PROD > const &  h 
)
inline

Definition at line 244 of file PrincipalGetAdapter.h.

References h.

244  {
245  os << h.product() << " " << h.provenance() << " " << h.id();
246  return os;
247  }
template<typename C , typename T , typename F >
std::ostream& edm::operator<< ( std::ostream &  os,
RefVector< C, T, F > const &  r 
)

Definition at line 255 of file RefVector.h.

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

255  {
256  for(typename RefVector<C,T,F>::const_iterator
257  i = r.begin(),
258  e = r.end();
259  i != e;
260  ++i) {
261  os << *i << '\n';
262  }
263  return os;
264  }
int i
Definition: DBlmapReader.cc:9
std::ostream& edm::operator<< ( std::ostream &  os,
const ELseverityLevel &  sev 
)

Definition at line 316 of file ELseverityLevel.cc.

References edm::ELseverityLevel::getName().

316  {
317  return os << " -" << sev.getName() << "- ";
318 }
std::ostream & edm::operator<< ( std::ostream &  os,
JobReport::InputFile const &  f 
)

Definition at line 117 of file JobReport.cc.

References print().

117  {
118  return print(os,f);
119  }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
double f[11][100]
std::ostream & edm::operator<< ( std::ostream &  os,
JobReport::OutputFile const &  f 
)

Definition at line 120 of file JobReport.cc.

References print().

120  {
121  return print(os,f);
122  }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
double f[11][100]
std::ostream& edm::operator<< ( std::ostream &  os,
JobReport::LumiSectionReport const &  rep 
)
std::ostream& edm::operator<< ( std::ostream &  os,
ParameterSet const &  pset 
)

Definition at line 926 of file ParameterSet.cc.

References edm::ParameterSet::dump().

926  {
927  os << pset.dump();
928  return os;
929  }
std::ostream& edm::operator<< ( std::ostream &  os,
Entry const &  entry 
)

Definition at line 954 of file Entry.cc.

References alignCSCRings::e, edm::Entry::getInt32(), edm::Entry::getPSet(), edm::Entry::getString(), edm::Entry::getUInt32(), edm::Entry::getVESInputTag(), edm::Entry::getVInputTag(), edm::Entry::getVPSet(), edm::Entry::getVString(), i, edm::Entry::isTracked(), kTVESInputTag, edm::Entry::rep, errorMatrix2Lands_multiChannel::start, sTypeTranslations, edm::pset::TypeTrans::table_, o2o::tags, and edm::Entry::typeCode().

954  {
955  os << sTypeTranslations.table_[entry.typeCode()] << " "
956  << (entry.isTracked() ? "tracked " : "untracked ") <<" = ";
957 
958  // now handle the difficult cases
959  switch(entry.typeCode()) {
960  case 'P': // ParameterSet
961  {
962  os << entry.getPSet();
963  break;
964  }
965  case 'p': // vector<ParameterSet>
966  {
967  // Make sure we get the representation of each contained
968  // ParameterSet including *only* tracked parameters
969  std::vector<ParameterSet> whole = entry.getVPSet();
970  std::vector<ParameterSet>::const_iterator i = whole.begin();
971  std::vector<ParameterSet>::const_iterator e = whole.end();
972  std::string start ="";
973  std::string const between(",\n");
974  os << "{"<<std::endl;
975  for (; i != e; ++i) {
976  os << start<< *i;
977  start = between;
978  }
979  if (whole.size()) {
980  os << std::endl;
981  }
982  os << "}";
983  break;
984  }
985  case 'S':
986  {
987  os << "'" << entry.getString() << "'";
988  break;
989  }
990  case 's':
991  {
992 
993  os << "{";
994  std::string start ="'";
995  std::string const between(",'");
996  std::vector<std::string> strings = entry.getVString();
997  for(std::vector<std::string>::const_iterator it = strings.begin(), itEnd = strings.end();
998  it != itEnd;
999  ++it) {
1000  os << start << *it << "'";
1001  start = between;
1002  }
1003  os << "}";
1004  break;
1005  }
1006  case 'I':
1007  {
1008  os << entry.getInt32();
1009  break;
1010  }
1011  case 'U':
1012  {
1013  os << entry.getUInt32();
1014  break;
1015  }
1016  case 'v':
1017  {
1018  //VInputTag needs to be treated seperately because it is encode like
1019  // vector<string> rather than using the individual encodings of each InputTag
1020  os << "{";
1021  std::string start = "";
1022  std::string const between(",");
1023  std::vector<InputTag> tags = entry.getVInputTag();
1024  for(std::vector<InputTag>::const_iterator it = tags.begin(), itEnd = tags.end();
1025  it != itEnd;
1026  ++it) {
1027  os << start << it->encode();
1028  start = between;
1029  }
1030  os << "}";
1031  break;
1032  }
1033  case kTVESInputTag:
1034  {
1035  //VESInputTag needs to be treated seperately because it is encode like
1036  // vector<string> rather than using the individual encodings of each ESInputTag
1037  os << "{";
1038  std::string start = "";
1039  std::string const between(",");
1040  std::vector<ESInputTag> tags = entry.getVESInputTag();
1041  for(std::vector<ESInputTag>::const_iterator it = tags.begin(), itEnd = tags.end();
1042  it != itEnd;
1043  ++it) {
1044  os << start << it->encode();
1045  start = between;
1046  }
1047  os << "}";
1048  break;
1049  }
1050  default:
1051  {
1052  os << entry.rep;
1053  break;
1054  }
1055  }
1056 
1057  return os;
1058  }
int i
Definition: DBlmapReader.cc:9
static TypeTrans const sTypeTranslations
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
tuple tags
Definition: o2o.py:248
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: SSEVec.h:55
template<typename T >
bool edm::operator<= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 387 of file View.h.

387  {
388  return !(rhs<lhs);
389  }
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: SSEVec.h:55
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: SSEVec.h:55
bool edm::operator== ( BranchKey const &  a,
BranchKey const &  b 
)
inline

Definition at line 55 of file BranchKey.h.

References a.

55  {
56  return !(a < b || b < a);
57  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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== ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 65 of file ProcessConfiguration.h.

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

65  {
66  return a.processName() == b.processName() &&
67  a.parameterSetID() == b.parameterSetID() &&
68  a.releaseVersion() == b.releaseVersion() &&
69  a.passID() == b.passID();
70  }
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 &   
)
throw (
)

Definition at line 73 of file debugging_allocator.h.

73 { return true; }
bool edm::operator== ( Parentage const &  a,
Parentage const &  b 
)

Definition at line 49 of file Parentage.cc.

References edm::Parentage::parents().

49  {
50  return
51  a.parents() == b.parents();
52  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProductProvenance const &  a,
ProductProvenance const &  b 
)

Definition at line 85 of file ProductProvenance.cc.

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

85  {
86  if (a.noParentage() != b.noParentage()) return false;
87  if (a.noParentage()) {
88  return
89  a.branchID() == b.branchID();
90  }
91  return
92  a.branchID() == b.branchID() && a.parentageID() == b.parentageID();
93  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ConstBranchDescription const &  a,
ConstBranchDescription const &  b 
)
inline

Definition at line 81 of file ConstBranchDescription.h.

References edm::ConstBranchDescription::me().

81  {
82  return a.me() == b.me();
83  }
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(), 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 edm::operator== ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 98 of file RefCore.h.

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

98  {
99  return lhs.isTransient() == rhs.isTransient() && (lhs.isTransient() ? lhs.productPtr() == rhs.productPtr() : lhs.id() == rhs.id());
100  }
bool edm::operator== ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 103 of file ProcessHistory.h.

References edm::ProcessHistory::data().

103  {
104  return a.data() == b.data();
105  }
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 106 of file RefVectorBase.h.

106  {
107  return lhs.refCore() == rhs.refCore() && lhs.keys() == rhs.keys();
108  }
bool edm::operator== ( Provenance const &  a,
Provenance const &  b 
)

Definition at line 115 of file Provenance.cc.

References edm::Provenance::product().

115  {
116  return a.product() == b.product();
117  }
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 134 of file FwdPtr.h.

134  {
135  return (lhs.ptr() == rhs.ptr() ||
136  lhs.backPtr() == rhs.ptr() ||
137  lhs.ptr() == rhs.backPtr() ||
138  lhs.backPtr() == rhs.backPtr());
139  }
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: SSEVec.h:55
template<typename T >
bool edm::operator== ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 363 of file View.h.

363  {
364  return
365  lhs.size() == rhs.size() &&
366  std::equal(lhs.begin(), lhs.end(), rhs.begin());
367  }
bool edm::operator== ( edm::FileInPath const &  a,
edm::FileInPath const &  b 
)
inline

Definition at line 159 of file FileInPath.h.

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

161  {
162  return a.location() == b.location() && a.relativePath() == b.relativePath();
163  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 179 of file ProductRegistry.h.

References edm::ProductRegistry::productList().

179  {
180  return a.productList() == b.productList();
181  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 200 of file Entry.h.

References edm::Entry::toString().

200  {
201  return a.toString() == b.toString();
202  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
bool edm::operator== ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 201 of file RefToBaseProd.h.

201  {
202  return lhs.refCore() == rhs.refCore();
203  }
template<typename T , typename U >
bool edm::operator== ( value_ptr< T > const &  lhs,
U const &  rhs 
)
inline

Definition at line 202 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

202  {
203  lhs.this_type_does_not_support_comparisons();
204  return false;
205  }
template<typename T , typename U >
bool edm::operator== ( U const &  lhs,
value_ptr< T > const &  rhs 
)
inline

Definition at line 214 of file value_ptr.h.

References edm::value_ptr< T >::this_type_does_not_support_comparisons().

214  {
215  rhs.this_type_does_not_support_comparisons();
216  return false;
217  }
bool edm::operator== ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 296 of file BranchDescription.cc.

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

296  {
297  return combinable(a, b) &&
298  (a.dropped() == b.dropped()) &&
299  (a.moduleNames() == b.moduleNames()) &&
300  (a.parameterSetIDs() == b.parameterSetIDs()) &&
301  (a.branchAliases() == b.branchAliases());
302  }
bool combinable(BranchDescription const &a, BranchDescription const &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 219 of file RefProd.h.

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

219  {
220  return lhs.refCore() == rhs.refCore();
221  }
bool edm::operator== ( ELseverityLevel const &  e1,
ELseverityLevel const &  e2 
)
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 220 of file RefVector.h.

220  {
221  return lhs.refVector() == rhs.refVector();
222  }
template<typename T >
bool edm::operator== ( Ptr< T > const &  lhs,
Ptr< T > const &  rhs 
)
inline

Definition at line 241 of file Ptr.h.

241  {
242  return lhs.refCore() == rhs.refCore() && lhs.key() == rhs.key();
243  }
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 257 of file FwdRef.h.

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

257  {
258  return
259  (lhs.ref() == rhs.ref() ) &&
260  (lhs.backRef() == rhs.backRef() )
261  ;
262  }
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 269 of file FwdRef.h.

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

269  {
270  return
271  (lhs == rhs.ref() ) ||
272  (lhs == rhs.backRef() )
273  ;
274  }
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 281 of file FwdRef.h.

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

281  {
282  return
283  (lhs.ref() == rhs ) ||
284  (lhs.backRef() == rhs )
285  ;
286  }
bool edm::operator== ( ParameterSet const &  a,
ParameterSet const &  b 
)

Definition at line 840 of file ParameterSet.cc.

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

840  {
841  if(a.isRegistered() && b.isRegistered()) {
842  return (a.id() == b.id());
843  }
844  return isTransientEqual(a.trackedPart(), b.trackedPart());
845  }
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 419 of file SortedCollection.h.

420  {
421  return c.size() == v.size() && std::equal(v.begin(), v.end(), c.begin());
422  }
mathSSE::Vec4< T > v
template<typename T , typename SORT >
bool edm::operator== ( SortedCollection< T, SORT > const &  a,
SortedCollection< T, SORT > const &  b 
)
inline

Definition at line 431 of file SortedCollection.h.

432  {
433  return a.size() == b.size() && std::equal(a.begin(), a.end(), b.begin());
434  }
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 642 of file Ref.h.

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

Definition at line 58 of file TypeID.h.

References a.

58  {
59  return b < a;
60  }
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 67 of file TypeIDBase.h.

References a.

68  { 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: SSEVec.h:55
template<typename T >
bool edm::operator> ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 393 of file View.h.

393  {
394  return rhs<lhs;
395  }
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: SSEVec.h:55
template<typename T >
bool edm::operator>= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 399 of file View.h.

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

Definition at line 152 of file FileInPath.h.

References edm::FileInPath::read().

153  {
154  fip.read(is);
155  return is;
156  }
std::auto_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 134 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone().

135  {
136  std::auto_ptr<ParameterDescriptionNode> clonedNode(node.clone());
137  return caseValue >> clonedNode;
138  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 141 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone().

142  {
143  std::auto_ptr<ParameterDescriptionNode> clonedNode(node.clone());
144  return caseValue >> clonedNode;
145  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 148 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone().

149  {
150  std::auto_ptr<ParameterDescriptionNode> clonedNode(node.clone());
151  return caseValue >> clonedNode;
152  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
ParameterDescriptionNode const &  node 
)

Definition at line 155 of file ParameterDescriptionNode.cc.

References edm::ParameterDescriptionNode::clone().

156  {
157  std::auto_ptr<ParameterDescriptionNode> clonedNode(node.clone());
158  return caseValue >> clonedNode;
159  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< bool > > edm::operator>> ( bool  caseValue,
std::auto_ptr< ParameterDescriptionNode >  node 
)

Definition at line 162 of file ParameterDescriptionNode.cc.

References python.Node::node.

163  {
164  return std::auto_ptr<ParameterDescriptionCases<bool> >(
165  new ParameterDescriptionCases<bool>(caseValue, node));
166  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< int > > edm::operator>> ( int  caseValue,
std::auto_ptr< ParameterDescriptionNode >  node 
)

Definition at line 169 of file ParameterDescriptionNode.cc.

References python.Node::node.

170  {
171  return std::auto_ptr<ParameterDescriptionCases<int> >(
172  new ParameterDescriptionCases<int>(caseValue, node));
173  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( std::string const &  caseValue,
std::auto_ptr< ParameterDescriptionNode >  node 
)

Definition at line 176 of file ParameterDescriptionNode.cc.

References python.Node::node.

177  {
178  return std::auto_ptr<ParameterDescriptionCases<std::string> >(
179  new ParameterDescriptionCases<std::string>(caseValue, node));
180  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionCases< std::string > > edm::operator>> ( char const *  caseValue,
std::auto_ptr< ParameterDescriptionNode >  node 
)

Definition at line 183 of file ParameterDescriptionNode.cc.

References python.Node::node.

184  {
185  std::string caseValueString(caseValue);
186  return std::auto_ptr<ParameterDescriptionCases<std::string> >(
187  new ParameterDescriptionCases<std::string>(caseValue, node));
188  }
tuple node
Definition: Node.py:50
std::auto_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 245 of file ParameterDescriptionNode.cc.

246  {
247  return std::auto_ptr<ParameterDescriptionNode>(new XORGroupDescription(node_left, node_right));
248  }
std::auto_ptr< ParameterDescriptionNode > edm::operator^ ( std::auto_ptr< ParameterDescriptionNode >  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 251 of file ParameterDescriptionNode.cc.

252  {
253  return std::auto_ptr<ParameterDescriptionNode>(new XORGroupDescription(node_left, node_right));
254  }
std::auto_ptr< ParameterDescriptionNode > edm::operator^ ( ParameterDescriptionNode const &  node_left,
std::auto_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 257 of file ParameterDescriptionNode.cc.

258  {
259  return std::auto_ptr<ParameterDescriptionNode>(new XORGroupDescription(node_left, node_right));
260  }
std::auto_ptr< ParameterDescriptionNode > edm::operator^ ( std::auto_ptr< ParameterDescriptionNode >  node_left,
std::auto_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 263 of file ParameterDescriptionNode.cc.

264  {
265  return std::auto_ptr<ParameterDescriptionNode>(new XORGroupDescription(node_left, node_right));
266  }
std::auto_ptr< ParameterDescriptionCases< bool > > edm::operator|| ( std::auto_ptr< ParameterDescriptionCases< bool > >  left,
std::auto_ptr< ParameterDescriptionCases< bool > >  right 
)

Definition at line 8 of file ParameterDescriptionCases.cc.

References Association::map, and python.Node::node.

9  {
10 
11  std::auto_ptr<std::map<bool, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
12  for (std::map<bool, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
13  iEnd = rightCases->end();
14  iter != iEnd; ++iter) {
15  bool caseValue = iter->first;
16  std::auto_ptr<ParameterDescriptionNode> node(iter->second->clone());
17  left->insert(caseValue, node);
18  }
19  return left;
20  }
tuple node
Definition: Node.py:50
dictionary map
Definition: Association.py:205
std::auto_ptr< ParameterDescriptionCases< int > > edm::operator|| ( std::auto_ptr< ParameterDescriptionCases< int > >  left,
std::auto_ptr< ParameterDescriptionCases< int > >  right 
)

Definition at line 23 of file ParameterDescriptionCases.cc.

References Association::map, and python.Node::node.

24  {
25 
26  std::auto_ptr<std::map<int, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
27  for (std::map<int, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
28  iEnd = rightCases->end();
29  iter != iEnd; ++iter) {
30  int caseValue = iter->first;
31  std::auto_ptr<ParameterDescriptionNode> node(iter->second->clone());
32  left->insert(caseValue, node);
33  }
34  return left;
35  }
tuple node
Definition: Node.py:50
dictionary map
Definition: Association.py:205
std::auto_ptr< ParameterDescriptionCases< std::string > > edm::operator|| ( std::auto_ptr< ParameterDescriptionCases< std::string > >  left,
std::auto_ptr< ParameterDescriptionCases< std::string > >  right 
)

Definition at line 38 of file ParameterDescriptionCases.cc.

References Association::map, and python.Node::node.

39  {
40 
41  std::auto_ptr<std::map<std::string, edm::value_ptr<ParameterDescriptionNode> > > rightCases = right->caseMap();
42  for (std::map<std::string, edm::value_ptr<ParameterDescriptionNode> >::const_iterator iter = rightCases->begin(),
43  iEnd = rightCases->end();
44  iter != iEnd; ++iter) {
45  std::string caseValue = iter->first;
46  std::auto_ptr<ParameterDescriptionNode> node(iter->second->clone());
47  left->insert(caseValue, node);
48  }
49  return left;
50  }
tuple node
Definition: Node.py:50
dictionary map
Definition: Association.py:205
template<typename A , typename B >
boost::enable_if_c< has_match<A>::value && has_match<B>::value, OrHelper<A, B> >::type edm::operator|| ( A const &  a,
B const &  b 
)

Definition at line 214 of file Selector.h.

References a, and b.

214  {
215  return OrHelper<A, B>(a, b);
216  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
std::auto_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 219 of file ParameterDescriptionNode.cc.

220  {
221  return std::auto_ptr<ParameterDescriptionNode>(new ORGroupDescription(node_left, node_right));
222  }
std::auto_ptr< ParameterDescriptionNode > edm::operator|| ( std::auto_ptr< ParameterDescriptionNode >  node_left,
ParameterDescriptionNode const &  node_right 
)

Definition at line 225 of file ParameterDescriptionNode.cc.

226  {
227  return std::auto_ptr<ParameterDescriptionNode>(new ORGroupDescription(node_left, node_right));
228  }
std::auto_ptr< ParameterDescriptionNode > edm::operator|| ( ParameterDescriptionNode const &  node_left,
std::auto_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 231 of file ParameterDescriptionNode.cc.

232  {
233  return std::auto_ptr<ParameterDescriptionNode>(new ORGroupDescription(node_left, node_right));
234  }
std::auto_ptr< ParameterDescriptionNode > edm::operator|| ( std::auto_ptr< ParameterDescriptionNode >  node_left,
std::auto_ptr< ParameterDescriptionNode >  node_right 
)

Definition at line 237 of file ParameterDescriptionNode.cc.

238  {
239  return std::auto_ptr<ParameterDescriptionNode>(new ORGroupDescription(node_left, node_right));
240  }
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: SSEVec.h:55
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 merge().

54  {
55  assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
56  return !distinct(lh, rh);
57  }
bool int lh
Definition: SSEVec.h:55
bool distinct(EventRange const &lh, EventRange const &rh)
Definition: EventRange.cc:72
template<>
std::string edm::ParameterSet::getParameter< std::string > ( std::string const &  name) const
template<>
std::string edm::ParameterSet::getParameter< std::string > ( char const *  name) const
template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( std::string const &  name) const
template<>
std::vector<double> edm::ParameterSet::getParameter< std::vector< double > > ( char const *  name) const
template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( std::string const &  name) const
template<>
std::vector<ESInputTag> edm::ParameterSet::getParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 1732 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1732  {
1733  return retrieve(name).getVESInputTag();
1734  }
template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( std::string const &  name) const
template<>
std::vector<EventID> edm::ParameterSet::getParameter< std::vector< EventID > > ( char const *  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( std::string const &  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getParameter< std::vector< EventRange > > ( char const *  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( std::string const &  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getParameter< std::vector< InputTag > > ( char const *  name) const
template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( std::string const &  name) const
template<>
std::vector<int> edm::ParameterSet::getParameter< std::vector< int > > ( char const *  name) const
template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( std::string const &  name) const
template<>
std::vector<long long> edm::ParameterSet::getParameter< std::vector< long long > > ( char const *  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getParameter< std::vector< LuminosityBlockID > > ( char const *  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const
template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 90 of file PdtEntry.h.

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

90  {
91  Entry const& e = retrieve(name);
92  return pdtentry::getPdtEntryVector(e, name.c_str());
93  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:66
template<>
std::vector<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 110 of file PdtEntry.h.

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

110  {
111  Entry const& e = retrieve(name);
113  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:66
template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( std::string const &  name) const
template<>
std::vector<std::string> edm::ParameterSet::getParameter< std::vector< std::string > > ( char const *  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( std::string const &  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getParameter< std::vector< unsigned int > > ( char const *  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( std::string const &  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getParameter< std::vector< unsigned long long > > ( char const *  name) const
template<>
std::vector<std::string> edm::ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > ( bool  trackiness) const
inline

Definition at line 138 of file PdtEntry.h.

References filterCSVwithJSON::copy.

138  {
139  std::vector<std::string> ints = getParameterNamesForType<std::vector<int> >(trackiness);
140  std::vector<std::string> strings = getParameterNamesForType<std::vector<std::string> >(trackiness);
141  std::copy( strings.begin(), strings.end(), std::back_insert_iterator<std::vector<std::string> >( ints ) );
142  return ints;
143  }
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name,
std::string const &  defaultValue 
) const
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( std::string const &  name) const
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name,
std::string const &  defaultValue 
) const
template<>
std::string edm::ParameterSet::getUntrackedParameter< std::string > ( char const *  name) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( std::string const &  name,
std::vector< double > const &  defaultValue 
) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name,
std::vector< double > const &  defaultValue 
) const
template<>
std::vector<double> edm::ParameterSet::getUntrackedParameter< std::vector< double > > ( char const *  name) const
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1457 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

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

Definition at line 1449 of file ParameterSet.cc.

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

1450  {
1451  Entry const* entryPtr = retrieveUntracked(name);
1452  return entryPtr == 0 ? defaultValue : entryPtr->getVESInputTag();
1453  }
Definition: Entry.h:18
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 2087 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

2087  {
2088  return getEntryPointerOrThrow_(name)->getVESInputTag();
2089  }
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name,
std::vector< ESInputTag > const &  defaultValue 
) const

Definition at line 2079 of file ParameterSet.cc.

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

2080  {
2081  Entry const* entryPtr = retrieveUntracked(name);
2082  return entryPtr == 0 ? defaultValue : entryPtr->getVESInputTag();
2083  }
Definition: Entry.h:18
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name,
std::vector< EventID > const &  defaultValue 
) const
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( std::string const &  name) const
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name) const
template<>
std::vector<EventID> edm::ParameterSet::getUntrackedParameter< std::vector< EventID > > ( char const *  name,
std::vector< EventID > const &  defaultValue 
) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name,
std::vector< EventRange > const &  defaultValue 
) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name,
std::vector< EventRange > const &  defaultValue 
) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( std::string const &  name,
std::vector< InputTag > const &  defaultValue 
) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name,
std::vector< InputTag > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name,
std::vector< int > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name,
std::vector< int > const &  defaultValue 
) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name,
std::vector< long long > const &  defaultValue 
) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name,
std::vector< long long > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name,
std::vector< LuminosityBlockID > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( std::string const &  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name) const
template<>
std::vector<LuminosityBlockRange> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > ( char const *  name,
std::vector< LuminosityBlockRange > const &  defaultValue 
) const
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name,
std::vector< PdtEntry > const &  defaultValue 
) const
inline

Definition at line 122 of file PdtEntry.h.

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

123  {
124  Entry const* e = retrieveUntracked(name);
125  if (e == 0) return defaultValue;
126  return pdtentry::getPdtEntryVector(*e, name);
127  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:66
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( char const *  name) const
inline

Definition at line 116 of file PdtEntry.h.

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

116  {
117  Entry const* e = getEntryPointerOrThrow_(name);
118  return pdtentry::getPdtEntryVector(*e, name);
119  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:66
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( std::string const &  name,
std::vector< PdtEntry > const &  defaultValue 
) const
inline

Definition at line 102 of file PdtEntry.h.

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

103  {
104  Entry const* e = retrieveUntracked(name);
105  if (e == 0) return defaultValue;
106  return pdtentry::getPdtEntryVector(*e, name.c_str());
107  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:66
template<>
std::vector<PdtEntry> edm::ParameterSet::getUntrackedParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 96 of file PdtEntry.h.

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

96  {
97  Entry const* e = getEntryPointerOrThrow_(name);
98  return pdtentry::getPdtEntryVector(*e, name.c_str());
99  }
Definition: Entry.h:18
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
Definition: PdtEntry.cc:66
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name,
std::vector< std::string > const &  defaultValue 
) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name,
std::vector< std::string > const &  defaultValue 
) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name,
std::vector< unsigned int > const &  defaultValue 
) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( char const *  name,
std::vector< unsigned int > const &  defaultValue 
) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name,
std::vector< unsigned long long > const &  defaultValue 
) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name,
std::vector< unsigned long long > const &  defaultValue 
) const
std::string edm::parameterTypeEnumToString ( ParameterTypes  iType)

Definition at line 55 of file ParameterDescriptionNode.cc.

References TYPE_TO_NAME.

Referenced by edm::ParameterSwitchBase::insertAndCheckTypes(), edm::ParameterWildcardBase::print_(), edm::ParameterDescriptionBase::print_(), edm::ParameterSwitch< T >::print_(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), edm::IfExistsDescription::throwIfDuplicateTypes(), edm::ORGroupDescription::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_().

55  {
56  switch(iType) {
57  TYPE_TO_NAME(int32);
58  TYPE_TO_NAME(vint32);
60  TYPE_TO_NAME(vuint32);
61  TYPE_TO_NAME(int64);
62  TYPE_TO_NAME(vint64);
64  TYPE_TO_NAME(vuint64);
65  TYPE_TO_NAME(double);
66  TYPE_TO_NAME(vdouble);
67  TYPE_TO_NAME(bool);
68  TYPE_TO_NAME(string);
71  TYPE_TO_NAME(VEventID);
73  TYPE_TO_NAME(VLuminosityBlockID);
74  TYPE_TO_NAME(InputTag);
75  TYPE_TO_NAME(VInputTag);
77  TYPE_TO_NAME(PSet);
78  TYPE_TO_NAME(VPSet);
80  TYPE_TO_NAME(VLuminosityBlockRange);
81  TYPE_TO_NAME(EventRange);
82  TYPE_TO_NAME(VEventRange);
83  default:
84  assert(false);
85  }
86  return "";
87  }
unsigned int uint32
Definition: MsgTools.h:13
unsigned long long uint64
Definition: MsgTools.h:14
#define TYPE_TO_NAME(type)
std::vector< std::string > vstring
std::auto_ptr< ParameterSet > edm::popSubProcessParameterSet ( ParameterSet parameterSet)

Definition at line 361 of file SubProcess.cc.

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

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

361  {
362  std::vector<std::string> subProcesses = parameterSet.getUntrackedParameter<std::vector<std::string> >("@all_subprocesses");
363  if(!subProcesses.empty()) {
364  assert(subProcesses.size() == 1U);
365  assert(subProcesses[0] == "@sub_process");
366  return parameterSet.popParameterSet(subProcesses[0]);
367  }
368  return std::auto_ptr<ParameterSet>(0);
369  }
static void edm::postIndexIntoFilePrintEventLists ( TFile *  tfl,
FileFormatVersion const &  fileFormatVersion,
TTree *  metaDataTree 
)
static

Definition at line 150 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, and lumiQTWidget::t.

Referenced by printEventLists().

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

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

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

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

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

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

Definition at line 69 of file JobReport.cc.

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

Referenced by operator<<(), and EcalDigiToRaw::produce().

69  {
70 
71  os << "\n<InputFile>";
72  formatFile(f, os);
73  os << "\n<InputType>" << f.inputType << "</InputType>";
74  os << "\n<InputSourceClass>" << TiXmlText(f.inputSourceClassName)
75  << "</InputSourceClass>";
76  os << "\n<EventsRead>" << f.numEventsRead << "</EventsRead>";
77  return os;
78  }
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:39
template<typename S >
S& edm::print ( S &  os,
JobReport::OutputFile const &  f 
)

Definition at line 82 of file JobReport.cc.

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

82  {
83  formatFile(f, os);
84  os << "\n<OutputModuleClass>"
85  << TiXmlText(f.outputModuleClassName)
86  << "</OutputModuleClass>";
87  os << "\n<TotalEvents>"
88  << f.numEventsWritten
89  << "</TotalEvents>\n";
90  os << "\n<DataType>"
91  << TiXmlText(f.dataType)
92  << "</DataType>\n";
93  os << "\n<BranchHash>"
94  << TiXmlText(f.branchHash)
95  << "</BranchHash>\n";
96 
97  return os;
98  }
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.cc:39
template<typename S >
S& edm::print ( S &  os,
JobReport::RunReport const &  rep 
)

Definition at line 102 of file JobReport.cc.

References edm::JobReport::RunReport::lumiSections, and edm::JobReport::RunReport::runNumber.

103  {
104  os << "\n<Run ID=\""
105  << rep.runNumber
106  << "\">\n";
107 
108  typedef std::set<unsigned int>::iterator iterator;
109  for(iterator il = rep.lumiSections.begin(), ilEnd = rep.lumiSections.end(); il != ilEnd; ++il) {
110  os << " <LumiSection ID=\"" << *il << "\"/>\n";
111 
112  }
113  os << "</Run>\n";
114  return os;
115  }
template<typename RecordT >
void edm::print_eventsetup_record_dependencies ( std::ostream &  oStream,
std::string const &  iIndent = std::string() 
)

Definition at line 77 of file print_eventsetup_record_dependencies.h.

References edm::rec_dep::inherits_from_DependentRecordTag(), and mergeVDriftHistosByStation::name.

Referenced by print_eventsetup_record_dependencies(), and print_eventsetup_record_dependencies_recursive().

77  {
78  oStream<<iIndent<<edm::eventsetup::EventSetupRecordKey::makeKey<RecordT>().name()<<std::endl;
79 
80  print_eventsetup_record_dependencies_recursive<RecordT>(oStream, iIndent, rec_dep::inherits_from_DependentRecordTag(static_cast<RecordT const*>(0)));
81  }
boost::mpl::false_ inherits_from_DependentRecordTag(void 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.

45  { }
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 48 of file print_eventsetup_record_dependencies.h.

References GetRecoTauVFromDQM_MC_cff::next, and print_eventsetup_record_dependencies().

50  {
51  iIndent +=" ";
53  typename boost::mpl::next< TFirst >::type const* next(0);
54  print_eventsetup_record_dependencies(oStream, iIndent, next, iEnd);
55  }
type
Definition: HCALResponse.h:22
void print_eventsetup_record_dependencies(std::ostream &oStream, std::string const &iIndent=std::string())
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().

63  {
64  typedef typename RecordT::list_type list_type;
65 
66  typename boost::mpl::begin<list_type>::type const* begin(0);
67  typename boost::mpl::end<list_type>::type const* end(0);
69  }
type
Definition: HCALResponse.h:22
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31
void print_eventsetup_record_dependencies(std::ostream &oStream, std::string const &iIndent=std::string())
template<typename RecordT >
void edm::print_eventsetup_record_dependencies_recursive ( std::ostream &  ,
std::string const &  ,
boost::mpl::false_   
)

Definition at line 72 of file print_eventsetup_record_dependencies.h.

72  {
73  return;
74  }
void edm::printBranchNames ( TTree *  tree)

Definition at line 73 of file CollUtil.cc.

References gather_cfg::cout, and i.

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

Definition at line 13 of file ExceptionMessages.cc.

References cms::Exception::explainSelf(), and edm::JobReport::reportError().

Referenced by addContextAndPrintException().

13  {
14  std::string shortDesc("Fatal Exception");
15  std::ostringstream longDesc;
16  longDesc << e.explainSelf();
17  LogAbsolute(shortDesc)
18  << "----- Begin " << shortDesc << " "
19  << std::setprecision(0) << TimeOfDay()
20  << "-----------------------\n"
21  << longDesc.str()
22  << "----- End " << shortDesc << " -------------------------------------------------";
23  if(jobRep) jobRep->reportError(shortDesc, longDesc.str(), rc);
24  } catch(...) {
25  }
virtual std::string explainSelf() const
Definition: Exception.cc:146
void reportError(std::string const &shortDesc, std::string const &longDesc)
Definition: JobReport.cc:672
void edm::printCmsExceptionWarning ( char const *  behavior,
cms::Exception const &  e,
edm::JobReport jobRep = 0,
int  rc = -1 
)

Definition at line 28 of file ExceptionMessages.cc.

References cms::Exception::explainSelf(), and edm::JobReport::reportError().

Referenced by edm::EDLooperBase::doDuringLoop(), edm::Worker::doWork(), edm::Path::handleWorkerFailure(), and edm::Schedule::processOneOccurrence().

28  {
29  std::string shortDesc(behavior);
30  shortDesc += " Exception";
31  std::ostringstream longDesc;
32  longDesc << e.explainSelf();
33  LogPrint(shortDesc)
34  << "----- Begin " << shortDesc << " "
35  << std::setprecision(0) << TimeOfDay()
36  << "-----------------------\n"
37  << longDesc.str()
38  << "----- End " << shortDesc << " -------------------------------------------------";
39  if(jobRep) jobRep->reportError(shortDesc, longDesc.str(), rc);
40  } catch(...) {
41  }
void reportError(std::string const &shortDesc, std::string const &longDesc)
Definition: JobReport.cc:672
void edm::printEventLists ( TFile *  tfl)

Definition at line 229 of file CollUtil.cc.

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

229  {
230  TTree *metaDataTree = dynamic_cast<TTree *>(tfl->Get(poolNames::metaDataTreeName().c_str()));
231  assert(0 != metaDataTree);
232 
233  FileFormatVersion fileFormatVersion;
234  FileFormatVersion *fftPtr = &fileFormatVersion;
235  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != 0) {
236  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
237  fft->SetAddress(&fftPtr);
238  fft->GetEntry(0);
239  }
240  if(fileFormatVersion.hasIndexIntoFile()) {
241  postIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
242  } else {
243  preIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
244  }
245  }
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:212
std::string const & metaDataTreeName()
Definition: BranchType.cc:167
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:150
void edm::printEventsInLumis ( TFile *  tfl)

Definition at line 354 of file CollUtil.cc.

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

354  {
355  TTree *metaDataTree = dynamic_cast<TTree *>(tfl->Get(poolNames::metaDataTreeName().c_str()));
356  assert(0 != metaDataTree);
357 
358  FileFormatVersion fileFormatVersion;
359  FileFormatVersion *fftPtr = &fileFormatVersion;
360  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != 0) {
361  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
362  fft->SetAddress(&fftPtr);
363  fft->GetEntry(0);
364  }
365  if(fileFormatVersion.hasIndexIntoFile()) {
366  postIndexIntoFilePrintEventsInLumis(tfl, fileFormatVersion, metaDataTree);
367  } else {
368  preIndexIntoFilePrintEventsInLumis(tfl, fileFormatVersion, metaDataTree);
369  }
370  }
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:212
static void preIndexIntoFilePrintEventsInLumis(TFile *, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:247
std::string const & metaDataTreeName()
Definition: BranchType.cc:167
static void postIndexIntoFilePrintEventsInLumis(TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
Definition: CollUtil.cc:296
void edm::printTrees ( TFile *  hdl)

Definition at line 35 of file CollUtil.cc.

References combine::key, and getGTfromDQMFile::obj.

35  {
36  hdl->ls();
37  TList *keylist = hdl->GetListOfKeys();
38  TIterator *iter = keylist->MakeIterator();
39  TKey *key = 0;
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  }
list key
Definition: combine.py:13
void edm::printUuids ( TTree *  uuidTree)

Definition at line 106 of file CollUtil.cc.

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

106  {
107  FileID fid;
108  FileID *fidPtr = &fid;
109  uuidTree->SetBranchAddress(poolNames::fileIdentifierBranchName().c_str(), &fidPtr);
110  uuidTree->GetEntry(0);
111 
112  std::cout << "UUID: " << fid.fid() << std::endl;
113  }
tuple cout
Definition: gather_cfg.py:121
list fid
Definition: NewTree.py:51
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:217
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
Container::value_type value_type
std::vector< BranchID::value_type > BranchIDList
Definition: BranchIDList.h:18
void edm::public_base_classes ( Reflex::Type const &  type,
std::vector< Reflex::Type > &  baseTypes 
)
void edm::public_base_classes ( Type const &  type,
std::vector< Type > &  baseTypes 
)

Definition at line 257 of file ReflexTools.cc.

References CustomConfigs::Base(), newFWLiteAna::base, i, public_base_classes(), and search_all().

258  {
259 
260  if(type.IsClass() || type.IsStruct()) {
261 
262  int nBase = type.BaseSize();
263  for(int i = 0; i < nBase; ++i) {
264 
265  Base base = type.BaseAt(i);
266  if(base.IsPublic()) {
267 
268  Type baseType = type.BaseAt(i).ToType();
269  if(bool(baseType)) {
270 
271  while(baseType.IsTypedef() == true) {
272  baseType = baseType.ToType();
273  }
274 
275  // Check to make sure this base appears only once in the
276  // inheritance heirarchy.
277  if(!search_all(baseTypes, baseType)) {
278  // Save the type and recursive look for its base types
279  baseTypes.push_back(baseType);
280  public_base_classes(baseType, baseTypes);
281  }
282  // For now just ignore it if the class appears twice,
283  // After some more testing we may decide to uncomment the following
284  // exception.
285  /*
286  else {
287  throw Exception(errors::UnimplementedFeature)
288  << "DataFormats/Common/src/ReflexTools.cc in function public_base_classes.\n"
289  << "Encountered class that has a public base class that appears\n"
290  << "multiple times in its inheritance heirarchy.\n"
291  << "Please contact the EDM Framework group with details about\n"
292  << "this exception. It was our hope that this complicated situation\n"
293  << "would not occur. There are three possible solutions. 1. Change\n"
294  << "the class design so the public base class does not appear multiple\n"
295  << "times in the inheritance heirarchy. In many cases, this is a\n"
296  << "sign of bad design. 2. Modify the code that supports Views to\n"
297  << "ignore these base classes, but not supply support for creating a\n"
298  << "View of this base class. 3. Improve the View infrastructure to\n"
299  << "deal with this case. Class name of base class: " << baseType.Name() << "\n\n";
300  }
301  */
302  }
303  }
304  }
305  }
306  }
tuple base
Main Program
Definition: newFWLiteAna.py:92
type
Definition: HCALResponse.h:22
int i
Definition: DBlmapReader.cc:9
void public_base_classes(Reflex::Type const &type, std::vector< Reflex::Type > &baseTypes)
bool search_all(ForwardSequence const &s, Datum const &d)
Definition: Algorithms.h:46
std::string edm::pythonFileToConfigure ( const std::string &  iPythonFileName)

Definition at line 14 of file pythonFileToConfigure.cc.

References edmPickEvents::command, pythonToCppException(), and query::result.

15 {
16  std::string returnValue;
17  std::string initCommand("import FWCore.ParameterSet.Config as cms\n"
18  "fileDict = dict()\n"
19  "execfile('");
20  initCommand += iPythonFileName+"',fileDict)";
21 
22  Py_InitializeEx(0);
23  using namespace boost::python;
24 
25  object main_module((
26  boost::python::handle<PyObject>(borrowed(PyImport_AddModule(const_cast<char *>("__main__"))))));
27  object main_namespace = main_module.attr("__dict__");
28  try {
29  try {
30  object result((boost::python::handle<>(PyRun_String(initCommand.c_str(),
31  Py_file_input,
32  main_namespace.ptr(),
33  main_namespace.ptr()))));
34  } catch(error_already_set) {
35  edm::pythonToCppException("Configuration");
36  }
37  try {
38  std::string command("cms.findProcess(fileDict).dumpConfig()");
39  object result((handle<>(PyRun_String(command.c_str(),
40  Py_eval_input,
41  main_namespace.ptr(),
42  main_namespace.ptr()))));
43  returnValue= extract<std::string>(result);
44 
45  }catch( error_already_set ) {
46  edm::pythonToCppException("Configuration");
47  }
48  }catch(...) {
49  Py_Finalize();
50  throw;
51  }
52  Py_Finalize();
53  return returnValue;
54 }
void pythonToCppException(const std::string &iType)
Definition: PythonWrapper.cc:6
tuple result
Definition: query.py:137
void edm::pythonToCppException ( const std::string &  iType)

Definition at line 6 of file PythonWrapper.cc.

References edm::hlt::Exception, NULL, and GsfMatrixTools::trace().

Referenced by pythonFileToConfigure(), PythonProcessDesc::read(), and FWPathsPopup::scheduleReloadEvent().

7  {
8  using namespace boost::python;
9  PyObject *exc=NULL, *val=NULL, *trace=NULL;
10  PyErr_Fetch(&exc,&val,&trace);
11  PyErr_NormalizeException(&exc,&val,&trace);
12  handle<> hExc(allow_null(exc));
13  handle<> hVal(allow_null(val));
14  handle<> hTrace(allow_null(trace));
15 
16  if(hTrace) {
17  object oTrace(hTrace);
18  handle<> hStringTr(PyObject_Str(oTrace.ptr()));
19  object stringTr(hStringTr);
20 //std::cout << "PR TR " << stringTr << " DONE "<< std::endl;
21  }
22 
23  if(hVal && hExc) {
24  object oExc(hExc);
25  object oVal(hVal);
26  handle<> hStringVal(PyObject_Str(oVal.ptr()));
27  object stringVal( hStringVal );
28 
29  handle<> hStringExc(PyObject_Str(oExc.ptr()));
30  object stringExc( hStringExc);
31 
32  //PyErr_Print();
33  throw cms::Exception(iType)
34  << "python encountered the error: "
35  // include python exception type
36  << PyString_AsString(stringExc.ptr()) << "\n"
37  // message in the python exception
38  << PyString_AsString(stringVal.ptr()) << "\n";
39  } else {
40  throw cms::Exception(iType)<<" unknown python problem occurred.\n";
41  }
42 }
#define NULL
Definition: scimark2.h:8
double trace(const ROOT::Math::SMatrix< double, N, N > &matrix)
void edm::read_from_cin ( std::string &  output)

Definition at line 27 of file Parse.cc.

References geometryCSVtoXML::line.

27  {
28  std::string line;
29  while (getline(std::cin, line)) {
30  output += line;
31  output += '\n';
32  }
33  }
std::string edm::read_whole_file ( std::string const &  filename)

only does the yacc interpretation

Definition at line 10 of file Parse.cc.

References edm::errors::Configuration, edm::hlt::Exception, lut2db_cfg::filename, LaserDQM_cfg::input, and query::result.

10  {
11  std::string result;
12  std::ifstream input(filename.c_str());
13  if (!input) {
14  throw edm::Exception(errors::Configuration,"MissingFile")
15  << "Cannot read file " << filename;
16  }
17  std::string buffer;
18  while (getline(input, buffer)) {
19  // getline strips newlines; we have to put them back by hand.
20  result += buffer;
21  result += '\n';
22  }
23  return result;
24  }
tuple result
Definition: query.py:137
tuple filename
Definition: lut2db_cfg.py:20
boost::shared_ptr< ParameterSet > edm::readConfig ( std::string const &  config)

Definition at line 42 of file MakeParameterSets.cc.

References PythonProcessDesc::parameterSet().

42  {
43  PythonProcessDesc pythonProcessDesc(config);
44  return pythonProcessDesc.parameterSet();
45  }
boost::shared_ptr< ParameterSet > edm::readConfig ( std::string const &  config,
int  argc,
char *  argv[] 
)

same, but with arguments

Definition at line 48 of file MakeParameterSets.cc.

References PythonProcessDesc::parameterSet().

48  {
49  PythonProcessDesc pythonProcessDesc(config, argc, argv);
50  return pythonProcessDesc.parameterSet();
51  }
tuple argc
Definition: dir2webdir.py:41
std::auto_ptr<SendJobHeader> edm::readHeaderFromStream ( std::ifstream &  ist)

Referenced by getRegFromFile().

std::auto_ptr<SendJobHeader> edm::readHeaderFromStream ( ifstream &  ist)

Not an init message should return

Definition at line 164 of file Utilities.cc.

References HeaderView::code(), edm::StreamerInputSource::deserializeRegistry(), edm::hlt::Exception, Header::INIT, AlCaHLTBitMon_ParallelJobs::p, and HeaderView::size().

165  {
166  JobHeaderDecoder decoder;
167  std::vector<char> regdata(1000*1000);
168 
169  //int len;
170  //ist.read((char*)&len,sizeof(int));
171  //regdata.resize(len);
172  //ist.read(&regdata[0],len);
173  ist.read(&regdata[0], sizeof(HeaderView));
174 
175  if (ist.eof() || (unsigned int)ist.gcount() < sizeof(HeaderView) )
176  {
177  throw cms::Exception("ReadHeader","getRegFromFile")
178  << "No file exists or Empty file encountered:\n";
179  }
180 
181  HeaderView head(&regdata[0]);
182  uint32 code = head.code();
183  if (code != Header::INIT)
184  {
185  throw cms::Exception("ReadHeader","getRegFromFile")
186  << "Expecting an init Message at start of file\n";
187  }
188 
189  uint32 headerSize = head.size();
190  //Bring the pointer at start of Start Message/start of file
191  ist.seekg(0, std::ios::beg);
192  ist.read(&regdata[0], headerSize);
193 
194  //if(!ist)
195  // throw cms::Exception("ReadHeader","getRegFromFile")
196  // << "Could not read the registry information from the test\n"
197  // << "event stream file \n";
198 
199  //edm::InitMsg msg(&regdata[0],len);
200  //std::auto_ptr<SendJobHeader> p = decoder.decodeJobHeader(msg);
201  InitMsgView initView(&regdata[0]);
202  std::auto_ptr<SendJobHeader> p = StreamerInputSource::deserializeRegistry(initView);
203  return p;
204  }
unsigned int uint32
Definition: MsgTools.h:13
boost::shared_ptr< 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 61 of file MakeParameterSets.cc.

References edm::python::initializeModule(), makePSetsFromFile(), makePSetsFromString(), dbtoconf::object, PythonParameterSet::pset(), pythonToCppException(), and edm::ParameterSet::swap().

Referenced by main().

61  {
63 
64  boost::python::object mainModule = object(handle<>(borrowed(PyImport_AddModule(const_cast<char*>("__main__")))));
65 
66  boost::python::object mainNamespace = mainModule.attr("__dict__");
67  PythonParameterSet theProcessPSet;
68  mainNamespace["topPSet"] = ptr(&theProcessPSet);
69 
70  try {
71  // if it ends with py, it's a file
72  if(module.substr(module.size()-3) == ".py") {
73  makePSetsFromFile(module,mainNamespace);
74  } else {
75  makePSetsFromString(module,mainNamespace);
76  }
77  }
78  catch( error_already_set ) {
79  pythonToCppException("Configuration");
80  Py_Finalize();
81  }
82  boost::shared_ptr<ParameterSet> returnValue(new ParameterSet);
83  theProcessPSet.pset().swap(*returnValue);
84  return returnValue;
85  }
void pythonToCppException(const std::string &iType)
Definition: PythonManager.cc:5
static void makePSetsFromString(std::string const &module, boost::python::object &mainNamespace)
void swap(ParameterSet &other)
edm::ParameterSet & pset()
list object
Definition: dbtoconf.py:77
void initializeModule()
Definition: vlib.h:209
static void makePSetsFromFile(std::string const &fileName, boost::python::object &mainNamespace)
void edm::reenableSigs ( sigset_t *  oldset)

Definition at line 91 of file UnixSignalHandlers.cc.

References MUST_BE_ZERO.

Referenced by installCustomHandler(), and MulticoreRunLumiEventChecker::postForkReacquireResources().

92  {
93  // reenable the signals
94  MUST_BE_ZERO(pthread_sigmask(SIG_SETMASK,oldset,0));
95  }
#define MUST_BE_ZERO(fun)
template<class T >
T const* edm::reflex_cast ( void *  raw,
Reflex::Type const &  dynamicType 
)

Try to convert the un-typed pointer raw (which we promise is a pointer to an object whose dynamic type is denoted by dynamicType) to a pointer of type T. This is like the dynamic_cast operator, in that it can do pointer adjustment (in cases of multiple inheritance), and will return 0 if T is neither the same type as nor a public base of the C++ type denoted by dynamicType.

Definition at line 78 of file ReflexTools.h.

References compareJSON::const, and getGTfromDQMFile::obj.

78  {
79  static Reflex::Type const
80  toType(Reflex::Type::ByTypeInfo(typeid(T)));
81 
82  Reflex::Object obj(dynamicType, raw);
83  return static_cast<T const*>(obj.CastObject(toType).Address());
84 
85  // This alternative implementation of reflex_cast would allow us
86  // to remove the compile-time depenency on Reflex/Type.h and
87  // Reflex/Object.h, at the cost of some speed.
88  //
89  // return static_cast<T const*>(reflex_pointer_adjust(raw,
90  // dynamicType,
91  // typeid(T)));
92  }
string const
Definition: compareJSON.py:14
long double T
void const* edm::reflex_pointer_adjust ( void *  raw,
Reflex::Type const &  dynamicType,
std::type_info const &  toType 
)

Take an un-typed pointer raw (which we promise is a pointer to an object whose dynamic type is denoted by dynamicType), and return a raw pointer that is appropriate for referring to an object whose type is denoted by toType. This performs any pointer adjustment needed for dealing with base class sub-objects, and returns 0 if the type denoted by toType is neither the same as, nor a public base of, the type denoted by dynamicType.

void const* edm::reflex_pointer_adjust ( void *  raw,
Type const &  dynamicType,
std::type_info const &  toType 
)

Definition at line 309 of file ReflexTools.cc.

References getGTfromDQMFile::obj.

311  {
312  Object obj(dynamicType, raw);
313  return obj.CastObject(Type::ByTypeInfo(toType)).Address();
314  }
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 EGammaMvaEleEstimator::isoMvaValue(), TauGenJetProducer::produce(), PFRootEventManager::reconstructGenJets(), and reco::PFTau::sourceCandidatePtr().

19  {
20  typedef typename C::value_type T;
21  if (ref.isTransient()) {
22  return Ptr<T>(ref.product(), ref.key());
23  } else if (not ref.hasProductCache()) {
24  return Ptr<T>(ref.id(), ref.key(), ref.productGetter());
25  }
26  return Ptr<T>(ref.id(), ref.get(), ref.key());
27  }
Container::value_type value_type
long double T
std::vector< std::vector< std::string >::const_iterator > edm::regexMatch ( std::vector< std::string > const &  strings,
boost::regex const &  regexp 
)

Definition at line 30 of file RegexMatch.cc.

References i.

Referenced by triggerExpression::HLTReader::init(), HLTHighLevel::init(), edm::EventSelector::init(), regexMatch(), and stor::TriggerSelector::TreeElement::TreeElement().

30  {
31  std::vector< std::vector<std::string>::const_iterator> matches;
32  for (std::vector<std::string>::const_iterator i = strings.begin(), iEnd = strings.end(); i != iEnd; ++i) {
33  if (boost::regex_match((*i), regexp)) {
34  matches.push_back(i);
35  }
36  }
37  return matches;
38  }
int i
Definition: DBlmapReader.cc:9
std::vector< std::vector< std::string >::const_iterator > edm::regexMatch ( std::vector< std::string > const &  strings,
std::string const &  pattern 
)

Definition at line 41 of file RegexMatch.cc.

References glob2reg(), and regexMatch().

41  {
42  boost::regex regexp(glob2reg(pattern));
43  return regexMatch(strings, regexp);
44  }
std::string glob2reg(std::string const &pattern)
Definition: RegexMatch.cc:22
std::vector< std::vector< std::string >::const_iterator > regexMatch(std::vector< std::string > const &strings, boost::regex const &regexp)
Definition: RegexMatch.cc:30
bool edm::registryIsSubset ( SendJobHeader const &  sd,
ProductRegistry const &  reg 
)

Definition at line 85 of file Utilities.cc.

References edm::SendJobHeader::descs(), alignCSCRings::e, edm::hlt::Exception, FDEBUG, i, combine::key, and edm::ProductRegistry::productList().

87  {
88  bool rc = true;
89  SendDescs::const_iterator i(sd.descs().begin()),e(sd.descs().end());
90 
91  // the next line seems to be not good. what if the productdesc is
92  // already there? it looks like I replace it. maybe that it correct
93 
94  FDEBUG(6) << "registryIsSubset: Product List: " << std::endl;
95  for(;i != e; ++i) {
97  // the new products must be contained in the old registry
98  // form a branchkey from the *i branchdescription,
99  // use the productlist from the product registry to locate
100  // the branchkey. If not found, then error in this state
101  BranchKey key(*i);
102  if(reg.productList().find(key)==reg.productList().end()) {
103  rc = false;
104  break;
105 #if 0
106  throw cms::Exception("InconsistentRegistry","EventStreamer")
107  << "A new product registry was received during the "
108  << "running state with entries that were not present "
109  << "in the original registry.\n"
110  << "The new type is " << i->className() << "\n";
111 #endif
112  FDEBUG(6) << "Inconsistent Registry: new type is "
113  << i->className() << "\n";
114  }
115  }
116 
117  return rc;
118  }
int i
Definition: DBlmapReader.cc:9
std::map< BranchKey, BranchDescription > ProductList
#define FDEBUG(lev)
Definition: DebugMacros.h:18
double sd
list key
Definition: combine.py:13
bool edm::registryIsSubset ( SendJobHeader const &  sd,
SendJobHeader const &  ref 
)

Definition at line 120 of file Utilities.cc.

References edm::SendJobHeader::descs(), alignCSCRings::e, edm::hlt::Exception, FDEBUG, newFWLiteAna::found, i, and combine::key.

122  {
123  bool rc = true;
124  SendDescs::const_iterator i(sd.descs().begin()),e(sd.descs().end());
125 
126  FDEBUG(6) << "registryIsSubset: Product List: " << std::endl;
127  for(;i != e; ++i) {
128  // the new products must be contained in the old registry
129  // form a branchkey from the *i branchdescription,
130  // use the productlist from the product registry to locate
131  // the branchkey. If not found, then error in this state
132  BranchKey key(*i);
133  // look for matching in ref
134  FDEBUG(9) << "Looking for " << i->className() << "\n";
135  SendDescs::const_iterator iref(ref.descs().begin()),eref(ref.descs().end());
136  bool found = false;
137  for(; iref != eref; ++iref) {
138  FDEBUG(9) << "testing against " << iref->className() << "\n";
139  BranchKey refkey(*iref);
140  if(key == refkey) {
141  found = true;
142  FDEBUG(9) << "found!" << "\n";
143  break;
144  }
145  }
146  if(!found) {
147  rc = false;
148  break;
149 #if 0
150  throw cms::Exception("InconsistentRegistry","EventStreamer")
151  << "A new product registry was received during the "
152  << "running state with entries that were not present "
153  << "in the original registry.\n"
154  << "The new type is " << i->className() << "\n";
155 #endif
156  FDEBUG(6) << "Inconsistent Registry: new type is "
157  << i->className() << "\n";
158  }
159  }
160 
161  return rc;
162  }
int i
Definition: DBlmapReader.cc:9
#define FDEBUG(lev)
Definition: DebugMacros.h:18
double sd
list key
Definition: combine.py:13
template<typename ForwardSequence , typename Datum >
bool edm::search_all ( ForwardSequence const &  s,
Datum const &  d 
)
inline

Definition at line 46 of file Algorithms.h.

References spr::find().

Referenced by edm::eventsetup::EventSetupRecordProvider::add(), edm::Schedule::addToAllWorkers(), edm::service::MessageLoggerScribe::configure_statistics(), edm::Schedule::fillWorkers(), edm::service::TriggerNamesService::getTrigPaths(), edm::Schedule::limitOutput(), edm::MainParameterSet::MainParameterSet(), and public_base_classes().

46  {
47  return std::find(s.begin(), s.end(), d) != s.end();
48  }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
template<typename ForwardSequence , typename Predicate >
bool edm::search_if_in_all ( ForwardSequence const &  s,
Predicate const &  p 
)
inline

Definition at line 68 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

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

Definition at line 234 of file ParameterSet.cc.

Referenced by FilterOR::accept(), TkTrackingRegionsMargin< float >::add(), edm::eventsetup::EventSetupRecord::add(), pos::PixelConfigFile::addAlias(), evf::WebGUI::addCountersToParams(), evf::IndependentWebGUI::addCountersToParams(), HcalHardwareXml::addHardware(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), Hector::addPartToHepMC(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), gen::EvtGenInterface::addToHepMC(), EcalPreshowerGeometry::alignmentTransformIndexLocal(), BlockWipedPool::allocator(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), SiStripThresholdBuilder::analyze(), BxTiming::analyze(), RPCGeometryServTest::analyze(), EcalDQMonitorTask::analyze(), DTNoiseCalibration::analyze(), LHEAnalyzer::analyze(), DTPreCalibrationTask::analyze(), HcalQIEDataCheck::analyze(), HcalPedestalWidthsCheck::analyze(), DTNoiseTask::analyze(), cms::HcalConstantsASCIIWriter::analyze(), HeavyFlavorValidation::analyze(), DTTestPulsesTask::analyze(), DTAlbertoBenvenutiTask::analyze(), L1TRPCTPG::analyze(), DTDigiTask::analyze(), HLTScalers::analyze(), L1GtAnalyzer::analyzeL1GtUtilsCore(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), HybridNew::applyClsQuantile(), SurveyDataConverter::applyFineSurveyInfo(), TrackerHitAssociator::associateHit(), L1GtTriggerMenuTester::associateL1SeedsHltPath(), BxTiming::beginJob(), ShallowTree::beginJob(), Tracker_OldtoNewConverter::beginJob(), HLTSeedL1LogicScalers::beginRun(), TrigResRateMon::beginRun(), FourVectorHLTOffline::beginRun(), ora::RelationalDeleter::build(), CSCGeometryParsFromDD::build(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), SeedFromGenericPairOrTriplet::buildSeed(), CocoaUnitDefinition::BuildUnitsTable(), ALIUnitDefinition::BuildUnitsTable(), JetPartonMatching::calculate(), FWInvMassDialog::Calculate(), ClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_e3x2(), ClusterShapeAlgo::Calculate_e3x3(), ClusterShapeAlgo::Calculate_e4x4(), ClusterShapeAlgo::Calculate_e5x5(), MultipleAlgoIterator::calculatePedestal(), ReflectedIterator::calculatePedestal(), PileUpSubtractor::calculatePedestal(), cert_plot(), HiggsValidation::MonitoredDecays::channel(), AlignmentTwoBodyDecayTrackSelector::checkMETMass(), edm::Principal::checkUniquenessAndType(), TrackCleaner::cleanTracks(), SimTrackManager::cleanTracksWithHistory(), BlockWipedPool::clear(), PixelHitMatcher::compatibleSeeds(), GsfBetheHeitlerUpdator::compute(), GaussianSumUtilities1D::computeMode(), SiStripFecCabling::connections(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalBarrelAlgo::constructInsideDetectors(), DDHCalBarrelAlgo::constructInsideLayers(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule0(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), DDHCalBarrelAlgo::constructMidLayer(), DDHCalEndcapAlgo::constructScintLayer(), DDHCalBarrelAlgo::constructSideLayer(), CaloTowersCreationAlgo::convert(), GctFormatTranslateV35::convertBlock(), GctFormatTranslateMCLegacy::convertBlock(), GctFormatTranslateV38::convertBlock(), popcon::PopConSourceHandler< CastorPedestals >::convertFromOld(), copyObject(), TauJetCorrector::correction(), JetPartonCorrector::correction(), edm::FUShmOutputModule::countEventForDatasets(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupBXHitsEndLumiBlock(), LatencyHistosUsingDb::create(), PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), PF_PU_AssoMapAlgos::CreateTrackToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), PF_PU_AssoMapAlgos::CreateVertexToTrackMap(), Histograms::declareHistograms(), evf::ExceptionGenerator::defaultWebPage(), edm::DaqSource::defaultWebPage(), GeomDetTypeIdToEnum::detId(), PFRecoTauDiscriminationByInvMass::discriminate(), SurveyPxbDicer::doDice(), VectorDoublet< Vector3D, Vector3D >::dot(), DTSC::DTSectCollsort2(), ProcessNormalization::dump(), MuScleFit::duringFastLoop(), ZeeCalibration::duringLoop(), EcalClusterTools::e2nd(), EcalDQMonitorTask::EcalDQMonitorTask(), EcalClusterTools::eMax(), edm::ELlog4cplus::emit(), edm::service::ELoutput::emitToken(), TowerBlockFormatter::EndEvent(), DuplicationChecker::endJob(), AlcaBeamMonitor::endLuminosityBlock(), DTtTrigCalibrationTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), AlcaBeamMonitorClient::endRun(), VoronoiAlgorithm::equalize(), DDTIDModulePosAlgo::execute(), DDHCalForwardAlgo::execute(), DDHCalTBCableAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDTIBRadCableAlgo_MTCC::execute(), DDPixBarLayerAlgo::execute(), DDTECCoolAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTIBLayerAlgo::execute(), DDTIDModuleAlgo::execute(), DDTOBAxCableAlgo::execute(), DDTOBRadCableAlgo::execute(), DDTOBRodAlgo::execute(), DDTrackerLinear::execute(), DDTrackerLinearXY::execute(), DDTrackerXYZPosAlgo::execute(), DDTrackerZPosAlgo::execute(), DDHCalFibreBundle::execute(), DDHCalLinearXY::execute(), DDTECAxialCableAlgo::execute(), DDTECModuleAlgo::execute(), DDTECPhiAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTIDRingAlgo::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDPixFwdBlades::execute(), CommissioningHistograms::extractHistograms(), TopSingleLepton::MonitorEnsemble::fill(), TopHLTSingleLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), OutInConversionSeedFinder::fillClusterSeeds(), GenParticleProducer::fillDaughters(), DTLocalTriggerTest::fillGlobalSummary(), TrigResRateMon::fillHltMatrix(), FourVectorHLTOffline::fillHltMatrix(), edm::RootFile::fillIndexIntoFile(), EcalTrigPrimFunctionalAlgo::fillMap(), SiStripCMMonitorPlugin::fillMaps(), SiStripNoisesDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), SiPixelUtility::fillPaveText(), Histograms::fillRecHistograms(), ProbeTreeProducer::filter(), CSCDigiValidator::filter(), Hector::filterD1(), Hector::filterFP420(), Hector::filterZDC(), DisplayManager::findBlock(), pftools::SpaceManager::findCalibrator(), EcalTBCrystalMap::findCrystalAngles(), SymmetryFit::findUsableMinMax(), GsfTrajectoryFitter::fit(), CosmicMuonSmoother::fit(), KFTrajectoryFitter::fit(), alpgen::fixEventHiggsTTbar(), alpgen::fixEventSingleTop(), alpgen::fixEventTTbar(), NuclearTester::fwdEstimate(), DTTPGParameters::get(), DTLVStatus::get(), edm::RangeMap< det_id_type, edm::OwnVector< double_binary > >::get(), DTHVStatus::get(), edm::helper::IndexRangeAssociation::get(), DTRangeT0::get(), DTTtrig::get(), DTDeadFlag::get(), DTPerformance::get(), DTStatusFlag::get(), DTMtime::get(), DynamicTruncation::getBest(), GctFormatTranslateBase::getBlockDescription(), CalibrationInterface< CategoryT, CalibDataT >::getCalibData(), CaloGeometryHelper::getClosestCell(), egHLT::ComCodes::getCodeName(), egHLT::TrigCodes::TrigBitSetMap::getCodeName(), SiStripPsuDetIdMap::getDcuId(), HICMeasurementEstimator::getDetectorCode(), SiStripPsuDetIdMap::getDetectorLocation(), egHLT::trigTools::getFiltersPassed(), LMFCorrCoefDat::getFlag(), metsig::SignAlgoResolutions::getfunc(), IO::GetLineData(), pftools::IO::GetLineData(), EcalElectronicsMapping::getLMNumber(), PileUpSubtractor::getMeanAtTower(), FillInfoPopConSourceHandler::getNewObjects(), IO::GetNextLineData(), pftools::IO::GetNextLineData(), trigger::TriggerEventWithRefs::getObjects(), ggPFClusters::getPFClusters(), PileUpSubtractor::getPileUpAtTower(), LMFCorrCoefDat::getSeqID(), LMFCorrCoefDat::getSequence(), PileUpSubtractor::getSigmaAtTower(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), SiStripBaseCondObjDQM::getSummaryMEs(), ZIterativeAlgorithmWithFit::getWeight(), SimTrackManager::giveMotherNeeded(), MuonRoadTrajectoryBuilder::flippingPair< A >::head(), PixelTripletLargeTipGenerator::hitTriplets(), HLTEgammaDoubleLegCombFilter::hltFilter(), HLTEgammaEtFilterPairs::hltFilter(), HLTJetTag< T >::hltFilter(), HLTJetSortedVBFFilter< T >::hltFilter(), SimTrackManager::idSavedTrack(), CombinedHitTripletGenerator::init(), L1MuGMTLUT::Init(), init_filter(), L1GtUtils::LogicalExpressionL1Results::initialize(), PixelRecoRange< float >::inside(), egammaisolation::EgammaRange< float >::inside(), muonisolation::Range< float >::inside(), TRange< int >::inside(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), TtGenEvent::isFullLeptonic(), RPCFw::isMajor(), CSCDDUMap::item(), CSCCrateMap::item(), CSCChamberMap::item(), TtEvent::jetLeptonCombination(), L1GtUtils::LogicalExpressionL1Results::l1Results(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), MuonTkNavigationSchool::linkEndcapLayers(), G4SimEvent::load(), CalorimetryManager::loadFromEcalBarrel(), CalorimetryManager::loadFromEcalEndcap(), CalorimetryManager::loadFromHcal(), pos::PixelConfigFile::makeKey(), SiStripHitEffFromCalibTree::makeTKMap(), match(), JetPartonMatching::matchingPtOrderedMinDist(), egammaisolation::EgammaRange< float >::max(), PixelRecoRange< float >::max(), muonisolation::Range< float >::max(), TRange< int >::max(), PixelRecoRange< float >::mean(), egammaisolation::EgammaRange< float >::mean(), muonisolation::Range< float >::mean(), TRange< int >::mean(), lhef::LHEReader::next(), Quantile::next(), ReflectedIterator::offsetCorrectJets(), MultipleAlgoIterator::offsetCorrectJets(), PileUpSubtractor::offsetCorrectJets(), OnDemandMeasurementTracker::OnDemandMeasurementTracker(), DDValuePair::operator const double &(), DDValuePair::operator double &(), PhysicsTools::AtomicId::operator!=(), ddsvaluesCmp::operator()(), CastorDbASCIIIO::DetIdLess::operator()(), reco::tau::RecoTauDiscriminantFromDiscriminator::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), L1MuGMTExtendedCand::Rank::operator()(), SimpleL1MuGMTCand::Rank::operator()(), PhysicsTools::AtomicId::operator<(), operator<<(), PhysicsTools::AtomicId::operator<=(), PhysicsTools::AtomicId::operator==(), PhysicsTools::AtomicId::operator>(), PhysicsTools::AtomicId::operator>=(), EnergyLossPlain::optimal(), ClusterClusterMapping::overlap(), MomentumDependentPedeLabeler::parameterLabel(), DDLParser::parseFile(), DDLParser::parseOneFile(), reco::modules::TrackerTrackHitFilter::parseStoN(), PartitionGenerator::partitions(), ggPFClusters::PFRecHitsSCOverlap(), L1MuDTAssignmentUnit::PhiAU(), PhiBorderFinder::PhiBorderFinder(), cond::PayLoadInspector< DataT >::plot(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), HiggsValidation::MonitoredDecays::position(), SiStripRegionCabling::position(), HLTConfigProvider::prescaleValues(), Quantile::prev(), TtFullLeptonicEvent::print(), egHLT::TrigCodes::TrigBitSetMap::printCodes(), hcalCalib::Process(), PFAlgoTestBenchElectrons::processBlock(), PFAlgo::processBlock(), cscdqm::EventProcessor::processCSC(), DDLSpecPar::processElement(), DDLNumeric::processElement(), DDLString::processElement(), EnergyLossProducer::produce(), CandOneToManyDeltaRMatcher::produce(), PFConversionProducer::produce(), TtFullLepKinSolutionProducer::produce(), PFTrackProducer::produce(), DTFakeT0ESProducer::produce(), pat::PATPhotonProducer::produce(), L1ExtraParticleMapProd::produce(), PF_PU_FirstVertexTracks::produce(), pat::PATGenericParticleProducer::produce(), pat::PATMuonProducer::produce(), pat::PATTauProducer::produce(), reco::modules::TrackMultiSelector::produce(), JetPlusTrackProducerAA::produce(), PFCand_NoPU_WithAM::produce(), pat::PATElectronProducer::produce(), RunManager::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), NuclearTrackCorrector::produce(), cms::HITrackVertexMaker::produceTracks(), edm::eventsetup::EventSetupProvider::proxyProviderDescriptions(), RBorderFinder::RBorderFinder(), RunSummaryRead::readData(), L1TriggerScalerRead::readData(), SiStripDetVOffBuilder::readLastValueFromFile(), RealQuadEquation::RealQuadEquation(), evf::FUEventProcessor::receivingAndMonitor(), CSCEfficiency::recHitSegment_Efficiencies(), CSCEfficiency::recSimHitEfficiency(), SiStripDetVOffBuilder::reduce(), SiStripDetVOffBuilder::reduction(), CandidateSeededTrackingRegionsProducer::regions(), edm::ESProxyFactoryProducer::registerFactoryWithKey(), pftools::CaloWindow::relativePosition(), L1GtUtils::LogicalExpressionL1Results::reset(), L1TOccupancyClientHistogramService::resetHisto(), SiPixelHistoricInfoEDAClient::retrieveMEs(), TkTrackingRegionsMargin< float >::right(), reco::modules::TrackerTrackHitFilter::Rule::Rule(), DTTSS::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), DTTSM::run(), DTSC::run(), EcalTrigPrimFunctionalAlgo::run_part2(), DTLocalTriggerLutTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), SortCollectionSelector< InputCollection, Comparator, OutputCollection, StoreContainer, RefAdder >::select(), FWTableView::selectCollection(), MuScleFit::selectMuons(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), DTLVStatus::set(), DTTPGParameters::set(), DTHVStatus::set(), DTRangeT0::set(), DTTtrig::set(), DTPerformance::set(), DTStatusFlag::set(), DTDeadFlag::set(), DTMtime::set(), PFElectronAlgo::SetActive(), HICMeasurementEstimator::setCuts(), EcalDeadCellTriggerPrimitiveFilter::setEvtRecHitstatus(), egHLT::trigTools::setFiltersObjPasses(), FWEventItemsManager::setFrom(), TauJetCorrector::setParameters(), JetPartonCorrector::setParameters(), DDLSolid::setReference(), ConvBremSeedProducer::sharedHits(), ora::Sequences::sinchronize(), ora::Sequences::sinchronizeAll(), 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(), CombinationGenerator< T >::splitInTwoCollections(), SiStripZeroSuppression::storeCMN(), L1MuGMTLUT::PortDecoder::str(), RPCDigiL1Link::strip(), StripCPE::StripCPE(), cond::PayLoadInspector< DataT >::summary(), MagGeoBuilderFromDDD::summary(), MuonRoadTrajectoryBuilder::flippingPair< A >::tail(), CompositeLogicalTrajectoryFilter::TBC(), L3MuonTrajectoryBuilder::trajectories(), TwoBodyDecayTrajectoryFactory::trajectories(), GsfTrajectorySmoother::trajectories(), GeomDetTypeIdToEnum::type(), MonopoleSteppingAction::update(), LatencyHistosUsingDb::update(), TauJetCorrector::ParametrizationTauJet::value(), viewNameFrom(), BlockWipedPool::visit(), and BlockWipedPool::wipe().

234  {
235  return p.second;
236  }
template<typename T >
void edm::SetCustomStreamer ( )

Definition at line 41 of file CustomStreamer.h.

References cl, and className().

41  {
42  TClass *cl = gROOT->GetClass(TypeID(typeid(T)).className().c_str());
43  if (cl->GetStreamer() == 0) {
44  cl->AdoptStreamer(new CustomStreamer<T>());
45  }
46  }
float cl
Definition: Combine.cc:71
long double T
std::string className(const T &t)
Definition: ClassName.h:30
template<typename T >
void edm::SetCustomStreamer ( T const &  )

Definition at line 50 of file CustomStreamer.h.

References cl, and className().

50  {
51  TClass *cl = gROOT->GetClass(TypeID(typeid(T)).className().c_str());
52  if (cl->GetStreamer() == 0) {
53  cl->AdoptStreamer(new CustomStreamer<T>());
54  }
55  }
float cl
Definition: Combine.cc:71
long double T
std::string className(const T &t)
Definition: ClassName.h:30
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 84 of file setPtr.h.

References edm::detail::reallySetPtr().

Referenced by edm::helpers::PtrSetter< T >::set().

87  {
88  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
89  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:38
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 93 of file setPtr.h.

References edm::detail::reallySetPtr().

96  {
97  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
98  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:38
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 102 of file setPtr.h.

References edm::detail::reallySetPtr().

105  {
106  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
107  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:38
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 111 of file setPtr.h.

References edm::detail::reallySetPtr().

114  {
115  detail::reallySetPtr(obj, iToType, iIndex, oPtr);
116  }
void reallySetPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:38
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 454 of file SortedCollection.h.

457  {
458  obj.setPtr(toType, index, ptr);
459  }
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 471 of file OwnVector.h.

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

474  {
475  obj.setPtr(toType, index, ptr);
476  }
void edm::setRefCoreStreamer ( bool  resetAll = false)

Definition at line 69 of file RefCoreStreamer.cc.

References cl, and edm::EDProductGetter::switchProductGetter().

Referenced by edm::StreamerInputSource::deserializeEvent(), edm::RootDelayedReader::getProduct_(), edm::service::InitRootHandlers::InitRootHandlers(), edm::ReducedProvenanceReader::readProvenance(), edm::FullProvenanceReader::readProvenance(), edm::OldProvenanceReader::readProvenance(), edm::RootFile::RootFile(), and edm::RootOutputTree::writeTTree().

69  {
70  {
71  TClass *cl = gROOT->GetClass("edm::RefCore");
72  TClassStreamer *st = cl->GetStreamer();
73  if (st == 0) {
74  cl->AdoptStreamer(new RefCoreStreamer());
75  }
76  {
77  TClass *cl = gROOT->GetClass("edm::RefCoreWithIndex");
78  TClassStreamer *st = cl->GetStreamer();
79  if (st == 0) {
80  cl->AdoptStreamer(new RefCoreWithIndexStreamer());
81  }
82  }
83  }
84  EDProductGetter::switchProductGetter(0);
85  }
float cl
Definition: Combine.cc:71
EDProductGetter const * edm::setRefCoreStreamer ( EDProductGetter const *  ep)

Definition at line 87 of file RefCoreStreamer.cc.

References cl, and edm::EDProductGetter::switchProductGetter().

87  {
88  EDProductGetter const* returnValue=0;
89  if (ep != 0) {
90  {
91  TClass *cl = gROOT->GetClass("edm::RefCore");
92  TClassStreamer *st = cl->GetStreamer();
93  if (st == 0) {
94  cl->AdoptStreamer(new RefCoreStreamer());
95  }
96  }
97  {
98  TClass *cl = gROOT->GetClass("edm::RefCoreWithIndex");
99  TClassStreamer *st = cl->GetStreamer();
100  if (st == 0) {
101  cl->AdoptStreamer(new RefCoreWithIndexStreamer());
102  }
103  }
105  }
106  return returnValue;
107  }
float cl
Definition: Combine.cc:71
static EDProductGetter const * switchProductGetter(EDProductGetter const *)
These can only be used internally by the framework.
void edm::setStandAloneMessageThreshold ( std::string const &  severity)

Definition at line 142 of file MessageLogger.cc.

References edm::MessageLoggerQ::standAloneThreshold().

142  {
144 }
static void standAloneThreshold(std::string const &severity)
void edm::setStreamedProductStreamer ( )

Definition at line 30 of file StreamedProductStreamer.cc.

References cl.

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

30  {
31  TClass *cl = gROOT->GetClass("edm::StreamedProduct");
32  cl->AdoptStreamer(new StreamedProductStreamer());
33  }
float cl
Definition: Combine.cc:71
void edm::sigInventory ( )

Definition at line 160 of file UnixSignalHandlers.cc.

References dtNoiseDBValidation_cfg::cerr, gen::k, and MUST_BE_ZERO.

161  {
162  sigset_t tmpset, oldset;
163 // Make a full house set of signals, except for SIGKILL = 9
164 // and SIGSTOP = 19 which cannot be blocked
165  MUST_BE_ZERO(sigfillset(&tmpset));
166  MUST_BE_ZERO(sigdelset(&tmpset, SIGKILL));
167  MUST_BE_ZERO(sigdelset(&tmpset, SIGSTOP));
168 // Swap it with the current sigset_t
169  MUST_BE_ZERO(pthread_sigmask( SIG_SETMASK, &tmpset, &oldset ));
170 // Now see what's included in the set
171  for(int k=1; k<NSIG; ++k) {
172  std::cerr << "sigismember is " << sigismember( &tmpset, k )
173  << " for signal " << std::setw(2) << k
174 #if defined(__linux__)
175  << " (" << strsignal(k) << ")"
176 #endif
177  << std::endl;
178  }
179 // Finally put the original sigset_t back
180  MUST_BE_ZERO(pthread_sigmask( SIG_SETMASK, &oldset, &tmpset));
181  }
int k[5][pyjets_maxn]
#define MUST_BE_ZERO(fun)
edm::size_ ( )

Definition at line 181 of file OwnArray.h.

Referenced by edm::IndexIntoFile::IndexIntoFileItrImpl::advanceToNextLumiOrRun(), edm::IndexIntoFile::IndexIntoFileItrImpl::advanceToNextRun(), edm::OwnArray< T, MAX_SIZE, P >::back(), smproxy::DataRetrieverMonitorCollection::EventMQ::calculateStatistics(), cacheutils::ValuesCache::clear(), edm::OwnArray< T, MAX_SIZE, P >::clear(), stor::ConcurrentQueue< T, EnqPolicy >::clear(), stor::ConcurrentQueue< T, EnqPolicy >::deqTimedWait(), stor::ConcurrentQueue< T, EnqPolicy >::deqWait(), edm::OwnArray< T, MAX_SIZE, P >::empty(), stor::ConcurrentQueue< T, EnqPolicy >::empty(), stor::ConcurrentQueue< T, EnqPolicy >::enqNowait(), stor::ConcurrentQueue< T, EnqPolicy >::enqWait(), edm::OwnArray< T, MAX_SIZE, P >::erase(), edm::MultiAssociation< C >::LazyFiller::fill(), cacheutils::ValuesCache::get(), TkDetMap::getDetsForLayer(), smproxy::DataRetrieverMonitorCollection::EventMQ::getStats(), edm::IndexIntoFile::IndexIntoFileItrImpl::initializeRun(), stor::ConcurrentQueue< T, EnqPolicy >::insertIfPossible(), edm::OwnArray< T, MAX_SIZE, P >::is_back_safe(), stor::ConcurrentQueue< T, EnqPolicy >::isFull(), edm::IndexIntoFile::IndexIntoFileItrImpl::next(), edm::IndexIntoFile::IndexIntoFileItrImpl::operator==(), edm::OwnArray< T, MAX_SIZE, P >::pop_back(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), stor::ConcurrentQueue< T, EnqPolicy >::removeHead(), stor::ConcurrentQueue< T, EnqPolicy >::removeHeadIfPossible(), smproxy::DataRetrieverMonitorCollection::EventMQ::reset(), stor::ConcurrentQueue< T, EnqPolicy >::setCapacity(), stor::ConcurrentQueue< T, EnqPolicy >::setMemory(), edm::OwnArray< T, MAX_SIZE, P >::size(), stor::ConcurrentQueue< T, EnqPolicy >::size(), stor::ConcurrentQueue< T, EnqPolicy >::~ConcurrentQueue(), and cacheutils::ValuesCache::~ValuesCache().

181  : data_{{0}}, size_(0) {
182  }
size_(0)
Definition: OwnArray.h:181
edm::size_ ( n  )

Definition at line 185 of file OwnArray.h.

185  : data_{{0}}, size_(n) {
186  }
size_(0)
Definition: OwnArray.h:181
void edm::snapshotMessageLog ( )

Definition at line 100 of file MessageLogger.cc.

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

100  { // 11/30/10 mf
101  // Capture module name and label strings.
102  // Use if module objects are about to disappear due to exception,
103  // but a message will then be issued.
104  MessageDrop::instance()->snapshot();
105 }
static PFTauRenderPlugin instance
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 127 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p, and python.multivaluedict::sort().

127  {
128  std::sort(s.begin(), s.end(), p);
129  }
std::vector< LuminosityBlockRange > & edm::sortAndRemoveOverlaps ( std::vector< LuminosityBlockRange > &  lumiRange)

Definition at line 96 of file LuminosityBlockRange.cc.

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

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

Definition at line 102 of file EventRange.cc.

References alignCSCRings::e, i, and sort_all().

Referenced by 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  }
int i
Definition: DBlmapReader.cc:9
void sort_all(RandomAccessSequence &s)
wrappers for std::sort
Definition: Algorithms.h:120
template<class OutIter >
bool edm::split ( OutIter  result,
std::string const &  string_to_split,
char  first,
char  sep,
char  last 
)

Definition at line 88 of file split.h.

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

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

90 {
91  typedef std::string::const_iterator str_c_iter;
92  str_c_iter b = s.begin()
93  , e = s.end();
94 
95  if(static_cast<unsigned int>(e - b) < 2u) return false;
96 
97  if(*b == first) ++b;
98  else return false;
99 
100  if(*--e != last) return false;
101 
102  // invariant: we've found all items in [b..boi)
103  for(str_c_iter //boi = std::find_if(b, e, is_not_a(sep))
104  boi = contextual_find_not(b, e, first, sep, last)
105  , eoi
106  ; boi != e
107  //; boi = std::find_if(eoi, e, is_not_a(sep))
108  ; boi = contextual_find_not(eoi, e, first, sep, last))
109  {
110  // find end of current item:
111  //eoi = std::find_if(boi, e, is_a(sep));
112  eoi = contextual_find(boi, e, first, sep, last);
113 
114  // copy the item formed from characters in [boi..eoi):
115  *dest++ = std::string(boi, eoi);
116  } // for
117 
118  return true;
119 } // split< >()
bool first
Definition: L1TdeRCT.cc:94
FwdIter contextual_find_not(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:70
double b
Definition: hdecay.h:120
FwdIter contextual_find(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:48
void edm::squelchStandAloneMessageCategory ( std::string const &  category)

Definition at line 145 of file MessageLogger.cc.

References edm::MessageLoggerQ::squelch().

145  {
147 }
static void squelch(std::string const &category)
template<typename RandomAccessSequence >
void edm::stable_sort_all ( RandomAccessSequence &  s)
inline
template<typename RandomAccessSequence , typename Predicate >
void edm::stable_sort_all ( RandomAccessSequence &  s,
Predicate  p 
)
inline

Definition at line 142 of file Algorithms.h.

References AlCaHLTBitMon_ParallelJobs::p.

142  {
143  std::stable_sort(s.begin(), s.end(), p);
144  }
std::string edm::stripLeadingDirectoryTree ( const std::string &  file)
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 ( ProductData &  a,
ProductData &  b 
)
inline

Definition at line 51 of file ProductData.h.

References edm::ProductData::swap().

51  {
52  a.swap(b);
53  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( Parentage &  a,
Parentage &  b 
)
inline

Definition at line 62 of file Parentage.h.

References edm::Parentage::swap().

62  {
63  a.swap(b);
64  }
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 66 of file CloningPtr.h.

References edm::CloningPtr< T, P >::swap().

67  {
68  a.swap(b);
69  }
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 ( ESHandleBase &  a,
ESHandleBase &  b 
)
inline

Definition at line 76 of file ESHandle.h.

References edm::ESHandleBase::swap().

77  {
78  a.swap(b);
79  }
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 97 of file ProcessHistory.h.

References edm::ProcessHistory::swap().

97  {
98  a.swap(b);
99  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( TriggerResults &  lhs,
TriggerResults &  rhs 
)
inline

Definition at line 100 of file TriggerResults.h.

References edm::TriggerResults::swap().

100  {
101  lhs.swap(rhs);
102  }
void edm::swap ( HandleBase &  a,
HandleBase &  b 
)
inline

Definition at line 107 of file HandleBase.h.

References edm::HandleBase::swap().

107  {
108  a.swap(b);
109  }
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 112 of file HLTGlobalStatus.h.

References edm::HLTGlobalStatus::swap().

112  {
113  lhs.swap(rhs);
114  }
template<typename C >
void edm::swap ( Association< C > &  lhs,
Association< C > &  rhs 
)
inline
void edm::swap ( OutputHandle &  a,
OutputHandle &  b 
)
inline

Definition at line 119 of file OutputHandle.h.

References edm::OutputHandle::swap().

119  {
120  a.swap(b);
121  }
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 120 of file DetSet.h.

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

120  {
121  a.swap(b);
122  }
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 121 of file RefVectorBase.h.

121  {
122  a.swap(b);
123  }
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 122 of file RefCore.h.

References edm::RefCore::swap().

122  {
123  lhs.swap(rhs);
124  }
void swap(RefCore &)
Definition: RefCore.h:116
void edm::swap ( BasicHandle &  a,
BasicHandle &  b 
)
inline

Definition at line 130 of file BasicHandle.h.

References edm::BasicHandle::swap().

130  {
131  a.swap(b);
132  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( edm::RefCoreWithIndex lhs,
edm::RefCoreWithIndex rhs 
)
inline

Definition at line 133 of file RefCoreWithIndex.h.

References edm::RefCoreWithIndex::swap().

133  {
134  lhs.swap(rhs);
135  }
void swap(RefCoreWithIndex &)
void edm::swap ( FileInPath a,
FileInPath b 
)
inline

Definition at line 139 of file FileInPath.h.

References edm::FileInPath::swap().

140  {
141  a.swap(b);
142  }
void edm::swap ( ErrorObj &  a,
ErrorObj &  b 
)
inline

Definition at line 145 of file ErrorObj.h.

References edm::ErrorObj::swap().

145  {
146  a.swap(b);
147 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename K , typename T >
void edm::swap ( MapOfVectors< K, T > &  lhs,
MapOfVectors< K, T > &  rhs 
)
inline

Definition at line 160 of file MapOfVectors.h.

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

160  {
161  lhs.swap(rhs);
162  }
template<class T >
void edm::swap ( EDCollection< T > &  a,
EDCollection< T > &  b 
)
inline

Definition at line 162 of file EDCollection.h.

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

163  {
164  a.swap(b);
165  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
void edm::swap ( RefGetter< T > &  a,
RefGetter< T > &  b 
)
inline

Definition at line 178 of file RefGetter.h.

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

179  {
180  a.swap(b);
181  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C , typename T , typename F >
void edm::swap ( RefVector< C, T, F > &  a,
RefVector< C, T, F > &  b 
)
inlinenoexcept

Definition at line 178 of file RefVector.h.

References a, and b.

178  {
179  a.swap(b);
180  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename ID , typename C , typename P >
void edm::swap ( IDVectorMap< ID, C, P > &  a,
IDVectorMap< ID, C, P > &  b 
)
inline

Definition at line 193 of file IDVectorMap.h.

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

193  {
194  a.swap(b);
195  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
void edm::swap ( value_ptr< T > &  vp1,
value_ptr< T > &  vp2 
)
inline

Definition at line 194 of file value_ptr.h.

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

194 { vp1.swap(vp2); }
template<typename T >
void edm::swap ( PtrVector< T > &  lhs,
PtrVector< T > &  rhs 
)
inline

Definition at line 206 of file PtrVector.h.

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

206  {
207  lhs.swap(rhs);
208  }
void edm::swap ( InputGroup &  a,
InputGroup &  b 
)
inline

Definition at line 208 of file Group.h.

References edm::Group::swap().

208  {
209  a.swap(b);
210  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( DataFrameContainer &  lhs,
DataFrameContainer &  rhs 
)
inline

Definition at line 213 of file DataFrameContainer.h.

References edm::DataFrameContainer::swap().

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

Definition at line 220 of file RefToBaseProd.h.

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

220  {
221  lhs.swap(rhs);
222  }
void swap(RefToBaseProd< T > &)
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 224 of file AssociationVector.h.

References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::swap().

225  {
226  a.swap(b);
227  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename ID , typename C , typename P >
void edm::swap ( RangeMap< ID, C, P > &  a,
RangeMap< ID, C, P > &  b 
)
inline

Definition at line 224 of file RangeMap.h.

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

224  {
225  a.swap(b);
226  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<int I>
void edm::swap ( Hash< I > &  a,
Hash< I > &  b 
)
inline

Definition at line 227 of file Hash.h.

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

227  {
228  a.swap(b);
229  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C >
void edm::swap ( RefProd< C > const &  lhs,
RefProd< C > const &  rhs 
)
inline

Definition at line 239 of file RefProd.h.

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

239  {
240  lhs.swap(rhs);
241  }
template<typename T >
void edm::swap ( ValueMap< T > &  lhs,
ValueMap< T > &  rhs 
)
inline

Definition at line 251 of file ValueMap.h.

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

251  {
252  lhs.swap(rhs);
253  }
template<class T >
void edm::swap ( DetSetLazyVector< T > &  a,
DetSetLazyVector< T > &  b 
)
inline

Definition at line 258 of file DetSetLazyVector.h.

259  {
260  a.swap(b);
261  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( ScheduledGroup &  a,
ScheduledGroup &  b 
)
inline

Definition at line 265 of file Group.h.

References edm::Group::swap().

265  {
266  a.swap(b);
267  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T , typename C >
void edm::swap ( DetSetRefVector< T, C > &  a,
DetSetRefVector< T, C > &  b 
)
inline

Definition at line 282 of file DetSetRefVector.h.

282  {
283  a.swap(b);
284  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( UnscheduledGroup &  a,
UnscheduledGroup &  b 
)
inline

Definition at line 289 of file Group.h.

References edm::Group::swap().

289  {
290  a.swap(b);
291  }
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); }
void edm::swap ( ParameterSet a,
ParameterSet b 
)
inline

Definition at line 309 of file ParameterSet.h.

References edm::ParameterSet::swap().

309  {
310  a.swap(b);
311  }
void edm::swap ( SourceGroup &  a,
SourceGroup &  b 
)
inline

Definition at line 313 of file Group.h.

References edm::Group::swap().

313  {
314  a.swap(b);
315  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
void edm::swap ( RefToBase< T > &  a,
RefToBase< T > &  b 
)
inline

Definition at line 354 of file RefToBase.h.

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

355  {
356  a.swap(b);
357  }
template<typename T , typename SORT >
void edm::swap ( SortedCollection< T, SORT > &  a,
SortedCollection< T, SORT > &  b 
)
inline

Definition at line 394 of file SortedCollection.h.

394  {
395  a.swap(b);
396  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
void edm::swap ( View< T > &  lhs,
View< T > &  rhs 
)
inline

Definition at line 406 of file View.h.

406  {
407  lhs.swap(rhs);
408  }
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<typename T , typename P >
void edm::swap ( OwnVector< T, P > &  a,
OwnVector< T, P > &  b 
)
inlinenoexcept

Definition at line 432 of file OwnVector.h.

References a, and b.

432  {
433  a.swap(b);
434  }
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 434 of file DetSetVector.h.

435  {
436  a.swap(b);
437  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<class T >
void edm::swap ( LazyGetter< T > &  a,
LazyGetter< T > &  b 
)
inline

Definition at line 506 of file LazyGetter.h.

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

507  {
508  a.swap(b);
509  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
static void edm::throwCorruptionException ( char const *  where,
std::string const &  branchName 
)
static

Definition at line 55 of file Principal.cc.

References edm::errors::EventCorruption, and edm::hlt::Exception.

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

55  {
57  << "Principal::" << where <<": Product on branch " << branchName << " occurs twice in the same event.\n";
58  }
void edm::throwExceptionWithText ( char const *  txt)

Definition at line 220 of file BranchDescription.cc.

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

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

220  {
222  e << "Problem using an incomplete BranchDescription\n"
223  << txt
224  << "\nPlease report this error to the FWCore developers";
225  throw e;
226  }
static void edm::throwGroupNotFoundException ( char const *  where,
errors::ErrorCodes  error,
BranchID const &  bid 
)
static

Definition at line 48 of file Principal.cc.

References edm::hlt::Exception.

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

48  {
49  throw Exception(error, "InvalidID")
50  << "Principal::" << where << ": no product with given branch id: "<< bid << "\n";
51  }
void edm::throwMissingDictionariesException ( )

Definition at line 209 of file ReflexTools.cc.

References begin, edm::errors::DictionaryNotFound, relativeConstraints::empty, end, edm::hlt::Exception, and missingTypes().

Referenced by loadMissingDictionaries(), and maybeThrowMissingDictionaryException().

209  {
210  if(!missingTypes().empty()) {
211  std::ostringstream ostr;
212  for (StringSet::const_iterator it = missingTypes().begin(), itEnd = missingTypes().end();
213  it != itEnd; ++it) {
214  ostr << *it << "\n\n";
215  }
217  << "No REFLEX data dictionary found for the following classes:\n\n"
218  << ostr.str()
219  << "Most likely each dictionary was never generated,\n"
220  << "but it may be that it was generated in the wrong package.\n"
221  << "Please add (or move) the specification\n"
222  << "<class name=\"whatever\"/>\n"
223  << "to the appropriate classes_def.xml file.\n"
224  << "If the class is a template instance, you may need\n"
225  << "to define a dummy variable of this type in classes.h.\n"
226  << "Also, if this class has any transient members,\n"
227  << "you need to specify them in classes_def.xml.";
228  }
229  }
StringSet & missingTypes()
Definition: ReflexTools.cc:189
#define end
Definition: vmac.h:38
#define begin
Definition: vmac.h:31
static void edm::throwMultiFoundException ( char const *  where,
int  nFound,
TypeID const &  productType 
)
static

Definition at line 40 of file Principal.cc.

References edm::hlt::Exception, and edm::errors::ProductNotFound.

Referenced by edm::Principal::getBySelector(), and edm::Principal::getByType().

40  {
42  << "Principal::" << where << ": Found " << nFound << " products rather than one which match all criteria\n"
43  << "Looking for type: " << productType << "\n";
44  }
static void edm::throwNotFoundException ( char const *  where,
TypeID const &  productType,
InputTag const &  tag 
)
static

Definition at line 93 of file Principal.cc.

References cppFunctionSkipper::exception, edm::InputTag::instance(), edm::InputTag::label(), makeNotFoundException(), and edm::InputTag::process().

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

93  {
94  boost::shared_ptr<cms::Exception> exception = makeNotFoundException(where, productType, tag.label(), tag.instance(), tag.process());
95  throw *exception;
96  }
static boost::shared_ptr< cms::Exception > makeNotFoundException(char const *where, TypeID const &productType)
Definition: Principal.cc:62
static void edm::throwProductDeletedException ( const char *  where,
TypeID const &  productType,
std::string const &  label,
std::string const &  instance,
std::string const &  process 
)
static

Definition at line 80 of file Principal.cc.

References cppFunctionSkipper::exception.

80  {
81  boost::shared_ptr<cms::Exception> exception(new ProductDeletedException());
82  *exception << "Principal::" << where << ": The product matching all criteria\nLooking for type: " << productType << "\n"
83  << "Looking for module label: " << label << "\n" << "Looking for productInstanceName: " << instance << "\n"
84  << (process.empty() ? "" : "Looking for process: ") << process << "\n"
85  << "Was already deleted. This means there is a configuration error.\nThe module which is asking for this data must be configured to state that it will read this data.";
86  throw exception;
87 
88  }
static PFTauRenderPlugin instance
tuple process
Definition: LaserDQM_cfg.py:3
static void edm::throwProductDeletedException ( ProductID const &  pid,
edm::EventPrincipal::ConstGroupPtr const  g 
)
static

Definition at line 199 of file EventPrincipal.cc.

References cppFunctionSkipper::exception.

Referenced by edm::Principal::findGroup(), edm::Principal::findGroupByLabel(), edm::Principal::findGroups(), edm::EventPrincipal::getByProductID(), and edm::Principal::getForOutput().

199  {
201  exception<<"get by product ID: The product with given id: "<<pid
202  <<"\ntype: "<<g->productType()
203  <<"\nproduct instance name: "<<g->productInstanceName()
204  <<"\nprocess name: "<<g->processName()
205  <<"\nwas already deleted. This is a configuration error. Please change the configuration of the module which caused this exception to state it reads this data.";
206  throw exception;
207  }
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 g
Definition: Activities.doc:4
std::vector< std::string > edm::tokenize ( std::string const &  input,
std::string const &  separator 
)

breaks the input string into tokens, delimited by the separator

Definition at line 57 of file Parse.cc.

References copy_all(), and query::result.

Referenced by MomentumDependentPedeLabeler::buildMomentumDependencyMap(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), decode(), editESInputTag(), editInputTag(), editVInputTag(), edm::ESInputTag::ESInputTag(), edm::FileInPath::initialize_(), edm::InputTag::InputTag(), AlignmentProducer::makeNonOverlappingRunRanges(), MultiEventFilter::MultiEventFilter(), and PasswordReader::readPassword().

57  {
58  typedef boost::char_separator<char> separator_t;
59  typedef boost::tokenizer<separator_t> tokenizer_t;
60 
61  std::vector<std::string> result;
62  separator_t sep(separator.c_str(), "", boost::keep_empty_tokens); // separator for elements in path
63  tokenizer_t tokens(input, sep);
64  copy_all(tokens, std::back_inserter<std::vector<std::string> >(result));
65  return result;
66  }
tuple result
Definition: query.py:137
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:24
template<typename T >
boost::python::list edm::toPythonList ( const std::vector< T > &  v)

Definition at line 16 of file PythonWrapper.h.

References i, list(), and query::result.

Referenced by PythonParameterSet::getParameters().

16  {
18  for(unsigned i = 0; i < v.size(); ++i) {
19  result.append(v[i]);
20  }
21  return result;
22  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137
mathSSE::Vec4< T > v
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 ( boost::python::list l)

Definition at line 28 of file PythonWrapper.h.

References i, n, getGTfromDQMFile::obj, dbtoconf::object, and query::result.

29  {
30  std::vector<T> result;
31  unsigned n = PyList_Size(l.ptr());
32  boost::python::object iter_obj(boost::python::handle<>(PyObject_GetIter(l.ptr())));
33  for(unsigned i = 0; i < n; ++i)
34  {
35  boost::python::object obj = boost::python::extract<boost::python::object>(iter_obj.attr("next")());
36  result.push_back(boost::python::extract<T>(obj));
37  }
38  return result;
39  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137
list object
Definition: dbtoconf.py:77
void edm::typeDemangle ( char const *  mangledName,
std::string &  demangledName 
)

Definition at line 86 of file TypeDemangler.cc.

References edm::hlt::Exception, and ntuplemaker::status.

Referenced by PhysicsTools::MVAComputer::evalInternal(), and edm::serviceregistry::ServicesManager::ServicesManager().

86  {
87  int status = 0;
88  size_t* const nullSize = 0;
89  char* const null = 0;
90  demangledName += abi::__cxa_demangle(name, null, nullSize, &status);
91  if (status != 0) {
92  throw cms::Exception("Demangling error") << " '" << name << "'\n";
93  }
94  // We must use the same conventions used by REFLEX.
95  noSpaceAfterComma(demangledName);
96  // Strip default allocator
97  std::string const allocator(",std::allocator<");
98  removeParameter(demangledName, allocator);
99  // Strip default comparator
100  std::string const comparator(",std::less<");
101  removeParameter(demangledName, comparator);
102  // Put const qualifier before identifier.
103  constBeforeIdentifier(demangledName);
104  }
std::string demangledName(const std::type_info &typeInfo)
Definition: ClassUtils.cc:82
tuple status
Definition: ntuplemaker.py:245
bool edm::untaintString ( char const *  pattern,
char const *  regexp 
)

Definition at line 13 of file RegexMatch.cc.

Referenced by do_work().

13  {
14  boost::regex rexp(regexp);
15  return boost::regex_match(pattern, rexp);
16  }
bool edm::value_type_of ( Reflex::Type const &  t,
Reflex::Type &  found_type 
)
inline

Definition at line 31 of file ReflexTools.h.

References find_nested_type_named().

Referenced by edm::ProductRegistry::initializeLookupTables().

31  {
32  return find_nested_type_named("value_type", t, found_type);
33  }
bool find_nested_type_named(std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)
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 alignCSCRings::e, diffTwoXMLs::label, AlCaHLTBitMon_ParallelJobs::p, and v.

284  {
285  typedef TrieNode<T> const node_base;
286  typedef TrieNodeIter<T> node_iterator;
287  node_iterator e;
288  for (node_iterator p(&n); p!=e; ++p) {
289  v((*p).value(),label+(char)p.label());
290  walkTrie(v,*p,label+(char)p.label());
291  }
292  }
edm::TrieNodeIter< PDet > node_iterator
void walkTrie(V &v, TrieNode< T > const &n, std::string const &label="")
visit each node of the trie
Definition: Trie.h:284
mathSSE::Vec4< T > v
std::string edm::withoutQuotes ( std::string const &  from)

Definition at line 36 of file Parse.cc.

References Capri::details::from(), and query::result.

36  {
37  std::string result = from;
38  if(!result.empty()) {
39  // get rid of leading quotes
40  if(result[0] == '"' || result[0] == '\'') {
41  result.erase(0,1);
42  }
43  }
44 
45  if(!result.empty()) {
46  // and trailing quotes
47  int lastpos = result.size()-1;
48  if(result[lastpos] == '"' || result[lastpos] == '\'') {
49  result.erase(lastpos, 1);
50  }
51  }
52  return result;
53  }
tuple result
Definition: query.py:137
static std::string from(" from ")
std::string edm::wrappedClassName ( std::string const &  iFullName)

Definition at line 5 of file WrappedClassName.cc.

References className().

Referenced by edm::PoolOutputModule::beginJob(), edm::StreamerInputSource::buildClassCache(), BareRootProductGetter::createNewBuffer(), edm::StreamerInputSource::declareStreamers(), fwlite::DataGetterHelper::getByProductID(), edm::root::FWLiteDelayedReader::getProduct_(), edm::BranchDescription::initFromDictionary(), edm::ProductRegistry::initializeLookupTables(), maybeThrowMissingDictionaryException(), edm::Event::put(), and edm::StreamedProduct::setNewClassType().

5  {
6  std::string const wrapperBegin("edm::Wrapper<");
7  std::string const wrapperEnd1(">");
8  std::string const wrapperEnd2(" >");
9  std::string const& wrapperEnd = (className[className.size()-1] == '>' ? wrapperEnd2 : wrapperEnd1);
10  std::string wrapped;
11  wrapped.reserve(wrapperBegin.size() + className.size() + wrapperEnd.size());
12  wrapped += wrapperBegin;
13  wrapped += className;
14  wrapped += wrapperEnd;
15  return wrapped;
16  }
std::string className(const T &t)
Definition: ClassName.h:30
bool edm::wrapper_type_of ( Reflex::Type const &  possible_wrapper,
Reflex::Type &  found_wrapped_type 
)
inline

Definition at line 38 of file ReflexTools.h.

References find_nested_type_named().

39  {
40  return find_nested_type_named("wrapped_type",
41  possible_wrapper,
42  found_wrapped_type);
43  }
bool find_nested_type_named(std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)

Variable Documentation

int const edm::bufSize = 128
static
debugvalue edm::debugit
ELslProxy< ELabortGen > const edm::ELabort

Definition at line 402 of file ELseverityLevel.cc.

Referenced by loadMap().

ELslGen edm::ELabortGen
ELslProxy< ELerrorGen > const edm::ELerror

Definition at line 366 of file ELseverityLevel.cc.

Referenced by loadMap(), and LoggedErrorsOnlySummary().

ELslProxy< ELerror2Gen > const edm::ELerror2

Definition at line 372 of file ELseverityLevel.cc.

Referenced by edm::service::ELrecv(), and loadMap().

ELslGen edm::ELerror2Gen
ELslGen edm::ELerrorGen
ELslProxy< ELfatalGen > const edm::ELfatal

Definition at line 408 of file ELseverityLevel.cc.

Referenced by loadMap(), and edm::ErrorObj::setSeverity().

ELslGen edm::ELfatalGen
ELslProxy< ELhighestSeverityGen > const edm::ELhighestSeverity
ELslGen edm::ELhighestSeverityGen
ELslProxy< ELincidentalGen > const edm::ELincidental

Definition at line 336 of file ELseverityLevel.cc.

Referenced by loadMap(), and edm::ErrorObj::setSeverity().

ELslGen edm::ELincidentalGen
ELslProxy< ELinfoGen > const edm::ELinfo

Definition at line 348 of file ELseverityLevel.cc.

Referenced by loadMap().

ELslGen edm::ELinfoGen
ELslProxy< ELnextEventGen > const edm::ELnextEvent

Definition at line 378 of file ELseverityLevel.cc.

Referenced by loadMap().

ELslGen edm::ELnextEventGen
ELslProxy< ELsevereGen > const edm::ELsevere

Definition at line 390 of file ELseverityLevel.cc.

Referenced by loadMap(), and edm::service::ELoutput::log().

ELslProxy< ELsevere2Gen > const edm::ELsevere2

Definition at line 396 of file ELseverityLevel.cc.

Referenced by loadMap().

ELslGen edm::ELsevere2Gen
ELslGen edm::ELsevereGen
ELslProxy< ELsuccessGen > const edm::ELsuccess

Definition at line 342 of file ELseverityLevel.cc.

Referenced by loadMap(), and edm::service::ELoutput::log().

ELslGen edm::ELsuccessGen
ELslProxy< ELunspecifiedGen > const edm::ELunspecified
ELslGen edm::ELunspecifiedGen
ELslProxy< ELwarningGen > const edm::ELwarning

Definition at line 354 of file ELseverityLevel.cc.

Referenced by loadMap(), and edm::MessageSender::ErrorObjDeleter::operator()().

ELslProxy< ELwarning2Gen > const edm::ELwarning2
ELslGen edm::ELwarning2Gen
ELslGen edm::ELwarningGen
ELslProxy< ELzeroSeverityGen > const edm::ELzeroSeverity
ELslGen edm::ELzeroSeverityGen
char const* edm::fmt_Guid
static
Initial value:
=
"%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02hhX"

Definition at line 21 of file Guid.cc.

Referenced by edm::Guid::toString().

StringSet edm::foundTypes_
static

Definition at line 29 of file ReflexTools.cc.

Referenced by foundTypes().

MallocOptionSetter edm::global_malloc_options

Definition at line 215 of file MallocOpts.cc.

Referenced by getGlobalOptionSetter().

const int edm::init_size = 1024*1024

Definition at line 18 of file StreamDQMSerializer.cc.

unsigned long long const edm::kAveEventPerSec = 200ULL
static
unsigned long long const edm::kNanoSecPerSec = 1000000000ULL
static
StringSet edm::missingTypes_
static

Definition at line 30 of file ReflexTools.cc.

Referenced by missingTypes().

const unsigned char edm::MLSCRIBE_RUNNING_INDICATOR = 29
static
TriggerNamesMap::const_iterator edm::previousTriggerName
static

Definition at line 31 of file EventBase.cc.

Referenced by edm::EventBase::triggerNames_().

EDProductGetter const* edm::s_productGetter =0
static
unsigned int const edm::shift = 8 * sizeof(unsigned int)
static

Definition at line 9 of file LuminosityBlockID.cc.

Referenced by HcalTriggerPrimitiveAlgo::analyze(), L1TCSCTF::analyze(), EcalTPGParamBuilder::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), KalmanAlignmentAlgorithm::applyAlignmentParameters(), MuScleFitUtils::applyScale(), CSCTFTrackBuilder::buildTracks(), SiStripMonitorMuonHLT::createMEs(), DEutils< T >::DEDigi(), RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), OptOModifiedRhomboidPrism::getRotatedPlate(), HcalNumberingFromDDD::getShift(), cond::EcalDQMChannelStatusHelper::getValues(), cond::EcalDCSTowerStatusHelper::getValues(), cond::EcalDQMTowerStatusHelper::getValues(), cond::EcalTPGCrystalStatusHelper::getValues(), BeamSpotAlignmentParameters::globalParameters(), RigidBodyAlignmentParameters::globalParameters(), HcalNumberingFromDDD::HcalCellTypes(), PixelTripletNoTipGenerator::hitTriplets(), FFTJetPFPileupCleaner::isRemovable(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), L1MuDTPtaLut::load(), HcalTTPDigiProducer::produce(), DistortedMuonProducerFromDB::produce(), ShiftedMETcorrInputProducer::produce(), ParticleReplacerParticleGun::produce(), ShiftedPFCandidateProducerForPFMEtMVA::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedParticleProducerT< T >::produce(), ShiftedJetProducerT< T, Textractor >::produce(), CSCTFSectorProcessor::run(), CSCTFSPCoreLogic::run(), BackgroundHandler::setParameters(), FFTJetPFPileupCleaner::setRemovalBit(), DTTracoChip::storeCorr(), DTTracoChip::storeUncorr(), SiStripTemplate::sxtemp(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), RigidBodyAlignmentParameters::translation(), BeamSpotAlignmentParameters::translation(), CSCTFEvent::unpack(), DCCEEEventBlock::unpack(), DCCEBEventBlock::unpack(), LatencyHistosUsingDb::update(), edm::LuminosityBlockID::value(), and CastorCORData::wasMarkAndPassZS().

volatile bool edm::shutdown_flag = false
boost::mutex edm::signum_lock

Definition at line 36 of file UnixSignalHandlers.cc.

Referenced by getSigNum().

volatile int edm::signum_value
Initial value:
=
0

Definition at line 37 of file UnixSignalHandlers.cc.

Referenced by getSigNum().

pset::TypeTrans const edm::sTypeTranslations
static

Definition at line 78 of file Entry.cc.

Referenced by edm::Entry::Entry(), operator<<(), and edm::Entry::throwValueError().

TransEntry edm::table[]

Definition at line 197 of file EventProcessor.cc.

TriggerNamesMap edm::triggerNamesMap
static

Definition at line 30 of file EventBase.cc.

Referenced by edm::EventBase::triggerNames_().

boost::mutex edm::usr2_lock

Definition at line 20 of file UnixSignalHandlers.cc.

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