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

ZFinder:
Returns the best Z->ee/Z->mm candidate in the event. More...

#include <ZFinder.h>

Inheritance diagram for ZFinder:
[legend]

Public Member Functions

virtual marlin::Processor * newProcessor ()
 
 ZFinder ()
 
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 end ()
 Called after data processing for clean up. More...
 
bool FindPFOs (LCEvent *evt)
 
void FindZee (LCCollectionVec *)
 
void FindZmumu (LCCollectionVec *)
 

Private Attributes

std::vector
< ReconstructedParticle * > 
_pfovec {}
 
int _printing {}
 
std::string _zdecay {}
 
std::string _inputParticleCollectionName {}
 
std::string _outputParticleCollectionName {}
 
float _momentumCut {}
 
float _muonEcalEnergyCut {}
 
float _muonHcalEnergyCut {}
 
float _muonHcalEnergyCut1 {}
 
float _electronEcalEnergyCut {}
 
float _electronHcalEnergyCut {}
 
float _electronEoPCutLow {}
 
float _electronEoPCutHigh {}
 
float _dmzcut {}
 
int _addPhotons {}
 
int _canUseClusterEnergyForElectrons {}
 
float _cosTrackGammaCut {}
 

Detailed Description

ZFinder:
Returns the best Z->ee/Z->mm candidate in the event.

Relatively loose cuts are applied. For a physics analysis tighter cuts (applied user analysis code) might be required. Bremstrahlung/FSR recovery is on by default.

Author
M.Thomson Cambridge

Definition at line 19 of file ZFinder.h.

Constructor & Destructor Documentation

ZFinder::ZFinder ( )

Definition at line 27 of file ZFinder.cc.

Member Function Documentation

void ZFinder::end ( )
virtual

Called after data processing for clean up.

Definition at line 165 of file ZFinder.cc.

bool ZFinder::FindPFOs ( LCEvent *  evt)

Definition at line 171 of file ZFinder.cc.

void ZFinder::FindZee ( LCCollectionVec *  recparcol)

Definition at line 320 of file ZFinder.cc.

void ZFinder::FindZmumu ( LCCollectionVec *  recparcol)

Definition at line 199 of file ZFinder.cc.

void ZFinder::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 128 of file ZFinder.cc.

virtual marlin::Processor* ZFinder::newProcessor ( )
inlinevirtual

Definition at line 23 of file ZFinder.h.

void ZFinder::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 140 of file ZFinder.cc.

void ZFinder::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 134 of file ZFinder.cc.

Member Data Documentation

int ZFinder::_addPhotons {}
private

Definition at line 65 of file ZFinder.h.

int ZFinder::_canUseClusterEnergyForElectrons {}
private

Definition at line 66 of file ZFinder.h.

float ZFinder::_cosTrackGammaCut {}
private

Definition at line 67 of file ZFinder.h.

float ZFinder::_dmzcut {}
private

Definition at line 64 of file ZFinder.h.

float ZFinder::_electronEcalEnergyCut {}
private

Definition at line 60 of file ZFinder.h.

float ZFinder::_electronEoPCutHigh {}
private

Definition at line 63 of file ZFinder.h.

float ZFinder::_electronEoPCutLow {}
private

Definition at line 62 of file ZFinder.h.

float ZFinder::_electronHcalEnergyCut {}
private

Definition at line 61 of file ZFinder.h.

std::string ZFinder::_inputParticleCollectionName {}
private

Definition at line 54 of file ZFinder.h.

float ZFinder::_momentumCut {}
private

Definition at line 56 of file ZFinder.h.

float ZFinder::_muonEcalEnergyCut {}
private

Definition at line 57 of file ZFinder.h.

float ZFinder::_muonHcalEnergyCut {}
private

Definition at line 58 of file ZFinder.h.

float ZFinder::_muonHcalEnergyCut1 {}
private

Definition at line 59 of file ZFinder.h.

std::string ZFinder::_outputParticleCollectionName {}
private

Definition at line 55 of file ZFinder.h.

std::vector<ReconstructedParticle*> ZFinder::_pfovec {}
private

Definition at line 51 of file ZFinder.h.

int ZFinder::_printing {}
private

Definition at line 52 of file ZFinder.h.

std::string ZFinder::_zdecay {}
private

Definition at line 53 of file ZFinder.h.


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