Mixed Data Coincidence Analysis Software 1.0
A program to analyze files produced by the EventMixer software.
GammaEnergyChart.hh
Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <stdlib.h>
00003 #include <vector>
00004 #include <utility>
00005 #include <map>
00006 
00007 #include "EventHit.hh"
00008 #include "GammaLine.hh"
00009 using namespace std;
00010 
00011 
00021 #ifndef GAMMAENERGYCHART_HH
00022 #define GAMMAENERGYCHART_HH //!<Inclusion guard.
00023 class GammaEnergyChart
00024 {
00025 public:
00026   GammaEnergyChart(char * gammaFile, 
00027                    int minA = -100000, 
00028                    int maxA = 1000000, 
00029                    int minZ = -100000,  
00030                    int maxZ = 1000000, 
00031                    float tol = 3E-3,
00032                    float bgTol = 5E-2
00033                    ); 
00034 
00035   ~GammaEnergyChart(); 
00036 
00037   void addCoincidence(pair<EventHit*, EventHit*> toAdd 
00038                     , float epsilon 
00039                     ); 
00040 
00041   map<pair<int, int>, vector<GammaLine*> > * getGammaLines();
00042 
00043 
00044 private:
00045 
00046   map<pair<int, int>, vector<GammaLine*> > * myGammaLines; 
00047 };
00048 #endif
 All Classes Files Functions Variables Defines

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

Created by Rikard Lundmark