FairRoot/PandaRoot
|
#include <PndRadMapBoxMesh.h>
Public Member Functions | |
PndRadMapBoxMesh () | |
PndRadMapBoxMesh (PndRadMapBoxMesh &m) | |
PndRadMapBoxMesh (const char *Name, int Xbins, Double_t Xlow, Double_t Xhigh, int Ybins, Double_t Ylow, Double_t Yhigh, int Zbins, Double_t Zlow, Double_t Zhigh) | |
PndRadMapBoxMesh (const char *name, int xbins, Double_t xlow, Double_t xhigh, int ybins, Double_t ylow, Double_t yhigh, Double_t zlow, Double_t zhigh, orientation plane=ZX, quantity Quantity=Edep) | |
~PndRadMapBoxMesh () | |
void | SetFilter (const char *filter) |
void | SetQuantity (quantity Quantity=Edep) |
void | SetOrientation (orientation plane, Double_t rotate=99999, axis Ax=Xx) |
void | SetOrientation (Double_t rotate=99999, axis Ax=Xx) |
void | SetVerbosityLevel (int verbose=0) |
void | Fill (FairRadMapPoint *p) |
void | Transform (Double_t X, Double_t Y, Double_t Z) |
void | Transform (Double_t X, Double_t Y, Double_t Z, Double_t &X0, Double_t &Y0, Double_t &Z0) |
void | Transform (TVector3 InV, TVector3 &OutV) |
void | Scale (Double_t sca) |
void | Save (TFile *fout) |
void | Save () |
TH2D * | GetHisto () |
PndRadMapPlane * | GetPlane () |
Double_t | CalcFluence (FairRadMapPoint *p) |
Protected Member Functions | |
bool | IsInside (Double_t X, Double_t Y, Double_t Z) |
bool | IsInside (FairRadMapPoint *p) |
bool | IsInside () |
void | Fill (Int_t gBin, Double_t val) |
void | Fill (Double_t X, Double_t Y, Double_t Z, Double_t we=1) |
void | makeHisto (const char *Orient, Double_t rotate, int Hbins, Double_t Hlow, Double_t Hhigh, int Vbins, Double_t Vlow, Double_t Vhigh, Double_t dlow) |
Protected Attributes | |
TH2D * | _MeshHisto |
TH2I * | _StatHisto |
TH2D * | _EnergyHisto |
TString | _Name |
orientation | _orientation |
Double_t | _rotate |
axis | _axis |
Double_t | _volume |
quantity | _quantity |
int | _Xbins |
Double_t | _Xlow |
Double_t | _Xhigh |
int | _Ybins |
Double_t | _Ylow |
Double_t | _Yhigh |
int | _Zbins |
Double_t | _Zlow |
Double_t | _Zhigh |
Double_t | _X |
Double_t | _Y |
Double_t | _Z |
Double_t | _tX |
Double_t | _tY |
Double_t | _tZ |
TFormula | _filter |
int | _verbose |
PndRadMapPlane * | _plane |
TVector3 | InterSection |
Private Attributes | |
bool | _isSurfaceQuantity |
TDatabasePDG * | pdg |
TParticlePDG * | pdgpart |
Definition at line 50 of file PndRadMapBoxMesh.h.
PndRadMapBoxMesh::PndRadMapBoxMesh | ( | ) |
PndRadMapBoxMesh::PndRadMapBoxMesh | ( | PndRadMapBoxMesh & | m | ) |
Definition at line 87 of file PndRadMapBoxMesh.cxx.
References _isSurfaceQuantity, _MeshHisto, _Name, _orientation, _plane, _rotate, _StatHisto, _volume, and pdg.
PndRadMapBoxMesh::PndRadMapBoxMesh | ( | const char * | Name, |
int | Xbins, | ||
Double_t | Xlow, | ||
Double_t | Xhigh, | ||
int | Ybins, | ||
Double_t | Ylow, | ||
Double_t | Yhigh, | ||
int | Zbins, | ||
Double_t | Zlow, | ||
Double_t | Zhigh | ||
) |
PndRadMapBoxMesh::PndRadMapBoxMesh | ( | const char * | name, |
int | xbins, | ||
Double_t | xlow, | ||
Double_t | xhigh, | ||
int | ybins, | ||
Double_t | ylow, | ||
Double_t | yhigh, | ||
Double_t | zlow, | ||
Double_t | zhigh, | ||
orientation | plane = ZX , |
||
quantity | Quantity = Edep |
||
) |
Definition at line 128 of file PndRadMapBoxMesh.cxx.
References _isSurfaceQuantity, _Name, _orientation, _verbose, _Xbins, _Xhigh, _Xlow, _Ybins, _Yhigh, _Ylow, _Zbins, _Zhigh, _Zlow, pdg, SetQuantity(), TString, XY, XZ, YX, YZ, ZX, and ZY.
PndRadMapBoxMesh::~PndRadMapBoxMesh | ( | ) |
Definition at line 228 of file PndRadMapBoxMesh.cxx.
References _MeshHisto, _StatHisto, and _verbose.
Double_t PndRadMapBoxMesh::CalcFluence | ( | FairRadMapPoint * | p | ) |
Definition at line 834 of file PndRadMapBoxMesh.cxx.
References _MeshHisto, _orientation, _StatHisto, _verbose, _Xhigh, _Xlow, _Yhigh, _Ylow, _Zhigh, _Zlow, counter, Double_t, dx, dy, dz, IsInside(), PndRadMapPlane::LineIntersection(), momentumfilter(), Transform(), verbose, X, XY, XZ, Y, YX, YZ, Z, ZX, and ZY.
void PndRadMapBoxMesh::Fill | ( | FairRadMapPoint * | p | ) |
Definition at line 459 of file PndRadMapBoxMesh.cxx.
References _EnergyHisto, _filter, _orientation, _plane, _quantity, _verbose, _volume, Density, Dose, Double_t, Edep, EnergyFluence, Fluence, Flux, InterSection, Kerma, PndRadMapPlane::LineIntersection(), Mass, mom, pdg, pdgpart, pid(), SimpleFluence, CAMath::Sqrt(), theta, Twos, val, XY, XZ, YX, YZ, ZX, and ZY.
Referenced by Fill().
|
protected |
Definition at line 643 of file PndRadMapBoxMesh.cxx.
References _MeshHisto, _orientation, _StatHisto, _verbose, _X, _Y, _Z, IsInside(), Transform(), XY, XZ, YX, YZ, ZX, and ZY.
TH2D * PndRadMapBoxMesh::GetHisto | ( | ) |
PndRadMapPlane * PndRadMapBoxMesh::GetPlane | ( | ) |
|
protected |
Definition at line 780 of file PndRadMapBoxMesh.cxx.
References _verbose, _Xhigh, _Xlow, _Yhigh, _Ylow, _Zhigh, _Zlow, ok, and Transform().
|
protected |
Definition at line 749 of file PndRadMapBoxMesh.cxx.
References _orientation, _verbose, _X, _Xhigh, _Xlow, _Y, _Yhigh, _Ylow, _Z, _Zhigh, _Zlow, ok, XY, XZ, YX, YZ, ZX, and ZY.
Referenced by CalcFluence(), and Fill().
|
protected |
Definition at line 805 of file PndRadMapBoxMesh.cxx.
References _axis, _EnergyHisto, _isSurfaceQuantity, _MeshHisto, _Name, _orientation, _plane, _rotate, _StatHisto, _verbose, and C().
Referenced by SetOrientation().
void PndRadMapBoxMesh::Save | ( | TFile * | fout | ) |
Definition at line 706 of file PndRadMapBoxMesh.cxx.
References _EnergyHisto, _isSurfaceQuantity, _MeshHisto, _StatHisto, _verbose, and TString.
void PndRadMapBoxMesh::Save | ( | ) |
Definition at line 728 of file PndRadMapBoxMesh.cxx.
References _EnergyHisto, _isSurfaceQuantity, _MeshHisto, _StatHisto, and _verbose.
void PndRadMapBoxMesh::Scale | ( | Double_t | sca | ) |
void PndRadMapBoxMesh::SetFilter | ( | const char * | filter | ) |
void PndRadMapBoxMesh::SetOrientation | ( | orientation | plane, |
Double_t | rotate = 99999 , |
||
axis | Ax = Xx |
||
) |
Definition at line 253 of file PndRadMapBoxMesh.cxx.
References _orientation, and _verbose.
Definition at line 262 of file PndRadMapBoxMesh.cxx.
References _axis, _isSurfaceQuantity, _Name, _orientation, _rotate, _verbose, _volume, _Xbins, _Xhigh, _Xlow, _Ybins, _Yhigh, _Ylow, _Zbins, _Zhigh, _Zlow, makeHisto(), verbose, XY, XZ, YX, YZ, ZX, and ZY.
Definition at line 247 of file PndRadMapBoxMesh.cxx.
References _quantity, and _verbose.
Referenced by PndRadMapBoxMesh().
void PndRadMapBoxMesh::SetVerbosityLevel | ( | int | verbose = 0 | ) |
Definition at line 339 of file PndRadMapBoxMesh.cxx.
References _verbose, _X, _Y, _Z, X, Y, and Z.
Referenced by CalcFluence(), Fill(), and IsInside().
void PndRadMapBoxMesh::Transform | ( | Double_t | X, |
Double_t | Y, | ||
Double_t | Z, | ||
Double_t & | X0, | ||
Double_t & | Y0, | ||
Double_t & | Z0 | ||
) |
Definition at line 348 of file PndRadMapBoxMesh.cxx.
References _axis, _orientation, _rotate, _verbose, CAMath::Cos(), Double_t, R, CAMath::Sin(), CAMath::Sqrt(), X, Xx, XY, XZ, Y, YX, Yy, YZ, Z, ZX, ZY, and Zz.
void PndRadMapBoxMesh::Transform | ( | TVector3 | InV, |
TVector3 & | OutV | ||
) |
|
protected |
Definition at line 107 of file PndRadMapBoxMesh.h.
Referenced by makeHisto(), SetOrientation(), and Transform().
|
protected |
Definition at line 102 of file PndRadMapBoxMesh.h.
Referenced by Fill(), makeHisto(), and Save().
|
protected |
Definition at line 121 of file PndRadMapBoxMesh.h.
Referenced by Fill(), PndRadMapBoxMesh(), and SetFilter().
|
private |
Definition at line 128 of file PndRadMapBoxMesh.h.
Referenced by makeHisto(), PndRadMapBoxMesh(), Save(), and SetOrientation().
|
protected |
Definition at line 100 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), Fill(), GetHisto(), makeHisto(), PndRadMapBoxMesh(), Save(), Scale(), and ~PndRadMapBoxMesh().
|
protected |
Definition at line 103 of file PndRadMapBoxMesh.h.
Referenced by makeHisto(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 105 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), Fill(), IsInside(), makeHisto(), PndRadMapBoxMesh(), SetOrientation(), and Transform().
|
protected |
Definition at line 124 of file PndRadMapBoxMesh.h.
Referenced by Fill(), GetPlane(), makeHisto(), and PndRadMapBoxMesh().
|
protected |
Definition at line 109 of file PndRadMapBoxMesh.h.
Referenced by Fill(), and SetQuantity().
|
protected |
Definition at line 106 of file PndRadMapBoxMesh.h.
Referenced by makeHisto(), PndRadMapBoxMesh(), SetOrientation(), and Transform().
|
protected |
Definition at line 101 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), Fill(), makeHisto(), PndRadMapBoxMesh(), Save(), and ~PndRadMapBoxMesh().
|
protected |
Definition at line 119 of file PndRadMapBoxMesh.h.
|
protected |
Definition at line 119 of file PndRadMapBoxMesh.h.
|
protected |
Definition at line 119 of file PndRadMapBoxMesh.h.
|
protected |
Definition at line 122 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), Fill(), GetHisto(), GetPlane(), IsInside(), makeHisto(), PndRadMapBoxMesh(), Save(), Scale(), SetFilter(), SetOrientation(), SetQuantity(), SetVerbosityLevel(), Transform(), and ~PndRadMapBoxMesh().
|
protected |
Definition at line 108 of file PndRadMapBoxMesh.h.
Referenced by Fill(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 118 of file PndRadMapBoxMesh.h.
Referenced by Fill(), IsInside(), and Transform().
|
protected |
Definition at line 111 of file PndRadMapBoxMesh.h.
Referenced by PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 112 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), IsInside(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 112 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), IsInside(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 118 of file PndRadMapBoxMesh.h.
Referenced by Fill(), IsInside(), and Transform().
|
protected |
Definition at line 113 of file PndRadMapBoxMesh.h.
Referenced by PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 114 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), IsInside(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 114 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), IsInside(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 118 of file PndRadMapBoxMesh.h.
Referenced by Fill(), IsInside(), and Transform().
|
protected |
Definition at line 115 of file PndRadMapBoxMesh.h.
Referenced by PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 116 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), IsInside(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 116 of file PndRadMapBoxMesh.h.
Referenced by CalcFluence(), IsInside(), PndRadMapBoxMesh(), and SetOrientation().
|
protected |
Definition at line 125 of file PndRadMapBoxMesh.h.
Referenced by Fill().
|
private |
Definition at line 129 of file PndRadMapBoxMesh.h.
Referenced by Fill(), and PndRadMapBoxMesh().
|
private |
Definition at line 130 of file PndRadMapBoxMesh.h.
Referenced by Fill().