This object is used to compute calibration energy deposits in the dead material.
More...
#include <CaloDmDescrArea.h>
|
enum | DmArea {
DMA_ALL,
DMA_EMB0,
DMA_EMB1,
DMA_EMB_HALVES,
DMA_EMB3_TILE0,
DMA_SCN,
DMA_EME_EXT,
DMA_EME0,
DMA_EME11,
DMA_EME12,
DMA_EME13,
DMA_EME14,
DMA_EME_INNER_OUTER,
DMA_EME3_HEC0,
DMA_HECWHEEL,
DMA_HEC_AZIMUTH,
DMA_HEC_FCAL,
DMA_FCAL0_FCAL1,
DMA_FCAL1_FCAL2,
DMA_FCAL0,
DMA_LEAK,
DMA_DEFCALC,
DMA_UNCLASS,
DMA_MAX
} |
|
This object is used to compute calibration energy deposits in the dead material.
- Author
- Gennady Pospelov guenn.nosp@m.adi..nosp@m.pospe.nosp@m.lov@.nosp@m.cern..nosp@m.ch
- Date
- 27-January-2010 It serves to centralize the naming conventions for dead material areas outside of calorimeter instrumented regions.
Definition at line 19 of file CaloDmDescrArea.h.
◆ DmArea
Enumerator |
---|
DMA_ALL | |
DMA_EMB0 | |
DMA_EMB1 | |
DMA_EMB_HALVES | |
DMA_EMB3_TILE0 | |
DMA_SCN | |
DMA_EME_EXT | |
DMA_EME0 | |
DMA_EME11 | |
DMA_EME12 | |
DMA_EME13 | |
DMA_EME14 | |
DMA_EME_INNER_OUTER | |
DMA_EME3_HEC0 | |
DMA_HECWHEEL | |
DMA_HEC_AZIMUTH | |
DMA_HEC_FCAL | |
DMA_FCAL0_FCAL1 | |
DMA_FCAL1_FCAL2 | |
DMA_FCAL0 | |
DMA_LEAK | |
DMA_DEFCALC | |
DMA_UNCLASS | |
DMA_MAX | |
Definition at line 23 of file CaloDmDescrArea.h.
◆ CaloDmDescrArea()
CaloDmDescrArea::CaloDmDescrArea |
( |
| ) |
|
|
default |
◆ ~CaloDmDescrArea()
CaloDmDescrArea::~CaloDmDescrArea |
( |
| ) |
|
|
default |
◆ getArea()
int CaloDmDescrArea::getArea |
( |
const int & |
dmkey, |
|
|
const float & |
eta |
|
) |
| |
|
static |
Definition at line 25 of file CaloDmDescrArea.cxx.
29 float eta = std::abs(xeta);
31 if(
key >=4101 &&
key <=4105) {
34 }
else if (
eta>=1.5 &&
eta<1.6){
36 }
else if (
eta>=1.6 &&
eta<1.8){
38 }
else if (
eta>=1.8 &&
eta<2.5){
40 }
else if (
eta>=2.5 &&
eta<3.2){
42 }
else if (
eta>=3.2) {
45 }
else if(
key==4110 ||
key==4111 ||
key==4112) {
47 }
else if(
key==4113) {
49 }
else if(
key==4114 ||
key==4122 ||
key==4121 ||
key==5110 ||
key==5111) {
51 }
else if(
key==4115) {
53 }
else if(
key==4116) {
63 }
else if(
key==4120 ||
key==5100) {
65 }
else if(
key==4123) {
67 }
else if(
key==4125 ||
key==5101) {
69 }
else if((
key >=4130 &&
key<=4132) ||
key==5130) {
71 }
else if(
key == 4202 ||
key == 4203 ||
key == 4212 ||
key == 4213
72 ||
key == 4222 ||
key == 4223 ||
key == 4232 ||
key == 4233 ) {
74 }
else if(
key == 4204 ||
key == 4214 ||
key==4224 ||
key == 4234) {
76 }
else if(
key == 4117 ||
key==4205 ||
key==4215 ) {
78 }
else if(
key == 4225) {
80 }
else if(
key == 4235) {
82 }
else if(
key == 4100) {
84 }
else if(
key == 4124) {
86 }
else if(
key == 4200 ||
key == 4210||
key == 4220||
key == 4230) {
88 }
else if(
key == 4201 ||
key == 4211||
key == 4221||
key == 4231) {
90 }
else if(
key == 5120 ||
key == 5121||
key == 5122 ||
key == 5112) {
92 }
else if(
key == 5200) {
97 std::cout <<
" CaloDmDescrArea::getArea() -> Warning! Can not classify dead material hit," <<
" key:" <<
key <<
" eta:" <<
eta << std::endl;
The documentation for this class was generated from the following files: