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
 
 daqsource
 
 detail
 
 details
 
 detailsTrie
 
 dslv
 
 dslvdetail
 
 dsrvdetail
 
 edmmltest
 
 errors
 
 es
 
 event_processor
 
 eventsetup
 
 evtSel
 
 extensioncord
 
 fillDetails
 
 friendlyname
 
 handleimpl
 
 hash_detail
 
 helper
 
 helpers
 
 hlt
 
 lazydetail
 
 math_private
 
 messagedrop
 
 multicore
 
 pdtentry
 
 poolNames
 
 principal_get_adapter_detail
 
 productstatus
 
 pset
 
 python
 
 rec_dep
 
 refcore
 
 refhelper
 
 refitem
 
 reftobase
 
 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  BoolCacheStreamer
 
class  BranchChildren
 
class  BranchDescription
 
struct  BranchEntryDescription
 
class  BranchID
 
class  BranchIDListHelper
 
struct  BranchKey
 
class  BranchMapper
 
class  BranchMapperWithReader
 
class  CFWriter
 
struct  ClonePolicy
 
class  CloningPtr
 
class  CodedException
 
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  ConstPtrCacheStreamer
 
struct  CopyPolicy
 
class  CosMuoGenProducer
 
class  CosMuoGenSource
 
class  CountAndLimit
 
class  CPUTimer
 
class  CurrentProcessingContext
 
class  CustomStreamer
 
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  DuplicateChecker
 
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  EDProduct
 
class  EDProductGetter
 
class  ELextendedID
 
class  ELlog4cplus
 
class  ELseverityLevel
 
struct  ELslProxy
 
class  EmptyESSource
 
class  EmptyGroupDescription
 
class  EmptySource
 
class  Entry
 
class  EntryDescription
 
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  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
 
struct  GroupData
 
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::OwnVector< T, P > >
 
struct  has_fillView< edm::RefVector< C, T, F > >
 
struct  has_fillView< edm::SortedCollection< T, SORT > >
 
struct  has_fillView< edm::Vector< T > >
 
struct  has_fillView< PtrVector< T > >
 
struct  has_fillView< RefToBaseVector< T > >
 
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::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  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  LumiKey
 
class  LuminosityBlock
 
class  LuminosityBlockAux
 
class  LuminosityBlockAuxiliary
 
class  LuminosityBlockBase
 
class  LuminosityBlockID
 
class  LuminosityBlockPrincipal
 
class  LuminosityBlockRange
 
class  LumiReWeighting
 
struct  MainParameterSet
 
class  Maker
 
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  ModuleChanger
 
class  ModuleDescription
 
struct  ModuleInPathSummary
 
class  ModuleLabelSelector
 
class  ModuleTime
 
class  MsgCode
 
class  MultiAssociation
 
class  MultiParticleInConeGunProducer
 
class  MultiParticleInConeGunSource
 
class  NavigateEventsLooper
 
struct  NewPolicy
 
class  NoDelayedReader
 
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  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  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
 
class  ProductID
 
class  ProductIDStreamer
 
class  ProductInstanceNameSelector
 
class  ProductLookupIndex
 
class  ProductProvenance
 
class  ProductRegistry
 author Stefano ARGIRO author Bill Tanenbaum More...
 
class  ProductRegistryHelper
 
class  Provenance
 
class  ProvenanceAdaptor
 
class  ProvenanceCheckerOutputModule
 
class  Ptr
 
class  PtrHolder
 
class  PtrVector
 
class  PtrVectorBase
 
class  PtrVectorItr
 
class  PUGenerator
 
class  RandomEngineStates
 
class  RandomFilter
 
class  RandomNumberGenerator
 
class  RangeMap
 
class  RawInputSource
 
struct  RecordInParentfull
 
struct  RecordInParentless
 
class  Ref
 
class  RefBase
 
class  RefCore
 
class  RefCoreCheckTransientOnWriteStreamer
 
class  RefCoreStreamer
 
class  RefGetter
 
class  RefItem
 
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  RunKey
 
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
 
class  StreamDQMDeserializer
 
class  StreamDQMSerializer
 
class  StreamedProduct
 
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  Transient
 
class  TransientDataFrame
 
class  TransientProductLookupMap
 
class  TransientStreamer
 
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  Vector
 
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  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 unsigned char byte_t
 
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
ProcessHistoryRegistry
 
typedef
ProcessHistoryRegistry::vector_type 
ProcessHistoryVector
 
typedef unsigned short ProcessIndex
 
typedef std::string ProcessingTask
 
typedef unsigned short ProductIndex
 
typedef std::vector
< ProductProvenance
ProductProvenanceVector
 
typedef byte_t ProductStatus
 
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::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

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 & BranchTypeToProductStatusBranchName (BranchType const &branchType)
 
std::string const & BranchTypeToProductTreeName (BranchType const &branchType)
 
std::string const & BranchTypeToString (BranchType const &branchType)
 
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)
 
static Guid const clid_null (std::string("00000000-0000-0000-0000-000000000000"))
 
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<class T >
void convert_handle (BasicHandle const &orig, 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)
 
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::EventSetupProvider &cp, ParameterSet &params, CommonParams const &common)
 
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 , 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<typename T >
void fillView (Vector< T > const &obj, ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers)
 
template<class T >
void fillView (DetSetVector< T > 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)
 
template<typename T , typename P >
void fillView (OwnVector< T, P > 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)
 
bool FreshErrorsExist ()
 
Type get_final_type (Type t)
 
std::vector< BranchDescription
const * > 
getAllBranchDescriptions ()
 
std::vector< std::string > const & getAllTriggerNames ()
 
void getCodeTable (edm::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 const std::string kBaseType ("EDAnalyzer")
 
static const std::string kBaseType ("EDFilter")
 
static const std::string kBaseType ("EDProducer")
 
static std::string const kBaseType ("Source")
 
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 ()
 
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)
 
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)
 
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<class 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)
 
template<typename KEY >
bool operator!= (RefItem< KEY > const &lhs, RefItem< KEY > const &rhs)
 
bool operator!= (EventEntryDescription const &a, EventEntryDescription const &b)
 
bool operator!= (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator!= (BranchKey const &a, BranchKey const &b)
 
bool operator!= (ProductID const &lh, ProductID const &rh)
 
bool operator!= (TypeID const &a, TypeID const &b)
 
bool operator!= (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
template<typename KEY >
bool operator!= (RefBase< KEY > const &lhs, RefBase< KEY > const &rhs)
 
bool operator!= (Parentage const &a, Parentage const &b)
 
bool operator!= (const TypeIDBase &a, const TypeIDBase &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!= (ProcessHistory const &a, ProcessHistory const &b)
 
template<typename KEY >
bool operator!= (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Inequality operator. More...
 
bool operator!= (RefCore const &lhs, RefCore const &rhs)
 
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!= (ProductRegistry const &a, ProductRegistry const &b)
 
template<typename T , typename U >
bool operator!= (value_ptr< T > const &lhs, U const &rhs)
 
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!= (U const &lhs, value_ptr< T > const &rhs)
 
template<typename C , typename T , typename F >
bool operator!= (RefVector< C, T, F > const &lhs, RefVector< C, T, F > const &rhs)
 
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)
 
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<class A , class 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, F > operator+ (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< (BranchKey const &a, BranchKey const &b)
 
bool operator< (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator< (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
template<typename KEY >
bool operator< (RefItem< KEY > const &lhs, RefItem< KEY > const &rhs)
 
bool operator< (ProductID const &lh, ProductID const &rh)
 
template<typename KEY >
bool operator< (RefBase< KEY > const &lhs, RefBase< KEY > const &rhs)
 
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, FileFormatVersion const &ff)
 
std::ostream & operator<< (std::ostream &os, BranchID const &id)
 
std::ostream & operator<< (std::ostream &os, RunLumiEntryInfo 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 &os, EventEntryInfo const &p)
 
std::ostream & operator<< (std::ostream &os, EntryDescription 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, Parentage const &p)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockRange const &iID)
 
std::ostream & operator<< (std::ostream &os, BranchKey const &bk)
 
std::ostream & operator<< (std::ostream &os, const RunAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, ConstBranchDescription const &p)
 
std::ostream & operator<< (std::ostream &os, const LuminosityBlockAuxiliary &p)
 
std::ostream & operator<< (std::ostream &os, ProductID const &id)
 
std::ostream & operator<< (std::ostream &os, TypeID const &id)
 
std::ostream & operator<< (std::ostream &oStream, EventRange const &iID)
 
std::ostream & operator<< (std::ostream &os, ProcessConfiguration const &pc)
 
std::ostream & operator<< (std::ostream &os, BranchMapper const &p)
 
std::ostream & operator<< (std::ostream &os, ProductProvenance const &p)
 
std::ostream & operator<< (std::ostream &os, ModuleDescription const &p)
 
std::ostream & operator<< (std::ostream &os, ParameterSetEntry const &psetEntry)
 
std::ostream & operator<< (std::ostream &os, JobReport::RunReport const &f)
 
std::ostream & operator<< (std::ostream &oStream, RunID const &iID)
 
edm::MessageSenderoperator<< (edm::MessageSender &os, JobReport::InputFile const &f)
 
std::ostream & operator<< (std::ostream &os, const EventAuxiliary &p)
 
edm::MessageSenderoperator<< (edm::MessageSender &os, JobReport::OutputFile const &f)
 
std::ostream & operator<< (std::ostream &os, VParameterSetEntry const &vpsetEntry)
 
edm::MessageSenderoperator<< (edm::MessageSender &os, JobReport::RunReport const &f)
 
std::ostream & operator<< (std::ostream &ost, ProcessHistory const &ph)
 
std::ostream & operator<< (std::ostream &os, Provenance const &p)
 
std::ostream & operator<< (std::ostream &ost, const HLTGlobalStatus &hlt)
 Formatted printout of trigger tbale. More...
 
template<class T >
ErrorObjoperator<< (ErrorObj &e, const T &t)
 
std::ostream & operator<< (std::ostream &oStream, LuminosityBlockID const &iID)
 
std::ostream & operator<< (std::ostream &oStream, EventID const &iID)
 
ErrorObjoperator<< (ErrorObj &e, const char s[])
 
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)
 
template<typename KEY >
bool operator== (RefItem< KEY > const &lhs, RefItem< KEY > const &rhs)
 
bool operator== (RunLumiEntryInfo const &a, RunLumiEntryInfo const &b)
 
bool operator== (BranchKey const &a, BranchKey const &b)
 
bool operator== (ProcessConfiguration const &a, ProcessConfiguration const &b)
 
bool operator== (EventEntryDescription const &a, EventEntryDescription const &b)
 
bool operator== (EventEntryInfo const &a, EventEntryInfo const &b)
 
bool operator== (ProductID const &lh, ProductID const &rh)
 
template<typename KEY >
bool operator== (RefBase< KEY > const &lhs, RefBase< KEY > const &rhs)
 
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== (ConstBranchDescription const &a, ConstBranchDescription const &b)
 
bool operator== (ProductProvenance const &a, ProductProvenance const &b)
 
bool operator== (ProcessHistory const &a, ProcessHistory const &b)
 
template<typename KEY >
bool operator== (RefVectorBase< KEY > const &lhs, RefVectorBase< KEY > const &rhs)
 Equality operator. More...
 
template<class T >
bool operator== (RefToBaseVector< T > const &a, RefToBaseVector< T > const &b)
 
bool operator== (RefCore const &lhs, RefCore const &rhs)
 
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)
 
template<typename T , typename U >
bool operator== (value_ptr< T > const &lhs, U const &rhs)
 
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== (U const &lhs, value_ptr< T > const &rhs)
 
bool operator== (BranchDescription const &a, BranchDescription const &b)
 
template<typename C , typename T , typename F >
bool operator== (RefVector< C, T, F > const &lhs, RefVector< C, T, F > 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 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 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)
 
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<class A , class 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 > > (char const *name) const
 
template<>
std::vector< PdtEntryParameterSet::getParameter< std::vector< PdtEntry > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getParameter< std::vector< unsigned long long > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getParameterNamesForType< std::vector< PdtEntry > > (bool trackiness) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (std::string const &name) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name, std::string const &defaultValue) const
 
template<>
std::string ParameterSet::getUntrackedParameter< std::string > (char const *name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name, std::vector< double > const &defaultValue) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (std::string const &name) const
 
template<>
std::vector< double > ParameterSet::getUntrackedParameter< std::vector< double > > (char const *name, 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, std::vector< ESInputTag > const &defaultValue) const
 
template<>
std::vector< ESInputTagParameterSet::getUntrackedParameter< std::vector< ESInputTag > > (std::string const &name) 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) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (std::string const &name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name, std::vector< EventRange > const &defaultValue) const
 
template<>
std::vector< EventRangeParameterSet::getUntrackedParameter< std::vector< EventRange > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name, std::vector< InputTag > const &defaultValue) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (std::string const &name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (char const *name) const
 
template<>
std::vector< InputTagParameterSet::getUntrackedParameter< std::vector< InputTag > > (char const *name, std::vector< InputTag > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (std::string const &name, std::vector< int > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (std::string const &name) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (char const *name, std::vector< int > const &defaultValue) const
 
template<>
std::vector< int > ParameterSet::getUntrackedParameter< std::vector< int > > (char const *name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name, std::vector< long long > const &defaultValue) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (std::string const &name) const
 
template<>
std::vector< long long > ParameterSet::getUntrackedParameter< std::vector< long long > > (char const *name, 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< 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, std::vector< LuminosityBlockID > const &defaultValue) const
 
template<>
std::vector< LuminosityBlockIDParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > (char const *name) const
 
template<>
std::vector< LuminosityBlockRangeParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > > (std::string const &name) 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 > > (std::string const &name) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (std::string const &name, std::vector< PdtEntry > const &defaultValue) const
 
template<>
std::vector< PdtEntryParameterSet::getUntrackedParameter< std::vector< PdtEntry > > (char const *name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (std::string const &name) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (std::string const &name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name, std::vector< std::string > const &defaultValue) const
 
template<>
std::vector< std::string > ParameterSet::getUntrackedParameter< std::vector< std::string > > (char const *name) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (std::string const &name) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name, std::vector< unsigned int > const &defaultValue) const
 
template<>
std::vector< unsigned int > ParameterSet::getUntrackedParameter< std::vector< unsigned int > > (char const *name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name, std::vector< unsigned long long > const &defaultValue) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (std::string const &name) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name, std::vector< unsigned long long > const &defaultValue) const
 
template<>
std::vector< unsigned long long > ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > (char const *name) const
 
std::string parameterTypeEnumToString (ParameterTypes iType)
 
std::auto_ptr< ParameterSetpopSubProcessParameterSet (ParameterSet &parameterSet)
 
static void postIndexIntoFilePrintEventLists (TFile *tfl, FileFormatVersion const &fileFormatVersion, TTree *metaDataTree)
 
static void preIndexIntoFilePrintEventLists (TFile *tfl, 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 &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 &oStream, std::string const &, boost::mpl::false_)
 
void printBadAllocException (char const *prog=0, edm::JobReport *jobRep=0, int rc=-1)
 
void printBranchNames (TTree *tree)
 
void printCmsException (cms::Exception &e, char const *prog=0, edm::JobReport *jobRep=0, int rc=-1)
 
void printEventLists (TFile *tfl)
 
void printStdException (std::exception &e, char const *prog=0, edm::JobReport *jobRep=0, int rc=-1)
 
void printTrees (TFile *hdl)
 
void printUnknownException (char const *prog=0, edm::JobReport *jobRep=0, int rc=-1)
 
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)
 
void setCacheStreamers ()
 
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 , 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, bool oldFormat=false, bool productIDwasLong=false)
 
void setStandAloneMessageThreshold (std::string const &severity)
 
template<typename T >
void SetTransientStreamer ()
 
template<typename T >
void SetTransientStreamer (T const &)
 
void setTransientStreamers ()
 
void sigInventory ()
 
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 (GroupData &a, GroupData &b)
 
void swap (Parentage &a, Parentage &b)
 
template<class T , class P >
void swap (CloningPtr< T, P > &a, CloningPtr< T, P > &b)
 
void swap (ESHandleBase &a, ESHandleBase &b)
 
void swap (OrphanHandleBase &a, OrphanHandleBase &b)
 
void swap (ProcessHistory &a, ProcessHistory &b)
 
template<class T >
void swap (RefToBaseVector< T > &a, RefToBaseVector< T > &b)
 
void swap (TriggerResults &lhs, TriggerResults &rhs)
 
void swap (HandleBase &a, HandleBase &b)
 
template<typename KEY >
void swap (RefVectorBase< KEY > &a, RefVectorBase< KEY > &b)
 swap two vectors More...
 
void swap (HLTGlobalStatus &lhs, HLTGlobalStatus &rhs)
 Free swap function. More...
 
void swap (BasicHandle &a, BasicHandle &b)
 
template<typename C >
void swap (Association< C > &lhs, Association< C > &rhs)
 
template<class T >
void swap (DetSet< T > &a, DetSet< T > &b)
 
void swap (OutputHandle &a, OutputHandle &b)
 
void swap (edm::RefCore &lhs, edm::RefCore &rhs)
 
void swap (FileInPath &a, FileInPath &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<typename C , typename T , typename F >
void swap (RefVector< C, T, F > &a, RefVector< C, T, F > &b)
 
template<typename T >
void swap (value_ptr< T > &vp1, value_ptr< T > &vp2)
 
template<class T >
void swap (RefGetter< T > &a, RefGetter< T > &b)
 
template<typename ID , typename C , typename P >
void swap (IDVectorMap< ID, C, P > &a, IDVectorMap< ID, C, P > &b)
 
template<typename T >
void swap (PtrVector< T > &lhs, PtrVector< T > &rhs)
 
template<int I>
void swap (Hash< I > &a, Hash< I > &b)
 
void swap (DataFrameContainer &lhs, DataFrameContainer &rhs)
 
template<typename T >
void swap (edm::RefToBaseProd< T > const &lhs, edm::RefToBaseProd< T > const &rhs)
 
void swap (InputGroup &a, InputGroup &b)
 
template<typename KeyRefProd , typename CVal , typename KeyRef , typename SizeType , typename KeyReferenceHelper >
void swap (AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &a, AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > &b)
 
template<typename ID , typename C , typename P >
void swap (RangeMap< ID, C, P > &a, RangeMap< ID, C, P > &b)
 
template<typename C >
void swap (edm::RefProd< C > const &lhs, edm::RefProd< C > const &rhs)
 
template<typename T >
void swap (Vector< T > &a, Vector< T > &b)
 
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)
 
template<typename C >
void swap (MultiAssociation< C > &lhs, MultiAssociation< C > &rhs)
 
void swap (ParameterSet &a, ParameterSet &b)
 
void swap (UnscheduledGroup &a, UnscheduledGroup &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<class T >
void swap (DetSetVector< T > &a, DetSetVector< T > &b)
 
template<typename T >
void swap (View< T > &lhs, View< T > &rhs)
 
template<typename T , typename P >
void swap (OwnVector< T, P > &a, OwnVector< T, P > &b)
 
template<class T >
void swap (LazyGetter< T > &a, LazyGetter< T > &b)
 
void throwExceptionWithText (char const *txt)
 
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 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

debugvalue debugit
 
LogDebug_ dummyLogDebugObject_
 
LogTrace_ dummyLogTraceObject_
 
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
 
MallocOptionSetter global_malloc_options
 
const int init_size = 1024*1024
 
static unsigned int const kAveEventPerSec = 200U
 
static unsigned int const kNanoSecPerSec = 1000000000U
 
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/07/06 12:54:47
Revision:
1.2
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>

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

Here is an example:

ExceptionCollector c;

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

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

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

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

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 unsigned char edm::byte_t

Definition at line 14 of file ProductStatus.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 20 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 24 of file MessageSender.h.

Definition at line 22 of file MessageSender.h.

Definition at line 60 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 154 of file FWGenericHandle.h.

Definition at line 147 of file GenericHandle.h.

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

Definition at line 43 of file EDProductfwd.h.

Definition at line 44 of file EDProductfwd.h.

Definition at line 45 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 52 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 56 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 15 of file ConfigurationHandshake.h.

Definition at line 12 of file ConfigurationHandshake.h.

Definition at line 75 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 11 of file ProcessHistoryRegistry.h.

Definition at line 10 of file ProcessHistoryRegistry.h.

Definition at line 12 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 89 of file ProductProvenance.h.

Definition at line 15 of file ProductStatus.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 53 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 99 of file StreamedProducts.h.

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

Definition at line 67 of file StreamedProducts.h.

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

Definition at line 12 of file SimTrackContainer.h.

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

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

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

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

Definition at line 136 of file Schedule.cc.

Enumeration Type Documentation

anonymous enum
Enumerator
kChildSucceed 
kChildExitBadly 
kChildSegv 
kMaxChildAction 

Definition at line 840 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

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(), edm::GroupSelector::selected(), and edm::EventSkipperByID::skipIt().

76  {
77  return std::binary_search(s.begin(), s.end(), d);
78  }
string s
Definition: asciidump.py:422
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 L1TEmulatorMonitor_cff::p.

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

Definition at line 112 of file BranchType.cc.

References InEvent, and InRun.

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

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

Definition at line 120 of file BranchType.cc.

References InEvent, and InRun.

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

120  {
121  return ((branchType == InEvent) ? eventEventEntryInfo : ((branchType == InRun) ? runEventEntryInfo : lumiEventEntryInfo));
122  }
std::string const & edm::BranchTypeToInfoTreeName ( BranchType const &  branchType)

Definition at line 104 of file BranchType.cc.

References ZMuMuCategoriesSequences_cff::eventInfo, InEvent, and InRun.

104  { // backward compatibility
105  return ((branchType == InEvent) ? eventInfo : ((branchType == InRun) ? runInfo : lumiInfo)); // backward compatibility
106  } // backward compatibility
std::string const & edm::BranchTypeToMajorIndexName ( BranchType const &  branchType)

Definition at line 124 of file BranchType.cc.

References InEvent, and InRun.

124  {
125  return ((branchType == InEvent) ? eventMajorIndex : ((branchType == InRun) ? runMajorIndex : lumiMajorIndex));
126  }
std::string const & edm::BranchTypeToMetaDataTreeName ( BranchType const &  branchType)

Definition at line 100 of file BranchType.cc.

References InEvent, and InRun.

Referenced by ProvenanceDumper::work_().

100  {
101  return ((branchType == InEvent) ? eventMeta : ((branchType == InRun) ? runMeta : lumiMeta));
102  }
std::string const & edm::BranchTypeToMinorIndexName ( BranchType const &  branchType)

Definition at line 128 of file BranchType.cc.

References InEvent, and InRun.

128  {
129  return ((branchType == InEvent) ? eventMinorIndex : ((branchType == InRun) ? runMinorIndex : lumiMinorIndex));
130  }
std::string const & edm::BranchTypeToProductStatusBranchName ( BranchType const &  branchType)

Definition at line 116 of file BranchType.cc.

References InEvent, and InRun.

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

Definition at line 96 of file BranchType.cc.

References patZpeak::events, InEvent, InRun, and getRunRegistry::runs.

Referenced by ProvenanceDumper::work_().

96  {
97  return ((branchType == InEvent) ? events : ((branchType == InRun) ? runs : lumis));
98  }
tuple events
Definition: patZpeak.py:19
std::string const & edm::BranchTypeToString ( BranchType const &  branchType)

Definition at line 92 of file BranchType.cc.

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

Referenced by operator<<().

92  {
93  return ((branchType == InEvent) ? event : ((branchType == InRun) ? run : lumi));
94  }
tuple lumi
Definition: fjr2json.py:41
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 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 cond::rpcobtemp::temp.

Referenced by SegmentsTrackAssociator::associate(), edm::StreamerInputFile::openStreamerFile(), 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 tid((*it)->branchDescription().type().TypeInfo());
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 198 of file ReflexTools.cc.

References createPayload::checkType, and missingTypes().

Referenced by loadCap().

198  {
199  Type null;
200  Type t = Type::ByName(name);
201  if(t == null) {
202  missingTypes().insert(name);
203  return;
204  }
205  checkType(Type::ByName(name), noComponents);
206  }
StringSet & missingTypes()
Definition: ReflexTools.cc:190
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
static Guid const edm::clid_null ( std::  string"00000000-0000-0000-0000-000000000000")
static

Referenced by edm::Guid::null().

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

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

275  {
276  return
277  (a.branchType() == b.branchType()) &&
278  (a.processName() == b.processName()) &&
279  (a.fullClassName() == b.fullClassName()) &&
280  (a.friendlyClassName() == b.friendlyClassName()) &&
281  (a.productInstanceName() == b.productInstanceName()) &&
282  (a.moduleLabel() == b.moduleLabel()) &&
283  (a.branchID() == b.branchID());
284  }
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:37
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:37
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:37
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:37
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.

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()
bool first
Definition: L1TdeRCT.cc:79
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.

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<class T >
void edm::convert_handle ( BasicHandle const &  orig,
Handle< T > &  result 
)

Definition at line 17 of file ConvertHandle.h.

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

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

18  {
19  if(orig.failedToGet()) {
20  Handle<T> h(orig.whyFailed());
21  h.swap(result);
22  return;
23  }
24  EDProduct const* originalWrap = orig.wrapper();
25  if (originalWrap == 0) {
27  }
28  Wrapper<T> const* wrap = dynamic_cast<Wrapper<T> const*>(originalWrap);
29  if (wrap == 0) {
31  }
32 
33  Handle<T> h(wrap->product(), orig.provenance());
34  h.swap(result);
35  }
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)
void throwConvertTypeError(EDProduct const *product)
void throwInvalidReference()
Definition: ConvertHandle.cc:7
string const
Definition: compareJSON.py:14
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< FWGenericObject > &  result 
)

specialize this function forFWGenericHandle

Definition at line 19 of file FWGenericHandle.cc.

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

21 {
22  if(orig.failedToGet()) {
23  result.setWhyFailed(orig.whyFailed());
24  return;
25  }
26  EDProduct const* originalWrap = orig.wrapper();
27  if (originalWrap == 0)
29  << "edm::BasicHandle has null pointer to Wrapper";
30 
31  //Since a pointer to an EDProduct is not necessarily the same as a pointer to the actual type
32  // (compilers are allowed to offset the two) we must get our object via a two step process
33  Reflex::Object edproductObject(Reflex::Type::ByTypeInfo(typeid(EDProduct)), const_cast<EDProduct*>(originalWrap));
34  assert(edproductObject != Reflex::Object());
35 
36  Reflex::Object wrap(edproductObject.CastObject(edproductObject.DynamicType()));
37  assert(wrap != Reflex::Object());
38 
39  Reflex::Object product(wrap.Get("obj"));
40 
41  if(!product){
42  throw edm::Exception(edm::errors::LogicError)<<"FWGenericObject could not find 'obj' member";
43  }
44  if(product.TypeOf().IsTypedef()){
45  //For a 'Reflex::Typedef' the 'ToType' method returns the actual type
46  // this is needed since you are now allowed to 'invoke' methods of a 'Typedef'
47  // only for a 'real' class
48  product = Reflex::Object(product.TypeOf().ToType(), product.Address());
49  assert(!product.TypeOf().IsTypedef());
50  }
51  // NOTE: comparing on type doesn't seem to always work! The problem appears to be if we have a typedef
52  if(product.TypeOf()!=result.type() &&
53  !product.TypeOf().IsEquivalentTo(result.type()) &&
54  product.TypeOf().TypeInfo()!= result.type().TypeInfo()){
55  std::cerr << "FWGenericObject asked for "<<result.type().Name()
56  <<" but was given a " << product.TypeOf().Name();
57  throw edm::Exception(edm::errors::LogicError)<<"FWGenericObject asked for "<<result.type().Name()
58  <<" but was given a "<<product.TypeOf().Name();
59  }
60 
61  Handle<FWGenericObject> h(product, orig.provenance(), orig.id());
62  h.swap(result);
63 }
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::errors::LogicError, edm::BasicHandle::provenance(), edm::Handle< GenericObject >::setWhyFailed(), edm::Handle< GenericObject >::type(), edm::BasicHandle::whyFailed(), wrap(), and edm::BasicHandle::wrapper().

21 {
22  if(orig.failedToGet()) {
23  result.setWhyFailed(orig.whyFailed());
24  return;
25  }
26  EDProduct const* originalWrap = orig.wrapper();
27  if (originalWrap == 0)
29  << "edm::BasicHandle has null pointer to Wrapper";
30 
31  //Since a pointer to an EDProduct is not necessarily the same as a pointer to the actual type
32  // (compilers are allowed to offset the two) we must get our object via a two step process
33  Reflex::Object edproductObject(Reflex::Type::ByTypeInfo(typeid(EDProduct)), const_cast<EDProduct*>(originalWrap));
34  assert(edproductObject != Reflex::Object());
35 
36  Reflex::Object wrap(edproductObject.CastObject(edproductObject.DynamicType()));
37  assert(wrap != Reflex::Object());
38 
39  Reflex::Object product(wrap.Get("obj"));
40  if(!product){
41  throw edm::Exception(edm::errors::LogicError)<<"GenericObject could not find 'obj' member";
42  }
43  if(product.TypeOf().IsTypedef()){
44  //For a 'Reflex::Typedef' the 'ToType' method returns the actual type
45  // this is needed since you are now allowed to 'invoke' methods of a 'Typedef'
46  // only for a 'real' class
47  product = Reflex::Object(product.TypeOf().ToType(), product.Address());
48  assert(!product.TypeOf().IsTypedef());
49  }
50  //NOTE: comparing on type doesn't seem to always work! The problem appears to be if we have a typedef
51  if(product.TypeOf()!=result.type() &&
52  !product.TypeOf().IsEquivalentTo(result.type()) &&
53  product.TypeOf().TypeInfo()!= result.type().TypeInfo()){
54  throw edm::Exception(edm::errors::LogicError)<<"GenericObject asked for "<<result.type().Name()
55  <<" but was given a "<<product.TypeOf().Name();
56  }
57 
58  Handle<GenericObject> 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
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::create(), and edm::Guid::toString().

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

6  {
7  Guid guid;
8  Guid::create(guid);
9  return guid.toString();
10  }
SurfaceDeformation * create(int type, const std::vector< double > &params)
bool edm::decode ( bool &  to,
std::string const &  from 
)
bool edm::decode ( std::vector< bool > &  to,
std::string const &  from 
)

Definition at line 87 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

87  {
88  std::vector<std::string> temp;
89  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
90  return false;
91  }
92 
93  to.clear();
94  for(std::vector<std::string>::const_iterator b = temp.begin()
95  , e = temp.end()
96  ; b != e; ++b) {
97  bool val = false;
98  if(!decode(val, *b)) {
99  return false;
100  }
101  to.push_back(val);
102  }
103  return true;
104  } // decode to vector<bool>
bool decode(bool &, std::string const &)
Definition: types.cc:67
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 134 of file types.cc.

References b.

134  {
135  std::string::const_iterator b = from.begin()
136  , e = from.end();
137 
138  if(*b != '+' && *b != '-') {
139  return false;
140  }
141  int sign = (*b == '+') ? +1 : -1;
142 
143  to = 0;
144  while(++b != e) {
145  if(!std::isdigit(*b)) {
146  return false;
147  }
148  to = 10 * to + (*b - '0');
149  }
150  to *= sign;
151 
152  return true;
153  } // decode to int
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 223 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

223  {
224  std::vector<std::string> temp;
225  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
226  return false;
227  }
228 
229  to.clear();
230  for(std::vector<std::string>::const_iterator b = temp.begin()
231  , e = temp.end()
232  ; b != e; ++b) {
233  int val = 0;
234  if(!decode(val, *b)) {
235  return false;
236  }
237  to.push_back(val);
238  }
239 
240  return true;
241  } // decode to vector<int>
bool decode(bool &, std::string const &)
Definition: types.cc:67
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 319 of file types.cc.

References b.

319  {
320  std::string::const_iterator b = from.begin()
321  , e = from.end();
322 
323  to = 0u;
324  for(; b != e; ++b) {
325  if(*b == 'u' || *b == 'U') {
326  return true;
327  }
328  if(!std::isdigit(*b)) {
329  return false;
330  }
331  to = 10u * to + (*b - '0');
332  }
333  return true;
334  } // 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 388 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

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

References b.

178  {
179  std::string::const_iterator b = from.begin()
180  , e = from.end();
181 
182  if(*b != '+' && *b != '-') {
183  return false;
184  }
185  int sign = (*b == '+') ? +1 : -1;
186 
187  to = 0;
188  while(++b != e) {
189  if(!std::isdigit(*b)) {
190  return false;
191  }
192  to = 10 * to + (*b - '0');
193  }
194  to *= sign;
195 
196  return true;
197  } // 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 272 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

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

References b.

354  {
355  std::string::const_iterator b = from.begin()
356  , e = from.end();
357  to = 0u;
358  for(; b != e; ++b) {
359  if(*b == 'u' || *b == 'U') {
360  return true;
361  }
362  if(!std::isdigit(*b)) {
363  return false;
364  }
365  to = 10u * to + (*b - '0');
366  }
367  return true;
368  } // 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 435 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

435  {
436  std::vector<std::string> temp;
437  if(!split(std::back_inserter(temp), from, '{', ',', '}')) {
438  return false;
439  }
440  to.clear();
441  for(std::vector<std::string>::const_iterator b = temp.begin()
442  , e = temp.end()
443  ; b != e; ++b) {
444  unsigned long long val = 0ULL;
445  if(!decode(val, *b)) {
446  return false;
447  }
448  to.push_back(val);
449  }
450 
451  return true;
452  } // decode to vector<unsigned int>
bool decode(bool &, std::string const &)
Definition: types.cc:67
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 484 of file types.cc.

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

484  {
485  if(from == "NaN") {
486  to = std::numeric_limits<double>::quiet_NaN();
487  } else if(from == "+inf" || from == "inf") {
488  to = std::numeric_limits<double>::has_infinity
490  : std::numeric_limits<double>::max();
491  } else if(from == "-inf") {
492  to = std::numeric_limits<double>::has_infinity
494  : -std::numeric_limits<double>::max();
495  }
496 
497  else {
498  try {
499  // std::cerr << "from:" << from << std::endl;
500  to = boost::lexical_cast<double>(from);
501  // std::cerr << "to:" << to << std::endl;
502  }
503  catch(boost::bad_lexical_cast&) {
504  return false;
505  }
506  }
507  return true;
508  }
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 528 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

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

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

574  {
575  /*std::cerr << "Decoding: " << from << '\n'; //DEBUG*/
576  std::string::const_iterator b = from.begin()
577  , e = from.end();
578 
579  to = "";
580  to.reserve((e-b)/2);
581  char c = '\0';
582  for(bool even_pos = true
583  ; b != e; ++b, even_pos = !even_pos) {
584  if(even_pos) {
585  /*std::cerr << "Even: |"
586  << *b
587  << "| giving "
588  << from_hex(*b)
589  << "\n"; //DEBUG*/
590  c = static_cast<char>(from_hex(*b));
591  }
592  else {
593  /*std::cerr << "Odd: |"
594  << *b
595  << "| giving "
596  << from_hex(*b)
597  << "\n"; //DEBUG*/
598  c = static_cast<char>(c * 16 + from_hex(*b));
599  // if(std::isalnum(c)) {
600  /*std::cerr << "Ans: |" << c << "|\n"; //DEBUG*/
601  to += c;
602  //}
603  //else { // keep all special chars encoded
604  //to += "\\x";
605  //to += to_hex_rep(c);
606  //}
607  }
608  }
609  /*std::cerr << "Decoded: " << to << '\n'; //DEBUG*/
610  return true;
611  } // decode to String
static unsigned int from_hex(char c)
Definition: types.cc:37
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 1097 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

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

References cond::rpcobtemp::temp.

619  {
620  std::istringstream is(from);
622  is >> temp;
623  if (!is) return false;
624  to = temp;
625  return true;
626  } // decode to FileInPath
static std::string from(" from ")
bool edm::decode ( edm::InputTag to,
std::string const &  from 
)

Definition at line 645 of file types.cc.

645  {
646  to = InputTag(from);
647  return true;
648  } // decode to InputTag
static std::string from(" from ")
bool edm::decode ( std::vector< edm::InputTag > &  to,
std::string const &  from 
)

Definition at line 664 of file types.cc.

References decode().

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

Definition at line 695 of file types.cc.

695  {
696  to = ESInputTag(from);
697  return true;
698  } // decode to InputTag
static std::string from(" from ")
bool edm::decode ( std::vector< edm::ESInputTag > &  to,
std::string const &  from 
)

Definition at line 714 of file types.cc.

References decode().

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

Definition at line 744 of file types.cc.

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

744  {
745  std::vector<std::string> tokens = edm::tokenize(from, ":");
746  assert(tokens.size() == 2 || tokens.size() == 3);
747  unsigned int run = strtoul(tokens[0].c_str(), 0, 0);
748  unsigned int lumi = (tokens.size() == 2 ? 0 : strtoul(tokens[1].c_str(), 0, 0));
749  unsigned int event = strtoul(tokens[tokens.size() - 1].c_str(), 0, 0);
750  to = edm::EventID(run, lumi, event);
751 
752  return true;
753  } // decode to EventID
tuple lumi
Definition: fjr2json.py:41
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 775 of file types.cc.

References decode().

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

Definition at line 808 of file types.cc.

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

808  {
809  std::vector<std::string> tokens = edm::tokenize(from, ":");
810  assert(tokens.size() == 2);
811  unsigned int run = strtoul(tokens[0].c_str(), 0, 0);
812  unsigned int lumi = strtoul(tokens[1].c_str(), 0, 0);
813  to = edm::LuminosityBlockID(run, lumi);
814  return true;
815  } // decode to LuminosityBlockID
tuple lumi
Definition: fjr2json.py:41
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 833 of file types.cc.

References decode().

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

Definition at line 867 of file types.cc.

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

867  {
868  std::vector<std::string> tokens = edm::tokenize(from, "-");
869  assert(tokens.size() == 2);
872  edm::decode(begin,tokens[0]);
873  edm::decode(end,tokens[1]);
874  to = edm::LuminosityBlockRange(begin.run(), begin.luminosityBlock(),
875  end.run(), end.luminosityBlock());
876  return true;
877  } // decode to LuminosityBlockRange
RunNumber_t run() const
bool decode(bool &, std::string const &)
Definition: types.cc:67
#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 893 of file types.cc.

References decode().

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

Definition at line 924 of file types.cc.

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

924  {
925  std::vector<std::string> tokens = edm::tokenize(from, "-");
926  assert(tokens.size() == 2);
929  edm::decode(begin,tokens[0]);
930  edm::decode(end,tokens[1]);
931  assert((begin.luminosityBlock() == 0) == (end.luminosityBlock() == 0));
932  to = edm::EventRange(begin.run(), begin.luminosityBlock(), begin.event(),
933  end.run(), end.luminosityBlock(), end.event());
934  return true;
935  } // 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:67
#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 958 of file types.cc.

References decode().

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

Definition at line 1151 of file types.cc.

1151  {
1152  to = ParameterSet(from);
1153  return true;
1154  } // decode to ParameterSet
static std::string from(" from ")
bool edm::decode ( std::vector< ParameterSet > &  to,
std::string const &  from 
)

Definition at line 1170 of file types.cc.

References b, decode(), split(), and cond::rpcobtemp::temp.

1170  {
1171  std::vector<std::string> temp;
1172  if(!split(std::back_inserter(temp), from, '{', ',', '}'))
1173  return false;
1174 
1175  to.clear();
1176  for(std::vector<std::string>::const_iterator b = temp.begin()
1177  , e = temp.end()
1178  ; b != e; ++b) {
1179  ParameterSet val;
1180  if(!decode(val, *b)) {
1181  return false;
1182  }
1183  to.push_back(val);
1184  }
1185 
1186  return true;
1187  } // decode to vector<ParameterSet>
bool decode(bool &, std::string const &)
Definition: types.cc:67
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 runTheMatrix::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:37
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:37
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(), and stor::HLTInfo::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
ELseverityLevel const edm::ELabortGen ( )

Definition at line 398 of file ELseverityLevel.cc.

References 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 runTheMatrix::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 76 of file types.cc.

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

76  {
77  to = from ? "true" : "false";
78  return true;
79  } // encode from bool
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< bool > const &  from 
)

Definition at line 109 of file types.cc.

References b, and encode().

109  {
110  to = "{";
111 
112  std::string converted;
113  for(std::vector<bool>::const_iterator b = from.begin()
114  , e = from.end()
115  ; b != e; ++b) {
116  if(!encode(converted, *b)) {
117  return false;
118  }
119  if(b != from.begin()) {
120  to += ",";
121  }
122  to += converted;
123  }
124  to += '}';
125  return true;
126  } // 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 158 of file types.cc.

References Capri::details::from().

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

Definition at line 246 of file types.cc.

References b, and encode().

246  {
247  to = "{";
248 
249  std::string converted;
250  for(std::vector<int>::const_iterator b = from.begin()
251  , e = from.end()
252  ; b != e; ++b) {
253  if(!encode(converted, *b)) {
254  return false;
255  }
256 
257  if(b != from.begin()) {
258  to += ",";
259  }
260  to += converted;
261  }
262 
263  to += '}';
264  return true;
265  } // 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 339 of file types.cc.

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

Definition at line 410 of file types.cc.

References b, and encode().

410  {
411  to = "{";
412 
413  std::string converted;
414  for(std::vector<unsigned int>::const_iterator b = from.begin()
415  , e = from.end()
416  ; b != e; ++b) {
417  if(!encode(converted, *b)) {
418  return false;
419  }
420  if(b != from.begin()) {
421  to += ",";
422  }
423  to += converted;
424  }
425 
426  to += '}';
427  return true;
428  } // 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 202 of file types.cc.

References Capri::details::from().

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

Definition at line 295 of file types.cc.

References b, and encode().

295  {
296  to = "{";
297 
298  std::string converted;
299  for(std::vector<long long>::const_iterator b = from.begin()
300  , e = from.end()
301  ; b != e; ++b) {
302  if(!encode(converted, *b)) {
303  return false;
304  }
305  if(b != from.begin()) {
306  to += ",";
307  }
308  to += converted;
309  }
310  to += '}';
311  return true;
312  } // 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 373 of file types.cc.

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

Definition at line 457 of file types.cc.

References b, and encode().

457  {
458  to = "{";
459 
460  std::string converted;
461  for(std::vector<unsigned long long>::const_iterator b = from.begin()
462  , e = from.end()
463  ; b != e; ++b) {
464  if(!encode(converted, *b)) {
465  return false;
466  }
467 
468  if(b != from.begin()) {
469  to += ",";
470  }
471  to += converted;
472  }
473 
474  to += '}';
475  return true;
476  } // 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 513 of file types.cc.

References Capri::details::from().

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

Definition at line 549 of file types.cc.

References b, and encode().

549  {
550  to = "{";
551 
552  std::string converted;
553  for(std::vector<double>::const_iterator b = from.begin()
554  , e = from.end()
555  ; b != e; ++b) {
556  if(!encode(converted, *b))
557  return false;
558 
559  if(b != from.begin())
560  to += ",";
561  to += converted;
562  }
563 
564  to += '}';
565  return true;
566  } // 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 987 of file types.cc.

References b, from_hex(), NONE, evf::utils::state, and to_hex_rep().

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

References b, and encode().

1122  {
1123  to = "{";
1124 
1125  std::string converted;
1126  for(std::vector<std::string>::const_iterator b = from.begin()
1127  , e = from.end()
1128  ; b != e; ++b) {
1129  // treat blank string specially
1130  if(*b == "") {
1131  converted = "XXX";
1132  } else if(!encode(converted, *b)) {
1133  return false;
1134  }
1135 
1136  if(b != from.begin())
1137  to += ",";
1138  to += converted;
1139  }
1140 
1141  to += '}';
1142  return true;
1143  } // 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 631 of file types.cc.

References Capri::details::from().

631  {
632  std::ostringstream ost;
633  ost << from;
634  if (!ost) return false;
635  to = ost.str();
636  return true;
637  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
edm::InputTag const &  from 
)

Definition at line 653 of file types.cc.

References edm::InputTag::encode().

653  {
654  to = from.encode();
655  return true;
656  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::InputTag > const &  from 
)

Definition at line 678 of file types.cc.

References encode().

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

Definition at line 703 of file types.cc.

References edm::ESInputTag::encode().

703  {
704  to = from.encode();
705  return true;
706  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::ESInputTag > const &  from 
)

Definition at line 728 of file types.cc.

References encode().

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

Definition at line 758 of file types.cc.

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

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

Definition at line 791 of file types.cc.

References encode().

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

Definition at line 820 of file types.cc.

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

820  {
821  std::ostringstream os;
822  os << from.run() << ":" << from.luminosityBlock();
823  to = os.str();
824  return true;
825  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockID > const &  from 
)

Definition at line 849 of file types.cc.

References encode().

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

Definition at line 880 of file types.cc.

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

880  {
881  std::ostringstream os;
882  os << from.startRun() << ":" << from.startLumi() << "-"
883  << from.endRun() << ":" << from.endLumi();
884  to = os.str();
885  return true;
886  }
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< edm::LuminosityBlockRange > const &  from 
)

Definition at line 907 of file types.cc.

References encode().

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

Definition at line 938 of file types.cc.

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

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

Definition at line 972 of file types.cc.

References encode().

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

Definition at line 1159 of file types.cc.

References edm::ParameterSet::toString().

1159  {
1160  to = from.toString();
1161  return true;
1162  } // encode from ParameterSet
static std::string from(" from ")
bool edm::encode ( std::string &  to,
std::vector< ParameterSet > const &  from 
)

Definition at line 1192 of file types.cc.

References b, and encode().

1192  {
1193  to = "{";
1194 
1195  std::string converted;
1196  for(std::vector<ParameterSet>::const_iterator b = from.begin()
1197  , e = from.end()
1198  ; b != e; ++b) {
1199  if(!encode(converted, *b)) {
1200  return false;
1201  }
1202  if(b != from.begin()) {
1203  to += ",";
1204  }
1205  to += converted;
1206  }
1207  to += '}';
1208  return true;
1209  } // 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
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
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 216 of file ProductRegistry.cc.

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

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

219  {
220  oMap[std::make_pair(TypeInBranchType(TypeID(type.TypeInfo()),
221  branchDesc->branchType()),
222  branchDesc)] = index;
223  }
type
Definition: HCALResponse.h:22
boost::shared_ptr<EDLooperBase> edm::fillLooper ( eventsetup::EventSetupProvider &  cp,
ParameterSet params,
CommonParams const &  common 
)

Definition at line 323 of file EventProcessor.cc.

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

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

325  {
326  boost::shared_ptr<EDLooperBase> vLooper;
327 
328  std::vector<std::string> loopers = params.getParameter<std::vector<std::string> >("@all_loopers");
329 
330  if(loopers.size() == 0) {
331  return vLooper;
332  }
333 
334  assert(1 == loopers.size());
335 
336  for(std::vector<std::string>::iterator itName = loopers.begin(), itNameEnd = loopers.end();
337  itName != itNameEnd;
338  ++itName) {
339 
340  ParameterSet* providerPSet = params.getPSetForUpdate(*itName);
341  providerPSet->registerIt();
342  vLooper = eventsetup::LooperFactory::get()->addTo(cp,
343  *providerPSet,
344  common.processName_,
345  common.releaseVersion_,
346  common.passID_);
347  }
348  return vLooper;
349 
350  }
T get(const Candidate &c)
Definition: component.h:56
void edm::fillModuleInPathSummary ( Path const &  ,
ModuleInPathSummary &   
)

Definition at line 952 of file Schedule.cc.

Referenced by fillPathSummary().

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

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

958  {
959  sum.timesVisited = path.timesVisited(which);
960  sum.timesPassed = path.timesPassed(which);
961  sum.timesFailed = path.timesFailed(which);
962  sum.timesExcept = path.timesExcept(which);
963  sum.moduleLabel = path.getWorker(which)->description().moduleLabel();
964  }
int path() const
Definition: HLTadd.h:3
void edm::fillPathSummary ( Path const &  path,
PathSummary &  sum 
)

Definition at line 967 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(), cond::rpcobtemp::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().

967  {
968  sum.name = path.name();
969  sum.bitPosition = path.bitPosition();
970  sum.timesRun = path.timesRun();
971  sum.timesPassed = path.timesPassed();
972  sum.timesFailed = path.timesFailed();
973  sum.timesExcept = path.timesExcept();
974 
975  Path::size_type sz = path.size();
976  std::vector<ModuleInPathSummary> temp(sz);
977  for (size_t i = 0; i != sz; ++i) {
979  }
980  sum.moduleInPathSummaries.swap(temp);
981  }
int i
Definition: DBlmapReader.cc:9
uint16_t size_type
int path() const
Definition: HLTadd.h:3
void fillModuleInPathSummary(Path const &, ModuleInPathSummary &)
Definition: Schedule.cc:952
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(), collect_tpl::input, edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::ParameterSet::isRegistered(), moduleLabel(), edm::BranchDescription::moduleLabel(), edm::BranchDescription::moduleNames(), edm::ProcessConfiguration::parameterSetID(), edm::BranchDescription::parameterSetIDs(), edm::ProcessConfiguration::processName(), edm::BranchDescription::processName(), edm::ProductRegistry::productList(), edm::ParameterSet::registerIt(), and LaserTracksInput_cfi::source.

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  }
Hash< ProcessConfigurationType > ProcessConfigurationID
Hash< ParameterSetType > ParameterSetID
tuple input
Definition: collect_tpl.py:10
const std::string * moduleLabel() const
Definition: HLTadd.h:40
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 465 of file SortedCollection.h.

468  {
469  obj.fillPtrVector(toType, indices, ptrs);
470  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 525 of file OwnVector.h.

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

528  {
529  obj.fillPtrVector(toType, indices, ptrs);
530  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 197 of file RefVector.h.

201  {
202  obj.fillView(id, pointers, helpers);
203  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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<typename T >
void edm::fillView ( Vector< T > const &  obj,
ProductID const &  id,
std::vector< void const * > &  pointers,
helper_vector &  helpers 
)
inline

Definition at line 255 of file Vector.h.

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

258  {
259  obj.fillView(id, pointers, helpers);
260  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 444 of file SortedCollection.h.

447  {
448  obj.fillView(id, pointers, helpers);
449  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 477 of file OwnVector.h.

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

480  {
481  obj.fillView(id, pointers, helpers);
482  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
void edm::fillWorkerSummary ( Worker const *  pw,
WorkerSummary &  sum 
)

Definition at line 994 of file Schedule.cc.

References fillWorkerSummaryAux().

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

994  {
995  fillWorkerSummaryAux(*pw, sum);
996  }
void fillWorkerSummaryAux(Worker const &w, WorkerSummary &sum)
Definition: Schedule.cc:984
void edm::fillWorkerSummaryAux ( Worker const &  w,
WorkerSummary &  sum 
)

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

984  {
985  sum.timesVisited = w.timesVisited();
986  sum.timesRun = w.timesRun();
987  sum.timesPassed = w.timesPassed();
988  sum.timesFailed = w.timesFailed();
989  sum.timesExcept = w.timesExcept();
990  sum.moduleLabel = w.description().moduleLabel();
991  }
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 L1TEmulatorMonitor_cff::p.

54  {
55  return std::find_if(s.begin(), s.end(), p);
56  }
string s
Definition: asciidump.py:422
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 L1TEmulatorMonitor_cff::p.

61  {
62  return std::find_if(s.begin(), s.end(), p);
63  }
string s
Definition: asciidump.py:422
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
string s
Definition: asciidump.py:422
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
string s
Definition: asciidump.py:422
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 32 of file ReflexTools.cc.

References get_final_type(), and i.

34  {
35  // Look for a sub-type named 'nested_type'
36  for(Type_Iterator
37  i = type_to_search.SubType_Begin(),
38  e = type_to_search.SubType_End();
39  i != e;
40  ++i) {
41  if(i->Name() == nested_type) {
42  found_type = get_final_type(*i);
43  return true;
44  }
45  }
46  return false;
47  }
int i
Definition: DBlmapReader.cc:9
Type get_final_type(Type t)
Definition: ReflexTools.cc:26
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 edm::InputFile::logFileAction(), edm::StreamerInputFile::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 const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:116
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::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]
string s
Definition: asciidump.py:422
template<typename S , typename T >
S& edm::formatFile ( T const &  f,
S &  os 
)

Definition at line 430 of file JobReport.h.

Referenced by print().

430  {
431 
432  if (f.fileHasBeenClosed) {
433  os << "\n<State Value=\"closed\"/>";
434  } else {
435  os << "\n<State Value=\"open\"/>";
436  }
437 
438  os << "\n<LFN>" << TiXmlText(f.logicalFileName) << "</LFN>";
439  os << "\n<PFN>" << TiXmlText(f.physicalFileName) << "</PFN>";
440  os << "\n<Catalog>" << TiXmlText(f.catalog) << "</Catalog>";
441  os << "\n<ModuleLabel>" << TiXmlText(f.moduleLabel) << "</ModuleLabel>";
442  os << "\n<GUID>" << f.guid << "</GUID>";
443  os << "\n<Branches>";
444  for (std::vector<std::string>::const_iterator iBranch = f.branchNames.begin(),
445  iBranchEnd = f.branchNames.end();
446  iBranch != iBranchEnd;
447  ++iBranch) {
448  os << "\n <Branch>" << TiXmlText(*iBranch) << "</Branch>";
449  }
450  os << "\n</Branches>";
451  return os;
452  }
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()
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 26 of file ReflexTools.cc.

References matplotRender::t.

Referenced by find_nested_type_named().

26  {
27  while(t.IsTypedef()) t = t.ToType();
28  return t;
29  }
std::vector<BranchDescription const*> edm::getAllBranchDescriptions ( )

Definition at line 30 of file OutputModule.cc.

References edm::ConstProductRegistry::allBranchDescriptions().

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

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

Definition at line 40 of file EDMException.cc.

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

Referenced by edm::CodedException< Code >::codeToString(), and edm::Exception::codeToString().

40  {
41  static errors::FilledMap fm;
42  setme = &fm.trans_;
43  }
std::string edm::getEnvironmentVariable ( std::string const &  name,
std::string const &  defaultValue = std::string() 
)
inline

Definition at line 9 of file GetEnvironmentVariable.h.

References L1TEmulatorMonitor_cff::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 17; }
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(), CaloTowersClient::CaloTowersEndjob(), ESDaqInfoTask::cleanup(), ESTrendTask::cleanup(), EBBeamCaloTask::cleanup(), EEPedestalOnlineTask::cleanup(), EEPedestalTask::cleanup(), EETestPulseTask::cleanup(), EBCosmicTask::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EBLaserTask::cleanup(), EBOccupancyTask::cleanup(), EEBeamCaloTask::cleanup(), EEClusterTask::cleanup(), EBPedestalOnlineTask::cleanup(), EBPedestalTask::cleanup(), EECosmicTask::cleanup(), EELaserTask::cleanup(), EELedTask::cleanup(), EcalBarrelMonitorModule::cleanup(), EBBeamHodoTask::cleanup(), EcalEndcapMonitorModule::cleanup(), EEBeamHodoTask::cleanup(), EBTestPulseTask::cleanup(), EBTimingTask::cleanup(), EBClusterTaskExtras::cleanup(), EEClusterTaskExtras::cleanup(), EBDataCertificationTask::cleanup(), EEDaqInfoTask::cleanup(), EEDataCertificationTask::cleanup(), EEDcsInfoTask::cleanup(), EEStatusFlagsTask::cleanup(), EESummaryClient::cleanup(), EBStatusFlagsTask::cleanup(), EBIntegrityTask::cleanup(), EETrendClient::cleanup(), EBTrendClient::cleanup(), EEIntegrityTask::cleanup(), EETimingTask::cleanup(), EEOccupancyTask::cleanup(), EBLaserClient::cleanup(), EELedClient::cleanup(), EELaserClient::cleanup(), EBTimingClient::cleanup(), EEIntegrityClient::cleanup(), EBPedestalOnlineClient::cleanup(), EEPedestalClient::cleanup(), EBTestPulseClient::cleanup(), EEPedestalOnlineClient::cleanup(), EETestPulseClient::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EBTriggerTowerClient::cleanup(), EETriggerTowerClient::cleanup(), EETimingClient::cleanup(), EESelectiveReadoutTask::cleanup(), FWGUIManager::createHelpGLPopup(), FWGUIManager::createShortcutPopup(), doBuildRealData(), MonitorElementsDb::endJob(), FourVectorHLTClient::endRun(), HcalRecHitsClient::HcalRecHitsEndjob(), NoiseRatesClient::NoiseRatesEndjob(), GenericMVAComputer::TaggingVariableIterator< Iter_t >::Value::operator PhysicsTools::Variable::Value(), evf::iDie::postEntry(), evf::iDie::postEntryiChoke(), BTagHLTOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), EESummaryClient::setup(), EELedClient::setup(), EBTimingClient::setup(), EBLaserClient::setup(), EELaserClient::setup(), EBPedestalOnlineClient::setup(), EEIntegrityClient::setup(), EBIntegrityClient::setup(), EBTestPulseClient::setup(), EEPedestalOnlineClient::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), EEPedestalClient::setup(), EBTriggerTowerClient::setup(), EETriggerTowerClient::setup(), and EETimingClient::setup().

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

Definition at line 865 of file ParameterSet.cc.

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

Referenced by HLTInfo::analyze(), EcalTrigPrimProducer::beginJob(), EcalSelectiveReadoutProducer::getBinOfMax(), edm::ParameterSet::getParameter(), edm::ParameterSetEntry::pset(), and edm::VParameterSetEntry::vpset().

865  {
866  ParameterSet const* result = 0;
867  if(0 == (result = pset::Registry::instance()->getMapped(id))) {
868  throw Exception(errors::Configuration, "MissingParameterSet:")
869  << "Parameter Set ID '" << id << "' not found.";
870  }
871  return *result;
872  }
tuple result
Definition: query.py:137
std::string edm::getPassID ( )
inline

Definition at line 8 of file GetPassID.h.

Referenced by 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 HLTPrescaleRecorder::beginRun(), DQMEventInfo::beginRun(), CentralityProvider::CentralityProvider(), edm::service::PrescaleService::configure(), ProbeTreeProducer::endJob(), HLTAnalyzer::endJob(), TagProbeFitTreeProducer::endJob(), and getCentralityBinsFromDB().

34  {
35  pset::Registry* reg = pset::Registry::instance();
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  }
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 37 of file RefCoreGet.h.

References edm::RefCore::isTransient(), edm::RefCore::nullPointerForTransientException(), L1TEmulatorMonitor_cff::p, and edm::RefCore::productPtr().

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

37  {
38  T const* p = static_cast<T const *>(ref.productPtr());
39  if (p != 0) return p;
40  if (ref.isTransient()) {
41  ref.nullPointerForTransientException(typeid(T));
42  }
43  return refcore::getProductPtr_<T>(ref);
44  }
long double T
template<typename PROD >
boost::shared_ptr<Wrapper<PROD> const> edm::getProductByTag ( Principal const &  ep,
InputTag const &  tag 
)
inline

Definition at line 243 of file Principal.h.

References edm::InputTag::cachedOffset(), edm::InputTag::fillCount(), edm::Principal::getByLabel(), edm::InputTag::instance(), edm::InputTag::label(), edm::Principal::maybeFlushCache(), edm::InputTag::process(), and PROD.

243  {
244  TypeID tid = TypeID(typeid(PROD));
245  ep.maybeFlushCache(tid, tag);
246  return boost::dynamic_pointer_cast<Wrapper<PROD> const>(ep.getByLabel(tid, tag.label(), tag.instance(), tag.process(), tag.cachedOffset(), tag.fillCount()).product());
247  }
#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 L1TEmulatorMonitor_cff::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(), L1TEmulatorMonitor_cff::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:207
std::string edm::glob2reg ( std::string const &  pattern)

Definition at line 14 of file RegexMatch.cc.

References listBenchmarks::pattern.

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

14  {
15  std::string regexp = pattern;
16  boost::replace_all(regexp, "*", ".*");
17  boost::replace_all(regexp, "?", ".");
18  return regexp;
19  }
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)
static const std::string category("Muon|RecoMuon|L3MuonCandidateProducerFromMuons")
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 10 of file RegexMatch.cc.

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

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

Definition at line 63 of file ReflexTools.cc.

References find_nested_type_named().

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

64  {
65 
66  static TypeTemplate ref_vector_template_id(TypeTemplate::ByName("edm::PtrVector", 1));
67  static std::string member_type("member_type");
68  static std::string val_type("value_type");
69  TypeTemplate primary_template_id(possible_ref_vector.TemplateFamily());
70  if(primary_template_id == ref_vector_template_id) {
71  Reflex::Type ptrType;
72  if(find_nested_type_named(val_type, possible_ref_vector, ptrType)) {
73  return find_nested_type_named(val_type, ptrType, value_type);
74  }
75  }
76  return false;
77  }
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 80 of file ReflexTools.cc.

References find_nested_type_named().

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

81  {
82 
83  static TypeTemplate ref_vector_template_id(TypeTemplate::ByName("edm::RefToBaseVector", 1));
84  static std::string member_type("member_type");
85  TypeTemplate primary_template_id(possible_ref_vector.TemplateFamily());
86  if(primary_template_id == ref_vector_template_id) {
87  return find_nested_type_named(member_type, possible_ref_vector, value_type);
88  }
89  return false;
90  }
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 50 of file ReflexTools.cc.

References find_nested_type_named().

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

51  {
52 
53  static TypeTemplate ref_vector_template_id(TypeTemplate::ByName("edm::RefVector", 3));
54  static std::string member_type("member_type");
55  TypeTemplate primary_template_id(possible_ref_vector.TemplateFamily());
56  if(primary_template_id == ref_vector_template_id) {
57  return find_nested_type_named(member_type, possible_ref_vector, value_type);
58  }
59  return false;
60  }
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 46 of file ProcessHistory.cc.

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

Referenced by isDescendant().

46  {
47  if (a.size() >= b.size()) return false;
48  typedef ProcessHistory::collection_type::const_iterator const_iterator;
49  for (const_iterator itA = a.data().begin(), itB = b.data().begin(),
50  itAEnd = a.data().end(); itA != itAEnd; ++itA, ++itB) {
51  if (*itA != *itB) return false;
52  }
53  return true;
54  }
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(), L1GtEtaPhiConversions::convert(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::DigiToRaw::createFedBuffers_(), sistrip::DigiToRaw::DigiToRaw(), sistrip::DigiToRawModule::DigiToRawModule(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), sistrip::RawToClustersLazyUnpacker::fill(), HLTMuonTrackMassFilter::filter(), HLTMuonL2PreFilter::filter(), LaserAlignmentEventFilter::filter(), HLTMuonL1RegionalFilter::filter(), HLTMuonL1Filter::filter(), BSCTrigger::getBSCNum(), sistrip::RawToDigiUnpacker::handleException(), 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(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtParametersConfigOnlineProd::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(), L1GlobalTriggerRecordProducer::produce(), BSCTrigger::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:100
static bool debugAlwaysSuppressed
Definition: MessageDrop.h:106
bool edm::isDescendant ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 103 of file ProcessHistory.h.

References isAncestor().

103  {
104  return isAncestor(b, a);
105  }
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:103
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:101
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:107
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 const unsigned char MLSCRIBE_RUNNING_INDICATOR
Definition: MessageDrop.h:116
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 166 of file EventPrincipal.h.

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

166  {
167  return isSameEvent(a.aux(), b.aux());
168  }
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 779 of file ParameterSet.cc.

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

Referenced by operator==().

779  {
780  if(a.tbl().size() != b.tbl().size()) {
781  return false;
782  }
783  if(a.psetTable().size() != b.psetTable().size()) {
784  return false;
785  }
786  if(a.vpsetTable().size() != b.vpsetTable().size()) {
787  return false;
788  }
789  typedef ParameterSet::table::const_iterator Ti;
790  for (Ti i = a.tbl().begin(), e = a.tbl().end(),
791  j = b.tbl().begin(), f = b.tbl().end();
792  i != e; ++i, ++j) {
793  if(*i != *j) {
794  return false;
795  }
796  }
797  typedef ParameterSet::psettable::const_iterator Pi;
798  for (Pi i = a.psetTable().begin(), e = a.psetTable().end(),
799  j = b.psetTable().begin(), f = b.psetTable().end();
800  i != e; ++i, ++j) {
801  if(i->first != j->first) {
802  return false;
803  }
804  if(i->second.isTracked() != j->second.isTracked()) {
805  return false;
806  }
807  if(!isTransientEqual(i->second.pset(), j->second.pset())) {
808  return false;
809  }
810  }
811  typedef ParameterSet::vpsettable::const_iterator PVi;
812  for (PVi i = a.vpsetTable().begin(), e = a.vpsetTable().end(),
813  j = b.vpsetTable().begin(), f = b.vpsetTable().end();
814  i != e; ++i, ++j) {
815  if(i->first != j->first) {
816  return false;
817  }
818  if(i->second.isTracked() != j->second.isTracked()) {
819  return false;
820  }
821  std::vector<ParameterSet> const& iv = i->second.vpset();
822  std::vector<ParameterSet> const& jv = j->second.vpset();
823  if(iv.size() != jv.size()) {
824  return false;
825  }
826  for (size_t k = 0; k < iv.size(); ++k) {
827  if(!isTransientEqual(iv[k], jv[k])) {
828  return false;
829  }
830  }
831  }
832  return true;
833  }
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 label, L1TEmulatorMonitor_cff::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  }
const std::string & label
Definition: MVAComputer.cc:186
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 const std::string edm::kBaseType ( "EDAnalyzer"  )
static
static const std::string edm::kBaseType ( "EDFilter"  )
static
static const std::string edm::kBaseType ( "EDProducer"  )
static
static std::string const edm::kBaseType ( "Source"  )
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:37
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:37
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:37
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(), stor::HLTInfo::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:190
std::set< std::string > StringSet
Definition: ReflexTools.h:22
void checkDictionaries(std::string const &name, bool noComponents=false)
Definition: ReflexTools.cc:198
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 generateEDF::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
std::vector< ErrorSummaryEntry > edm::LoggedErrorsOnlySummary ( )

Definition at line 43 of file LoggedErrorsSummary.cc.

References begin, edm::ErrorSummaryEntry::count, 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:24
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, 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:24
#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:41
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  }
string s
Definition: asciidump.py:422
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  }
string s
Definition: asciidump.py:422
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 L1TEmulatorMonitor_cff::p.

105  {
106  return std::lower_bound(s.begin(), s.end(), d, p);
107  }
string s
Definition: asciidump.py:422
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 L1TEmulatorMonitor_cff::p.

112  {
113  return std::lower_bound(s.begin(), s.end(), d, p);
114  }
string s
Definition: asciidump.py:422
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 254 of file EventProcessor.cc.

References cms::Exception::append(), edm::Exception::categoryCode(), edm::errors::Configuration, SurfaceDeformationFactory::create(), edm::hlt::Exception, edm::InputSourceFactory::get(), reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getPSetForUpdate(), edm::ParameterSet::id(), collect_tpl::input, edm::InputSourceFactory::makeInputSource(), edm::CommonParams::maxEventsInput_, edm::CommonParams::maxLumisInput_, edm::ParameterSet::registerIt(), and edm::ConfigurationDescriptions::validate().

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

259  {
260  ParameterSet* main_input = params.getPSetForUpdate("@main_input");
261  if(main_input == 0) {
262  throw Exception(errors::Configuration, "FailedInputSource")
263  << "Configuration of primary input source has failed\n";
264  }
265 
266  std::string modtype;
267  try {
268  modtype = main_input->getParameter<std::string>("@module_type");
269  std::auto_ptr<ParameterSetDescriptionFillerBase> filler(
271  ConfigurationDescriptions descriptions(filler->baseType());
272  filler->fill(descriptions);
273  descriptions.validate(*main_input, std::string("source"));
274  }
275  catch (cms::Exception& iException) {
276  Exception toThrow(errors::Configuration, "Failed validating primary input source configuration.");
277  toThrow << "\nSource plugin name is \"" << modtype << "\"\n";
278  toThrow.append(iException);
279  throw toThrow;
280  }
281 
282  main_input->registerIt();
283 
284  // Fill in "ModuleDescription", in case the input source produces
285  // any EDproducts, which would be registered in the ProductRegistry.
286  // Also fill in the process history item for this process.
287  // There is no module label for the unnamed input source, so
288  // just use "source".
289  // Only the tracked parameters belong in the process configuration.
290  ModuleDescription md(main_input->id(),
291  main_input->getParameter<std::string>("@module_type"),
292  "source",
293  processConfiguration);
294 
295  InputSourceDescription isdesc(md, preg, pCache, areg, common.maxEventsInput_, common.maxLumisInput_);
296  areg->preSourceConstructionSignal_(md);
297  boost::shared_ptr<InputSource> input;
298  try {
299  input = boost::shared_ptr<InputSource>(InputSourceFactory::get()->makeInputSource(*main_input, isdesc).release());
300  areg->postSourceConstructionSignal_(md);
301  }
302  catch (Exception& iException) {
303  areg->postSourceConstructionSignal_(md);
304  //we want to keep the same category code so that cmsRun will return the proper return value
305  Exception toThrow(iException.categoryCode(), "Error occured while constructing primary input source.");
306  toThrow << "\nSource is of type \"" << modtype << "\"\n";
307  toThrow.append(iException);
308  throw toThrow;
309  }
310  catch (cms::Exception& iException) {
311  areg->postSourceConstructionSignal_(md);
312  Exception toThrow(errors::Configuration, "Error occured while constructing primary input source.");
313  toThrow << "\nSource is of type \"" << modtype << "\"\n";
314  toThrow.append(iException);
315  throw toThrow;
316  }
317 
318  return input;
319  }
tuple input
Definition: collect_tpl.py:10
SurfaceDeformation * create(int type, const std::vector< double > &params)
T get(const Candidate &c)
Definition: component.h:56
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 84 of file ConstBranchDescription.h.

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

87  {
88  return match(a.me(), b.me(), fileName, m);
89  }
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 296 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().

298  {
299  std::ostringstream differences;
300  if (a.branchName() != b.branchName()) {
301  differences << "Branch name '" << b.branchName() << "' does not match '" << a.branchName() << "'.\n";
302  // Need not compare components of branch name individually.
303  // (a.friendlyClassName() != b.friendlyClassName())
304  // (a.moduleLabel() != b.moduleLabel())
305  // (a.productInstanceName() != b.productInstanceName())
306  // (a.processName() != b.processName())
307  }
308  if (a.branchType() != b.branchType()) {
309  differences << "Branch '" << b.branchName() << "' is a(n) '" << b.branchType() << "' branch\n";
310  differences << " in file '" << fileName << "', but a(n) '" << a.branchType() << "' branch in previous files.\n";
311  }
312  if (a.branchID() != b.branchID()) {
313  differences << "Branch '" << b.branchName() << "' has a branch ID of '" << b.branchID() << "'\n";
314  differences << " in file '" << fileName << "', but '" << a.branchID() << "' in previous files.\n";
315  }
316  if (a.fullClassName() != b.fullClassName()) {
317  differences << "Products on branch '" << b.branchName() << "' have type '" << b.fullClassName() << "'\n";
318  differences << " in file '" << fileName << "', but '" << a.fullClassName() << "' in previous files.\n";
319  }
320  if (!b.dropped() && a.dropped()) {
321  differences << "Branch '" << a.branchName() << "' was dropped in the first input file but is present in '" << fileName << "'.\n";
322  }
323  if (m == BranchDescription::Strict) {
324  if (b.parameterSetIDs().size() > 1) {
325  differences << "Branch '" << b.branchName() << "' uses more than one parameter set in file '" << fileName << "'.\n";
326  } else if (a.parameterSetIDs().size() > 1) {
327  differences << "Branch '" << a.branchName() << "' uses more than one parameter set in previous files.\n";
328  } else if (a.parameterSetIDs() != b.parameterSetIDs()) {
329  differences << "Branch '" << b.branchName() << "' uses different parameter sets in file '" << fileName << "'.\n";
330  differences << " than in previous files.\n";
331  }
332  }
333  return differences.str();
334  }
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:37
EventID const& edm::max ( EventID const &  lh,
EventID const &  rh 
)
inline
const unsigned int edm::maxIDlength ( 200  )

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

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

Definition at line 78 of file LuminosityBlockRange.cc.

References begin, end, edm::LuminosityBlockRange::endLumiID(), 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:37
EventID const& edm::min ( EventID const &  lh,
EventID const &  rh 
)
inline
StringSet & edm::missingTypes ( )

Definition at line 190 of file ReflexTools.cc.

Referenced by checkDictionaries(), and loadCap().

190  {
191  static boost::thread_specific_ptr<StringSet> missingTypes_;
192  if(0 == missingTypes_.get()) {
193  missingTypes_.reset(new StringSet);
194  }
195  return *missingTypes_.get();
196  }
std::set< std::string > StringSet
Definition: ReflexTools.h:22
EDProductGetter const * edm::mustBeNonZero ( EDProductGetter const *  prodGetter,
std::string  refType,
ProductID const &  productID 
)

Definition at line 75 of file EDProductGetter.cc.

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

75  {
76  if (prodGetter != 0) return prodGetter;
77  throw Exception(errors::InvalidReference, refType)
78  << "Attempt to construct a " << refType << " with ProductID " << productID << "\n"
79  << "but with a null pointer to a product getter.\n"
80  << "The product getter pointer passed to the constructor must refer\n"
81  << "to a real getter, such as an EventPrincipal.\n";
82  }
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:41
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:41
template<class A >
boost::enable_if_c< has_match<A>::value, NotHelper<A> >::type edm::operator! ( A const &  a)

Definition at line 261 of file Selector.h.

References a.

262  {
263  return NotHelper<A>(a);
264  }
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:37
bool edm::operator!= ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 50 of file RunLumiEntryInfo.h.

References b.

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

Definition at line 52 of file RefItem.h.

52  {
53  return !(lhs == rhs);
54  }
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!= ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)
inline

Definition at line 59 of file EventEntryInfo.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!= ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 62 of file ProductID.h.

62  {
63  return !(lh == rh);
64  }
bool int lh
Definition: SSEVec.h:37
bool edm::operator!= ( TypeID const &  a,
TypeID const &  b 
)
inline

Definition at line 65 of file TypeID.h.

References b.

65  {
66  return !(a == b);
67  }
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 66 of file ProcessConfiguration.h.

References b.

66  {
67  return !(a == b);
68  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename KEY >
bool edm::operator!= ( RefBase< KEY > const &  lhs,
RefBase< KEY > const &  rhs 
)

Definition at line 68 of file RefBase.h.

68  {
69  return !(lhs == rhs);
70  }
bool edm::operator!= ( Parentage const &  a,
Parentage const &  b 
)
inline

Definition at line 72 of file Parentage.h.

References b.

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

Definition at line 75 of file TypeIDBase.h.

References b.

76  { return !(a==b); }
double b
Definition: hdecay.h:120
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 88 of file ProductProvenance.h.

References b.

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

Definition at line 94 of file ProcessHistory.h.

References b.

94  {
95  return !(a==b);
96  }
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 101 of file RefVectorBase.h.

101  {
102  return !(lhs == rhs);
103  }
bool edm::operator!= ( RefCore const &  lhs,
RefCore const &  rhs 
)
inline

Definition at line 105 of file RefCore.h.

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

Definition at line 149 of file FwdPtr.h.

149  {
150  return !(lhs == rhs);
151  }
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:37
template<typename T >
bool edm::operator!= ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 396 of file View.h.

397  {
398  return !(lhs==rhs);
399  }
bool edm::operator!= ( ProductRegistry const &  a,
ProductRegistry const &  b 
)
inline

Definition at line 176 of file ProductRegistry.h.

References b.

176  {
177  return !(a == b);
178  }
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 
)

Definition at line 192 of file value_ptr.h.

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

192  {
193  lhs.this_type_does_not_support_comparisons();
194  return false;
195  }
bool edm::operator!= ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 200 of file Entry.h.

References b.

200  {
201  return !(a == b);
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 202 of file RefToBaseProd.h.

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

Definition at line 204 of file value_ptr.h.

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

204  {
205  rhs.this_type_does_not_support_comparisons();
206  return false;
207  }
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 221 of file RefVector.h.

221  {
222  return !(lhs == rhs);
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 228 of file RefProd.h.

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

Definition at line 253 of file Ptr.h.

253  {
254  return !(lhs == rhs);
255  }
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 311 of file ParameterSet.h.

References b.

311  {
312  return !(a == b);
313  }
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 411 of file Ref.h.

411  {
412  return !(lhs == rhs);
413  }
template<class A , class 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 203 of file Selector.h.

References a, and b.

204  {
205  return AndHelper<A,B>(a,b);
206  }
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  }
ParameterSet::Bool edm::operator&& ( ParameterSet::Bool  a,
ParameterSet::Bool  b 
)

Definition at line 2346 of file ParameterSet.cc.

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

2346  {
2347  if(a == ParameterSet::False || b == ParameterSet::False) {
2348  return ParameterSet::False;
2349  } else if(a == ParameterSet::Unknown || b == ParameterSet::Unknown) {
2350  return ParameterSet::Unknown;
2351  }
2352  return ParameterSet::True;
2353  }
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:37
bool edm::operator< ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)
inline

Definition at line 37 of file RunLumiEntryInfo.h.

References edm::RunLumiEntryInfo::branchID().

37  {
38  return a.branchID() < b.branchID();
39  }
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 46 of file EventEntryInfo.h.

References edm::EventEntryInfo::branchID().

46  {
47  return a.branchID() < b.branchID();
48  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator< ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)

Definition at line 73 of file ProcessConfiguration.cc.

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

73  {
74  if (a.processName() < b.processName()) return true;
75  if (b.processName() < a.processName()) return false;
76  if (a.parameterSetID() < b.parameterSetID()) return true;
77  if (b.parameterSetID() < a.parameterSetID()) return false;
78  if (a.releaseVersion() < b.releaseVersion()) return true;
79  if (b.releaseVersion() < a.releaseVersion()) return false;
80  if (a.passID() < b.passID()) return true;
81  return false;
82  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename KEY >
bool edm::operator< ( RefItem< KEY > const &  lhs,
RefItem< KEY > const &  rhs 
)
inline

Definition at line 59 of file RefItem.h.

References edm::RefItem< KEY >::key().

59  {
60  return lhs.key() < rhs.key();
61  }
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:37
template<typename KEY >
bool edm::operator< ( RefBase< KEY > const &  lhs,
RefBase< KEY > const &  rhs 
)

Definition at line 74 of file RefBase.h.

74  {
75  return (lhs.refCore() == rhs.refCore() ? lhs.item() < rhs.item() : lhs.refCore() < rhs.refCore());
76  }
bool edm::operator< ( ProductProvenance const &  a,
ProductProvenance const &  b 
)
inline

Definition at line 75 of file ProductProvenance.h.

References edm::ProductProvenance::branchID().

75  {
76  return a.branchID() < b.branchID();
77  }
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 74 of file ConstBranchDescription.h.

References edm::ConstBranchDescription::me().

74  {
75  return a.me() < b.me();
76  }
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 89 of file DetSet.h.

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

Definition at line 96 of file DetSet.h.

References x, and detailsBasic3DVector::y.

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

Definition at line 103 of file DetSet.h.

References x, and detailsBasic3DVector::y.

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

Definition at line 111 of file RefCore.h.

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

111  {
112  return lhs.isTransient() ? (rhs.isTransient() ? lhs.productPtr() < rhs.productPtr() : false) : (rhs.isTransient() ? true : lhs.id() < rhs.id());
113  }
bool edm::operator< ( FileIndex::Element const &  lh,
FileIndex::Element const &  rh 
)

Definition at line 176 of file FileIndex.cc.

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

176  {
177  if(lh.run_ == rh.run_) {
178  if(lh.lumi_ == rh.lumi_) {
179  return lh.event_ < rh.event_;
180  }
181  return lh.lumi_ < rh.lumi_;
182  }
183  return lh.run_ < rh.run_;
184  }
bool int lh
Definition: SSEVec.h:37
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 156 of file FwdPtr.h.

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

Definition at line 404 of file View.h.

405  {
406  return
407  std::lexicographical_compare(lhs.begin(), lhs.end(),
408  rhs.begin(), rhs.end());
409  }
template<typename T >
bool edm::operator< ( RefToBaseProd< T > const &  lhs,
RefToBaseProd< T > const &  rhs 
)
inline

Definition at line 209 of file RefToBaseProd.h.

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

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

248  {
249  if (a.processName() < b.processName()) return true;
250  if (b.processName() < a.processName()) return false;
251  if (a.fullClassName() < b.fullClassName()) return true;
252  if (b.fullClassName() < a.fullClassName()) return false;
253  if (a.friendlyClassName() < b.friendlyClassName()) return true;
254  if (b.friendlyClassName() < a.friendlyClassName()) return false;
255  if (a.productInstanceName() < b.productInstanceName()) return true;
256  if (b.productInstanceName() < a.productInstanceName()) return false;
257  if (a.moduleLabel() < b.moduleLabel()) return true;
258  if (b.moduleLabel() < a.moduleLabel()) return false;
259  if (a.branchType() < b.branchType()) return true;
260  if (b.branchType() < a.branchType()) return false;
261  if (a.branchID() < b.branchID()) return true;
262  if (b.branchID() < a.branchID()) return false;
263  if (a.parameterSetIDs() < b.parameterSetIDs()) return true;
264  if (b.parameterSetIDs() < a.parameterSetIDs()) return false;
265  if (a.moduleNames() < b.moduleNames()) return true;
266  if (b.moduleNames() < a.moduleNames()) return false;
267  if (a.branchAliases() < b.branchAliases()) return true;
268  if (b.branchAliases() < a.branchAliases()) return false;
269  if (a.present() < b.present()) return true;
270  if (b.present() < a.present()) return false;
271  return false;
272  }
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 235 of file RefProd.h.

235  {
236  return (lhs.refCore() < rhs.refCore());
237  }
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 260 of file Ptr.h.

260  {
263  return (lhs.refCore() == rhs.refCore() ? lhs.key() < rhs.key() : lhs.refCore() < rhs.refCore());
264  }
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 418 of file Ref.h.

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

Definition at line 28 of file TimeOfDay.cc.

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

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

Definition at line 96 of file FileFormatVersion.cc.

References edm::FileFormatVersion::value().

96  {
97  os << ff.value();
98  return os;
99  }
tuple ff
Definition: createTree.py:204
std::ostream & edm::operator<< ( std::ostream &  os,
BranchID const &  id 
)

Definition at line 14 of file BranchID.cc.

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

Definition at line 43 of file RunLumiEntryInfo.h.

References edm::RunLumiEntryInfo::write().

43  {
44  p.write(os);
45  return os;
46  }
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 &  os,
EventEntryInfo const &  p 
)
inline

Definition at line 52 of file EventEntryInfo.h.

References edm::EventEntryInfo::write().

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

Definition at line 54 of file EntryDescription.h.

References edm::EntryDescription::write().

54  {
55  p.write(os);
56  return os;
57  }
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(), align_tpl::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: align_tpl.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,
Parentage const &  p 
)
inline

Definition at line 65 of file Parentage.h.

References edm::Parentage::write().

65  {
66  p.write(os);
67  return os;
68  }
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,
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 &  os,
const RunAuxiliary &  p 
)
inline

Definition at line 67 of file RunAuxiliary.h.

References edm::RunAuxiliary::write().

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

Definition at line 68 of file ConstBranchDescription.h.

References edm::ConstBranchDescription::me().

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

Definition at line 68 of file LuminosityBlockAuxiliary.h.

References edm::LuminosityBlockAuxiliary::write().

68  {
69  p.write(os);
70  return os;
71  }
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,
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 &  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,
ProcessConfiguration const &  pc 
)

Definition at line 85 of file ProcessConfiguration.cc.

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

85  {
86  os << pc.processName() << ' '
87  << pc.parameterSetID() << ' '
88  << pc.releaseVersion() << ' '
89  << pc.passID();
90  return os;
91  }
std::ostream& edm::operator<< ( std::ostream &  os,
BranchMapper const &  p 
)
inline

Definition at line 71 of file BranchMapper.h.

References edm::BranchMapper::write().

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

Definition at line 81 of file ProductProvenance.h.

References edm::ProductProvenance::write().

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

Definition at line 88 of file ParameterSetEntry.cc.

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

88  {
89  const char* trackiness = (psetEntry.isTracked()?"tracked":"untracked");
90  os << "PSet "<<trackiness<<" = ("<< psetEntry.pset() << ")";
91  return os;
92  }
std::ostream& edm::operator<< ( std::ostream &  os,
JobReport::RunReport const &  f 
)

Definition at line 93 of file JobReport.cc.

References print().

93  {
94  return print(os,f);
95  }
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,
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  }
edm::MessageSender& edm::operator<< ( edm::MessageSender os,
JobReport::InputFile const &  f 
)

Definition at line 98 of file JobReport.cc.

References print().

98  {
99  return print(os,f);
100  }
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 EventAuxiliary &  p 
)
inline

Definition at line 102 of file EventAuxiliary.h.

References edm::EventAuxiliary::write().

102  {
103  p.write(os);
104  return os;
105  }
edm::MessageSender& edm::operator<< ( edm::MessageSender os,
JobReport::OutputFile const &  f 
)

Definition at line 101 of file JobReport.cc.

References print().

101  {
102  return print(os,f);
103  }
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,
VParameterSetEntry const &  vpsetEntry 
)

Definition at line 104 of file VParameterSetEntry.cc.

References i, edm::VParameterSetEntry::isTracked(), and edm::VParameterSetEntry::vpset().

104  {
105  std::vector<ParameterSet> const& vps = vpsetEntry.vpset();
106  os << "VPSet "<<(vpsetEntry.isTracked()?"tracked":"untracked")<<" = ({" << std::endl;
107  std::string start;
108  std::string const between(",\n");
109  for(std::vector<ParameterSet>::const_iterator i = vps.begin(), e = vps.end(); i != e; ++i) {
110  os << start << *i;
111  start = between;
112  }
113  if (!vps.empty()) {
114  os << std::endl;
115  }
116  os << "})";
117  return os;
118  }
int i
Definition: DBlmapReader.cc:9
edm::MessageSender& edm::operator<< ( edm::MessageSender os,
JobReport::RunReport const &  f 
)

Definition at line 104 of file JobReport.cc.

References print().

104  {
105  return print(os,f);
106  }
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 &  ost,
ProcessHistory const &  ph 
)

Definition at line 57 of file ProcessHistory.cc.

References copy_all().

57  {
58  ost << "Process History = ";
59  copy_all(ph, std::ostream_iterator<ProcessHistory::value_type>(ost,";"));
60  return ost;
61  }
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
Definition: Algorithms.h:24
std::ostream& edm::operator<< ( std::ostream &  os,
Provenance const &  p 
)
inline

Definition at line 116 of file Provenance.h.

References edm::Provenance::write().

116  {
117  p.write(os);
118  return os;
119  }
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
template<class T >
ErrorObj& edm::operator<< ( ErrorObj &  e,
const T t 
)
inline
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  }
ErrorObj & edm::operator<< ( ErrorObj &  e,
const char  s[] 
)

Definition at line 274 of file ErrorObj.cc.

References edm::ErrorObj::opltlt().

274  {
275  return e.opltlt(s);
276 }
string s
Definition: asciidump.py:422
std::ostream& edm::operator<< ( std::ostream &  os,
const edm::FileInPath fip 
)
inline

Definition at line 144 of file FileInPath.h.

References edm::FileInPath::write().

145  {
146  fip.write(os);
147  return os;
148  }
void write(std::ostream &os) const
Definition: FileInPath.cc:176
std::ostream & edm::operator<< ( std::ostream &  os,
FileIndex const &  fileIndex 
)

Definition at line 205 of file FileIndex.cc.

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

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

Definition at line 182 of file Group.h.

References edm::Group::write().

182  {
183  g.write(os);
184  return os;
185  }
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 182 of file ProductRegistry.h.

References edm::ProductRegistry::print().

182  {
183  pr.print(os);
184  return os;
185  }
std::ostream& edm::operator<< ( std::ostream &  os,
BranchDescription const &  p 
)
inline

Definition at line 206 of file BranchDescription.h.

References edm::BranchDescription::write().

206  {
207  p.write(os);
208  return os;
209  }
template<int I>
std::ostream& edm::operator<< ( std::ostream &  os,
Hash< I > const &  h 
)
inline

Definition at line 217 of file Hash.h.

References h.

217  {
218  return h.print(os);
219  }
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 249 of file RefVector.h.

References i, and csvReporter::r.

250  {
251  for (typename RefVector<C,T,F>::const_iterator
252  i = r.begin(),
253  e = r.end();
254  i != e;
255  ++i)
256  {
257  os << *i << '\n';
258  }
259  return os;
260  }
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 86 of file JobReport.cc.

References print().

86  {
87  return print(os,f);
88  }
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 89 of file JobReport.cc.

References print().

89  {
90  return print(os,f);
91  }
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 858 of file ParameterSet.cc.

References edm::ParameterSet::dump().

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

Definition at line 944 of file Entry.cc.

References 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, sTypeTranslations, edm::pset::TypeTrans::table_, o2o::tags, and edm::Entry::typeCode().

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

References mathSSE::lh.

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

Definition at line 414 of file View.h.

415  {
416  return !(rhs<lhs);
417  }
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:37
template<typename KEY >
bool edm::operator== ( RefItem< KEY > const &  lhs,
RefItem< KEY > const &  rhs 
)
inline

Definition at line 45 of file RefItem.h.

References edm::RefItem< KEY >::key().

45  {
46  return lhs.key() == rhs.key();
47  }
bool edm::operator== ( RunLumiEntryInfo const &  a,
RunLumiEntryInfo const &  b 
)

Definition at line 23 of file RunLumiEntryInfo.cc.

References edm::RunLumiEntryInfo::branchID(), and edm::RunLumiEntryInfo::productStatus().

23  {
24  return
25  a.branchID() == b.branchID()
26  && a.productStatus() == b.productStatus();
27  }
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 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== ( ProcessConfiguration const &  a,
ProcessConfiguration const &  b 
)
inline

Definition at line 57 of file ProcessConfiguration.h.

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

57  {
58  return a.processName() == b.processName() &&
59  a.parameterSetID() == b.parameterSetID() &&
60  a.releaseVersion() == b.releaseVersion() &&
61  a.passID() == b.passID();
62  }
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== ( EventEntryInfo const &  a,
EventEntryInfo const &  b 
)

Definition at line 27 of file EventEntryInfo.cc.

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

27  {
28  return
29  a.branchID() == b.branchID()
30  && a.productID() == b.productID()
31  && a.productStatus() == b.productStatus()
32  && a.entryDescriptionID() == b.entryDescriptionID();
33  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProductID const &  lh,
ProductID const &  rh 
)
inline

Definition at line 58 of file ProductID.h.

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

58  {
59  return lh.processIndex() == rh.processIndex() && lh.productIndex() == rh.productIndex();
60  }
bool int lh
Definition: SSEVec.h:37
template<typename KEY >
bool edm::operator== ( RefBase< KEY > const &  lhs,
RefBase< KEY > const &  rhs 
)

Definition at line 62 of file RefBase.h.

62  {
63  return lhs.refCore() == rhs.refCore() && lhs.item() == rhs.item();
64  }
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
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== ( ConstBranchDescription const &  a,
ConstBranchDescription const &  b 
)
inline

Definition at line 79 of file ConstBranchDescription.h.

References edm::ConstBranchDescription::me().

79  {
80  return a.me() == b.me();
81  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProductProvenance const &  a,
ProductProvenance const &  b 
)

Definition at line 110 of file ProductProvenance.cc.

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

110  {
111  if (a.noParentage() != b.noParentage()) return false;
112  if (a.noParentage()) {
113  return
114  a.branchID() == b.branchID()
115  && a.productStatus() == b.productStatus();
116  }
117  return
118  a.branchID() == b.branchID()
119  && a.productStatus() == b.productStatus()
120  && a.parentageID() == b.parentageID();
121  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool edm::operator== ( ProcessHistory const &  a,
ProcessHistory const &  b 
)
inline

Definition at line 88 of file ProcessHistory.h.

References edm::ProcessHistory::data().

88  {
89  return a.data() == b.data();
90  }
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 94 of file RefVectorBase.h.

94  {
95  return lhs.refCore() == rhs.refCore() && lhs.keys() == rhs.keys();
96  }
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 99 of file RefCore.h.

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

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

Definition at line 96 of file Provenance.cc.

References edm::Provenance::product().

96  {
97  return a.product() == b.product();
98  }
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 139 of file FwdPtr.h.

139  {
140  return ( lhs.ptr() == rhs.ptr() ||
141  lhs.backPtr() == rhs.ptr() ||
142  lhs.ptr() == rhs.backPtr() ||
143  lhs.backPtr() == rhs.backPtr() );
144  }
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 !(lh < rh || rh < lh);}
bool int lh
Definition: SSEVec.h:37
template<typename T >
bool edm::operator== ( View< T > const &  lhs,
View< T > const &  rhs 
)
inline

Definition at line 386 of file View.h.

387  {
388  return
389  lhs.size() == rhs.size() &&
390  std::equal(lhs.begin(), lhs.end(), rhs.begin());
391  }
bool edm::operator== ( edm::FileInPath const &  a,
edm::FileInPath const &  b 
)
inline

Definition at line 158 of file FileInPath.h.

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

160  {
161  return a.location() == b.location() && a.relativePath() == b.relativePath();
162  }
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 170 of file ProductRegistry.h.

References edm::ProductRegistry::productList().

170  {
171  return a.productList() == b.productList();
172  }
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 
)

Definition at line 186 of file value_ptr.h.

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

186  {
187  lhs.this_type_does_not_support_comparisons();
188  return false;
189  }
bool edm::operator== ( Entry const &  a,
Entry const &  b 
)
inline

Definition at line 195 of file Entry.h.

References edm::Entry::toString().

195  {
196  return a.toString() == b.toString();
197  }
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 195 of file RefToBaseProd.h.

195  {
196  return lhs.refCore() == rhs.refCore();
197  }
template<typename T , typename U >
bool edm::operator== ( U const &  lhs,
value_ptr< T > const &  rhs 
)

Definition at line 198 of file value_ptr.h.

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

198  {
199  rhs.this_type_does_not_support_comparisons();
200  return false;
201  }
bool edm::operator== ( BranchDescription const &  a,
BranchDescription const &  b 
)

Definition at line 287 of file BranchDescription.cc.

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

287  {
288  return combinable(a, b) &&
289  (a.dropped() == b.dropped()) &&
290  (a.moduleNames() == b.moduleNames()) &&
291  (a.parameterSetIDs() == b.parameterSetIDs()) &&
292  (a.branchAliases() == b.branchAliases());
293  }
bool combinable(BranchDescription const &a, BranchDescription const &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C , typename T , typename F >
bool edm::operator== ( RefVector< C, T, F > const &  lhs,
RefVector< C, T, F > const &  rhs 
)
inline

Definition at line 214 of file RefVector.h.

214  {
215  return lhs.refVector() == rhs.refVector();
216  }
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 221 of file RefProd.h.

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

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

Definition at line 246 of file Ptr.h.

References edm::Ptr< T >::key(), and edm::Ptr< T >::refCore().

246  {
247  return lhs.refCore() == rhs.refCore() && lhs.key() == rhs.key();
248  }
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 772 of file ParameterSet.cc.

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

772  {
773  if(a.isRegistered() && b.isRegistered()) {
774  return (a.id() == b.id());
775  }
776  return isTransientEqual(a.trackedPart(), b.trackedPart());
777  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)
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 404 of file Ref.h.

404  {
405  return lhs.key() == rhs.key() && lhs.refCore() == rhs.refCore() ;
406  }
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 420 of file SortedCollection.h.

421  {
422  return c.size() == v.size() && std::equal(v.begin(), v.end(), c.begin());
423  }
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 432 of file SortedCollection.h.

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

References a.

61  {
62  return b < a;
63  }
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 72 of file TypeIDBase.h.

References a.

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

Definition at line 138 of file FileIndex.h.

References mathSSE::lh.

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

Definition at line 421 of file View.h.

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

Definition at line 141 of file FileIndex.h.

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

Definition at line 428 of file View.h.

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

Definition at line 151 of file FileInPath.h.

References edm::FileInPath::read().

152  {
153  fip.read(is);
154  return is;
155  }
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 python.multivaluedict::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
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 python.multivaluedict::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
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 python.multivaluedict::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
template<class A , class 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 235 of file Selector.h.

References a, and b.

236  {
237  return OrHelper<A,B>(a,b);
238  }
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:37
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:37
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 1664 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1664  {
1665  return retrieve(name).getVESInputTag();
1666  }
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 > > ( char const *  name) const
inline

Definition at line 110 of file PdtEntry.h.

References 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<PdtEntry> edm::ParameterSet::getParameter< std::vector< PdtEntry > > ( std::string const &  name) const
inline

Definition at line 90 of file PdtEntry.h.

References 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<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,
std::vector< double > const &  defaultValue 
) 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 > > ( 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,
std::vector< ESInputTag > const &  defaultValue 
) const

Definition at line 1381 of file ParameterSet.cc.

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

1382  {
1383  Entry const* entryPtr = retrieveUntracked(name);
1384  return entryPtr == 0 ? defaultValue : entryPtr->getVESInputTag();
1385  }
Definition: Entry.h:18
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( std::string const &  name) const

Definition at line 1389 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

1389  {
1390  return getEntryPointerOrThrow_(name)->getVESInputTag();
1391  }
template<>
std::vector<ESInputTag> edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > > ( char const *  name) const

Definition at line 2019 of file ParameterSet.cc.

References mergeVDriftHistosByStation::name.

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

Definition at line 2011 of file ParameterSet.cc.

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

2012  {
2013  Entry const* entryPtr = retrieveUntracked(name);
2014  return entryPtr == 0 ? defaultValue : entryPtr->getVESInputTag();
2015  }
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) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( std::string const &  name,
std::vector< EventRange > const &  defaultValue 
) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char const *  name,
std::vector< EventRange > const &  defaultValue 
) const
template<>
std::vector<EventRange> edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > > ( char 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 > > ( std::string const &  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name) const
template<>
std::vector<InputTag> edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > > ( char const *  name,
std::vector< InputTag > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name,
std::vector< int > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( std::string const &  name) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name,
std::vector< int > const &  defaultValue 
) const
template<>
std::vector<int> edm::ParameterSet::getUntrackedParameter< std::vector< int > > ( char const *  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name,
std::vector< long long > const &  defaultValue 
) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( std::string const &  name) const
template<>
std::vector<long long> edm::ParameterSet::getUntrackedParameter< std::vector< long long > > ( char const *  name,
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<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,
std::vector< LuminosityBlockID > const &  defaultValue 
) const
template<>
std::vector<LuminosityBlockID> edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > > ( char const *  name) 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 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 > > ( std::string const &  name) const
inline

Definition at line 96 of file PdtEntry.h.

References 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<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 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 > > ( char const *  name) const
inline

Definition at line 116 of file PdtEntry.h.

References 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<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( std::string const &  name,
std::vector< std::string > const &  defaultValue 
) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name,
std::vector< std::string > const &  defaultValue 
) const
template<>
std::vector<std::string> edm::ParameterSet::getUntrackedParameter< std::vector< std::string > > ( char const *  name) const
template<>
std::vector<unsigned int> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > > ( std::string const &  name,
std::vector< unsigned int > 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 > > ( char 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 long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name,
std::vector< unsigned long long > const &  defaultValue 
) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( std::string const &  name) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name,
std::vector< unsigned long long > const &  defaultValue 
) const
template<>
std::vector<unsigned long long> edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > > ( char const *  name) const
std::string edm::parameterTypeEnumToString ( ParameterTypes  iType)

Definition at line 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 306 of file SubProcess.cc.

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

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

306  {
307  std::vector<std::string> subProcesses = parameterSet.getUntrackedParameter<std::vector<std::string> >("@all_subprocesses");
308  if(!subProcesses.empty()) {
309  assert(subProcesses.size() == 1U);
310  assert(subProcesses[0] == "@sub_process");
311  return parameterSet.popParameterSet(subProcesses[0]);
312  }
313  return std::auto_ptr<ParameterSet>(0);
314  }
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 matplotRender::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:217
std::string const & eventTreeName()
Definition: BranchType.cc:244
tuple cout
Definition: gather_cfg.py:41
static void edm::preIndexIntoFilePrintEventLists ( TFile *  tfl,
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:212
tuple cout
Definition: gather_cfg.py:41
template<typename S >
S& edm::print ( S &  os,
JobReport::InputFile const &  f 
)

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

38  {
39 
40  os << "\n<InputFile>";
41  formatFile(f, os);
42  os << "\n<InputType>" << f.inputType << "</InputType>";
43  os << "\n<InputSourceClass>" << TiXmlText(f.inputSourceClassName)
44  << "</InputSourceClass>";
45  os << "\n<EventsRead>" << f.numEventsRead << "</EventsRead>";
46  return os;
47  }
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.h:430
template<typename S >
S& edm::print ( S &  os,
JobReport::OutputFile const &  f 
)

Definition at line 51 of file JobReport.cc.

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

51  {
52  formatFile(f, os);
53  os << "\n<OutputModuleClass>"
54  << TiXmlText(f.outputModuleClassName)
55  << "</OutputModuleClass>";
56  os << "\n<TotalEvents>"
57  << f.numEventsWritten
58  << "</TotalEvents>\n";
59  os << "\n<DataType>"
60  << TiXmlText(f.dataType)
61  << "</DataType>\n";
62  os << "\n<BranchHash>"
63  << TiXmlText(f.branchHash)
64  << "</BranchHash>\n";
65 
66  return os;
67  }
double f[11][100]
S & formatFile(T const &f, S &os)
Definition: JobReport.h:430
template<typename S >
S& edm::print ( S &  os,
JobReport::RunReport const &  rep 
)

Definition at line 71 of file JobReport.cc.

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

72  {
73  os << "\n<Run ID=\""
74  << rep.runNumber
75  << "\">\n";
76 
77  typedef std::set<unsigned int>::iterator iterator;
78  for (iterator il = rep.lumiSections.begin(), ilEnd = rep.lumiSections.end(); il != ilEnd; ++il) {
79  os << " <LumiSection ID=\"" << *il << "\"/>\n";
80 
81  }
82  os << "</Run>\n";
83  return os;
84  }
template<typename RecordT >
void edm::print_eventsetup_record_dependencies ( std::ostream &  oStream,
std::string const &  iIndent = std::string() 
)

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

76  {
77  oStream<<iIndent<<edm::eventsetup::EventSetupRecordKey::makeKey<RecordT>().name()<<std::endl;
78 
79  print_eventsetup_record_dependencies_recursive<RecordT>(oStream, iIndent, rec_dep::inherits_from_DependentRecordTag(static_cast<RecordT const*>(0)));
80  }
boost::mpl::false_ inherits_from_DependentRecordTag(void const *)
template<typename T >
void edm::print_eventsetup_record_dependencies ( std::ostream &  oStream,
std::string  ,
T const *  ,
T const *   
)

Definition at line 41 of file print_eventsetup_record_dependencies.h.

44  { }
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 47 of file print_eventsetup_record_dependencies.h.

References print_eventsetup_record_dependencies().

49  {
50  iIndent +=" ";
52  typename boost::mpl::next< TFirst >::type const* next(0);
53  print_eventsetup_record_dependencies(oStream, iIndent, next, iEnd);
54  }
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 62 of file print_eventsetup_record_dependencies.h.

References begin, end, and print_eventsetup_record_dependencies().

62  {
63  typedef typename RecordT::list_type list_type;
64 
65  typename boost::mpl::begin<list_type>::type const* begin(0);
66  typename boost::mpl::end<list_type>::type const* end(0);
68  }
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 &  oStream,
std::string const &  ,
boost::mpl::false_   
)

Definition at line 71 of file print_eventsetup_record_dependencies.h.

71  {
72  return;
73  }
void edm::printBadAllocException ( char const *  prog = 0,
edm::JobReport jobRep = 0,
int  rc = -1 
)

Definition at line 23 of file ExceptionMessages.cc.

References edm::JobReport::reportError().

23  {
24  std::string programName(prog ? prog : "program");
25  std::string shortDesc("std::bad_allocException");
26  std::ostringstream longDesc;
27  longDesc << "std::bad_alloc exception caught in "
28  << programName
29  << "\n"
30  << "The job has probably exhausted the virtual memory available to the process.\n";
31  edm::LogSystem(shortDesc) << longDesc.str() << "\n";
32  if(jobRep) jobRep->reportError(shortDesc, longDesc.str(), rc);
33  } catch(...) {
34  }
void reportError(std::string const &shortDesc, std::string const &longDesc)
Definition: JobReport.cc:639
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:41
tuple size
Write out results.
void edm::printCmsException ( cms::Exception e,
char const *  prog = 0,
edm::JobReport jobRep = 0,
int  rc = -1 
)

Definition at line 10 of file ExceptionMessages.cc.

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

10  {
11  std::string programName(prog ? prog : "program");
12  std::string shortDesc("CMSException");
13  std::ostringstream longDesc;
14  longDesc << "cms::Exception caught in "
15  << programName
16  << "\n"
17  << e.explainSelf();
18  edm::LogSystem(shortDesc) << longDesc.str() << "\n";
19  if(jobRep) jobRep->reportError(shortDesc, longDesc.str(), rc);
20  } catch(...) {
21  }
virtual std::string explainSelf() const
Definition: Exception.cc:56
void reportError(std::string const &shortDesc, std::string const &longDesc)
Definition: JobReport.cc:639
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 
232  FileFormatVersion fileFormatVersion;
233  FileFormatVersion *fftPtr = &fileFormatVersion;
234  if (metaDataTree->FindBranch(poolNames::fileFormatVersionBranchName().c_str()) != 0) {
235  TBranch *fft = metaDataTree->GetBranch(poolNames::fileFormatVersionBranchName().c_str());
236  fft->SetAddress(&fftPtr);
237  fft->GetEntry(0);
238  }
239  if(fileFormatVersion.hasIndexIntoFile()) {
240  postIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
241  } else {
242  preIndexIntoFilePrintEventLists(tfl, fileFormatVersion, metaDataTree);
243  }
244  }
std::string const & fileFormatVersionBranchName()
Definition: BranchType.cc:202
std::string const & metaDataTreeName()
Definition: BranchType.cc:157
static void preIndexIntoFilePrintEventLists(TFile *tfl, 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::printStdException ( std::exception &  e,
char const *  prog = 0,
edm::JobReport jobRep = 0,
int  rc = -1 
)

Definition at line 36 of file ExceptionMessages.cc.

References edm::JobReport::reportError().

36  {
37  std::string programName(prog ? prog : "program");
38  std::string shortDesc("StdLibException");
39  std::ostringstream longDesc;
40  longDesc << "Standard library exception caught in "
41  << programName
42  << "\n"
43  << e.what();
44  edm::LogSystem(shortDesc) << longDesc.str() << "\n";
45  if (jobRep) jobRep->reportError(shortDesc, longDesc.str(), rc);
46  } catch(...) {
47  }
void reportError(std::string const &shortDesc, std::string const &longDesc)
Definition: JobReport.cc:639
void edm::printTrees ( TFile *  hdl)

Definition at line 35 of file CollUtil.cc.

References combine::key, and VarParsing::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  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
list key
Definition: combine.py:13
void edm::printUnknownException ( char const *  prog = 0,
edm::JobReport jobRep = 0,
int  rc = -1 
)

Definition at line 49 of file ExceptionMessages.cc.

References edm::JobReport::reportError().

49  {
50  std::string programName(prog ? prog : "program");
51  std::string shortDesc("UnknownException");
52  std::ostringstream longDesc;
53  longDesc << "Unknown exception caught in "
54  << programName
55  << "\n";
56  edm::LogSystem(shortDesc) << longDesc.str() << "\n";
57  if (jobRep) jobRep->reportError(shortDesc, longDesc.str(), rc);
58  } catch(...) {
59  }
void reportError(std::string const &shortDesc, std::string const &longDesc)
Definition: JobReport.cc:639
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:41
list fid
Definition: NewTree.py:51
std::string const & fileIdentifierBranchName()
Definition: BranchType.cc:207
BranchID edm::productIDToBranchID ( ProductID const &  pid,
BranchIDLists const &  lists,
BranchListIndexes const &  indexes 
)

Definition at line 12 of file ProductIDToBranchID.cc.

References cmsCodeRules.cppFunctionSkipper::exception, 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  if (!pid.isValid()) {
14  return BranchID();
15  }
16  BranchID::value_type bid = 0;
17  try {
18  BranchListIndex blix = indexes.at(pid.processIndex()-1);
19  BranchIDList const& blist = lists.at(blix);
20  bid = blist.at(pid.productIndex()-1);
21  }
22  catch (std::exception) {
23  return BranchID();
24  }
25  return BranchID(bid);
26  }
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 208 of file ReflexTools.cc.

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

209  {
210 
211  if(type.IsClass() || type.IsStruct()) {
212 
213  int nBase = type.BaseSize();
214  for(int i = 0; i < nBase; ++i) {
215 
216  Base base = type.BaseAt(i);
217  if(base.IsPublic()) {
218 
219  Type baseType = type.BaseAt(i).ToType();
220  if(bool(baseType)) {
221 
222  while(baseType.IsTypedef() == true) {
223  baseType = baseType.ToType();
224  }
225 
226  // Check to make sure this base appears only once in the
227  // inheritance heirarchy.
228  if(!search_all(baseTypes, baseType)) {
229  // Save the type and recursive look for its base types
230  baseTypes.push_back(baseType);
231  public_base_classes(baseType, baseTypes);
232  }
233  // For now just ignore it if the class appears twice,
234  // After some more testing we may decide to uncomment the following
235  // exception.
236  /*
237  else {
238  throw Exception(errors::UnimplementedFeature)
239  << "DataFormats/Common/src/ReflexTools.cc in function public_base_classes.\n"
240  << "Encountered class that has a public base class that appears\n"
241  << "multiple times in its inheritance heirarchy.\n"
242  << "Please contact the EDM Framework group with details about\n"
243  << "this exception. It was our hope that this complicated situation\n"
244  << "would not occur. There are three possible solutions. 1. Change\n"
245  << "the class design so the public base class does not appear multiple\n"
246  << "times in the inheritance heirarchy. In many cases, this is a\n"
247  << "sign of bad design. 2. Modify the code that supports Views to\n"
248  << "ignore these base classes, but not supply support for creating a\n"
249  << "View of this base class. 3. Improve the View infrastructure to\n"
250  << "deal with this case. Class name of base class: " << baseType.Name() << "\n\n";
251  }
252  */
253  }
254  }
255  }
256  }
257  }
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) <<"python encountered the error: "
34  << PyString_AsString(stringExc.ptr())<<" "
35  << PyString_AsString(stringVal.ptr())<<"\n";
36  } else {
37  throw cms::Exception(iType)<<" unknown python problem occurred.\n";
38  }
39 }
#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, collect_tpl::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 input
Definition: collect_tpl.py:10
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  }
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, L1TEmulatorMonitor_cff::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 75 of file ReflexTools.h.

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

75  {
76  static Reflex::Type const
77  toType(Reflex::Type::ByTypeInfo(typeid(T)));
78 
79  Reflex::Object obj(dynamicType, raw);
80  return static_cast<T const*>(obj.CastObject(toType).Address());
81 
82  // This alternative implementation of reflex_cast would allow us
83  // to remove the compile-time depenency on Reflex/Type.h and
84  // Reflex/Object.h, at the cost of some speed.
85  //
86  // return static_cast<T const*>(reflex_pointer_adjust(raw,
87  // dynamicType,
88  // typeid(T)));
89  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 260 of file ReflexTools.cc.

References VarParsing::obj.

262  {
263  Object obj(dynamicType, raw);
264  return obj.CastObject(Type::ByTypeInfo(toType)).Address();
265  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 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  }
Definition: Ptr.h:9
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 22 of file RegexMatch.cc.

References i.

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

22  {
23  std::vector< std::vector<std::string>::const_iterator> matches;
24  for (std::vector<std::string>::const_iterator i = strings.begin(), iEnd = strings.end(); i != iEnd; ++i) {
25  if (boost::regex_match((*i), regexp)) {
26  matches.push_back(i);
27  }
28  }
29  return matches;
30  }
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 33 of file RegexMatch.cc.

References glob2reg(), and regexMatch().

33  {
34  boost::regex regexp(glob2reg(pattern));
35  return regexMatch(strings, regexp);
36  }
std::string glob2reg(std::string const &pattern)
Definition: RegexMatch.cc:14
std::vector< std::vector< std::string >::const_iterator > regexMatch(std::vector< std::string > const &strings, boost::regex const &regexp)
Definition: RegexMatch.cc:22
bool edm::registryIsSubset ( SendJobHeader const &  sd,
ProductRegistry const &  reg 
)

Definition at line 85 of file Utilities.cc.

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

Referenced by edmtestp::TestFileReader::TestFileReader().

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
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(), 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
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
string s
Definition: asciidump.py:422
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 L1TEmulatorMonitor_cff::p.

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

Definition at line 203 of file ParameterSet.cc.

Referenced by FilterOR::accept(), TkTrackingRegionsMargin< float >::add(), edm::eventsetup::EventSetupRecord::add(), pos::PixelConfigFile::addAlias(), evf::WebGUI::addCountersToParams(), HcalHardwareXml::addHardware(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), Hector::addPartToHepMC(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), EcalPreshowerGeometry::alignmentTransformIndexLocal(), BlockWipedPool::allocator(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), SiStripThresholdBuilder::analyze(), BxTiming::analyze(), RPCGeometryServTest::analyze(), LHEAnalyzer::analyze(), DTPreCalibrationTask::analyze(), HcalQIEDataCheck::analyze(), DTNoiseCalibration::analyze(), HcalPedestalWidthsCheck::analyze(), DTNoiseTask::analyze(), cms::HcalConstantsASCIIWriter::analyze(), HeavyFlavorValidation::analyze(), DTTestPulsesTask::analyze(), DTAlbertoBenvenutiTask::analyze(), EcalTPGParamBuilder::analyze(), DTDigiTask::analyze(), L1TRPCTPG::analyze(), DQMHcalIsoTrackHLT::analyze(), HLTScalers::analyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SurveyDataConverter::applyFineSurveyInfo(), TrackerHitAssociator::associateHit(), BxTiming::beginJob(), ShallowTree::beginJob(), Tracker_OldtoNewConverter::beginJob(), HLTSeedL1LogicScalers::beginRun(), FourVectorHLTOnline::beginRun(), TrigResRateMon::beginRun(), FourVectorHLTOffline::beginRun(), ora::RelationalDeleter::build(), CSCGeometryParsFromDD::build(), SeedFromGenericPairOrTriplet::buildSeed(), CocoaUnitDefinition::BuildUnitsTable(), ALIUnitDefinition::BuildUnitsTable(), JetPartonMatching::calculate(), ClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_e3x2(), ClusterShapeAlgo::Calculate_e3x3(), ClusterShapeAlgo::Calculate_e4x4(), ClusterShapeAlgo::Calculate_e5x5(), MultipleAlgoIterator::calculatePedestal(), PileUpSubtractor::calculatePedestal(), 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(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupBXHitsEndLumiBlock(), LatencyHistosUsingDb::create(), Histograms::declareHistograms(), evf::ExceptionGenerator::defaultWebPage(), edm::DaqSource::defaultWebPage(), GeomDetTypeIdToEnum::detId(), PFRecoTauDiscriminationByInvMass::discriminate(), SurveyPxbDicer::doDice(), DTSC::DTSectCollsort2(), MuScleFit::duringFastLoop(), ZeeCalibration::duringLoop(), EcalClusterTools::e2nd(), EcalClusterTools::eMax(), edm::ELlog4cplus::emit(), edm::service::ELoutput::emitToken(), TowerBlockFormatter::EndEvent(), DuplicationChecker::endJob(), AlcaBeamMonitor::endLuminosityBlock(), DTtTrigCalibrationTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), AlcaBeamMonitorClient::endRun(), 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(), DDTECPhiAltAlgo::execute(), DDTECPhiAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTIDRingAlgo::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDPixFwdBlades::execute(), CommissioningHistograms::extractHistograms(), PatZToMuMuAnalyzer::fill(), PatJetAnalyzer::fill(), TopSingleLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), OutInConversionSeedFinder::fillClusterSeeds(), GenParticleProducer::fillDaughters(), 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(), HLTEgammaDoubleLegCombFilter::filter(), HLTEgammaEtFilterPairs::filter(), ProbeTreeProducer::filter(), HLTJetTag::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(), 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(), IO::GetNextLineData(), pftools::IO::GetNextLineData(), trigger::TriggerEventWithRefs::getObjects(), PileUpSubtractor::getPileUpAtTower(), DTT0::getRandom(), LMFCorrCoefDat::getSeqID(), LMFCorrCoefDat::getSequence(), PileUpSubtractor::getSigmaAtTower(), DTT0::getSorted(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), SiStripBaseCondObjDQM::getSummaryMEs(), ZIterativeAlgorithmWithFit::getWeight(), SimTrackManager::giveMotherNeeded(), MuonRoadTrajectoryBuilder::flippingPair< A >::head(), PixelTripletLargeTipGenerator::hitTriplets(), SimTrackManager::idSavedTrack(), CombinedHitTripletGenerator::init(), L1MuGMTLUT::Init(), init_filter(), PixelRecoRange< float >::inside(), egammaisolation::EgammaRange< float >::inside(), muonisolation::Range< float >::inside(), TRange< int >::inside(), EcalTBDaqFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), TtGenEvent::isFullLeptonic(), RPCFw::isMajor(), CSCDDUMap::item(), CSCChamberMap::item(), CSCCrateMap::item(), TtEvent::jetLeptonCombination(), MuonTkNavigationSchool::linkEndcapLayers(), G4SimEvent::load(), CalorimetryManager::loadFromEcalBarrel(), CalorimetryManager::loadFromEcalEndcap(), CalorimetryManager::loadFromHcal(), pos::PixelConfigFile::makeKey(), SiStripHitEffFromCalibTree::makeTKMap(), match(), JetPartonMatching::matchingPtOrderedMinDist(), PixelRecoRange< float >::max(), egammaisolation::EgammaRange< float >::max(), muonisolation::Range< float >::max(), TRange< int >::max(), PixelRecoRange< float >::mean(), egammaisolation::EgammaRange< float >::mean(), muonisolation::Range< float >::mean(), TRange< int >::mean(), 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()(), 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(), L1MuDTAssignmentUnit::PhiAU(), PhiBorderFinder::PhiBorderFinder(), cond::PayLoadInspector< DataT >::plot(), SiStripRegionCabling::position(), HLTConfigProvider::prescaleValues(), TtFullLeptonicEvent::print(), egHLT::TrigCodes::TrigBitSetMap::printCodes(), hcalCalib::Process(), PFAlgoTestBenchElectrons::processBlock(), PFAlgo::processBlock(), cscdqm::EventProcessor::processCSC(), DDLSpecPar::processElement(), DDLString::processElement(), DDLNumeric::processElement(), EnergyLossProducer::produce(), CandOneToManyDeltaRMatcher::produce(), TtFullLepKinSolutionProducer::produce(), PFTrackProducer::produce(), DTFakeT0ESProducer::produce(), L1ExtraParticleMapProd::produce(), pat::PATPhotonProducer::produce(), pat::PATGenericParticleProducer::produce(), pat::PATMuonProducer::produce(), pat::PATTauProducer::produce(), reco::modules::TrackMultiSelector::produce(), JetPlusTrackProducerAA::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(), evf::FUEventProcessor::receivingAndMonitor(), CSCEfficiency::recHitSegment_Efficiencies(), CSCEfficiency::recSimHitEfficiency(), SiStripDetVOffBuilder::reduce(), SiStripDetVOffBuilder::reduction(), edm::ESProxyFactoryProducer::registerFactoryWithKey(), pftools::CaloWindow::relativePosition(), SiPixelHistoricInfoEDAClient::retrieveMEs(), TkTrackingRegionsMargin< float >::right(), reco::modules::TrackerTrackHitFilter::Rule::Rule(), DTTSS::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), DTTSM::run(), DTSC::run(), EcalTrigPrimFunctionalAlgo::run_part2(), DTLocalTriggerLutTest::runClientDiagnostic(), SortCollectionSelector< InputCollection, Comparator, OutputCollection, StoreContainer, RefAdder >::select(), FWTableView::selectCollection(), MuScleFit::selectMuons(), DTLVStatus::set(), DTTPGParameters::set(), DTHVStatus::set(), DTRangeT0::set(), DTT0::set(), DTTtrig::set(), DTPerformance::set(), DTStatusFlag::set(), DTDeadFlag::set(), DTMtime::set(), PFElectronAlgo::SetActive(), HICMeasurementEstimator::setCuts(), 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(), DTTSM::sortTSM2(), DTTSS::sortTSS2(), 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(), GsfTrajectorySmoother::trajectories(), TwoBodyDecayTrajectoryFactory::trajectories(), GeomDetTypeIdToEnum::type(), MonopoleSteppingAction::update(), LatencyHistosUsingDb::update(), SiTrackerMultiRecHitUpdator::update(), SiTrackerMultiRecHitUpdatorMTF::update(), TauJetCorrector::ParametrizationTauJet::value(), viewNameFrom(), BlockWipedPool::visit(), and BlockWipedPool::wipe().

203  {
204  return p.second;
205  }
void edm::setCacheStreamers ( )

Definition at line 30 of file CacheStreamers.cc.

Referenced by AutoLibraryLoader::enable(), and edm::service::InitRootHandlers::InitRootHandlers().

30  {
31 #if 0
32  TClass *cl = gROOT->GetClass("edm::BoolCache");
33  if (cl->GetStreamer() == 0) {
34  cl->AdoptStreamer(new BoolCacheStreamer());
35  /*} else {
36  std::cout <<"ERROR: no edm::BoolCache found"<<std::endl;*/
37  }
38 
39  cl = gROOT->GetClass("edm::ConstPtrCache");
40  if (cl->GetStreamer() == 0) {
41  cl->AdoptStreamer(new ConstPtrCacheStreamer());
42  /*} else {
43  std::cout <<"ERROR: no edm::ConstPtrCache found"<<std::endl;*/
44  }
45 #endif
46  }
template<typename T >
void edm::SetCustomStreamer ( )

Definition at line 41 of file CustomStreamer.h.

References 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  }
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 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  }
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  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 455 of file SortedCollection.h.

458  {
459  obj.setPtr(toType, index, ptr);
460  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
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 505 of file OwnVector.h.

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

508  {
509  obj.setPtr(toType, index, ptr);
510  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
void edm::setRefCoreStreamer ( bool  resetAll = false)

Definition at line 85 of file RefCoreStreamer.cc.

References edm::EDProductGetter::switchProductGetter().

Referenced by edm::StreamerInputSource::deserializeEvent(), edm::RootDelayedReader::getProduct_(), edm::service::InitRootHandlers::InitRootHandlers(), edm::BranchMapperWithReader::readProvenance_(), edm::RootFile::RootFile(), and edm::RootOutputTree::writeTTree().

85  {
86 
87  {
88  TClass *cl = gROOT->GetClass("edm::RefCore::CheckTransientOnWrite");
89  TClassStreamer *st = cl->GetStreamer();
90  if (st == 0) {
91  cl->AdoptStreamer(new RefCoreCheckTransientOnWriteStreamer());
92  }
93  }
94  EDProductGetter::switchProductGetter(0);
95  if (resetAll) {
96  TClass *cl = gROOT->GetClass("edm::RefCore");
97  if (cl->GetStreamer() != 0) {
98  cl->AdoptStreamer(0);
99  }
100  }
101  if (resetAll) {
102  TClass *cl = gROOT->GetClass("edm::ProductID");
103  if (cl->GetStreamer() != 0) {
104  cl->AdoptStreamer(0);
105  }
106  }
107  }
EDProductGetter const * edm::setRefCoreStreamer ( EDProductGetter const *  ep,
bool  oldFormat = false,
bool  productIDwasLong = false 
)

Definition at line 109 of file RefCoreStreamer.cc.

References edm::RefCoreStreamer::setProductGetter(), edm::ProductIDStreamer::setProductGetter(), and edm::EDProductGetter::switchProductGetter().

109  {
110  EDProductGetter const* returnValue=0;
111  if (ep != 0) {
112  if (oldFormat) {
113  TClass *cl = gROOT->GetClass("edm::RefCore");
114  RefCoreStreamer *st = static_cast<RefCoreStreamer *>(cl->GetStreamer());
115  if (st == 0) {
116  cl->AdoptStreamer(new RefCoreStreamer(ep));
117  } else {
118  returnValue = st->setProductGetter(ep);
119  }
120  } else {
121  TClass *cl = gROOT->GetClass("edm::RefCore::CheckTransientOnWrite");
122  TClassStreamer *st = cl->GetStreamer();
123  if (st == 0) {
124  cl->AdoptStreamer(new RefCoreCheckTransientOnWriteStreamer());
125  }
127  }
128  }
129  if (oldFormat) {
130  TClass *cl = gROOT->GetClass("edm::ProductID");
131  ProductIDStreamer *st = static_cast<ProductIDStreamer *>(cl->GetStreamer());
132  if (st == 0) {
133  cl->AdoptStreamer(new ProductIDStreamer(ep, productIDwasLong));
134  } else {
135  st->setProductGetter(ep);
136  }
137  }
138  return returnValue;
139  }
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)
template<typename T >
void edm::SetTransientStreamer ( )

Definition at line 44 of file TransientStreamer.h.

References className().

44  {
45  TClass *cl = gROOT->GetClass(TypeID(typeid(T)).className().c_str());
46  if (cl->GetStreamer() == 0) {
47  cl->AdoptStreamer(new TransientStreamer<T>());
48  }
49  }
long double T
std::string className(const T &t)
Definition: ClassName.h:30
template<typename T >
void edm::SetTransientStreamer ( T const &  )

Definition at line 53 of file TransientStreamer.h.

References className().

53  {
54  TClass *cl = gROOT->GetClass(TypeID(typeid(T)).className().c_str());
55  if (cl->GetStreamer() == 0) {
56  cl->AdoptStreamer(new TransientStreamer<T>());
57  }
58  }
long double T
std::string className(const T &t)
Definition: ClassName.h:30
void edm::setTransientStreamers ( )

Definition at line 12 of file TransientStreamer.cc.

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

12  {
13  SetTransientStreamer<Transient<BranchDescription::Transients> >();
14  SetTransientStreamer<Transient<ProductProvenance::Transients> >();
15  SetTransientStreamer<Transient<IndexIntoFile::Transients> >();
16  SetTransientStreamer<Transient<Parentage::Transients> >();
17  SetTransientStreamer<Transient<ProcessConfiguration::Transients> >();
18  SetTransientStreamer<Transient<ProcessHistory::Transients> >();
19  SetTransientStreamer<Transient<ProductRegistry::Transients> >();
20  }
void edm::sigInventory ( )

Definition at line 160 of file UnixSignalHandlers.cc.

References benchmark_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)
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 }
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 L1TEmulatorMonitor_cff::p, and python.multivaluedict::sort().

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

Definition at line 96 of file LuminosityBlockRange.cc.

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

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:79
FwdIter contextual_find_not(FwdIter b, FwdIter e, char first, char sep, char last)
Definition: split.h:70
double b
Definition: hdecay.h:120
string s
Definition: asciidump.py:422
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)
static const std::string category("Muon|RecoMuon|L3MuonCandidateProducerFromMuons")
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 L1TEmulatorMonitor_cff::p.

142  {
143  std::stable_sort(s.begin(), s.end(), p);
144  }
string s
Definition: asciidump.py:422
std::string edm::stripLeadingDirectoryTree ( const std::string &  file)
void edm::swap ( ProductID &  a,
ProductID &  b 
)
inline

Definition at line 53 of file ProductID.h.

References edm::ProductID::swap().

53  {
54  a.swap(b);
55  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( GroupData &  a,
GroupData &  b 
)
inline

Definition at line 58 of file Group.h.

References edm::GroupData::swap().

58  {
59  a.swap(b);
60  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( Parentage &  a,
Parentage &  b 
)
inline

Definition at line 59 of file Parentage.h.

References edm::Parentage::swap().

59  {
60  a.swap(b);
61  }
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 ( 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
void edm::swap ( OrphanHandleBase &  a,
OrphanHandleBase &  b 
)
inline

Definition at line 77 of file OrphanHandleBase.h.

References edm::OrphanHandleBase::swap().

77  {
78  a.swap(b);
79  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( ProcessHistory &  a,
ProcessHistory &  b 
)
inline

Definition at line 82 of file ProcessHistory.h.

References edm::ProcessHistory::swap().

82  {
83  a.swap(b);
84  }
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 ( 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
template<typename KEY >
void edm::swap ( RefVectorBase< KEY > &  a,
RefVectorBase< KEY > &  b 
)
inline

swap two vectors

Definition at line 109 of file RefVectorBase.h.

109  {
110  a.swap(b);
111  }
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  }
void edm::swap ( BasicHandle &  a,
BasicHandle &  b 
)
inline

Definition at line 115 of file BasicHandle.h.

References edm::BasicHandle::swap().

115  {
116  a.swap(b);
117  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C >
void edm::swap ( Association< C > &  lhs,
Association< C > &  rhs 
)
inline
template<class T >
void edm::swap ( DetSet< T > &  a,
DetSet< T > &  b 
)
inline

Definition at line 118 of file DetSet.h.

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

118  {
119  a.swap(b);
120  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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
void edm::swap ( edm::RefCore lhs,
edm::RefCore rhs 
)
inline

Definition at line 125 of file RefCore.h.

References edm::RefCore::swap().

125  {
126  lhs.swap(rhs);
127  }
void swap(RefCore &)
Definition: RefCore.h:117
void edm::swap ( FileInPath a,
FileInPath b 
)
inline

Definition at line 138 of file FileInPath.h.

References edm::FileInPath::swap().

139  {
140  a.swap(b);
141  }
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<typename C , typename T , typename F >
void edm::swap ( RefVector< C, T, F > &  a,
RefVector< C, T, F > &  b 
)
inline

Definition at line 168 of file RefVector.h.

168  {
169  a.swap(b);
170  }
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 178 of file value_ptr.h.

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

178 { vp1.swap(vp2); }
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 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 ( 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  }
template<int I>
void edm::swap ( Hash< I > &  a,
Hash< I > &  b 
)
inline

Definition at line 210 of file Hash.h.

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

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

Definition at line 211 of file DataFrameContainer.h.

References edm::DataFrameContainer::swap().

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

Definition at line 214 of file RefToBaseProd.h.

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

214  {
215  lhs.swap(rhs);
216  }
void swap(RefToBaseProd< T > &)
void edm::swap ( InputGroup &  a,
InputGroup &  b 
)
inline

Definition at line 222 of file Group.h.

References edm::Group::swap().

222  {
223  a.swap(b);
224  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
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 226 of file RangeMap.h.

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

226  {
227  a.swap(b);
228  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename C >
void edm::swap ( edm::RefProd< C > const &  lhs,
edm::RefProd< C > const &  rhs 
)
inline

Definition at line 241 of file RefProd.h.

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

241  {
242  lhs.swap(rhs);
243  }
void swap(RefProd< C > &)
Definition: RefProd.h:214
template<typename T >
void edm::swap ( Vector< T > &  a,
Vector< T > &  b 
)
inline

Definition at line 244 of file Vector.h.

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

244  {
245  a.swap(b);
246  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
template<typename T >
void edm::swap ( ValueMap< T > &  lhs,
ValueMap< T > &  rhs 
)
inline

Definition at line 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 278 of file Group.h.

References edm::Group::swap().

278  {
279  a.swap(b);
280  }
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
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 301 of file ParameterSet.h.

References edm::ParameterSet::swap().

301  {
302  a.swap(b);
303  }
void edm::swap ( UnscheduledGroup &  a,
UnscheduledGroup &  b 
)
inline

Definition at line 303 of file Group.h.

References edm::Group::swap().

303  {
304  a.swap(b);
305  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void edm::swap ( SourceGroup &  a,
SourceGroup &  b 
)
inline

Definition at line 328 of file Group.h.

References edm::Group::swap().

328  {
329  a.swap(b);
330  }
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 395 of file SortedCollection.h.

395  {
396  a.swap(b);
397  }
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<typename T >
void edm::swap ( View< T > &  lhs,
View< T > &  rhs 
)
inline

Definition at line 436 of file View.h.

436  {
437  lhs.swap(rhs);
438  }
template<typename T , typename P >
void edm::swap ( OwnVector< T, P > &  a,
OwnVector< T, P > &  b 
)
inline

Definition at line 466 of file OwnVector.h.

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

466  {
467  a.swap(b);
468  }
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
void edm::throwExceptionWithText ( char const *  txt)

Definition at line 211 of file BranchDescription.cc.

References edm::errors::LogicError.

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

211  {
213  e << "Problem using an incomplete BranchDescription\n"
214  << txt
215  << "\nPlease report this error to the FWCore developers";
216  throw e;
217  }
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(), query::result, and EcalElecEmulTccFlatFileProducerFromTPG_cfg::tokens.

Referenced by MomentumDependentPedeLabeler::buildMomentumDependencyMap(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), decode(), editESInputTag(), editInputTag(), editVInputTag(), edm::ESInputTag::ESInputTag(), edm::FileInPath::initialize_(), edm::InputTag::InputTag(), AlignmentProducer::makeNonOverlappingRunRanges(), 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
tuple input
Definition: collect_tpl.py:10
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, VarParsing::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 obj
Example code starts here #.
Definition: VarParsing.py:655
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 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:73
tuple status
Definition: ntuplemaker.py:245
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 label, L1TEmulatorMonitor_cff::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  }
const std::string & label
Definition: MVAComputer.cc:186
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::StreamerInputSource::buildClassCache(), stor::HLTInfo::buildClassCache(), BareRootProductGetter::createNewBuffer(), edm::StreamerInputSource::declareStreamers(), stor::HLTInfo::declareStreamers(), fwlite::DataGetterHelper::getByProductID(), edm::root::FWLiteDelayedReader::getProduct_(), edm::BranchDescription::initFromDictionary(), and edm::Event::put().

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

debugvalue edm::debugit
LogDebug_ edm::dummyLogDebugObject_
LogTrace_ edm::dummyLogTraceObject_
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::~MessageSender().

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 18 of file Guid.cc.

Referenced by edm::Guid::fromString(), and edm::Guid::toString().

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 21 of file StreamDQMSerializer.cc.

unsigned int const edm::kAveEventPerSec = 200U
static
unsigned int const edm::kNanoSecPerSec = 1000000000U
static
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(), RigidBodyAlignmentParameters::apply(), BeamSpotAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), KalmanAlignmentAlgorithm::applyAlignmentParameters(), MuScleFitUtils::applyScale(), CSCTFTrackBuilder::buildTracks(), TOBLayer::calculatePhiWindow(), PixelBarrelLayer::calculatePhiWindow(), SiStripMonitorMuonHLT::createMEs(), DEutils< T >::DEDigi(), OptOSensor2D::fastTraversesLightRay(), OptOPlateSplitter::fastTraversesLightRay(), OptOMirror::fastTraversesLightRay(), RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), OptOModifiedRhomboidPrism::getRotatedPlate(), HcalNumberingFromDDD::getShift(), cond::EcalDQMChannelStatusHelper::getValues(), cond::EcalDQMTowerStatusHelper::getValues(), cond::EcalTPGCrystalStatusHelper::getValues(), cond::EcalDCSTowerStatusHelper::getValues(), RigidBodyAlignmentParameters::globalParameters(), BeamSpotAlignmentParameters::globalParameters(), HcalNumberingFromDDD::HcalCellTypes(), PixelTripletNoTipGenerator::hitTriplets(), L1MuDTPtaLut::load(), HcalTTPDigiProducer::produce(), DistortedMuonProducerFromDB::produce(), CSCTFSectorProcessor::run(), CSCTFSPCoreLogic::run(), BackgroundHandler::setParameters(), DTTracoChip::storeCorr(), DTTracoChip::storeUncorr(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), RigidBodyAlignmentParameters::translation(), BeamSpotAlignmentParameters::translation(), DCCEEEventBlock::unpack(), CSCTFEvent::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 77 of file Entry.cc.

Referenced by edm::Entry::Entry(), operator<<(), and edm::Entry::throwValueError().

TransEntry edm::table[]

Definition at line 190 of file EventProcessor.cc.

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

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