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

Thrust processor for marlin. More...

#include <ThrustReconstruction.h>

Inheritance diagram for ThrustReconstruction:
[legend]

Public Member Functions

 ThrustReconstruction (const ThrustReconstruction &)=delete
 
ThrustReconstructionoperator= (const ThrustReconstruction &)=delete
 
virtual ProcessornewProcessor ()
 
 ThrustReconstruction ()
 
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 modifyRunHeader (LCRunHeader *)
 
virtual void processEvent (LCEvent *evt)
 Called for every event - the working horse. More...
 
virtual void modifyEvent (LCEvent *)
 
virtual void end ()
 Called after data processing for clean up. More...
 

Protected Member Functions

int TassoThrust ()
 
int JetsetThrust ()
 
double sign (double a, double b)
 
double min (double a, double b)
 

Protected Attributes

std::string _inputCollectionName {}
 Input collection name. More...
 
int _typeOfThrustFinder {}
 
float _principleThrustValue {}
 
float _majorThrustValue {}
 
float _minorThrustValue {}
 
Hep3Vector _principleThrustAxis {}
 
Hep3Vector _majorThrustAxis {}
 
Hep3Vector _minorThrustAxis {}
 
float _min {}
 
float _max {}
 
LCCollection * _inParVec {}
 
std::vector< Hep3Vector > _partMom {}
 
std::string filename {}
 
RanluxEngine myrnd {}
 

Detailed Description

Thrust processor for marlin.

Calculates the thrust axis and thrust value for each event using two different algorithms: Tasso algorithm — calculates only the principle thrust value and axis Jetnet algorithm — calculates the principle thrust value and axis the major thrust value and axis the minor thrust value and axis

Definition at line 30 of file ThrustReconstruction.h.

Constructor & Destructor Documentation

ThrustReconstruction::ThrustReconstruction ( const ThrustReconstruction )
delete
ThrustReconstruction::ThrustReconstruction ( )

Definition at line 25 of file ThrustReconstruction.cc.

Member Function Documentation

void ThrustReconstruction::end ( )
virtual

Called after data processing for clean up.

Definition at line 170 of file ThrustReconstruction.cc.

void ThrustReconstruction::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 46 of file ThrustReconstruction.cc.

int ThrustReconstruction::JetsetThrust ( )
protected

Definition at line 266 of file ThrustReconstruction.cc.

double ThrustReconstruction::min ( double  a,
double  b 
)
protected

Definition at line 432 of file ThrustReconstruction.cc.

virtual void ThrustReconstruction::modifyEvent ( LCEvent *  )
inlinevirtual

Definition at line 55 of file ThrustReconstruction.h.

virtual void ThrustReconstruction::modifyRunHeader ( LCRunHeader *  )
inlinevirtual

Definition at line 50 of file ThrustReconstruction.h.

virtual Processor* ThrustReconstruction::newProcessor ( )
inlinevirtual

Definition at line 37 of file ThrustReconstruction.h.

ThrustReconstruction& ThrustReconstruction::operator= ( const ThrustReconstruction )
delete
void ThrustReconstruction::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 73 of file ThrustReconstruction.cc.

void ThrustReconstruction::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 69 of file ThrustReconstruction.cc.

double ThrustReconstruction::sign ( double  a,
double  b 
)
protected

Definition at line 426 of file ThrustReconstruction.cc.

int ThrustReconstruction::TassoThrust ( )
protected

Definition at line 177 of file ThrustReconstruction.cc.

Member Data Documentation

LCCollection* ThrustReconstruction::_inParVec {}
protected

Definition at line 83 of file ThrustReconstruction.h.

std::string ThrustReconstruction::_inputCollectionName {}
protected

Input collection name.

Definition at line 73 of file ThrustReconstruction.h.

Hep3Vector ThrustReconstruction::_majorThrustAxis {}
protected

Definition at line 80 of file ThrustReconstruction.h.

float ThrustReconstruction::_majorThrustValue {}
protected

Definition at line 77 of file ThrustReconstruction.h.

float ThrustReconstruction::_max {}
protected

Definition at line 82 of file ThrustReconstruction.h.

float ThrustReconstruction::_min {}
protected

Definition at line 82 of file ThrustReconstruction.h.

Hep3Vector ThrustReconstruction::_minorThrustAxis {}
protected

Definition at line 81 of file ThrustReconstruction.h.

float ThrustReconstruction::_minorThrustValue {}
protected

Definition at line 78 of file ThrustReconstruction.h.

std::vector<Hep3Vector> ThrustReconstruction::_partMom {}
protected

Definition at line 84 of file ThrustReconstruction.h.

Hep3Vector ThrustReconstruction::_principleThrustAxis {}
protected

Definition at line 79 of file ThrustReconstruction.h.

float ThrustReconstruction::_principleThrustValue {}
protected

Definition at line 76 of file ThrustReconstruction.h.

int ThrustReconstruction::_typeOfThrustFinder {}
protected

Definition at line 74 of file ThrustReconstruction.h.

std::string ThrustReconstruction::filename {}
protected

Definition at line 85 of file ThrustReconstruction.h.

RanluxEngine ThrustReconstruction::myrnd {}
protected

Definition at line 86 of file ThrustReconstruction.h.


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