CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Public Attributes | List of all members
lucassview::writeObject Struct Reference

write the object to file More...

Public Member Functions

 writeObject (const std::string &filename)
 constructor More...
 
 ~writeObject ()
 destructor More...
 
void operator() (TObject *obj)
 the operator More...
 

Public Attributes

TFile * _file
 the file to write the object to More...
 

Detailed Description

write the object to file

Author
Lutz Foucar

Definition at line 180 of file histo_updater.cpp.

Constructor & Destructor Documentation

lucassview::writeObject::writeObject ( const std::string &  filename)
inline

constructor

set the file

Parameters
filenamefilename of the file to write the histograms to

Definition at line 191 of file histo_updater.cpp.

lucassview::writeObject::~writeObject ( )
inline

destructor

saves and closes the file

Definition at line 199 of file histo_updater.cpp.

Member Function Documentation

void lucassview::writeObject::operator() ( TObject *  obj)
inline

the operator

check if the object is a histogram, if so write it to the file

Parameters
objThe object that potentially gets written to file

Definition at line 211 of file histo_updater.cpp.

Member Data Documentation

TFile* lucassview::writeObject::_file

the file to write the object to

Definition at line 183 of file histo_updater.cpp.


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