Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GFpair Class Reference

#include <GlastFit.h>

Inheritance diagram for GFpair:

GFbase GFdata List of all members.

Public Methods

 GFpair (double xene, enum SiData::Axis axis, double sigmaCut, double energy,int ist, const Ray& testRay, bool doit = true)
 ~GFpair ()
void flagAllHits ()
void unFlagAllHits ()
bool empty () const
bool accept () const
void clear ()
void writeOut (int level) const
GFtrackgetBest () const
GFtrackgetPair () const
double weightSlope () const
double errorSlope () const
int numTogether () const
int numSplit () const
int numOne () const
int numSharedHits () const
int numEmpty () const

Protected Methods

void ini ()
void step (int kplane)
void anastep (int kplane)
void fit ()
bool end () const
void kill ()
void setAlive ()
void contability (int kplane)
void loadGFdata ()
void setIniEnergy ()
void setDecideBest (bool decideBest)
void setStatus (StatusPair newStatus)
StatusPair status () const
void newStatus (int klayer)
bool forceSplit (int klayer) const
void stepTogether (int kplane)
void stepSplit (int kplane)
void selfishStepSplit (int kplane)
void decideBest ()
void swap ()
Vector doDirection (const GFtrack* _GFtrk1, const GFtrack* _GFtrk2, double& weight1, double& errorSlope)
Vector doDirection (double& weight1)
Vector doDirectionXene (double xene, double& weight1)
double doEnergy (const GFtrack* _GFtrk1, const GFtrack* _GFtrk2)
bool allowedShareHit (const GFtrack* _GFtrack) const
void removeWorseStep (GFtrack* _GFtrk1, GFtrack* _GFtrk2)
void resizeSharedHits ()

Protected Attributes

GFtrack_mGFbest
GFtrack_mGFpair
GFtrack_mGFalive

Private Attributes

double m_xEne
SiData::Axis m_axis
StatusPair m_status
bool m_decideBest
double m_weightBest
double m_errorSlope
int m_together
int m_split
int m_one
int m_shared
int m_empty

Friends

class  GFgamma

Constructor & Destructor Documentation

GFpair::GFpair ( double xene,
enum SiData::Axis axis,
double sigmaCut,
double energy,
int ist,
const Ray & testRay,
bool run = true )
 

Definition at line 1581 of file GlastFit.cxx.

GFpair::~GFpair ( ) [inline]
 

Definition at line 495 of file GlastFit.h.


Member Function Documentation

bool GFpair::accept ( ) const [virtual]
 

Reimplemented from GFbase.

Definition at line 1624 of file GlastFit.cxx.

bool GFpair::allowedShareHit ( const GFtrack * _GFtrack ) const [protected]
 

Definition at line 2063 of file GlastFit.cxx.

void GFpair::anastep ( int kplane ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1750 of file GlastFit.cxx.

void GFpair::clear ( ) [virtual]
 

Reimplemented from GFbase.

Definition at line 1640 of file GlastFit.cxx.

Referenced by GFpair().

void GFpair::contability ( int kplane ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1806 of file GlastFit.cxx.

void GFpair::decideBest ( ) [protected]
 

Definition at line 2170 of file GlastFit.cxx.

Vector GFpair::doDirection ( double & xFactor ) [protected]
 

Definition at line 2111 of file GlastFit.cxx.

Vector GFpair::doDirection ( const GFtrack * _GFtrk1,
const GFtrack * _GFtrk2,
double & weight1,
double & errorSlope ) [protected]
 

Definition at line 2079 of file GlastFit.cxx.

Vector GFpair::doDirectionXene ( double xene,
double & weight ) [protected]
 

Definition at line 2134 of file GlastFit.cxx.

double GFpair::doEnergy ( const GFtrack * _GFtrk1,
const GFtrack * _GFtrk2 ) [protected]
 

Definition at line 2156 of file GlastFit.cxx.

bool GFpair::empty ( ) const [virtual]
 

Reimplemented from GFbase.

Definition at line 1613 of file GlastFit.cxx.

Referenced by GFpair().

bool GFpair::end ( ) const [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1780 of file GlastFit.cxx.

double GFpair::errorSlope ( ) const [inline]
 

Definition at line 515 of file GlastFit.h.

void GFpair::fit ( ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1765 of file GlastFit.cxx.

Referenced by GFpair().

void GFpair::flagAllHits ( ) [virtual]
 

Reimplemented from GFbase.

Definition at line 1599 of file GlastFit.cxx.

bool GFpair::forceSplit ( int kplane ) const [protected]
 

Definition at line 1899 of file GlastFit.cxx.

GFtrack * GFpair::getBest ( ) const [inline]
 

Definition at line 511 of file GlastFit.h.

Referenced by GFgamma::getBest().

GFtrack * GFpair::getPair ( ) const [inline]
 

Definition at line 512 of file GlastFit.h.

Referenced by GFgamma::getPair().

void GFpair::ini ( ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1691 of file GlastFit.cxx.

Referenced by GFpair().

void GFpair::kill ( ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1789 of file GlastFit.cxx.

void GFpair::loadGFdata ( ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1839 of file GlastFit.cxx.

void GFpair::newStatus ( int kplane ) [protected]
 

Definition at line 1873 of file GlastFit.cxx.

int GFpair::numEmpty ( ) const [inline]
 

Definition at line 521 of file GlastFit.h.

int GFpair::numOne ( ) const [inline]
 

Definition at line 519 of file GlastFit.h.

int GFpair::numSharedHits ( ) const [inline]
 

Definition at line 520 of file GlastFit.h.

int GFpair::numSplit ( ) const [inline]
 

Definition at line 518 of file GlastFit.h.

int GFpair::numTogether ( ) const [inline]
 

Definition at line 517 of file GlastFit.h.

void GFpair::removeWorseStep ( GFtrack * _GFtrack1,
GFtrack * _GFtrack2 ) [protected]
 

Definition at line 2022 of file GlastFit.cxx.

void GFpair::resizeSharedHits ( ) [protected]
 

void GFpair::selfishStepSplit ( int klayer ) [protected]
 

Definition at line 1986 of file GlastFit.cxx.

void GFpair::setAlive ( ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1797 of file GlastFit.cxx.

void GFpair::setDecideBest ( bool decideBest ) [inline, protected]
 

Definition at line 541 of file GlastFit.h.

void GFpair::setIniEnergy ( ) [protected]
 

Definition at line 2207 of file GlastFit.cxx.

void GFpair::setStatus ( StatusPair newStatus ) [protected]
 

Definition at line 1908 of file GlastFit.cxx.

StatusPair GFpair::status ( ) const [inline, protected]
 

Definition at line 545 of file GlastFit.h.

void GFpair::step ( int kplane ) [protected, virtual]
 

Reimplemented from GFbase.

Definition at line 1727 of file GlastFit.cxx.

void GFpair::stepSplit ( int klayer ) [protected]
 

Definition at line 1968 of file GlastFit.cxx.

void GFpair::stepTogether ( int klayer ) [protected]
 

Definition at line 1941 of file GlastFit.cxx.

void GFpair::swap ( ) [protected]
 

Definition at line 2184 of file GlastFit.cxx.

void GFpair::unFlagAllHits ( ) [virtual]
 

Reimplemented from GFbase.

Definition at line 1606 of file GlastFit.cxx.

double GFpair::weightSlope ( ) const [inline]
 

Definition at line 514 of file GlastFit.h.

void GFpair::writeOut ( int level ) const [virtual]
 

Reimplemented from GFbase.

Definition at line 1664 of file GlastFit.cxx.


Friends And Related Function Documentation

class GFgamma [friend]
 

Definition at line 572 of file GlastFit.h.


Member Data Documentation

GFtrack * GFpair::_mGFalive [protected]
 

Definition at line 597 of file GlastFit.h.

GFtrack * GFpair::_mGFbest [protected]
 

Definition at line 594 of file GlastFit.h.

GFtrack * GFpair::_mGFpair [protected]
 

Definition at line 595 of file GlastFit.h.

SiData::Axis GFpair::m_axis [private]
 

Definition at line 575 of file GlastFit.h.

bool GFpair::m_decideBest [private]
 

Definition at line 578 of file GlastFit.h.

int GFpair::m_empty [private]
 

Definition at line 589 of file GlastFit.h.

double GFpair::m_errorSlope [private]
 

Definition at line 582 of file GlastFit.h.

int GFpair::m_one [private]
 

Definition at line 587 of file GlastFit.h.

int GFpair::m_shared [private]
 

Definition at line 588 of file GlastFit.h.

int GFpair::m_split [private]
 

Definition at line 586 of file GlastFit.h.

StatusPair GFpair::m_status [private]
 

Definition at line 577 of file GlastFit.h.

int GFpair::m_together [private]
 

Definition at line 585 of file GlastFit.h.

double GFpair::m_weightBest [private]
 

Definition at line 581 of file GlastFit.h.

double GFpair::m_xEne [private]
 

Definition at line 574 of file GlastFit.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:47 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000