19 Root::RootfileCreation_depos::~RootfileCreation_depos(){
32 cfg[
"output_filename"] =
"";
33 cfg[
"root_file_mode"] =
"RECREATE";
43 std::cerr <<
"RootfileCreation_depos: EOS\n";
52 TFile* output_tf = TFile::Open(ofname.c_str(), mode.c_str());
53 output_tf->Close(
"R");
75 cfg[
"output_filename"] =
"";
76 cfg[
"root_file_mode"] =
"RECREATE";
86 TFile* output_tf = TFile::Open(ofname.c_str(), mode.c_str());
87 output_tf->Close(
"R");
97 std::cerr <<
"RootfileCreation_frames: EOS\n";
WIRECELL_FACTORY(RootfileCreation_depos, WireCell::Root::RootfileCreation_depos, WireCell::IDepoFilter, WireCell::IConfigurable) WIRECELL_FACTORY(RootfileCreation_frames
std::shared_ptr< const IDepo > pointer
virtual bool operator()(const IFrame::pointer &in, IFrame::pointer &out)
The calling signature:
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
virtual bool operator()(const WireCell::IDepo::pointer &indepo, WireCell::IDepo::pointer &outdepo)
The calling signature:
virtual ~RootfileCreation_frames()
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
virtual WireCell::Configuration default_configuration() const
IConfigurable.
RootfileCreation_frames()
Json::Value Configuration
virtual WireCell::Configuration default_configuration() const
IConfigurable.