MarlinKinfitProcessors  0.2.0
Public Member Functions | Protected Attributes | List of all members
WW5CFit Class Reference

An example processor for a kinematic fit. More...

#include <WW5CFit.h>

Inheritance diagram for WW5CFit:

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.
 
double JetEnergyResolution (double E)
 

Protected Attributes

std::string _jetcolName
 Input collection name.
 
std::string _name
 
std::string _OutputCollection
 
float _ecm
 Input parameter: center of mass energy.
 
float _isrpzmax
 
int _fitISR
 
int _ifitter
 
int _ievttrace
 
bool _traceall
 
double b
 
double ISRPzMaxB
 
float prob
 
float bestprob
 
float bestnit
 
float bestmass1
 
float bestmass2
 
float beststartmass1
 
float beststartmass2
 
float bestphotonenergy
 
float startmass1
 
float startmass2
 
float variable
 
float momentum [3]
 
float energy
 
int _nRun
 
int _nEvt
 
int nit
 
int bestperm
 
int errorflag
 
TopEventILC * topevent
 

Detailed Description

An example processor for a kinematic fit.

... testing a W+W- -> 4jets hypothesis with energy and momentum conservation and an equal mass constraint

Input - Prerequisites

Needs 4 reconstructed jets

Output

A histogram.

Parameters
CollectionNameName of the ReconstructedParticle collection
Author
J. List, DESY
Version
Id:
WW5CFit.h,v 1.2 2010/07/19 23:41:46 mbeckman Exp

Member Function Documentation

void WW5CFit::init ( )
virtual

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

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

References _ecm.


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