Public Member Functions | Private Attributes | List of all members
art::RootFileBlock Class Reference

#include <RootFileBlock.h>

Inheritance diagram for art::RootFileBlock:
art::FileBlock

Public Member Functions

 RootFileBlock ()=default
 
 RootFileBlock (FileFormatVersion const &version, std::string const &fileName, std::unique_ptr< ResultsPrincipal > &&resp, cet::exempt_ptr< TTree const > ev, bool const fastCopy)
 
cet::exempt_ptr< TTree const > tree () const
 
bool fastClonable () const
 
- Public Member Functions inherited from art::FileBlock
 FileBlock ()=default
 
virtual ~FileBlock () noexcept=default
 
 FileBlock (FileFormatVersion const &version, std::string const &fileName)
 
 FileBlock (FileFormatVersion const &version, std::string const &fileName, std::unique_ptr< ResultsPrincipal > &&resp)
 
FileFormatVersion const & fileFormatVersion () const
 
std::string const & fileName () const
 

Private Attributes

cet::exempt_ptr< TTree const > tree_ {nullptr}
 
bool fastCopyable_ {false}
 

Detailed Description

Definition at line 18 of file RootFileBlock.h.

Constructor & Destructor Documentation

art::RootFileBlock::RootFileBlock ( )
default
art::RootFileBlock::RootFileBlock ( FileFormatVersion const &  version,
std::string const &  fileName,
std::unique_ptr< ResultsPrincipal > &&  resp,
cet::exempt_ptr< TTree const >  ev,
bool const  fastCopy 
)
inline

Definition at line 22 of file RootFileBlock.h.

27  : FileBlock{version, fileName, std::move(resp)}
28  , tree_{ev}
29  , fastCopyable_{fastCopy}
30  {}
std::string const & fileName() const
Definition: FileBlock.cc:34
FileBlock()=default
cet::exempt_ptr< TTree const > tree_
Definition: RootFileBlock.h:44

Member Function Documentation

bool art::RootFileBlock::fastClonable ( ) const
inline

Definition at line 38 of file RootFileBlock.h.

39  {
40  return fastCopyable_;
41  }
cet::exempt_ptr<TTree const> art::RootFileBlock::tree ( ) const
inline

Definition at line 33 of file RootFileBlock.h.

34  {
35  return tree_;
36  }
cet::exempt_ptr< TTree const > tree_
Definition: RootFileBlock.h:44

Member Data Documentation

bool art::RootFileBlock::fastCopyable_ {false}
private

Definition at line 45 of file RootFileBlock.h.

cet::exempt_ptr<TTree const> art::RootFileBlock::tree_ {nullptr}
private

Definition at line 44 of file RootFileBlock.h.


The documentation for this class was generated from the following file: