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

Example processor for marlin. More...

#include <AddClusterProperties.h>

Inheritance diagram for AddClusterProperties:
[legend]

Public Member Functions

virtual ProcessornewProcessor ()
 
 AddClusterProperties ()
 
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 debuging (LCCollection *clucol, ClusterImpl *clu, double *cog, double *cov, double *eval, double *eval_err, double *evp, double *evpe, double *evc, int np, double sum_wgt, double sum_wgtsqr, double sum_wgt4)
 
virtual void check (LCEvent *evt)
 
virtual void end ()
 Called after data processing for clean up. More...
 

Protected Attributes

std::string _clusterCollectionName {}
 Input collection name. More...
 
std::string _PFOName {}
 
int _nRun {}
 
int _nEvt {}
 

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:
AddClusterProperties.h,v 1.4 2005-10-11 12:57:39 gaede Exp

Definition at line 33 of file AddClusterProperties.h.

Constructor & Destructor Documentation

AddClusterProperties::AddClusterProperties ( )

Definition at line 31 of file AddClusterProperties.cc.

Member Function Documentation

void AddClusterProperties::check ( LCEvent *  evt)
virtual

Definition at line 498 of file AddClusterProperties.cc.

void AddClusterProperties::debuging ( LCCollection *  clucol,
ClusterImpl *  clu,
double *  cog,
double *  cov,
double *  eval,
double *  eval_err,
double *  evp,
double *  evpe,
double *  evc,
int  np,
double  sum_wgt,
double  sum_wgtsqr,
double  sum_wgt4 
)
virtual

Definition at line 400 of file AddClusterProperties.cc.

void AddClusterProperties::end ( )
virtual

Called after data processing for clean up.

Definition at line 503 of file AddClusterProperties.cc.

void AddClusterProperties::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 58 of file AddClusterProperties.cc.

virtual Processor* AddClusterProperties::newProcessor ( )
inlinevirtual

Definition at line 37 of file AddClusterProperties.h.

void AddClusterProperties::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 78 of file AddClusterProperties.cc.

void AddClusterProperties::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 71 of file AddClusterProperties.cc.

Member Data Documentation

std::string AddClusterProperties::_clusterCollectionName {}
protected

Input collection name.

Definition at line 71 of file AddClusterProperties.h.

int AddClusterProperties::_nEvt {}
protected

Definition at line 75 of file AddClusterProperties.h.

int AddClusterProperties::_nRun {}
protected

Definition at line 74 of file AddClusterProperties.h.

std::string AddClusterProperties::_PFOName {}
protected

Definition at line 72 of file AddClusterProperties.h.


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