cafe::Friend Class Reference
[CAF Environment (Cafe)]

#include <Friend.hpp>

Inheritance diagram for cafe::Friend:

cafe::Processor List of all members.

Detailed Description

Open a file and add a friend tree to the current input tree.

Configuration Options:

Definition at line 20 of file Friend.hpp.

Public Member Functions

 Friend (const char *name)
void inputFileOpened (TFile *file)
 Called for every new input file that was opened.

 ClassDef (Friend, 0)

Private Attributes

std::string _fileName
std::string _treeName
FilePattern _pattern


Constructor & Destructor Documentation

cafe::Friend::Friend const char *  name  ) 
 

Definition at line 12 of file Friend.cpp.

References _fileName, _pattern, _treeName, cafe::Config::get(), and cafe::Processor::name().


Member Function Documentation

cafe::Friend::ClassDef Friend  ,
 

void cafe::Friend::inputFileOpened TFile *  file  )  [virtual]
 

Called for every new input file that was opened.

Reimplemented from cafe::Processor.

Definition at line 23 of file Friend.cpp.

References _fileName, _pattern, _treeName, cafe::Processor::name(), cafe::Processor::out(), and cafe::FilePattern::replace().


Member Data Documentation

std::string cafe::Friend::_fileName [private]
 

Definition at line 25 of file Friend.hpp.

Referenced by Friend(), and inputFileOpened().

FilePattern cafe::Friend::_pattern [private]
 

Definition at line 27 of file Friend.hpp.

Referenced by Friend(), and inputFileOpened().

std::string cafe::Friend::_treeName [private]
 

Definition at line 26 of file Friend.hpp.

Referenced by Friend(), and inputFileOpened().


The documentation for this class was generated from the following files:
Generated on Thu Apr 3 04:14:27 2008 for CAF by doxygen 1.3.4