14 std::string delim =
"";
16 o << delim << int(val) << std::dec;
25 if(tt.coolId() == 0) {
26 o <<
"xAOD::TriggerTower, coolId=0";
28 o <<
"xAOD::TriggerTower, coolId=" << std::hex << tt.coolId() << std::dec
29 <<
", layer=" << int(tt.layer())
30 <<
", sampling=" << int(tt.sampling())
31 <<
", eta=" << tt.eta()
32 <<
", phi=" << tt.phi()
47 <<
", correctionEnabled=" <<
ZdcToString(tt.correctionEnabled())
52 <<
", errorWord=" << tt.errorWord()
53 <<
", peak=" << int(tt.peak())
54 <<
", adcPeak=" << int(tt.adcPeak());
55 if (!tt.lut_cp().empty()) {
56 o <<
", cpET=" << int(tt.cpET());
58 if (!tt.lut_jep().empty()) {
59 o <<
", jepET=" << int(tt.jepET());
70 iter != tt.end(); ++iter){
80 <<
", eta=" << cpm.
eta()
81 <<
", phi=" << cpm.
phi()
82 <<
", em peak energy=" << cpm.
emEnergy()
83 <<
", had peak energy=" << cpm.
hadEnergy()
91 for(
auto iter = tt.begin();
92 iter != tt.end(); ++iter){
std::string ZdcToString(const std::vector< T > &vv)
DataModel_detail::const_iterator< DataVector > const_iterator
uint8_t emEnergy() const
get emEnergy for emEnergyVec[peak] - time slice that (hopefully) contains the collision
uint8_t hadEnergy() const
get hadEnergy for hadEnergyVec[peak] - time slice that (hopefully) contains the collision
float phi() const
get phi (note that for L1Calo phi runs from 0 to 2pi)
CPMTowerContainer_v2 CPMTowerContainer
Define the latest version of the CPMHits container.
TriggerTowerContainer_v2 TriggerTowerContainer
Define the latest version of the TriggerTower container.
CPMTower_v2 CPMTower
Define the latest version of the CPMTower class.
TriggerTower_v2 TriggerTower
Define the latest version of the TriggerTower class.