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

Processor calculates Fox-Wolfram moments. More...

#include <Fox.h>

Inheritance diagram for Fox:
[legend]

Public Member Functions

virtual ProcessornewProcessor ()
 
 Fox ()
 
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 _colName {}
 Input collection name. More...
 
std::vector< int > _momentsToCalculate {}
 Vector of moments orders to be calculated. More...
 
int _nRun {}
 
int _nEvt {}
 

Detailed Description

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.

Author
P.Krstonosic , DESY

Definition at line 24 of file Fox.h.

Constructor & Destructor Documentation

Fox::Fox ( )

Definition at line 40 of file Fox.cc.

Member Function Documentation

void Fox::check ( LCEvent *  evt)
virtual

Definition at line 170 of file Fox.cc.

void Fox::end ( )
virtual

Called after data processing for clean up.

Definition at line 175 of file Fox.cc.

void Fox::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 64 of file Fox.cc.

virtual Processor* Fox::newProcessor ( )
inlinevirtual

Definition at line 28 of file Fox.h.

void Fox::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 79 of file Fox.cc.

void Fox::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 74 of file Fox.cc.

Member Data Documentation

std::string Fox::_colName {}
protected

Input collection name.

Definition at line 59 of file Fox.h.

std::vector<int> Fox::_momentsToCalculate {}
protected

Vector of moments orders to be calculated.

Definition at line 62 of file Fox.h.

int Fox::_nEvt {}
protected

Definition at line 64 of file Fox.h.

int Fox::_nRun {}
protected

Definition at line 63 of file Fox.h.


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