#include <ThingsTSelector2.h>
Public Member Functions | |
void | begin (TList *&) |
void | terminate (TList &) |
ThingsTSelector2 () | |
Private Member Functions | |
ThingsTSelector2 | operator= (ThingsTSelector2 const &) |
ThingsTSelector2 (ThingsTSelector2 const &) |
Definition at line 24 of file ThingsTSelector2.h.
tfwliteselectortest::ThingsTSelector2::ThingsTSelector2 | ( | ) | [inline] |
Definition at line 26 of file ThingsTSelector2.h.
{}
tfwliteselectortest::ThingsTSelector2::ThingsTSelector2 | ( | ThingsTSelector2 const & | ) | [private] |
void ThingsTSelector2::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 75 of file ThingsTSelector2.cc.
{ }
ThingsTSelector2 tfwliteselectortest::ThingsTSelector2::operator= | ( | ThingsTSelector2 const & | ) | [private] |
void ThingsTSelector2::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 79 of file ThingsTSelector2.cc.
References svgfig::canvas(), gather_cfg::cout, estimatePileup::hist, kA, and kRefA.
{ std::cout << "terminate" << std::endl; TCanvas * canvas = new TCanvas( ); { TObject* hist = out.FindObject(kA); if(0!=hist) { hist->Draw(); canvas->SaveAs( "a.jpg" ); } else { std::cout <<"no '"<<kA<<"' histogram"<< std::endl; } } std::cout <<"refA"<< std::endl; { TObject* hist = out.FindObject(kRefA); if( 0 != hist ) { hist->Draw(); canvas->SaveAs( "refA.jpg" ); } else { std::cout <<"no '"<<kRefA<<"' histogram"<< std::endl; } } delete canvas; }