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