MarlinMT  0.1.0
StoreWriter.cc File Reference
#include "marlinmt/book/StoreWriter.h"
#include <filesystem>
#include <unordered_map>
#include <vector>
#include "marlinmt/book/configs/ROOTv7.h"
#include "marlinmt/book/Entry.h"
#include "marlinmt/book/Handle.h"
#include "marlinmt/book/Hist.h"
#include "marlinmt/book/Selection.h"
#include "marlinmt/book/Types.h"
#include "TDirectory.h"
#include "TDirectoryFile.h"
#include "TFile.h"

Go to the source code of this file.

Classes

class  PathHash
 

Namespaces

 marlinmt
 
 marlinmt::book
 contains classes needed to book and managed booked objects.
 

Typedefs

using DirectoryMap = std::unordered_map< std::filesystem::path, TDirectory *, PathHash >
 

Functions

template<typename T >
void writeObject (TDirectory *file, const std::string_view &name, const T &obj)
 

Typedef Documentation

◆ DirectoryMap

using DirectoryMap = std::unordered_map<std::filesystem::path, TDirectory*, PathHash>

Definition at line 28 of file StoreWriter.cc.

Function Documentation

◆ writeObject()

template<typename T >
void writeObject ( TDirectory *  file,
const std::string_view &  name,
const T &  obj 
)

Definition at line 31 of file StoreWriter.cc.

References marlinmt::book::types::toRoot6().