Mixed Data Coincidence Analysis Software 1.0
A program to analyze files produced by the EventMixer software.
EventHit.hh
Go to the documentation of this file.
00001 
00009 using namespace std;
00010 
00011 
00012 #include <sstream>
00013 #include <string>
00014 #include <stdlib.h>
00015 #include <stdio.h>
00016 #include <vector>
00017 #include <string>
00018 #include <iostream>
00019 
00020 #include "HitType.hh"
00021 
00022 
00032 #ifndef EVENTHIT_H
00033 #define EVENTHIT_H //!<Inclusion guard
00034 
00035 class EventHit
00036 {
00037 public:
00038   //Cheat information, not to be used for analysis purposes, for validation only.
00039   int A; 
00040   int Z; 
00041   int eventno; 
00042 
00043 
00044   //Real information, to be used for analysis purposes.
00045   double time; 
00046   
00047   float UFSP; 
00048   float LFSP; 
00049   float BSP; 
00050   float Ge; 
00051 
00052   
00053   vector<float> DET;  // Energy deposition in each scintillator tube.
00054   
00055   HitType implantationType; 
00056 
00057   void ComputeHitType(); 
00058 
00059   string toString(); //Returns a string describing the object.
00060 
00061   EventHit(int nTubes = 40,
00062            float detEpsilon = 1E-2,
00063            float dRatio = 1E2
00064            ); 
00065 
00066 private:
00067   int GetDominating(); //Returns the dominating scintillator, or -10 if no such scintillator.
00068   int numberOfTubes; 
00069   float detectorEpsilon; 
00070   float dominateRatio; 
00071 };
00072 #endif
 All Classes Files Functions Variables Defines

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

Created by Rikard Lundmark