LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
FastCloningInfoProvider.cc
Go to the documentation of this file.
2 
5 
7  cet::exempt_ptr<DecrepitRelicInputSourceImplementation> input)
8  : input_(input)
9 {}
10 
11 off_t
13 {
14  if (!fastCloningPermitted()) {
16  << "FastCloningInfoProvider::remainingEvents() has no meaning"
17  << " in this context:\n"
18  << "Check fastCloningPermitted() first.\n";
19  }
20  return input_->remainingEvents();
21 }
22 
23 off_t
25 {
26  if (!fastCloningPermitted()) {
28  << "FastCloningInfoProvider::remainingSubRuns() has no meaning"
29  << " in this context:\n"
30  << "Check fastCloningPermitted() first.\n";
31  }
32  return input_->remainingSubRuns();
33 }
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
cet::exempt_ptr< DecrepitRelicInputSourceImplementation > input_