CMS 3D CMS Logo

RepeatingCachedRootSource.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Subsystem/Package
4 // Class : RepeatingCachedRootSource
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Mon, 15 Mar 2021 19:02:31 GMT
11 //
12 
13 // system include files
14 #include <memory>
15 
16 // user include files
24 
26 
37 
39 
40 #include "RunHelper.h"
41 #include "RootFile.h"
42 #include "InputFile.h"
43 #include "DuplicateChecker.h"
44 
45 namespace edm {
46  class RunHelperBase;
47  class RCDelayedReader;
48 
50  public:
52 
53  static void fillDescriptions(ConfigurationDescriptions& descriptions);
54 
55  std::shared_ptr<WrapperBase> getProduct(unsigned int iStreamIndex,
56  BranchID const& k,
57  EDProductGetter const* ep) const;
58 
60  public:
61  std::shared_ptr<edm::WrapperBase> getProduct_(edm::BranchID const& k, edm::EDProductGetter const* ep) final {
63  }
64  void mergeReaders_(edm::DelayedReader*) final { assert(false); }
65  void reset_() final {}
66 
67  unsigned int m_streamIndex;
69 
71  const final {
72  return nullptr;
73  }
75  const final {
76  return nullptr;
77  }
78  };
79 
80  protected:
81  ItemType getNextItemType() override;
82  void readLuminosityBlock_(LuminosityBlockPrincipal& lumiPrincipal) override;
83  std::shared_ptr<LuminosityBlockAuxiliary> readLuminosityBlockAuxiliary_() override;
84  void readEvent_(EventPrincipal& eventPrincipal) override;
85 
86  private:
87  std::shared_ptr<RunAuxiliary> readRunAuxiliary_() override;
88  void readRun_(RunPrincipal& runPrincipal) override;
89  bool readIt(EventID const& id, EventPrincipal& eventPrincipal, StreamContext& streamContext) override;
90  void skip(int offset) override;
91  bool goToEvent_(EventID const& eventID) override;
92  void beginJob() override;
93 
94  std::unique_ptr<RootFile> makeRootFile(std::string const& logicalFileName,
95  std::string const& pName,
96  bool isSkipping,
97  std::shared_ptr<InputFile> filePtr,
98  std::shared_ptr<EventSkipperByID> skipper,
99  std::shared_ptr<DuplicateChecker> duplicateChecker,
100  std::vector<std::shared_ptr<IndexIntoFile>>& indexesIntoFiles);
101 
105  std::unique_ptr<RootFile> rootFile_;
106  std::vector<ProcessHistoryID> orderedProcessHistoryIDs_;
107  std::vector<std::vector<std::shared_ptr<edm::WrapperBase>>> cachedWrappers_;
108  std::vector<EventAuxiliary> eventAuxs_;
112  std::vector<RCDelayedReader> delayedReaders_; //one per stream
113  std::map<edm::BranchID, size_t> branchIDToWrapperIndex_;
114  std::vector<size_t> streamToCacheIndex_;
115  size_t nextEventIndex_ = 0;
117  unsigned long long eventIndex_ = 0;
118  };
119 } // namespace edm
120 
121 using namespace edm;
122 //
123 // constants, enums and typedefs
124 //
125 
126 //
127 // static data member definitions
128 //
129 
130 //
131 // constructors and destructor
132 //
134  : InputSource(pset, desc),
135  selectorRules_(pset, "inputCommands", "InputSource"),
136  runHelper_(std::make_unique<DefaultRunHelper>()),
137  cachedWrappers_(pset.getUntrackedParameter<unsigned int>("repeatNEvents")),
138  eventAuxs_(cachedWrappers_.size()),
139  provRetriever_(0),
140  delayedReaders_(desc.allocations_->numberOfStreams()),
141  streamToCacheIndex_(desc.allocations_->numberOfStreams(), 0) {
142  {
143  int index = 0;
144  std::for_each(delayedReaders_.begin(), delayedReaders_.end(), [&index, this](auto& iR) {
145  iR.m_streamIndex = index++;
146  iR.m_source = this;
147  });
148  }
149  auto logicalFileName = pset.getUntrackedParameter<std::string>("fileName");
150  InputFileCatalog catalog(std::vector<std::string>(1U, logicalFileName), "");
151  auto const& physicalFileName = catalog.fileCatalogItems().front().fileNames().front();
152  auto const nEventsToSkip = pset.getUntrackedParameter<unsigned int>("skipEvents");
153  std::shared_ptr<EventSkipperByID> skipper(EventSkipperByID::create(pset).release());
154 
155  auto duplicateChecker = std::make_shared<DuplicateChecker>(pset);
156 
157  std::vector<std::shared_ptr<IndexIntoFile>> indexesIntoFiles(1);
158 
159  auto input =
160  std::make_shared<InputFile>(physicalFileName.c_str(), " Initiating request to open file ", InputType::Primary);
162  logicalFileName, physicalFileName, 0 != nEventsToSkip, input, skipper, duplicateChecker, indexesIntoFiles);
163  rootFile_->reportOpened("repeating");
164 
165  auto const& prodList = rootFile_->productRegistry()->productList();
167 
168  //setup caching
169  auto nProdsInEvent =
170  std::count_if(prodList.begin(), prodList.end(), [](auto&& iV) { return iV.second.branchType() == edm::InEvent; });
171  {
172  size_t index = 0;
173  for (auto& prod : prodList) {
174  if (prod.second.branchType() == edm::InEvent) {
175  branchIDToWrapperIndex_[prod.second.branchID()] = index++;
176  }
177  }
178  }
179  for (auto& cache : cachedWrappers_) {
180  cache.resize(nProdsInEvent);
181  }
182 }
183 
188 
189  //TODO: to make edm::Ref work we need to find a way to pass in a different EDProductGetter
190  EventPrincipal eventPrincipal(productRegistry(),
191  std::make_shared<BranchIDListHelper>(),
192  std::make_shared<ThinnedAssociationsHelper>(),
194  nullptr);
195 
196  {
197  RunNumber_t run = 0;
199  auto itAux = eventAuxs_.begin();
200  for (auto& cache : cachedWrappers_) {
201  rootFile_->nextEventEntry();
202  rootFile_->readCurrentEvent(eventPrincipal);
203  auto const& aux = eventPrincipal.aux();
204  *(itAux++) = aux;
205  if (0 == run) {
206  run = aux.run();
207  lumi = aux.luminosityBlock();
208  } else {
209  if (run != aux.run()) {
210  throw cms::Exception("EventsWithDifferentRuns") << "The requested events to cache are from different Runs";
211  }
212  if (lumi != aux.luminosityBlock()) {
213  throw cms::Exception("EventsWithDifferentLuminosityBlocks")
214  << "The requested events to cache are from different LuminosityBlocks";
215  }
216  }
217  selectionIDs_ = eventPrincipal.eventSelectionIDs();
218  branchListIndexes_ = eventPrincipal.branchListIndexes();
219  {
220  auto reader = eventPrincipal.reader();
221  for (auto const& branchToIndex : branchIDToWrapperIndex_) {
222  cache[branchToIndex.second] = reader->getProduct(branchToIndex.first, &eventPrincipal);
223  }
224  }
225  }
226  rootFile_->rewind();
227  }
228 }
229 
232  desc.setComment(
233  "Read only a few Events from one EDM/Root file, and repeat them in sequence. The Events are required to be from "
234  "the same Run and LuminosityBlock.");
235  desc.addUntracked<std::string>("fileName")->setComment("Name of file to be processed.");
236  desc.addUntracked<unsigned int>("repeatNEvents", 10U)
237  ->setComment("Number of events to read from file and then repeat in sequence.");
238  desc.addUntracked<unsigned int>("skipEvents", 0);
241 
242  descriptions.add("source", desc);
243 }
244 
245 //
246 // member functions
247 //
248 
249 std::unique_ptr<RootFile> RepeatingCachedRootSource::makeRootFile(
250  std::string const& logicalFileName,
251  std::string const& pName,
252  bool isSkipping,
253  std::shared_ptr<InputFile> filePtr,
254  std::shared_ptr<EventSkipperByID> skipper,
255  std::shared_ptr<DuplicateChecker> duplicateChecker,
256  std::vector<std::shared_ptr<IndexIntoFile>>& indexesIntoFiles) {
257  return std::make_unique<RootFile>(pName,
259  logicalFileName,
260  filePtr,
261  skipper,
262  isSkipping,
263  remainingEvents(),
265  1,
266  roottree::defaultCacheSize, //treeCacheSize_,
267  -1, //treeMaxVirtualSize(),
268  processingMode(),
269  runHelper_,
270  true, //noEventSort_,
274  nullptr,
276  nullptr, // associationsFromSecondary
277  duplicateChecker,
278  false, //dropDescendants(),
280  indexesIntoFiles,
281  0, //currentIndexIntoFile,
283  false, //bypassVersionCheck(),
284  true, //labelRawDataLikeMC(),
285  false, //usingGoToEvent_,
286  true, //enablePrefetching_,
287  false); //enforceGUIDInFileName_);
288 }
289 
290 std::shared_ptr<WrapperBase> RepeatingCachedRootSource::getProduct(unsigned int iStreamIndex,
291  BranchID const& k,
292  EDProductGetter const* ep) const {
293  return cachedWrappers_[streamToCacheIndex_[iStreamIndex]][branchIDToWrapperIndex_.find(k)->second];
294 }
295 
297  auto v = presentState_;
298  switch (presentState_) {
299  case IsFile:
301  break;
302  case IsRun:
304  break;
305  case IsLumi:
307  break;
308  default:
309  break;
310  }
311  return v;
312 }
313 
315  return rootFile_->readLuminosityBlock_(lumiPrincipal);
316 }
317 
318 std::shared_ptr<LuminosityBlockAuxiliary> RepeatingCachedRootSource::readLuminosityBlockAuxiliary_() {
319  return rootFile_->readLuminosityBlockAuxiliary_();
320 }
322  auto index = eventIndex_++;
323 
324  auto repeatedIndex = index % cachedWrappers_.size();
325 
326  auto const& aux = eventAuxs_[repeatedIndex];
327 
328  auto history = processHistoryRegistry().getMapped(aux.processHistoryID());
329 
330  streamToCacheIndex_[eventPrincipal.streamID().value()] = repeatedIndex;
331  eventPrincipal.fillEventPrincipal(aux,
332  history,
337  &delayedReaders_[eventPrincipal.streamID().value()]);
338 }
339 
340 std::shared_ptr<RunAuxiliary> RepeatingCachedRootSource::readRunAuxiliary_() {
341  return rootFile_->readRunAuxiliary_();
342  ;
343 }
344 
345 void RepeatingCachedRootSource::readRun_(RunPrincipal& runPrincipal) { rootFile_->readRun_(runPrincipal); }
346 
348  EventPrincipal& eventPrincipal,
349  StreamContext& streamContext) {
350  return false;
351 }
352 
354 
355 bool RepeatingCachedRootSource::goToEvent_(EventID const& eventID) { return false; }
356 
357 //
358 // const member functions
359 //
360 
361 //
362 // static member functions
363 //
364 
edm::RepeatingCachedRootSource::readEvent_
void readEvent_(EventPrincipal &eventPrincipal) override
Definition: RepeatingCachedRootSource.cc:321
ThinnedAssociationsHelper.h
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
edm::EventPrincipal::aux
EventAuxiliary const & aux() const
Definition: EventPrincipal.h:108
RunHelper.h
edm::RepeatingCachedRootSource::cachedWrappers_
std::vector< std::vector< std::shared_ptr< edm::WrapperBase > > > cachedWrappers_
Definition: RepeatingCachedRootSource.cc:107
DuplicateChecker.h
edm::EventToProcessBlockIndexes
Definition: EventToProcessBlockIndexes.h:12
input
static const std::string input
Definition: EdmProvDump.cc:48
getEcalConditions_orcoffint2r_cff.catalog
catalog
Definition: getEcalConditions_orcoffint2r_cff.py:40
RootServiceChecker.h
edm::RepeatingCachedRootSource::rootFile_
std::unique_ptr< RootFile > rootFile_
Definition: RepeatingCachedRootSource.cc:105
edm::DefaultRunHelper
Definition: RunHelper.h:41
edm::RepeatingCachedRootSource
Definition: RepeatingCachedRootSource.cc:49
edm::InputSource::thinnedAssociationsHelper
std::shared_ptr< ThinnedAssociationsHelper const > thinnedAssociationsHelper() const
Accessors for thinnedAssociationsHelper.
Definition: InputSource.h:156
propagate_const.h
edm::RepeatingCachedRootSource::eventIndex_
unsigned long long eventIndex_
Definition: RepeatingCachedRootSource.cc:117
BranchIDListHelper.h
edm::RepeatingCachedRootSource::getNextItemType
ItemType getNextItemType() override
Definition: RepeatingCachedRootSource.cc:296
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::RepeatingCachedRootSource::RCDelayedReader
Definition: RepeatingCachedRootSource.cc:59
edm::RepeatingCachedRootSource::RepeatingCachedRootSource
RepeatingCachedRootSource(ParameterSet const &pset, InputSourceDescription const &desc)
Definition: RepeatingCachedRootSource.cc:133
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::RepeatingCachedRootSource::RCDelayedReader::getProduct_
std::shared_ptr< edm::WrapperBase > getProduct_(edm::BranchID const &k, edm::EDProductGetter const *ep) final
Definition: RepeatingCachedRootSource.cc:61
edm::LuminosityBlockPrincipal
Definition: LuminosityBlockPrincipal.h:31
edm::BranchListIndexes
std::vector< BranchListIndex > BranchListIndexes
Definition: BranchListIndex.h:18
edm::ProductRegistry::updateFromInput
void updateFromInput(ProductList const &other)
Definition: ProductRegistry.cc:209
edm::InputSourceDescription
Definition: InputSourceDescription.h:21
cms::cuda::assert
assert(be >=bs)
edm::RepeatingCachedRootSource::readRunAuxiliary_
std::shared_ptr< RunAuxiliary > readRunAuxiliary_() override
Definition: RepeatingCachedRootSource.cc:340
DelayedReader.h
edm::ParameterSet::emptyParameterSetID
static ParameterSetID emptyParameterSetID()
Definition: ParameterSet.cc:94
edm::RepeatingCachedRootSource::beginJob
void beginJob() override
Begin protected makes it easier to do template programming.
Definition: RepeatingCachedRootSource.cc:184
ProcessHistoryRegistry.h
edm::InputFileCatalog
Definition: InputFileCatalog.h:32
edm::StreamID::value
unsigned int value() const
Definition: StreamID.h:43
ProductRegistry.h
edm::RepeatingCachedRootSource::readIt
bool readIt(EventID const &id, EventPrincipal &eventPrincipal, StreamContext &streamContext) override
Definition: RepeatingCachedRootSource.cc:347
InputFileCatalog.h
findQualityFiles.v
v
Definition: findQualityFiles.py:179
watchdog.const
const
Definition: watchdog.py:83
edm::LuminosityBlockNumber_t
unsigned int LuminosityBlockNumber_t
Definition: RunLumiEventNumber.h:13
edm::InputSource::processHistoryRegistryForUpdate
ProcessHistoryRegistry & processHistoryRegistryForUpdate()
Definition: InputSource.h:331
edm::InputSource::productRegistry
std::shared_ptr< ProductRegistry const > productRegistry() const
Accessors for product registry.
Definition: InputSource.h:136
EventSkipperByID.h
edm::EventSkipperByID::create
static std::unique_ptr< EventSkipperByID > create(ParameterSet const &pset)
Definition: EventSkipperByID.cc:38
edm::InputSource::IsRun
Definition: InputSource.h:54
edm::InputSource::remainingLuminosityBlocks
int remainingLuminosityBlocks() const
Definition: InputSource.h:186
edm::RepeatingCachedRootSource::RCDelayedReader::mergeReaders_
void mergeReaders_(edm::DelayedReader *) final
Definition: RepeatingCachedRootSource.cc:64
edm::EventPrincipal::branchListIndexes
BranchListIndexes const & branchListIndexes() const
Definition: EventPrincipal.cc:376
edm::RepeatingCachedRootSource::fillDescriptions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: RepeatingCachedRootSource.cc:230
edm::EDProductGetter
Definition: EDProductGetter.h:41
edm::RepeatingCachedRootSource::runHelper_
edm::propagate_const< std::unique_ptr< RunHelperBase > > runHelper_
Definition: RepeatingCachedRootSource.cc:104
edm::propagate_const
Definition: propagate_const.h:32
edm::RepeatingCachedRootSource::goToEvent_
bool goToEvent_(EventID const &eventID) override
Definition: RepeatingCachedRootSource.cc:355
edm::InputSource::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: InputSource.cc:117
edm::EventPrincipal
Definition: EventPrincipal.h:48
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::StreamContext
Definition: StreamContext.h:31
ProcessConfiguration.h
DQM.reader
reader
Definition: DQM.py:105
edm::RootServiceChecker
Definition: RootServiceChecker.h:5
EventPrincipal.h
DEFINE_FWK_INPUT_SOURCE
#define DEFINE_FWK_INPUT_SOURCE(type)
Definition: InputSourceMacros.h:8
edm::BranchID
Definition: BranchID.h:14
edm::Principal::reader
DelayedReader * reader() const
Definition: Principal.h:187
dumpMFGeometry_cfg.prod
prod
Definition: dumpMFGeometry_cfg.py:24
edm::RepeatingCachedRootSource::branchListIndexes_
BranchListIndexes branchListIndexes_
Definition: RepeatingCachedRootSource.cc:110
edm::RepeatingCachedRootSource::streamToCacheIndex_
std::vector< size_t > streamToCacheIndex_
Definition: RepeatingCachedRootSource.cc:114
edm::RepeatingCachedRootSource::getProduct
std::shared_ptr< WrapperBase > getProduct(unsigned int iStreamIndex, BranchID const &k, EDProductGetter const *ep) const
Definition: RepeatingCachedRootSource.cc:290
edm::InEvent
Definition: BranchType.h:11
edm::roottree::defaultCacheSize
unsigned const int defaultCacheSize
Definition: RootTree.h:38
dqmdumpme.k
k
Definition: dqmdumpme.py:60
edm::RepeatingCachedRootSource::RCDelayedReader::preEventReadFromSourceSignal
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> const * preEventReadFromSourceSignal() const final
Definition: RepeatingCachedRootSource.cc:70
ParameterSetDescription.h
InputSourceDescription.h
utilities.cache
def cache(function)
Definition: utilities.py:3
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
WrapperBase.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ProductSelectorRules
Definition: ProductSelectorRules.h:24
edm::RunHelperBase
Definition: RunHelper.h:15
edm::RepeatingCachedRootSource::RCDelayedReader::m_streamIndex
unsigned int m_streamIndex
Definition: RepeatingCachedRootSource.cc:67
edm::InputSource::processingMode
ProcessingMode processingMode() const
RunsLumisAndEvents (default), RunsAndLumis, or Runs.
Definition: InputSource.h:224
edm::InputSource::IsFile
Definition: InputSource.h:54
edm::RepeatingCachedRootSource::readRun_
void readRun_(RunPrincipal &runPrincipal) override
Definition: RepeatingCachedRootSource.cc:345
edm::InputSource::processHistoryRegistry
ProcessHistoryRegistry const & processHistoryRegistry() const
Accessors for process history registry.
Definition: InputSource.h:140
edm::ParameterSet
Definition: ParameterSet.h:47
edm::ProcessConfiguration::setParameterSetID
void setParameterSetID(ParameterSetID const &pSetID)
Definition: ProcessConfiguration.cc:57
edm::InputSource::productRegistryUpdate
ProductRegistry & productRegistryUpdate()
Definition: InputSource.h:330
edm::RepeatingCachedRootSource::RCDelayedReader::m_source
edm::RepeatingCachedRootSource const * m_source
Definition: RepeatingCachedRootSource.cc:68
fetchall_from_DQM_v2.release
release
Definition: fetchall_from_DQM_v2.py:92
edm::RepeatingCachedRootSource::orderedProcessHistoryIDs_
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_
Definition: RepeatingCachedRootSource.cc:106
edm::ProductSelectorRules::fillDescription
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
Definition: ProductSelectorRules.cc:202
edm::InputSource::IsLumi
Definition: InputSource.h:54
edm::RepeatingCachedRootSource::selectorRules_
ProductSelectorRules selectorRules_
Definition: RepeatingCachedRootSource.cc:103
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
createfilelist.int
int
Definition: createfilelist.py:10
edm::EventPrincipal::eventSelectionIDs
EventSelectionIDVector const & eventSelectionIDs() const
Definition: EventPrincipal.cc:374
edm::RepeatingCachedRootSource::RCDelayedReader::reset_
void reset_() final
Definition: RepeatingCachedRootSource.cc:65
edm::RepeatingCachedRootSource::delayedReaders_
std::vector< RCDelayedReader > delayedReaders_
Definition: RepeatingCachedRootSource.cc:112
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
RootFile.h
edm::EventPrincipal::streamID
StreamID streamID() const
Definition: EventPrincipal.h:110
InputFile.h
edm::RepeatingCachedRootSource::provRetriever_
ProductProvenanceRetriever provRetriever_
Definition: RepeatingCachedRootSource.cc:111
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
InputSourceMacros.h
edm::RepeatingCachedRootSource::selectionIDs_
EventSelectionIDVector selectionIDs_
Definition: RepeatingCachedRootSource.cc:109
edm::EventPrincipal::fillEventPrincipal
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
Definition: EventPrincipal.cc:110
edm::InputSource::ItemType
ItemType
Definition: InputSource.h:54
edm::InputSource::branchIDListHelper
std::shared_ptr< BranchIDListHelper const > branchIDListHelper() const
Accessors for branchIDListHelper.
Definition: InputSource.h:144
edm::RepeatingCachedRootSource::RCDelayedReader::postEventReadFromSourceSignal
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> const * postEventReadFromSourceSignal() const final
Definition: RepeatingCachedRootSource.cc:74
edm::ProductProvenanceRetriever
Definition: ProductProvenanceRetriever.h:37
edm::InputSource::processConfiguration
ProcessConfiguration const & processConfiguration() const
Accessor for Process Configuration.
Definition: InputSource.h:192
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
std
Definition: JetResolutionObject.h:76
edm::RepeatingCachedRootSource::eventAuxs_
std::vector< EventAuxiliary > eventAuxs_
Definition: RepeatingCachedRootSource.cc:108
edm::RepeatingCachedRootSource::nextEventIndex_
size_t nextEventIndex_
Definition: RepeatingCachedRootSource.cc:115
edm::ProcessConfiguration::setProcessConfigurationID
ProcessConfigurationID setProcessConfigurationID()
Definition: ProcessConfiguration.cc:62
edm::RepeatingCachedRootSource::makeRootFile
std::unique_ptr< RootFile > makeRootFile(std::string const &logicalFileName, std::string const &pName, bool isSkipping, std::shared_ptr< InputFile > filePtr, std::shared_ptr< EventSkipperByID > skipper, std::shared_ptr< DuplicateChecker > duplicateChecker, std::vector< std::shared_ptr< IndexIntoFile >> &indexesIntoFiles)
Definition: RepeatingCachedRootSource.cc:249
InputSource.h
edm::InputType::Primary
Exception
Definition: hltDiff.cc:245
edm::RepeatingCachedRootSource::rootServiceChecker_
RootServiceChecker rootServiceChecker_
Definition: RepeatingCachedRootSource.cc:102
edm::InputSource::remainingEvents
int remainingEvents() const
Definition: InputSource.h:178
edm::ProcessHistoryRegistry::getMapped
bool getMapped(ProcessHistoryID const &key, ProcessHistory &value) const
Definition: ProcessHistoryRegistry.cc:29
edm::DelayedReader
Definition: DelayedReader.h:29
Exception.h
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
funct::void
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
visualization-live-secondInstance_cfg.numberOfStreams
numberOfStreams
Definition: visualization-live-secondInstance_cfg.py:96
edm::RepeatingCachedRootSource::presentState_
ItemType presentState_
Definition: RepeatingCachedRootSource.cc:116
edm::InputSource::IsEvent
Definition: InputSource.h:54
edm::InputSource
Definition: InputSource.h:52
edm::RepeatingCachedRootSource::branchIDToWrapperIndex_
std::map< edm::BranchID, size_t > branchIDToWrapperIndex_
Definition: RepeatingCachedRootSource.cc:113
edm::RunPrincipal
Definition: RunPrincipal.h:34
EventToProcessBlockIndexes.h
edm::EventID
Definition: EventID.h:31
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
edm::EventSelectionIDVector
std::vector< EventSelectionID > EventSelectionIDVector
Definition: EventSelectionID.h:16
lumi
Definition: LumiSectionData.h:20
edm::RepeatingCachedRootSource::skip
void skip(int offset) override
Definition: RepeatingCachedRootSource.cc:353
edm::signalslot::Signal
Definition: DelayedReader.h:26
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition: SiStripBadComponentsDQMServiceTemplate_cfg.py:86
edm::ProcessConfiguration
Definition: ProcessConfiguration.h:14
edm::RepeatingCachedRootSource::readLuminosityBlockAuxiliary_
std::shared_ptr< LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
Definition: RepeatingCachedRootSource.cc:318
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ProductSelectorRules.h
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
edm::InputSource::run
RunNumber_t run() const
Accessor for current run number.
Definition: InputSource.cc:457
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
edm::RepeatingCachedRootSource::readLuminosityBlock_
void readLuminosityBlock_(LuminosityBlockPrincipal &lumiPrincipal) override
Definition: RepeatingCachedRootSource.cc:314