#include <tselector.h>
Public Member Functions | |
void | begin (TList *&) |
void | terminate (TList &) |
tselname () | |
~tselname () | |
Private Member Functions | |
tselname | operator= (tselname const &) |
tselname (tselname const &) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 36 of file tselector.h.
tselname::tselname | ( | ) |
Definition at line 92 of file tselector.cc.
{ }
tselname::~tselname | ( | ) |
Definition at line 96 of file tselector.cc.
{ }
tselname::tselname | ( | tselname const & | ) | [private] |
void tselname::begin | ( | TList *& | in | ) | [virtual] |
Called each time the 'client' begins processing (remote 'slaves' do not see this message)
in | an assignable pointer to a list of objects you want passed to 'preProcessing'. This list is used to communicate with remote slaves. NOTE: you are responsible for deleting this TList and its content once you are done with it. |
Implements TFWLiteSelectorBasic.
Definition at line 101 of file tselector.cc.
{ }
void tselname::terminate | ( | TList & | out | ) | [virtual] |
Called each time the 'client' has finished processing.
out | contains the accumulated output of all slaves. |
Implements TFWLiteSelectorBasic.
Definition at line 107 of file tselector.cc.
References MultipleCompare::canvas, gather_cfg::cout, estimatePileup::hist, and kPt.
{ using namespace std; std::auto_ptr<TCanvas> canvas( new TCanvas() ); // { // TObject* hist = fromWorkers.FindObject(kA); // if(0!=hist) { // hist->Draw(); // canvas->SaveAs( "a.jpg" ); // } else { // cout <<"no '"<<kA<<"' histogram"<<endl; // } // } @example_track { @example_track TObject* hist = fromWorkers.FindObject(kPt); @example_track if(0!=hist) { @example_track hist->Draw(); @example_track canvas->SaveAs( "pt.jpg" ); @example_track } else { @example_track cout <<"no '"<<kPt<<"' histogram"<<endl; @example_track } @example_track } }