Commit d3b323be authored by J.Dudouet [IPNL/CSNSM]'s avatar J.Dudouet [IPNL/CSNSM]
Browse files

Add FOM et interaction type spectra


git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@2233 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent 40785b44
......@@ -413,6 +413,10 @@ TrackingWatcher::TrackingWatcher(const char *name, const char *title, TDirectory
// Now spectra
fTrackedEnergy = MakeTH1<TH1F>("TrackedEnergy","Tracked Energy",8192,0,4096);
fTrackedEnergyPerType[0] = MakeTH1<TH1F>("TrackedEnergyUndefType","Tracked Energy for undefined type",8192,0,4096);
fTrackedEnergyPerType[1] = MakeTH1<TH1F>("TrackedEnergySingles","Tracked Energy singles",8192,0,4096);
fTrackedEnergyPerType[2] = MakeTH1<TH1F>("TrackedEnergyCompton","Tracked Energy compton",8192,0,4096);
fTrackedEnergyPerType[3] = MakeTH1<TH1F>("TrackedEnergyPair","Tracked Energy pair",8192,0,4096);
fTrackedEnergyDopler = MakeTH1<TH1F>("TrackedEnergyDC","Tracked Energy with Doppler correction",8192,0,4096);
TagOn(fTrackedEnergyDopler);
......@@ -420,6 +424,10 @@ TrackingWatcher::TrackingWatcher(const char *name, const char *title, TDirectory
fGammaMult = MakeTH1<TH1F>("GammaMult","Gamma multiplicity",20,0,20);
TagOn(fGammaMult);
fGammaMult = MakeTH1<TH1F>("GammaMult","Gamma multiplicity",20,0,20);
fGammaType = MakeTH1<TH1I>("GammaType","Interaction type (0:undef 1:single 2:compton 3:pair",4,0,4);
fGammaFOM = MakeTH1<TH1F>("FoM","Figure of Merit",1000,0,2);
fGxG = MakeTH2<TH2F>("GxG","Gamma Gamma matrix",4096,0,4096,4096,0,4096);
fGxG_DC = MakeTH2<TH2F>("GxG_DC","Gamma Gamma matrix with Doppler Correction",4096,0,4096,4096,0,4096);
......@@ -480,8 +488,13 @@ void TrackingWatcher::Exec(Option_t */*option*/)
Double_t edc1 = DoDopplerCorrection(gamma1, vertex);
Double_t e1 = gamma1->GetE();
Double_t fom = gamma1->GetFOM();
fTrackedEnergy->Fill(e1);
fGammaFOM->Fill(fom);
fFOMvsTrackedEnergy->Fill(e1,fom);
fTrackedEnergyPerType[gamma1->GetType()]->Fill(e1);
fETheta->Fill(e1,Theta);
fEThetaDC->Fill(edc1,Theta);
......
......@@ -160,8 +160,13 @@ private:
protected:
TH1F *fTrackedEnergy;
TH1F *fTrackedEnergyPerType[4];
TH1F *fTrackedEnergyDopler;
TH1F *fGammaMult;
TH1F *fGammaFOM;
TH1I *fGammaType;
TH2F *fFOMvsTrackedEnergy;
TH2F *fGxG;
TH2F *fGxG_DC;
TH2F *fETheta;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment