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

GammaGammaSolutionFinder:
More...

#include <GammaGammaSolutionFinder.h>

Inheritance diagram for GammaGammaSolutionFinder:
[legend]

Classes

struct  CandidateSolution
 
struct  FirstVertex
 
struct  MyEdge
 

Public Member Functions

virtual marlin::Processor * newProcessor ()
 
 GammaGammaSolutionFinder ()
 
virtual void init ()
 Called at the beginning 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 FindGammaGammaSolutionZero (LCCollectionVec *)
 
void FindGammaGammaSolutions (LCCollectionVec *)
 
unsigned int CountIndependentPhotons ()
 
unsigned long int CombinatorialFactor (int n, int k)
 
void FindCombinations (std::vector< std::vector< int > > array, unsigned int i, std::vector< int > accum)
 

Static Private Member Functions

static bool PfoProbabilitySortFunction (ReconstructedParticle *lhs, ReconstructedParticle *rhs)
 

Private Attributes

std::vector
< ReconstructedParticle * > 
_pfovec {}
 
int _printing {}
 
std::vector< std::string > _gammagammaCandidateCollections {}
 
std::string _outputParticleCollectionName {}
 
double _maxCombinationsCut {}
 
int _nToRemove {}
 
int _algorithm {}
 

Detailed Description

GammaGammaSolutionFinder:

Author
Graham W. Wilson, University of Kansas

Definition at line 33 of file GammaGammaSolutionFinder.h.

Constructor & Destructor Documentation

GammaGammaSolutionFinder::GammaGammaSolutionFinder ( )

Definition at line 28 of file GammaGammaSolutionFinder.cc.

Member Function Documentation

unsigned long int GammaGammaSolutionFinder::CombinatorialFactor ( int  n,
int  k 
)

Definition at line 135 of file GammaGammaSolutionFinder.cc.

unsigned int GammaGammaSolutionFinder::CountIndependentPhotons ( )

Definition at line 241 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::end ( )
virtual

Called after data processing for clean up.

Definition at line 131 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::FindCombinations ( std::vector< std::vector< int > >  array,
unsigned int  i,
std::vector< int >  accum 
)

Definition at line 151 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::FindGammaGammaSolutions ( LCCollectionVec *  recparcol)

Definition at line 277 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::FindGammaGammaSolutionZero ( LCCollectionVec *  recparcol)

Definition at line 207 of file GammaGammaSolutionFinder.cc.

bool GammaGammaSolutionFinder::FindPFOs ( LCEvent *  evt)

Definition at line 170 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::init ( )
virtual

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

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

Definition at line 73 of file GammaGammaSolutionFinder.cc.

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

Definition at line 37 of file GammaGammaSolutionFinder.h.

bool GammaGammaSolutionFinder::PfoProbabilitySortFunction ( ReconstructedParticle *  lhs,
ReconstructedParticle *  rhs 
)
staticprivate

Definition at line 757 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 86 of file GammaGammaSolutionFinder.cc.

void GammaGammaSolutionFinder::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 80 of file GammaGammaSolutionFinder.cc.

Member Data Documentation

int GammaGammaSolutionFinder::_algorithm {}
private

Definition at line 103 of file GammaGammaSolutionFinder.h.

std::vector<std::string> GammaGammaSolutionFinder::_gammagammaCandidateCollections {}
private

Definition at line 99 of file GammaGammaSolutionFinder.h.

double GammaGammaSolutionFinder::_maxCombinationsCut {}
private

Definition at line 101 of file GammaGammaSolutionFinder.h.

int GammaGammaSolutionFinder::_nToRemove {}
private

Definition at line 102 of file GammaGammaSolutionFinder.h.

std::string GammaGammaSolutionFinder::_outputParticleCollectionName {}
private

Definition at line 100 of file GammaGammaSolutionFinder.h.

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

Definition at line 97 of file GammaGammaSolutionFinder.h.

int GammaGammaSolutionFinder::_printing {}
private

Definition at line 98 of file GammaGammaSolutionFinder.h.


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