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