Go to the documentation of this file.    1 #ifndef __JSUPPORT__JAUTOTREEWRITER__ 
    2 #define __JSUPPORT__JAUTOTREEWRITER__ 
   30   template<
class JKey_t>
 
   32     public JAutoMap<JKey_t, JTreeCopyWriterInterface*>,
 
   94     virtual void open(
const char* file_name)
 
   99         for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  100           i->second->SetDirectory(
getFile());
 
  119       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  120         i->second->SetDirectory(0);
 
  133       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
 
virtual void open(const char *file_name)
Open file.
 
Auxiliary class to copy input data to corresponding TTree.
 
Auxiliary class for a type holder.
 
JAutoTreeWriter(JType< T > type)
Constructor.
 
virtual void open(const char *file_name)
Open file.
 
Auxiliary classes and methods for ROOT I/O.
 
map_type::reverse_iterator reverse_iterator
 
JAutoMap< JKey_t, JTreeCopyWriterInterface * >::map_type map_type
 
TFile * getFile() const
Get file.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Interface for template TTree writing and copying.
 
Auxiliary class for element insertion.
 
virtual void close()
Close file.
 
map_type::const_reverse_iterator const_reverse_iterator
 
map_type::iterator iterator
 
map_type::const_iterator const_iterator
 
static JKey_t getKey(JType< T > type)
Get key.
 
JElement_t(JType< T > type)
Constructor.
 
Support classes and methods for experiment specific I/O.
 
JAutoMap< JKey_t, JTreeCopyWriterInterface * >::value_type value_type
 
void insert()
Insert (list of) data type(s).
 
JAutoTreeWriter()
Default constrtuctor.
 
virtual void reset()
Reset pointer.
 
virtual bool is_open() const
Check is file is open.
 
JTreeCopyWriter< T > & getTreeCopyWriter()
Get the TTree writer and copy for this type of object.