#include <FWCore/Skeletons/scripts/mkTemplates/TSelector/tselector.h>
Public Member Functions | |
void | begin (TList *&) |
Called each time the 'client' begins processing (remote 'slaves' do not see this message). | |
void | terminate (TList &) |
Called each time the 'client' has finished processing. | |
tselname () | |
~tselname () | |
Private Member Functions | |
tselname | operator= (tselname const &) |
tselname (tselname const &) |
Implementation: <Notes on="" implementation>="">
Definition at line 36 of file tselector.h.
tselname::tselname | ( | ) |
tselname::~tselname | ( | ) |
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 GenMuonPlsPt100GeV_cfg::cout, lat::endl(), kPt, and std.
00107 { 00108 using namespace std; 00109 std::auto_ptr<TCanvas> canvas( new TCanvas() ); 00110 // { 00111 // TObject* hist = fromWorkers.FindObject(kA); 00112 // if(0!=hist) { 00113 // hist->Draw(); 00114 // canvas->SaveAs( "a.jpg" ); 00115 // } else { 00116 // cout <<"no '"<<kA<<"' histogram"<<endl; 00117 // } 00118 // } 00119 00120 @example_track { 00121 @example_track TObject* hist = fromWorkers.FindObject(kPt); 00122 @example_track if(0!=hist) { 00123 @example_track hist->Draw(); 00124 @example_track canvas->SaveAs( "pt.jpg" ); 00125 @example_track } else { 00126 @example_track cout <<"no '"<<kPt<<"' histogram"<<endl; 00127 @example_track } 00128 @example_track } 00129 00130 }