PandaRoot
PndHypGeGammaAna Class Reference

#include <PndHypGeGammaAna.h>

Inheritance diagram for PndHypGeGammaAna:

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)
 

Protected Attributes

TString TxtFileName
 
ofstream TxtFile
 
Bool_t useOmegaQuadrupolMode
 
Double_t ResConstPar
 
Double_t ResGradientPar
 
Double_t PeakWidtchStrechFactor
 
Double_t PeakWidth
 
Double_t bufferEnergy
 
TH1D * hGamEnergy
 
TH1D * hGamEnergyTargetBackground
 
TH1D * hNumberOfHits
 
TH1D * hThetaCheck
 
TH1D * hThetaCheckPrimary
 
TH1D * hAbsorption
 
TH2D * h2AbsorptionDistanceAngle
 
TClonesArray * fMcTr
 
TClonesArray * fMc
 
TClonesArray * fGe
 
TClonesArray * fGeAl
 
TClonesArray * fSilicon
 
TClonesArray * fTargetOther
 
PndHypGePointfHitGe
 
PndHypPointfHitSi
 
PndHypPointfHitTargetOther
 
PndMCTrackfMCGam
 
PndMCTrackfMCGamPrimary
 
Long_t EvtCount
 
Long_t NumberOfEvents
 
Double_t GammaEnergy
 
Double_t iHistoUpperLimit
 
TString fName
 
FairRootManager * ioman
 
std::set< int > SetOfCrystalHit
 
TVector3 fStartVertex
 
TString fVertexVolumeName
 
Int_t nPeaks
 
Int_t PeakToLook
 
Double_t PeakX
 
Double_t PeakY
 
Double_t DPeakY
 
Double_t SumPeak
 
Double_t DSumPeak
 
Bool_t DoComptonCalculations
 
Double_t lowComptonAngle
 
Double_t highComptonAngle
 
Double_t SumCompton
 
Double_t DSumCompton
 
Double_t PeakToCompton
 
Double_t DPeakToCompton
 
TF1 * GausBG
 
Float_t * xpeaks
 
Float_t * ypeaks
 
Bool_t fTargetAvailable
 

Detailed Description

Definition at line 25 of file PndHypGeGammaAna.h.

Constructor & Destructor Documentation

◆ PndHypGeGammaAna() [1/2]

PndHypGeGammaAna::PndHypGeGammaAna ( )

◆ PndHypGeGammaAna() [2/2]

PndHypGeGammaAna::PndHypGeGammaAna ( TString  TxtFileName_Ext,
Double_t  GammaEnergy_Ext,
Int_t  nEvents = 0,
Int_t  nPeaks_Ext = 1,
Int_t  PeakToLook_Ext = 1 
)

◆ ~PndHypGeGammaAna()

PndHypGeGammaAna::~PndHypGeGammaAna ( )

Member Function Documentation

◆ ActivateComptonCalculations()

void PndHypGeGammaAna::ActivateComptonCalculations ( Bool_t  isActivated = 1)
protected

◆ CalculateCompton()

void PndHypGeGammaAna::CalculateCompton ( )
protected

◆ CalculatePeakWidth()

Double_t PndHypGeGammaAna::CalculatePeakWidth ( Double_t  Energy)
protected

◆ ClassDef()

PndHypGeGammaAna::ClassDef ( PndHypGeGammaAna  ,
 
)
protected

◆ Compton()

Double_t PndHypGeGammaAna::Compton ( Double_t  E,
Double_t  Th 
)
protected

◆ Exec()

virtual void PndHypGeGammaAna::Exec ( Option_t *  opt)
virtual

◆ FindPeaks()

void PndHypGeGammaAna::FindPeaks ( )
protected

◆ Finish()

void PndHypGeGammaAna::Finish ( )

◆ FitSpectrum()

void PndHypGeGammaAna::FitSpectrum ( )
protected

◆ FittingOutput()

void PndHypGeGammaAna::FittingOutput ( )
protected

◆ GetPeakContent()

void PndHypGeGammaAna::GetPeakContent ( )
protected

◆ HistogramCosmetics()

void PndHypGeGammaAna::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 
)
protected

◆ HistogramCosmetics2D()

void PndHypGeGammaAna::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 
)
protected

◆ Init()

virtual InitStatus PndHypGeGammaAna::Init ( )
virtual

◆ InTargetAbsorbedGammaWouldHitGermanium()

bool PndHypGeGammaAna::InTargetAbsorbedGammaWouldHitGermanium ( )
protected

◆ invCompton()

Double_t PndHypGeGammaAna::invCompton ( Double_t  E,
Double_t  Eprime 
)
protected

◆ SetOmegaQuadrupolMode()

void PndHypGeGammaAna::SetOmegaQuadrupolMode ( Bool_t  useOmegaQuadrupolMode_ext = 1)

◆ SetParContainers()

void PndHypGeGammaAna::SetParContainers ( )

◆ SetPeakWidtchStrechFactor()

void PndHypGeGammaAna::SetPeakWidtchStrechFactor ( Double_t  PeakWidtchStrechFactor_ext = 1)

◆ SetTarget()

void PndHypGeGammaAna::SetTarget ( Bool_t  TargetAvailable = 1)

◆ SmearHit()

Double_t PndHypGeGammaAna::SmearHit ( Double_t  Energy)
protected

◆ WriteHistogramsToFile()

void PndHypGeGammaAna::WriteHistogramsToFile ( )
protected

Member Data Documentation

◆ bufferEnergy

Double_t PndHypGeGammaAna::bufferEnergy
protected

Definition at line 67 of file PndHypGeGammaAna.h.

◆ DoComptonCalculations

Bool_t PndHypGeGammaAna::DoComptonCalculations
protected

Definition at line 113 of file PndHypGeGammaAna.h.

◆ DPeakToCompton

Double_t PndHypGeGammaAna::DPeakToCompton
protected

Definition at line 119 of file PndHypGeGammaAna.h.

◆ DPeakY

Double_t PndHypGeGammaAna::DPeakY
protected

Definition at line 110 of file PndHypGeGammaAna.h.

◆ DSumCompton

Double_t PndHypGeGammaAna::DSumCompton
protected

Definition at line 117 of file PndHypGeGammaAna.h.

◆ DSumPeak

Double_t PndHypGeGammaAna::DSumPeak
protected

Definition at line 112 of file PndHypGeGammaAna.h.

◆ EvtCount

Long_t PndHypGeGammaAna::EvtCount
protected

Definition at line 91 of file PndHypGeGammaAna.h.

◆ fGe

TClonesArray* PndHypGeGammaAna::fGe
protected

Definition at line 79 of file PndHypGeGammaAna.h.

◆ fGeAl

TClonesArray* PndHypGeGammaAna::fGeAl
protected

Definition at line 80 of file PndHypGeGammaAna.h.

◆ fHitGe

PndHypGePoint* PndHypGeGammaAna::fHitGe
protected

Definition at line 84 of file PndHypGeGammaAna.h.

◆ fHitSi

PndHypPoint* PndHypGeGammaAna::fHitSi
protected

Definition at line 85 of file PndHypGeGammaAna.h.

◆ fHitTargetOther

PndHypPoint* PndHypGeGammaAna::fHitTargetOther
protected

Definition at line 87 of file PndHypGeGammaAna.h.

◆ fMc

TClonesArray* PndHypGeGammaAna::fMc
protected

Definition at line 78 of file PndHypGeGammaAna.h.

◆ fMCGam

PndMCTrack* PndHypGeGammaAna::fMCGam
protected

Definition at line 88 of file PndHypGeGammaAna.h.

◆ fMCGamPrimary

PndMCTrack* PndHypGeGammaAna::fMCGamPrimary
protected

Definition at line 89 of file PndHypGeGammaAna.h.

◆ fMcTr

TClonesArray* PndHypGeGammaAna::fMcTr
protected

Definition at line 77 of file PndHypGeGammaAna.h.

◆ fName

TString PndHypGeGammaAna::fName
protected

Definition at line 95 of file PndHypGeGammaAna.h.

◆ fSilicon

TClonesArray* PndHypGeGammaAna::fSilicon
protected

Definition at line 81 of file PndHypGeGammaAna.h.

◆ fStartVertex

TVector3 PndHypGeGammaAna::fStartVertex
protected

Definition at line 102 of file PndHypGeGammaAna.h.

◆ fTargetAvailable

Bool_t PndHypGeGammaAna::fTargetAvailable
protected

Definition at line 126 of file PndHypGeGammaAna.h.

◆ fTargetOther

TClonesArray* PndHypGeGammaAna::fTargetOther
protected

Definition at line 82 of file PndHypGeGammaAna.h.

◆ fVertexVolumeName

TString PndHypGeGammaAna::fVertexVolumeName
protected

Definition at line 103 of file PndHypGeGammaAna.h.

◆ GammaEnergy

Double_t PndHypGeGammaAna::GammaEnergy
protected

Definition at line 93 of file PndHypGeGammaAna.h.

◆ GausBG

TF1* PndHypGeGammaAna::GausBG
protected

Definition at line 121 of file PndHypGeGammaAna.h.

◆ h2AbsorptionDistanceAngle

TH2D* PndHypGeGammaAna::h2AbsorptionDistanceAngle
protected

Definition at line 75 of file PndHypGeGammaAna.h.

◆ hAbsorption

TH1D* PndHypGeGammaAna::hAbsorption
protected

Definition at line 74 of file PndHypGeGammaAna.h.

◆ hGamEnergy

TH1D* PndHypGeGammaAna::hGamEnergy
protected

Definition at line 69 of file PndHypGeGammaAna.h.

◆ hGamEnergyTargetBackground

TH1D* PndHypGeGammaAna::hGamEnergyTargetBackground
protected

Definition at line 70 of file PndHypGeGammaAna.h.

◆ highComptonAngle

Double_t PndHypGeGammaAna::highComptonAngle
protected

Definition at line 115 of file PndHypGeGammaAna.h.

◆ hNumberOfHits

TH1D* PndHypGeGammaAna::hNumberOfHits
protected

Definition at line 71 of file PndHypGeGammaAna.h.

◆ hThetaCheck

TH1D* PndHypGeGammaAna::hThetaCheck
protected

Definition at line 72 of file PndHypGeGammaAna.h.

◆ hThetaCheckPrimary

TH1D* PndHypGeGammaAna::hThetaCheckPrimary
protected

Definition at line 73 of file PndHypGeGammaAna.h.

◆ iHistoUpperLimit

Double_t PndHypGeGammaAna::iHistoUpperLimit
protected

Definition at line 94 of file PndHypGeGammaAna.h.

◆ ioman

FairRootManager* PndHypGeGammaAna::ioman
protected

Definition at line 99 of file PndHypGeGammaAna.h.

◆ lowComptonAngle

Double_t PndHypGeGammaAna::lowComptonAngle
protected

Definition at line 114 of file PndHypGeGammaAna.h.

◆ nPeaks

Int_t PndHypGeGammaAna::nPeaks
protected

Definition at line 106 of file PndHypGeGammaAna.h.

◆ NumberOfEvents

Long_t PndHypGeGammaAna::NumberOfEvents
protected

Definition at line 92 of file PndHypGeGammaAna.h.

◆ PeakToCompton

Double_t PndHypGeGammaAna::PeakToCompton
protected

Definition at line 118 of file PndHypGeGammaAna.h.

◆ PeakToLook

Int_t PndHypGeGammaAna::PeakToLook
protected

Definition at line 107 of file PndHypGeGammaAna.h.

◆ PeakWidtchStrechFactor

Double_t PndHypGeGammaAna::PeakWidtchStrechFactor
protected

Definition at line 64 of file PndHypGeGammaAna.h.

◆ PeakWidth

Double_t PndHypGeGammaAna::PeakWidth
protected

Definition at line 65 of file PndHypGeGammaAna.h.

◆ PeakX

Double_t PndHypGeGammaAna::PeakX
protected

Definition at line 108 of file PndHypGeGammaAna.h.

◆ PeakY

Double_t PndHypGeGammaAna::PeakY
protected

Definition at line 109 of file PndHypGeGammaAna.h.

◆ ResConstPar

Double_t PndHypGeGammaAna::ResConstPar
protected

Definition at line 62 of file PndHypGeGammaAna.h.

◆ ResGradientPar

Double_t PndHypGeGammaAna::ResGradientPar
protected

Definition at line 63 of file PndHypGeGammaAna.h.

◆ SetOfCrystalHit

std::set<int> PndHypGeGammaAna::SetOfCrystalHit
protected

Definition at line 101 of file PndHypGeGammaAna.h.

◆ SumCompton

Double_t PndHypGeGammaAna::SumCompton
protected

Definition at line 116 of file PndHypGeGammaAna.h.

◆ SumPeak

Double_t PndHypGeGammaAna::SumPeak
protected

Definition at line 111 of file PndHypGeGammaAna.h.

◆ TxtFile

ofstream PndHypGeGammaAna::TxtFile
protected

Definition at line 58 of file PndHypGeGammaAna.h.

◆ TxtFileName

TString PndHypGeGammaAna::TxtFileName
protected

Definition at line 57 of file PndHypGeGammaAna.h.

◆ useOmegaQuadrupolMode

Bool_t PndHypGeGammaAna::useOmegaQuadrupolMode
protected

Definition at line 60 of file PndHypGeGammaAna.h.

◆ xpeaks

Float_t* PndHypGeGammaAna::xpeaks
protected

Definition at line 123 of file PndHypGeGammaAna.h.

◆ ypeaks

Float_t* PndHypGeGammaAna::ypeaks
protected

Definition at line 124 of file PndHypGeGammaAna.h.


The documentation for this class was generated from the following file: