Mixed Data Coincidence Analysis Software 1.0
A program to analyze files produced by the EventMixer software.
Public Member Functions | Private Attributes
GammaIdentifier Class Reference

Utilizes the GammaEnergyChart to find the appropriate matches for the found gammas. More...

#include <GammaIdentifier.hh>

List of all members.

Public Member Functions

 GammaIdentifier (GammaEnergyChart *toUse, double tol, float minGamma, float maxGamma, float bgTol=0.05, bool forceCorr=false)
 Constructor.
 ~GammaIdentifier ()
 Destructor.
void addCoincidence (pair< EventHit *, EventHit * > toAdd)
 Add a detected coincidence for analysis.
list< ScorePairdoSimpleScoring ()
 Does a simple (non-probabilistic) scoring of line count.
list< ScorePairdoProbabilisticScoring ()
 Does a more advanced probabilistic scoring.
string getMATLABstring (int figure)
string getPeakString ()

Private Attributes

GammaEnergyChartmyChart
double tolerance
double bgTolerance
float minGammaEnergy
float maxGammaEnergy
bool forceCorrect
list< pair< EventHit
*, EventHit * > > 
coincidences
ElementLookupTablemyTable

Detailed Description

Utilizes the GammaEnergyChart to find the appropriate matches for the found gammas.

Definition at line 34 of file GammaIdentifier.hh.


Constructor & Destructor Documentation

GammaIdentifier::GammaIdentifier ( GammaEnergyChart toUse,
double  tol,
float  minGamma,
float  maxGamma,
float  bgTol = 0.05,
bool  forceCorr = false 
)

Constructor.

Parameters:
toUseEnergy chart used for identification.
tolTolerance.
minGammaMin gamma energy.
maxGammaMax gamma energy.

Definition at line 3 of file GammaIdentifier.cc.

  :myChart(toUse), tolerance(tol), bgTolerance(bgTol), minGammaEnergy(minGamma), maxGammaEnergy(maxGamma), forceCorrect(forceCorr)
{
  myTable = new ElementLookupTable();
}

Member Function Documentation

void GammaIdentifier::addCoincidence ( pair< EventHit *, EventHit * >  toAdd)

Add a detected coincidence for analysis.

Parameters:
toAddImplant-decay pair

Definition at line 14 of file GammaIdentifier.cc.

References GammaEnergyChart::addCoincidence().

{
  myChart->addCoincidence(toAdd, tolerance);
  coincidences.push_back(toAdd);
}

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark