ATLAS Offline Software
TrigT1CaloDefs.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 /***************************************************************************
5  TrigT1CaloDefs.cxx - description
6  -------------------
7  begin : Mon Apr 22 2002
8  email : e.moyse@qmul.ac.uk
9  ***************************************************************************/
10 
11 #ifndef TRIGGERSPACE
12 //running in Athena
14 #else
15 //TRIGGERSPACE
16 #include "TrigT1CaloDefs.h"
17 #endif
18 
19 #include <math.h>
20 
21 namespace LVL1 {
22 
23 
24 #ifndef TRIGGERSPACE
25 //General Default locations:
26 const std::string TrigT1CaloDefs::CaloCellContainerLocation="AllCalo";
27 
28 const std::string TrigT1CaloDefs::AtlfastCellContainerLocation="/Event/AtlfastCells";
29 
30 const std::string TrigT1CaloDefs::TriggerTowerLocation="TriggerTowers";
31 const std::string TrigT1CaloDefs::xAODTriggerTowerLocation="xAODTriggerTowers";
32 const std::string TrigT1CaloDefs::xAODTriggerTowerRerunLocation="xAODTriggerTowers_rerun";
33 const std::string TrigT1CaloDefs::JetElementLocation="JetElements";
34 const std::string TrigT1CaloDefs::CPMTowerLocation="CPMTowers";
35 const std::string TrigT1CaloDefs::xAODZdcModuleLocation="ZdcModules";
36 const std::string TrigT1CaloDefs::ZdcLucrodDataContainer="ZdcLucrodDataContainer";
37 
38 const std::string TrigT1CaloDefs::CPMHitsLocation="CPMHits";
39 const std::string TrigT1CaloDefs::JEMHitsLocation="JEMHits";
40 const std::string TrigT1CaloDefs::JEMEtSumsLocation="JEMEtSums";
41 
42 const std::string TrigT1CaloDefs::CPMCMXDataLocation="CPCMXData";
43 const std::string TrigT1CaloDefs::JetCMXDataLocation="JetCMXData";
44 const std::string TrigT1CaloDefs::EnergyCMXDataLocation="EnergyCMXData";
45 
46 const std::string TrigT1CaloDefs::CMMJetHitsLocation="CMMJetHits";
47 const std::string TrigT1CaloDefs::CMMEtSumsLocation="CMMEtSums";
48 const std::string TrigT1CaloDefs::CMMCPHitsLocation="CMMCPHits";
49 const std::string TrigT1CaloDefs::CMMRoILocation="CMMRoIs";
50 const std::string TrigT1CaloDefs::CMXJetTobLocation="CMXJetTobs";
51 const std::string TrigT1CaloDefs::CMXJetHitsLocation="CMXJetHits";
52 const std::string TrigT1CaloDefs::CMXEtSumsLocation="CMXEtSums";
53 const std::string TrigT1CaloDefs::CMXCPTobLocation="CMXCPTobs";
54 const std::string TrigT1CaloDefs::CMXCPHitsLocation="CMXCPHits";
55 const std::string TrigT1CaloDefs::CMXRoILocation="CMXRoIs";
56 const std::string TrigT1CaloDefs::CPMRoILocation="CPMRoIs";
57 const std::string TrigT1CaloDefs::CPMTobRoILocation="CPMTobRoIs";
58 const std::string TrigT1CaloDefs::JEMRoILocation="JEMRoIs";
59 const std::string TrigT1CaloDefs::JEMTobRoILocation="JEMTobRoIs";
60 const std::string TrigT1CaloDefs::CPBSCollectionLocation="CPBSCollection";
61 const std::string TrigT1CaloDefs::JEPBSCollectionLocation="JEPBSCollection";
62 const std::string TrigT1CaloDefs::JEPRoIBSCollectionLocation="JEPRoIBSCollection";
63 const std::string TrigT1CaloDefs::RODHeaderLocation="RODHeaders";
64 
65 const std::string TrigT1CaloDefs::JetROILocation="JetROIs";
66 const std::string TrigT1CaloDefs::EnergyROILocation="EnergyROIs";
67 const std::string TrigT1CaloDefs::EmTauROILocation="EmTauROIs";
68 const std::string TrigT1CaloDefs::JetEtROILocation="JetEtROIs";
69 
70 const std::string TrigT1CaloDefs::EmTauCTPLocation="CaloTriggerDataLocation_EmTauCTP";
71 const std::string TrigT1CaloDefs::JetCTPLocation="CaloTriggerDataLocation_JetCTP";
72 const std::string TrigT1CaloDefs::EnergyCTPLocation="CaloTriggerDataLocation_EnergyCTP";
73 const std::string TrigT1CaloDefs::ZdcCTPLocation = "L1ZDCtoCTPLocation";
74 
75 const std::string TrigT1CaloDefs::EmTauSlinkLocation="CaloTriggerDataLocation_EmTauSlink";
76 const std::string TrigT1CaloDefs::jepSlinkLocation="CaloTriggerDataLocation_JEPSlink";
77 const std::string TrigT1CaloDefs::energySlinkLocation="CaloTriggerDataLocation_JEPEnergySlink";
78 
79 const std::string TrigT1CaloDefs::EmTauTopoTobLocation="EmTauTopoTOBs";
80 const std::string TrigT1CaloDefs::JetTopoTobLocation="JetTopoTOBs";
81 const std::string TrigT1CaloDefs::EnergyTopoDataLocation="EnergyTopoData";
82 
83 const std::string TrigT1CaloDefs::CTPCaloConfigLocation="/Run/CaloTrigConfig";
84 const std::string TrigT1CaloDefs::CTPJetEnergyConfigLocation="/Run/JetEnergyTrigConfig";
85 
86 #endif
87 
88 
89 
90 //JetElementKey specific
91 const double TrigT1CaloDefs::Region0EtaCentre=2.1;// this is an exception
92 const double TrigT1CaloDefs::Region1EtaCentre=2.3;
93 const double TrigT1CaloDefs::Region2EtaCentre=2.55;
94 const double TrigT1CaloDefs::Region3EtaCentre=2.8;
95 const double TrigT1CaloDefs::Region4EtaCentre=3.05;
96 const double TrigT1CaloDefs::Region5EtaCentre=4.05;
97 
98 // TrigT1CaloDefs::RegionERROREtaBin defined in header.
100 
101 const double TrigT1CaloDefs::Region0Width=0.2;
102 const double TrigT1CaloDefs::Region1Width=0.2;
103 const double TrigT1CaloDefs::Region2Width=0.3;
104 const double TrigT1CaloDefs::Region3Width=0.2;
105 const double TrigT1CaloDefs::Region4Width=0.3;
106 const double TrigT1CaloDefs::Region5Width=1.7;
107 
108 const double TrigT1CaloDefs::Region0Height=M_PI/16;
109 const double TrigT1CaloDefs::Region1Height=M_PI/16;
110 const double TrigT1CaloDefs::Region2Height=M_PI/16;
111 const double TrigT1CaloDefs::Region3Height=M_PI/16;
112 const double TrigT1CaloDefs::Region4Height=M_PI/16;
113 const double TrigT1CaloDefs::Region5Height=M_PI/8;
114 
115 // FCAL (region 5) has different phi granularity for jet and ET triggers
116 const double TrigT1CaloDefs::Region5JetHeight=M_PI/16;
117 
118 // geometrical info
119 const double TrigT1CaloDefs::cpmPhiSize=M_PI/2;
120 const double TrigT1CaloDefs::cpmEtaSize=0.4;
121 const double TrigT1CaloDefs::jemPhiSize=M_PI/2;
122 const double TrigT1CaloDefs::jemEtaSize=0.8; //note, end JEMs are larger.
123 
124 
125 }//end ns;
126 
127 
LVL1::TrigT1CaloDefs::Region3EtaCentre
static const double Region3EtaCentre
Definition: TrigT1CaloDefs.h:99
LVL1::TrigT1CaloDefs::Region0Height
static const double Region0Height
Definition: TrigT1CaloDefs.h:112
LVL1::TrigT1CaloDefs::JEMRoILocation
static const std::string JEMRoILocation
Definition: TrigT1CaloDefs.h:63
LVL1::TrigT1CaloDefs::Region4Width
static const double Region4Width
Definition: TrigT1CaloDefs.h:109
LVL1::TrigT1CaloDefs::RODHeaderLocation
static const std::string RODHeaderLocation
Definition: TrigT1CaloDefs.h:68
LVL1::TrigT1CaloDefs::energySlinkLocation
static const std::string energySlinkLocation
Definition: TrigT1CaloDefs.h:84
LVL1::TrigT1CaloDefs::Region5Width
static const double Region5Width
Definition: TrigT1CaloDefs.h:110
LVL1::TrigT1CaloDefs::EmTauCTPLocation
static const std::string EmTauCTPLocation
Definition: TrigT1CaloDefs.h:77
LVL1::TrigT1CaloDefs::EnergyCMXDataLocation
static const std::string EnergyCMXDataLocation
Definition: TrigT1CaloDefs.h:45
LVL1::TrigT1CaloDefs::CMXJetTobLocation
static const std::string CMXJetTobLocation
Definition: TrigT1CaloDefs.h:55
LVL1::TrigT1CaloDefs::Region2Width
static const double Region2Width
Definition: TrigT1CaloDefs.h:107
LVL1::TrigT1CaloDefs::CPBSCollectionLocation
static const std::string CPBSCollectionLocation
Definition: TrigT1CaloDefs.h:65
LVL1::TrigT1CaloDefs::ZdcLucrodDataContainer
static const std::string ZdcLucrodDataContainer
Definition: TrigT1CaloDefs.h:41
LVL1::TrigT1CaloDefs::jemEtaSize
static const double jemEtaSize
Definition: TrigT1CaloDefs.h:140
M_PI
#define M_PI
Definition: ActiveFraction.h:11
LVL1::TrigT1CaloDefs::ZdcCTPLocation
static const std::string ZdcCTPLocation
Definition: TrigT1CaloDefs.h:80
LVL1::TrigT1CaloDefs::CMXJetHitsLocation
static const std::string CMXJetHitsLocation
Definition: TrigT1CaloDefs.h:56
LVL1::TrigT1CaloDefs::CMXRoILocation
static const std::string CMXRoILocation
Definition: TrigT1CaloDefs.h:60
LVL1::TrigT1CaloDefs::CMXCPTobLocation
static const std::string CMXCPTobLocation
Definition: TrigT1CaloDefs.h:58
LVL1::TrigT1CaloDefs::JEMTobRoILocation
static const std::string JEMTobRoILocation
Definition: TrigT1CaloDefs.h:64
LVL1::TrigT1CaloDefs::cpmEtaSize
static const double cpmEtaSize
Definition: TrigT1CaloDefs.h:138
LVL1::TrigT1CaloDefs::JEMHitsLocation
static const std::string JEMHitsLocation
Definition: TrigT1CaloDefs.h:48
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::TrigT1CaloDefs::CaloCellContainerLocation
static const std::string CaloCellContainerLocation
Definition: TrigT1CaloDefs.h:33
LVL1::TrigT1CaloDefs::EnergyROILocation
static const std::string EnergyROILocation
Definition: TrigT1CaloDefs.h:73
LVL1::TrigT1CaloDefs::Region1EtaCentre
static const double Region1EtaCentre
Definition: TrigT1CaloDefs.h:97
LVL1::TrigT1CaloDefs::CMMEtSumsLocation
static const std::string CMMEtSumsLocation
Definition: TrigT1CaloDefs.h:52
LVL1::TrigT1CaloDefs::Region3Height
static const double Region3Height
Definition: TrigT1CaloDefs.h:115
LVL1::TrigT1CaloDefs::AtlfastCellContainerLocation
static const std::string AtlfastCellContainerLocation
Definition: TrigT1CaloDefs.h:70
LVL1::TrigT1CaloDefs::JEMEtSumsLocation
static const std::string JEMEtSumsLocation
Definition: TrigT1CaloDefs.h:49
LVL1::TrigT1CaloDefs::Region0Width
static const double Region0Width
Definition: TrigT1CaloDefs.h:105
LVL1::TrigT1CaloDefs::Region2Height
static const double Region2Height
Definition: TrigT1CaloDefs.h:114
LVL1::TrigT1CaloDefs::Region4EtaCentre
static const double Region4EtaCentre
Definition: TrigT1CaloDefs.h:100
LVL1::TrigT1CaloDefs::CMXEtSumsLocation
static const std::string CMXEtSumsLocation
Definition: TrigT1CaloDefs.h:57
LVL1::TrigT1CaloDefs::EmTauSlinkLocation
static const std::string EmTauSlinkLocation
Definition: TrigT1CaloDefs.h:82
LVL1::TrigT1CaloDefs::Region1Height
static const double Region1Height
Definition: TrigT1CaloDefs.h:113
LVL1::TrigT1CaloDefs::CTPJetEnergyConfigLocation
static const std::string CTPJetEnergyConfigLocation
Definition: TrigT1CaloDefs.h:91
LVL1::TrigT1CaloDefs::jepSlinkLocation
static const std::string jepSlinkLocation
Definition: TrigT1CaloDefs.h:83
LVL1::TrigT1CaloDefs::Region3Width
static const double Region3Width
Definition: TrigT1CaloDefs.h:108
LVL1::TrigT1CaloDefs::Region5EtaCentre
static const double Region5EtaCentre
Definition: TrigT1CaloDefs.h:101
LVL1::TrigT1CaloDefs::cpmPhiSize
static const double cpmPhiSize
Definition: TrigT1CaloDefs.h:137
LVL1::TrigT1CaloDefs::Region5JetHeight
static const double Region5JetHeight
Definition: TrigT1CaloDefs.h:119
LVL1::TrigT1CaloDefs::JetCMXDataLocation
static const std::string JetCMXDataLocation
Definition: TrigT1CaloDefs.h:44
LVL1::TrigT1CaloDefs::CPMTowerLocation
static const std::string CPMTowerLocation
Definition: TrigT1CaloDefs.h:38
LVL1::TrigT1CaloDefs::CPMCMXDataLocation
static const std::string CPMCMXDataLocation
Definition: TrigT1CaloDefs.h:43
LVL1::TrigT1CaloDefs::Region5Height
static const double Region5Height
Definition: TrigT1CaloDefs.h:117
LVL1::TrigT1CaloDefs::JetEtROILocation
static const std::string JetEtROILocation
Definition: TrigT1CaloDefs.h:75
LVL1::TrigT1CaloDefs::JetTopoTobLocation
static const std::string JetTopoTobLocation
Definition: TrigT1CaloDefs.h:87
LVL1::TrigT1CaloDefs::Region4Height
static const double Region4Height
Definition: TrigT1CaloDefs.h:116
LVL1::TrigT1CaloDefs::CTPCaloConfigLocation
static const std::string CTPCaloConfigLocation
Definition: TrigT1CaloDefs.h:90
LVL1::TrigT1CaloDefs::JetElementLocation
static const std::string JetElementLocation
Definition: TrigT1CaloDefs.h:39
LVL1::TrigT1CaloDefs::CPMHitsLocation
static const std::string CPMHitsLocation
Definition: TrigT1CaloDefs.h:47
LVL1::TrigT1CaloDefs::JEPBSCollectionLocation
static const std::string JEPBSCollectionLocation
Definition: TrigT1CaloDefs.h:66
LVL1::TrigT1CaloDefs::CPMRoILocation
static const std::string CPMRoILocation
Definition: TrigT1CaloDefs.h:61
LVL1::TrigT1CaloDefs::RegionERROREtaCentre
static const double RegionERROREtaCentre
Definition: TrigT1CaloDefs.h:103
LVL1::TrigT1CaloDefs::JetCTPLocation
static const std::string JetCTPLocation
Definition: TrigT1CaloDefs.h:78
LVL1::TrigT1CaloDefs::xAODTriggerTowerLocation
static const std::string xAODTriggerTowerLocation
Definition: TrigT1CaloDefs.h:36
TrigT1CaloDefs.h
LVL1::TrigT1CaloDefs::Region0EtaCentre
static const double Region0EtaCentre
Definition: TrigT1CaloDefs.h:96
LVL1::TrigT1CaloDefs::CMMRoILocation
static const std::string CMMRoILocation
Definition: TrigT1CaloDefs.h:54
LVL1::TrigT1CaloDefs::JetROILocation
static const std::string JetROILocation
Definition: TrigT1CaloDefs.h:72
LVL1::TrigT1CaloDefs::TriggerTowerLocation
static const std::string TriggerTowerLocation
Definition: TrigT1CaloDefs.h:35
LVL1::TrigT1CaloDefs::EmTauTopoTobLocation
static const std::string EmTauTopoTobLocation
Definition: TrigT1CaloDefs.h:86
LVL1::TrigT1CaloDefs::Region1Width
static const double Region1Width
Definition: TrigT1CaloDefs.h:106
LVL1::TrigT1CaloDefs::xAODZdcModuleLocation
static const std::string xAODZdcModuleLocation
Definition: TrigT1CaloDefs.h:40
LVL1::TrigT1CaloDefs::CPMTobRoILocation
static const std::string CPMTobRoILocation
Definition: TrigT1CaloDefs.h:62
LVL1::TrigT1CaloDefs::EnergyCTPLocation
static const std::string EnergyCTPLocation
Definition: TrigT1CaloDefs.h:79
LVL1::TrigT1CaloDefs::EmTauROILocation
static const std::string EmTauROILocation
Definition: TrigT1CaloDefs.h:74
LVL1::TrigT1CaloDefs::JEPRoIBSCollectionLocation
static const std::string JEPRoIBSCollectionLocation
Definition: TrigT1CaloDefs.h:67
LVL1::TrigT1CaloDefs::jemPhiSize
static const double jemPhiSize
Definition: TrigT1CaloDefs.h:139
LVL1::TrigT1CaloDefs::CMMCPHitsLocation
static const std::string CMMCPHitsLocation
Definition: TrigT1CaloDefs.h:53
LVL1::TrigT1CaloDefs::xAODTriggerTowerRerunLocation
static const std::string xAODTriggerTowerRerunLocation
Definition: TrigT1CaloDefs.h:37
LVL1::TrigT1CaloDefs::CMXCPHitsLocation
static const std::string CMXCPHitsLocation
Definition: TrigT1CaloDefs.h:59
LVL1::TrigT1CaloDefs::CMMJetHitsLocation
static const std::string CMMJetHitsLocation
Definition: TrigT1CaloDefs.h:51
LVL1::TrigT1CaloDefs::EnergyTopoDataLocation
static const std::string EnergyTopoDataLocation
Definition: TrigT1CaloDefs.h:88
LVL1::TrigT1CaloDefs::Region2EtaCentre
static const double Region2EtaCentre
Definition: TrigT1CaloDefs.h:98