5#ifndef TRIGT1CALOMAPPINGTOOLS_PPMMAPPINGTOOL_H
6#define TRIGT1CALOMAPPINGTOOLS_PPMMAPPINGTOOL_H
40 using base_class::base_class;
43 virtual StatusCode
finalize()
override;
46 virtual bool mapping(
int crate,
int module,
int channel,
47 double&
eta,
double&
phi,
int& layer)
const override;
50 int& crate,
int& module,
int& channel)
const override;
58 typedef std::pair< double, double >
Offsets;
60 typedef std::pair< Offsets, const CoordinateMap* >
ModuleInfo;
61 typedef std::array< ModuleInfo, s_modules >
ModuleMap;
62 typedef std::array< ModuleMap, s_crates >
CrateMap;
64 typedef std::pair< unsigned int, unsigned int >
ChannelIds;
65 typedef std::map< unsigned int, ChannelIds >
EtaPhiMap;
72 void addCoords(
int nrows,
int ncols,
double etaGran,
double phiGran,
73 double etaOffset,
double phiOffset,
74 const int* in,
const int* out,
int incr,
77 void addMods(
int crate,
int modOffset,
int nrows,
int ncols,
78 double etaBase,
double phiBase,
double etaRange,
double phiRange,
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Holds eta/phi coordinates corresponding to a crate/module channel.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...