![]() |
Belle II Software
release-08-02-04
|
Class for obtaining crystal details for a given crystal cell An evolved look-up table. More...
#include <ECLCrystalData.h>
Public Member Functions | |
| ECLCrystalData () | |
| Blank Constructor. More... | |
| ECLCrystalData (int cid) | |
| CrystalID constructor. | |
| ECLCrystalData (int tid, int pid) | |
| theta, phi ID constructor | |
| ~ECLCrystalData () | |
| destructor | |
| void | Eval () |
| Set values for the crystal. More... | |
| int | GetCrystalIndex () |
| return crystal index | |
| bool | IsEndCap () |
| True if crystal is in endcaps. | |
| bool | IsBarrel () |
| True if crystal is in barrel. | |
| int | GetCellID () |
| return cell ID | |
| int | GetCellID (int tid, int pid) |
| return cell ID of crystal with given theta and phi id More... | |
| double | GetPhi () |
| get phi value of crystal | |
| double | GetTheta () |
| get theta value of crystal | |
| double | GetR () |
| get radius of crystal | |
| double | GetZ () |
| get z position of crystal | |
| double | GetX () |
| get x position of crystal | |
| double | GetY () |
| get y position of crystal | |
| double | GetMass () |
| get mass of crystal | |
| int | GetThetaID () |
| get thetaID of crystal | |
| int | GetPhiID () |
| get phiID of crystal | |
| int | GetNperThetaID () |
| get number of crystals in theta ring | |
Static Public Attributes | |
| static const int | Ring [69] |
| ECL has 16-fold symmetry in phi. More... | |
| static const int | sumPrevious [24] = {0, 3, 6, 10, 14, 18, 24, 30, 36, 42, 48, 54, 63, 72, 81, 90, 96, 102, 108, 114, 120, 124, 128, 132} |
| Number of crystals in preceding theta rings (endcaps only) | |
| static const float | CrystalMassEndcap [132] |
| Barrel crystal mass. More... | |
| static const float | CrystalMassBarrel [46] |
| Endcap crystal mass. More... | |
| static const double | theta [69] |
| Theta ID to theta(deg) More... | |
| static const double | EndcapRadius [132] |
| EndCapCrystalID to radius (spherical) More... | |
| static const double | BarrelZ [46] = {210.15, 200.14, 190.44, 181.05, 171.95, 163.03, 154.45, 146.10, 137.98, 129.99, 122.27, 114.72, 107.34, 100.05, 92.96, 86.00, 79.15, 72.36, 65.72, 59.16, 52.69, 46.22, 39.87, 33.56, 27.29, 21.01, 14.81, 8.62, 2.78, -2.78, -14.81, -21.01, -27.29, -33.56, -39.87, -46.22, -52.69, -59.16, -65.72, -72.36, -79.15, -86.00, -92.95, -100.05, -107 - 28} |
| BarrelCrystalID to z-coordinate. More... | |
Private Member Functions | |
| float | EvalMass () |
| Evaluate mass of crystal. | |
| double | EvalPhi () |
| Set phi value of crystal. | |
| double | EvalR () |
| Set R value of crystal. | |
| double | EvalZ () |
| Set Z value of crystal. | |
| double | EvalX () |
| Set X value of crystal. | |
| double | EvalY () |
| Set Y value of crystal. | |
| void | Mapping (int cid) |
| set theta and phi value of crystal | |
Private Attributes | |
| int | m_cell_ID |
| Cell ID of crystal. | |
| int | m_phi_ID |
| phi ID of crystal | |
| int | m_theta_ID |
| theta ID of crystal | |
| int | m_phi_idx |
| Index. | |
| int | m_theta_idx |
| Index. | |
| float | m_mass |
| Crystal Mass. | |
| float | m_volume |
| Crystal Volume. | |
| float | m_PosR |
| Crystal Position - R. | |
| float | m_PosP |
| Crystal Position - P. | |
| float | m_PosX |
| Crystal Position - X. | |
| float | m_PosY |
| Crystal Position - Y. | |
| float | m_PosZ |
| Crystal Position - Z. | |
Class for obtaining crystal details for a given crystal cell An evolved look-up table.
Definition at line 24 of file ECLCrystalData.h.
| ECLCrystalData | ( | ) |
| void Eval | ( | ) |
Set values for the crystal.
Evaluate all properties from theta_ID and phi_ID.
Definition at line 152 of file ECLCrystalData.cc.
| int GetCellID | ( | int | tid, |
| int | pid | ||
| ) |
return cell ID of crystal with given theta and phi id
0-12 forward 13-58 barrel 59-68 backward
Definition at line 248 of file ECLCrystalData.cc.
|
static |
BarrelCrystalID to z-coordinate.
BarrelCrystalID to Z.
Definition at line 96 of file ECLCrystalData.h.
|
static |
Endcap crystal mass.
Definition at line 86 of file ECLCrystalData.h.
|
static |
Barrel crystal mass.
Definition at line 84 of file ECLCrystalData.h.
|
static |
EndCapCrystalID to radius (spherical)
Definition at line 93 of file ECLCrystalData.h.
|
static |
ECL has 16-fold symmetry in phi.
Multiply this by 16 to get the total number of crystals at each theta location.
Definition at line 79 of file ECLCrystalData.h.
|
static |
Theta ID to theta(deg)
Definition at line 90 of file ECLCrystalData.h.