LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
FastCloningInfoProvider.h
Go to the documentation of this file.
1 #ifndef art_Framework_IO_Root_FastCloningInfoProvider_h
2 #define art_Framework_IO_Root_FastCloningInfoProvider_h
3 
4 #include "cetlib/exempt_ptr.h"
5 #include <unistd.h>
6 
7 namespace art {
8  class FastCloningInfoProvider;
9  class DecrepitRelicInputSourceImplementation;
10 }
11 
13 public:
15  explicit FastCloningInfoProvider(
16  cet::exempt_ptr<DecrepitRelicInputSourceImplementation> input);
17 
18  bool fastCloningPermitted() const;
19 
20  off_t remainingEvents() const;
21  off_t remainingSubRuns() const;
22 
23 private:
24  cet::exempt_ptr<DecrepitRelicInputSourceImplementation> input_;
25 };
26 
27 inline bool
29 {
30  return !input_.empty();
31 }
32 
33 #endif /* art_Framework_IO_Root_FastCloningInfoProvider_h */
34 
35 // Local Variables:
36 // mode: c++
37 // End:
cet::exempt_ptr< DecrepitRelicInputSourceImplementation > input_
HLT enums.