All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
IsoLepTrainingProcessor Class Reference

Example processor for marlin. More...

#include <IsoLepTrainingProcessor.h>

Inheritance diagram for IsoLepTrainingProcessor:
[legend]

Public Member Functions

virtual ProcessornewProcessor ()
 
 IsoLepTrainingProcessor ()
 
virtual void init ()
 Called at the begin of the job before anything is read. More...
 
virtual void processRunHeader (LCRunHeader *run)
 Called for every run. More...
 
virtual void processEvent (LCEvent *evt)
 Called for every event - the working horse. More...
 
virtual void check (LCEvent *evt)
 
virtual void end ()
 Called after data processing for clean up. More...
 

Protected Attributes

std::string _colMCP {}
 Input collection name. More...
 
std::string _colMCTL {}
 
std::string _colPFOs {}
 
std::string _colPVtx {}
 
bool _mcdebug {}
 
bool _is_lep_tune {}
 
bool _is_for_sig {}
 
int _nRun {}
 
int _nEvt {}
 
int _iso_lep_type {}
 

Detailed Description

Example processor for marlin.

If compiled with MARLIN_USE_AIDA it creates a histogram (cloud) of the MCParticle energies.

Input - Prerequisites

Needs the collection of MCParticles.

Output

A histogram.

Parameters
CollectionNameName of the MCParticle collection
Author
F. Gaede, DESY
Version
Id:
IsoLepTrainingProcessor.h,v 1.4 2005-10-11 12:57:39 gaede Exp

Definition at line 27 of file IsoLepTrainingProcessor.h.

Constructor & Destructor Documentation

IsoLepTrainingProcessor::IsoLepTrainingProcessor ( )

Definition at line 47 of file IsoLepTrainingProcessor.cc.

Member Function Documentation

void IsoLepTrainingProcessor::check ( LCEvent *  evt)
virtual

Definition at line 521 of file IsoLepTrainingProcessor.cc.

void IsoLepTrainingProcessor::end ( )
virtual

Called after data processing for clean up.

Definition at line 526 of file IsoLepTrainingProcessor.cc.

void IsoLepTrainingProcessor::init ( )
virtual

Called at the begin of the job before anything is read.

Use to initialize the processor, e.g. book histograms.

Definition at line 101 of file IsoLepTrainingProcessor.cc.

virtual Processor* IsoLepTrainingProcessor::newProcessor ( )
inlinevirtual

Definition at line 31 of file IsoLepTrainingProcessor.h.

void IsoLepTrainingProcessor::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 120 of file IsoLepTrainingProcessor.cc.

void IsoLepTrainingProcessor::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 115 of file IsoLepTrainingProcessor.cc.

Member Data Documentation

std::string IsoLepTrainingProcessor::_colMCP {}
protected

Input collection name.

Definition at line 62 of file IsoLepTrainingProcessor.h.

std::string IsoLepTrainingProcessor::_colMCTL {}
protected

Definition at line 63 of file IsoLepTrainingProcessor.h.

std::string IsoLepTrainingProcessor::_colPFOs {}
protected

Definition at line 64 of file IsoLepTrainingProcessor.h.

std::string IsoLepTrainingProcessor::_colPVtx {}
protected

Definition at line 65 of file IsoLepTrainingProcessor.h.

bool IsoLepTrainingProcessor::_is_for_sig {}
protected

Definition at line 70 of file IsoLepTrainingProcessor.h.

bool IsoLepTrainingProcessor::_is_lep_tune {}
protected

Definition at line 69 of file IsoLepTrainingProcessor.h.

int IsoLepTrainingProcessor::_iso_lep_type {}
protected

Definition at line 75 of file IsoLepTrainingProcessor.h.

bool IsoLepTrainingProcessor::_mcdebug {}
protected

Definition at line 67 of file IsoLepTrainingProcessor.h.

int IsoLepTrainingProcessor::_nEvt {}
protected

Definition at line 73 of file IsoLepTrainingProcessor.h.

int IsoLepTrainingProcessor::_nRun {}
protected

Definition at line 72 of file IsoLepTrainingProcessor.h.


The documentation for this class was generated from the following files: