Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
IO
Root
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
}
// namespace art
11
12
class
art::FastCloningInfoProvider
{
13
public
:
14
FastCloningInfoProvider
() :
input_
() {}
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
28
art::FastCloningInfoProvider::fastCloningPermitted
()
const
29
{
30
return
!
input_
.empty();
31
}
32
33
#endif
/* art_Framework_IO_Root_FastCloningInfoProvider_h */
34
35
// Local Variables:
36
// mode: c++
37
// End:
art::FastCloningInfoProvider::FastCloningInfoProvider
FastCloningInfoProvider()
Definition:
FastCloningInfoProvider.h:14
art::FastCloningInfoProvider::fastCloningPermitted
bool fastCloningPermitted() const
Definition:
FastCloningInfoProvider.h:28
art::FastCloningInfoProvider::remainingSubRuns
off_t remainingSubRuns() const
Definition:
FastCloningInfoProvider.cc:24
art::FastCloningInfoProvider::remainingEvents
off_t remainingEvents() const
Definition:
FastCloningInfoProvider.cc:12
art::FastCloningInfoProvider::input_
cet::exempt_ptr< DecrepitRelicInputSourceImplementation > input_
Definition:
FastCloningInfoProvider.h:24
cet::exempt_ptr
Definition:
exempt_ptr.h:41
art
Definition:
BasicOptionsHandler.h:11
exempt_ptr.h
art::FastCloningInfoProvider
Definition:
FastCloningInfoProvider.h:12
Generated by
1.8.11