FairRoot/PandaRoot
|
#include <PndHypGeGammaAna.h>
Public Member Functions | |
PndHypGeGammaAna () | |
PndHypGeGammaAna (TString TxtFileName_Ext, Double_t GammaEnergy_Ext, Int_t nEvents=0, Int_t nPeaks_Ext=1, Int_t PeakToLook_Ext=1) | |
~PndHypGeGammaAna () | |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
void | Finish () |
void | SetParContainers () |
void | SetTarget (Bool_t TargetAvailable=1) |
void | SetOmegaQuadrupolMode (Bool_t useOmegaQuadrupolMode_ext=1) |
void | SetPeakWidtchStrechFactor (Double_t PeakWidtchStrechFactor_ext=1) |
Protected Member Functions | |
Double_t | Compton (Double_t E, Double_t Th) |
Double_t | invCompton (Double_t E, Double_t Eprime) |
Double_t | SmearHit (Double_t Energy) |
Double_t | CalculatePeakWidth (Double_t Energy) |
void | FitSpectrum () |
void | FittingOutput () |
void | FindPeaks () |
void | GetPeakContent () |
void | ActivateComptonCalculations (Bool_t isActivated=1) |
void | CalculateCompton () |
void | WriteHistogramsToFile () |
void | HistogramCosmetics (TH1D *histo, TString XTitle, Double_t XTitleSize, Double_t XTitleOffset, Double_t XLabelSize, TString YTitle, Double_t YTitleSize, Double_t YTitleOffset, Double_t YLabelSize) |
void | HistogramCosmetics2D (TH2D *histo, TString XTitle, Double_t XTitleSize, Double_t XTitleOffset, Double_t XLabelSize, TString YTitle, Double_t YTitleSize, Double_t YTitleOffset, Double_t YLabelSize) |
bool | InTargetAbsorbedGammaWouldHitGermanium () |
ClassDef (PndHypGeGammaAna, 1) | |
Definition at line 27 of file PndHypGeGammaAna.h.
PndHypGeGammaAna::PndHypGeGammaAna | ( | ) |
Definition at line 23 of file PndHypGeGammaAna.cxx.
References DoComptonCalculations, and fTargetAvailable.
PndHypGeGammaAna::PndHypGeGammaAna | ( | TString | TxtFileName_Ext, |
Double_t | GammaEnergy_Ext, | ||
Int_t | nEvents = 0 , |
||
Int_t | nPeaks_Ext = 1 , |
||
Int_t | PeakToLook_Ext = 1 |
||
) |
Definition at line 30 of file PndHypGeGammaAna.cxx.
References DoComptonCalculations, fTargetAvailable, GammaEnergy, nEvents, nPeaks, NumberOfEvents, PeakToLook, PeakWidtchStrechFactor, TxtFileName, and useOmegaQuadrupolMode.
PndHypGeGammaAna::~PndHypGeGammaAna | ( | ) |
Definition at line 44 of file PndHypGeGammaAna.cxx.
References fGe, fGeAl, fHitGe, fHitSi, fHitTargetOther, fMc, fMCGam, fMcTr, fSilicon, fTargetOther, hAbsorption, hGamEnergy, hNumberOfHits, Rng, xpeaks, and ypeaks.
|
protected |
Definition at line 566 of file PndHypGeGammaAna.cxx.
References DoComptonCalculations.
|
protected |
Definition at line 571 of file PndHypGeGammaAna.cxx.
References Compton(), DPeakToCompton, DPeakY, DSumCompton, fVerbose, GammaEnergy, hGamEnergy, highComptonAngle, i, lowComptonAngle, PeakToCompton, PeakY, sqrt(), SumCompton, and TxtFile.
Definition at line 440 of file PndHypGeGammaAna.cxx.
References PeakWidtchStrechFactor, ResConstPar, ResGradientPar, and sqrt().
Referenced by Init(), and SmearHit().
|
protected |
Definition at line 424 of file PndHypGeGammaAna.cxx.
References CAMath::Cos().
Referenced by CalculateCompton().
|
virtual |
Definition at line 208 of file PndHypGeGammaAna.cxx.
References CAMath::Abs(), Double_t, EvtCount, fGe, fHitGe, fHitTargetOther, fMCGam, fMCGamPrimary, fMcTr, fSilicon, fStartVertex, fTargetAvailable, fTargetOther, fVerbose, fVertexVolumeName, GammaEnergy, PndHypGePoint::GetDetectorID(), PndHypPoint::GetDetName(), PndHypGePoint::GetEnergyLoss(), PndMCTrack::GetMomentum(), PndMCTrack::GetMotherID(), PndMCTrack::GetStartVertex(), PndHypGePoint::GetTrackID(), PndHypPoint::GetXin(), PndHypPoint::GetZin(), gGeoManager, h2AbsorptionDistanceAngle, hAbsorption, hGamEnergy, hGamEnergyTargetBackground, hNumberOfHits, hThetaCheck, hThetaCheckPrimary, i, NumberOfEvents, PeakWidth, Pi, SetOfCrystalHit, SmearHit(), and TString.
|
protected |
Definition at line 523 of file PndHypGeGammaAna.cxx.
References DPeakY, fVerbose, hGamEnergy, i, nPeaks, PeakToLook, PeakX, PeakY, s, sqrt(), xpeaks, and ypeaks.
void PndHypGeGammaAna::Finish | ( | ) |
Definition at line 396 of file PndHypGeGammaAna.cxx.
References fVerbose, hGamEnergy, TxtFile, and WriteHistogramsToFile().
|
protected |
Definition at line 469 of file PndHypGeGammaAna.cxx.
References GausBG, hGamEnergy, PeakX, and PeakY.
|
protected |
Definition at line 494 of file PndHypGeGammaAna.cxx.
References Double_t, fVerbose, GausBG, i, NumberOfEvents, and TxtFile.
|
protected |
Definition at line 548 of file PndHypGeGammaAna.cxx.
References DPeakY, DSumPeak, fVerbose, hGamEnergy, i, PeakWidth, PeakX, PeakY, sqrt(), SumPeak, and TxtFile.
|
protected |
|
protected |
|
virtual |
Definition at line 91 of file PndHypGeGammaAna.cxx.
References CalculatePeakWidth(), DoComptonCalculations, EvtCount, fGe, fGeAl, fMcTr, fName, fSilicon, fTargetOther, fVerbose, GammaEnergy, gGeoManager, h2AbsorptionDistanceAngle, hAbsorption, hGamEnergy, hGamEnergyTargetBackground, highComptonAngle, hNumberOfHits, hThetaCheck, hThetaCheckPrimary, iHistoUpperLimit, invCompton(), ioman, lowComptonAngle, NumberOfEvents, PeakWidth, ResConstPar, ResGradientPar, Rng, TxtFile, TxtFileName, and useOmegaQuadrupolMode.
|
protected |
Definition at line 648 of file PndHypGeGammaAna.cxx.
Definition at line 428 of file PndHypGeGammaAna.cxx.
Referenced by Init().
void PndHypGeGammaAna::SetOmegaQuadrupolMode | ( | Bool_t | useOmegaQuadrupolMode_ext = 1 | ) |
Definition at line 660 of file PndHypGeGammaAna.cxx.
References useOmegaQuadrupolMode.
Referenced by GammaSpectraAnalysis_NoH_Task().
void PndHypGeGammaAna::SetParContainers | ( | ) |
void PndHypGeGammaAna::SetPeakWidtchStrechFactor | ( | Double_t | PeakWidtchStrechFactor_ext = 1 | ) |
Definition at line 665 of file PndHypGeGammaAna.cxx.
References PeakWidtchStrechFactor.
Referenced by GammaSpectraAnalysis_NoH_Task().
void PndHypGeGammaAna::SetTarget | ( | Bool_t | TargetAvailable = 1 | ) |
Definition at line 656 of file PndHypGeGammaAna.cxx.
References fTargetAvailable.
Referenced by GammaSpectraAnalysis_NoH_Task().
Definition at line 433 of file PndHypGeGammaAna.cxx.
References CalculatePeakWidth(), Double_t, and Rng.
Referenced by Exec().
|
protected |
Definition at line 607 of file PndHypGeGammaAna.cxx.
References h2AbsorptionDistanceAngle, hAbsorption, hGamEnergy, hGamEnergyTargetBackground, HistogramCosmetics(), HistogramCosmetics2D(), hNumberOfHits, hThetaCheck, and hThetaCheckPrimary.
Referenced by Finish().
|
protected |
Definition at line 69 of file PndHypGeGammaAna.h.
|
protected |
Definition at line 115 of file PndHypGeGammaAna.h.
Referenced by ActivateComptonCalculations(), Init(), and PndHypGeGammaAna().
|
protected |
Definition at line 121 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton().
|
protected |
Definition at line 112 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), FindPeaks(), and GetPeakContent().
|
protected |
Definition at line 119 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton().
|
protected |
Definition at line 114 of file PndHypGeGammaAna.h.
Referenced by GetPeakContent().
|
protected |
Definition at line 92 of file PndHypGeGammaAna.h.
|
protected |
Definition at line 81 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 82 of file PndHypGeGammaAna.h.
Referenced by Init(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 86 of file PndHypGeGammaAna.h.
Referenced by Exec(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 86 of file PndHypGeGammaAna.h.
Referenced by ~PndHypGeGammaAna().
|
protected |
Definition at line 88 of file PndHypGeGammaAna.h.
Referenced by Exec(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 80 of file PndHypGeGammaAna.h.
Referenced by ~PndHypGeGammaAna().
|
protected |
Definition at line 89 of file PndHypGeGammaAna.h.
Referenced by Exec(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 90 of file PndHypGeGammaAna.h.
Referenced by Exec().
|
protected |
Definition at line 79 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 96 of file PndHypGeGammaAna.h.
Referenced by Init().
|
protected |
Definition at line 83 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 104 of file PndHypGeGammaAna.h.
Referenced by Exec().
|
protected |
Definition at line 128 of file PndHypGeGammaAna.h.
Referenced by Exec(), PndHypGeGammaAna(), and SetTarget().
|
protected |
Definition at line 84 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 105 of file PndHypGeGammaAna.h.
Referenced by Exec().
|
protected |
Definition at line 94 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), Exec(), Init(), and PndHypGeGammaAna().
|
protected |
Definition at line 123 of file PndHypGeGammaAna.h.
Referenced by FitSpectrum(), and FittingOutput().
|
protected |
Definition at line 77 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and WriteHistogramsToFile().
|
protected |
Definition at line 76 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), WriteHistogramsToFile(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 71 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), Exec(), FindPeaks(), Finish(), FitSpectrum(), GetPeakContent(), Init(), WriteHistogramsToFile(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 72 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and WriteHistogramsToFile().
|
protected |
Definition at line 117 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), and Init().
|
protected |
Definition at line 73 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), WriteHistogramsToFile(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 74 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and WriteHistogramsToFile().
|
protected |
Definition at line 75 of file PndHypGeGammaAna.h.
Referenced by Exec(), Init(), and WriteHistogramsToFile().
|
protected |
Definition at line 95 of file PndHypGeGammaAna.h.
Referenced by Init().
|
protected |
Definition at line 101 of file PndHypGeGammaAna.h.
Referenced by Init().
|
protected |
Definition at line 116 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), and Init().
|
protected |
Definition at line 108 of file PndHypGeGammaAna.h.
Referenced by FindPeaks(), and PndHypGeGammaAna().
|
protected |
Definition at line 93 of file PndHypGeGammaAna.h.
Referenced by Exec(), FittingOutput(), Init(), and PndHypGeGammaAna().
|
protected |
Definition at line 120 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton().
|
protected |
Definition at line 109 of file PndHypGeGammaAna.h.
Referenced by FindPeaks(), and PndHypGeGammaAna().
|
protected |
Definition at line 66 of file PndHypGeGammaAna.h.
Referenced by CalculatePeakWidth(), PndHypGeGammaAna(), and SetPeakWidtchStrechFactor().
|
protected |
Definition at line 67 of file PndHypGeGammaAna.h.
Referenced by Exec(), GetPeakContent(), and Init().
|
protected |
Definition at line 110 of file PndHypGeGammaAna.h.
Referenced by FindPeaks(), FitSpectrum(), and GetPeakContent().
|
protected |
Definition at line 111 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), FindPeaks(), FitSpectrum(), and GetPeakContent().
|
protected |
Definition at line 64 of file PndHypGeGammaAna.h.
Referenced by CalculatePeakWidth(), and Init().
|
protected |
Definition at line 65 of file PndHypGeGammaAna.h.
Referenced by CalculatePeakWidth(), and Init().
|
protected |
Definition at line 97 of file PndHypGeGammaAna.h.
Referenced by Init(), SmearHit(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 103 of file PndHypGeGammaAna.h.
Referenced by Exec().
|
protected |
Definition at line 118 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton().
|
protected |
Definition at line 113 of file PndHypGeGammaAna.h.
Referenced by GetPeakContent().
|
protected |
Definition at line 60 of file PndHypGeGammaAna.h.
Referenced by CalculateCompton(), Finish(), FittingOutput(), GetPeakContent(), and Init().
|
protected |
Definition at line 59 of file PndHypGeGammaAna.h.
Referenced by Init(), and PndHypGeGammaAna().
|
protected |
Definition at line 62 of file PndHypGeGammaAna.h.
Referenced by Init(), PndHypGeGammaAna(), and SetOmegaQuadrupolMode().
|
protected |
Definition at line 125 of file PndHypGeGammaAna.h.
Referenced by FindPeaks(), and ~PndHypGeGammaAna().
|
protected |
Definition at line 126 of file PndHypGeGammaAna.h.
Referenced by FindPeaks(), and ~PndHypGeGammaAna().