"MarlinReco"  1.16.0
Public Member Functions | Protected Attributes | List of all members
NNClusterProcessor Class Reference

Example processor that does a simple nearest neighbour (NN) clustering on one or more CalorimeterHit collections. More...

#include <NNClusterProcessor.h>

Inheritance diagram for NNClusterProcessor:

Public Member Functions

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

Protected Attributes

StringVec _colNames
 Input collection name.
 
std::string _outputColName
 
float _distCut
 
float _eCut
 
int _nThetaPhi
 
int _nRun
 
int _nEvt
 

Detailed Description

Example processor that does a simple nearest neighbour (NN) clustering on one or more CalorimeterHit collections.

It uses a simple euclididan distance cut.

Parameters
HitCollections- Name of the input collection(s) (CalorimeterHit)
OutputCollection- Name of the output collection (Cluster)
DistanceCut- Cut for distance between hits in mm
EnergyCut- Cut for hit energy in GeV
Author
F.Gaede (DESY)
Version
Id:
NNClusterProcessor.h 2553 2011-09-20 14:50:20Z gaede

Member Function Documentation

virtual void NNClusterProcessor::init ( )
virtual

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

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


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