CMS 3D CMS Logo

Public Member Functions | Private Member Functions

tselname Class Reference

#include <tselector.h>

Inheritance diagram for tselname:
TFWLiteSelector< tselnameWorker > TFWLiteSelectorBasic

List of all members.

Public Member Functions

void begin (TList *&)
void terminate (TList &)
 tselname ()
 ~tselname ()

Private Member Functions

tselname operator= (tselname const &)
 tselname (tselname const &)

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 36 of file tselector.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

void tselname::begin ( TList *&  in) [virtual]

Called each time the 'client' begins processing (remote 'slaves' do not see this message)

Parameters:
inan 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.

{
}
tselname tselname::operator= ( tselname const &  ) [private]
void tselname::terminate ( TList &  out) [virtual]

Called each time the 'client' has finished processing.

Parameters:
outcontains 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  }
  
}