LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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
 
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.

References fastCopyable_, art::FileBlock::fileName(), and tree_.

27  : FileBlock{version, fileName, std::move(resp)}
28  , tree_{ev}
29  , fastCopyable_{fastCopy}
30  {}
std::string const & fileName() const
Definition: FileBlock.h:38
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.

References fastCopyable_.

39  {
40  return fastCopyable_;
41  }
FileFormatVersion const& art::FileBlock::fileFormatVersion ( ) const
inlineinherited

Definition at line 33 of file FileBlock.h.

References art::FileBlock::fileFormatVersion_.

34  {
35  return fileFormatVersion_;
36  }
FileFormatVersion fileFormatVersion_
Definition: FileBlock.h:48
std::string const& art::FileBlock::fileName ( ) const
inlineinherited

Definition at line 38 of file FileBlock.h.

References art::FileBlock::fileName_.

Referenced by art::FileBlock::FileBlock(), art::RootOutput::respondToOpenInputFile(), and RootFileBlock().

39  {
40  return fileName_;
41  }
std::string fileName_
Definition: FileBlock.h:49
cet::exempt_ptr<TTree const> art::RootFileBlock::tree ( ) const
inline

Definition at line 33 of file RootFileBlock.h.

References tree_.

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.

Referenced by fastClonable(), and RootFileBlock().

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

Definition at line 44 of file RootFileBlock.h.

Referenced by RootFileBlock(), and tree().


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