CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions
tselname Class Reference

#include <tselector.h>

Inheritance diagram for tselname:
TFWLiteSelector< tselnameWorker > TFWLiteSelectorBasic

Public Member Functions

void begin (TList *&)
 
void terminate (TList &)
 
 tselname ()
 
 ~tselname ()
 
- Public Member Functions inherited from TFWLiteSelector< tselnameWorker >
 TFWLiteSelector ()
 
virtual ~TFWLiteSelector ()
 
- Public Member Functions inherited from TFWLiteSelectorBasic
 TFWLiteSelectorBasic ()
 
virtual ~TFWLiteSelectorBasic ()
 

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.

93 {
94 }
tselname::~tselname ( )

Definition at line 96 of file tselector.cc.

97 {
98 }
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.

102 {
103 }
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 svgfig::canvas(), gather_cfg::cout, estimatePileup::hist, and kPt.

107  {
108  using namespace std;
109  std::auto_ptr<TCanvas> canvas( new TCanvas() );
110 // {
111 // TObject* hist = fromWorkers.FindObject(kA);
112 // if(0!=hist) {
113 // hist->Draw();
114 // canvas->SaveAs( "a.jpg" );
115 // } else {
116 // cout <<"no '"<<kA<<"' histogram"<<endl;
117 // }
118  // }
119 
120 @example_track {
121 @example_track TObject* hist = fromWorkers.FindObject(kPt);
122 @example_track if(0!=hist) {
123 @example_track hist->Draw();
124 @example_track canvas->SaveAs( "pt.jpg" );
125 @example_track } else {
126 @example_track cout <<"no '"<<kPt<<"' histogram"<<endl;
127 @example_track }
128 @example_track }
129 
130 }
example_track example_track const char *const kPt
Definition: tselector.cc:35
def canvas
Definition: svgfig.py:481
tuple cout
Definition: gather_cfg.py:121