Example processor for marlin. More...
#include <AddClusterProperties.h>
Public Member Functions | |
virtual Processor * | newProcessor () |
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 {} |
Example processor for marlin.
If compiled with MARLIN_USE_AIDA it creates a histogram (cloud) of the MCParticle energies.
Needs the collection of MCParticles.
A histogram.
CollectionName | Name of the MCParticle collection |
Definition at line 33 of file AddClusterProperties.h.
AddClusterProperties::AddClusterProperties | ( | ) |
Definition at line 31 of file AddClusterProperties.cc.
|
virtual |
Definition at line 498 of file AddClusterProperties.cc.
|
virtual |
Definition at line 400 of file AddClusterProperties.cc.
|
virtual |
Called after data processing for clean up.
Definition at line 503 of file AddClusterProperties.cc.
|
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.
|
inlinevirtual |
Definition at line 37 of file AddClusterProperties.h.
|
virtual |
Called for every event - the working horse.
Definition at line 78 of file AddClusterProperties.cc.
|
virtual |
Called for every run.
Definition at line 71 of file AddClusterProperties.cc.
|
protected |
Input collection name.
Definition at line 71 of file AddClusterProperties.h.
|
protected |
Definition at line 75 of file AddClusterProperties.h.
|
protected |
Definition at line 74 of file AddClusterProperties.h.
|
protected |
Definition at line 72 of file AddClusterProperties.h.