CMS 3D CMS Logo

Functions
UCTTower.cc File Reference
#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <math.h>
#include <stdlib.h>
#include <stdint.h>
#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

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

Definition at line 184 of file UCTTower.cc.

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

184  {
185  // if((t.ecalET + t.hcalET) == 0) return os;
186 
187  os << "Side Crt Crd Rgn iEta iPhi cEta cPhi eET eFG hET hFB Summary" << std::endl;
188 
189  UCTGeometry g;
190  std::string side = "+eta ";
191  if(t.negativeEta) side = "-eta ";
192  os << side
193  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
194  << t.crate << " "
195  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
196  << t.card << " "
197  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
198  << t.region << " "
199  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
200  << t.iEta << " "
201  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
202  << t.iPhi << " "
203  << std::setw(4) << std::setfill(' ') << std::dec
204  << g.getCaloEtaIndex(t.negativeEta, t.region, t.iEta) << " "
205  << std::setw(4) << std::setfill(' ') << std::dec
206  << g.getCaloPhiIndex(t.crate, t.card, t.region, t.iPhi) << " "
207  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
208  << t.ecalET << " "
209  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
210  << t.ecalFG << " "
211  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
212  << t.hcalET << " "
213  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
214  << t.hcalFB << " "
215  << std::showbase << std::internal << std::setfill('0') << std::setw(10) << std::hex
216  << t.towerData
217  << std::endl;
218  return os;
219 
220 }
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