CMS 3D CMS Logo

Functions
UCTTower.cc File Reference
#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <cmath>
#include <cstdlib>
#include <cstdint>
#include "UCTTower.hh"
#include "UCTLogging.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const UCTTower &t)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const UCTTower &  t 
)

Definition at line 209 of file UCTTower.cc.

209  {
210  // if((t.ecalET + t.hcalET) == 0) return os;
211 
212  os << "Side Crt Crd Rgn iEta iPhi cEta cPhi eET eFG hET hFB Summary" << std::endl;
213 
214  UCTGeometry g;
215  std::string side = "+eta ";
216  if (t.negativeEta)
217  side = "-eta ";
218  os << side << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.crate << " "
219  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.card << " "
220  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.region << " "
221  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.iEta << " "
222  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.iPhi << " " << std::setw(4)
223  << std::setfill(' ') << std::dec << g.getCaloEtaIndex(t.negativeEta, t.region, t.iEta) << " " << std::setw(4)
224  << std::setfill(' ') << std::dec << g.getCaloPhiIndex(t.crate, t.card, t.region, t.iPhi) << " " << std::showbase
225  << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.ecalET << " " << std::showbase
226  << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.ecalFG << " " << std::showbase
227  << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.hcalET << " " << std::showbase
228  << std::internal << std::setfill('0') << std::setw(4) << std::hex << t.hcalFB << " " << std::showbase
229  << std::internal << std::setfill('0') << std::setw(10) << std::hex << t.towerData << std::endl;
230  return os;
231 }

References TauDecayModes::dec, g, AlCaHLTBitMon_QueryRunRegistry::string, and OrderedSet::t.

OrderedSet.t
t
Definition: OrderedSet.py:90
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4