"MarlinReco"
1.32.0
|
Processor calculates Fox-Wolfram moments. More...
#include <Fox.h>
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 | |
std::string | _colName {} |
Input collection name. | |
std::vector< int > | _momentsToCalculate {} |
Vector of moments orders to be calculated. | |
int | _nRun {} |
int | _nEvt {} |
Processor calculates Fox-Wolfram moments.
input parameters are name of the ReconstructedParticle collection and arbitrary number of moments entered just as integers for example CalculateFoxWolframMoments 1 3 6 , moment of 0-th order is calculated by default (for later normalisation) so you don't need to enter this one. Output is stored as a parameter of te ReconstructedParticle collection with the name FoxWolfram_moment(n) where n is actual number.
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.