Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Skeletons
scripts
mkTemplates
TSelector
tselector.h
Go to the documentation of this file.
1
#ifndef skelsubsys_tselname_tselname_h
2
#define tselname_h
3
// -*- C++ -*-
4
//
5
// Package: tselname
6
// Class: tselname
7
//
15
//
16
// Original Author: John Doe
17
// Created: day-mon-xx
18
// RCS(Id)
19
//
20
//
21
#include <TH1.h>
22
#include "
FWCore/TFWLiteSelector/interface/TFWLiteSelector.h
"
23
24
//A worker processes the events. When using PROOF there is one Worker per PROOF CPU Node.
25
struct
tselnameWorker
{
26
tselnameWorker
(
const
TList*, TList&);
27
~tselnameWorker
();
28
void
process
(
const
edm::Event
&
iEvent
);
29
void
postProcess
(TList&);
30
//Place histograms, etc that you want to fill here
31
//TH1F* h_a;
32
@example_track TH1F*
h_pt
;
33
};
34
35
//Only one Selector is made per job. It gets all the results from each worker.
36
class
tselname
:
public
TFWLiteSelector
<tselnameWorker> {
37
public
:
38
tselname
();
39
~tselname
();
40
void
begin
(TList*&);
41
void
terminate
(TList&);
42
43
private
:
44
45
tselname
(
tselname
const
&);
46
tselname
operator=
(
tselname
const
&);
47
48
ClassDef(
tselname
,2)
49
};
50
#endif
tselnameWorker::~tselnameWorker
~tselnameWorker()
Definition:
tselector.cc:54
tselnameWorker::h_pt
example_track TH1F * h_pt
Definition:
tselector.h:32
tselnameWorker
Definition:
tselector.h:25
tselname::operator=
tselname operator=(tselname const &)
iEvent
int iEvent
Definition:
GenABIO.cc:243
tselname::tselname
tselname()
Definition:
tselector.cc:92
tselnameWorker::process
void process(const edm::Event &iEvent)
Definition:
tselector.cc:59
tselname
Definition:
tselector.h:36
tselnameWorker::tselnameWorker
tselnameWorker(const TList *, TList &)
Definition:
tselector.cc:47
tselname::begin
void begin(TList *&)
Definition:
tselector.cc:101
tselname::~tselname
~tselname()
Definition:
tselector.cc:96
TFWLiteSelector.h
TFWLiteSelector
Definition:
TFWLiteSelector.h:56
tselname::terminate
void terminate(TList &)
Definition:
tselector.cc:107
edm::Event
Definition:
Event.h:50
tselnameWorker::postProcess
void postProcess(TList &)
Definition:
tselector.cc:84
Generated for CMSSW Reference Manual by
1.8.5