test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 169 of file UCTTower.cc.

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

169  {
170  // if((t.ecalET + t.hcalET) == 0) return os;
171 
172  os << "Side Crt Crd Rgn iEta iPhi cEta cPhi eET eFG hET hFB Summary" << std::endl;
173 
174  UCTGeometry g;
175  std::string side = "+eta ";
176  if(t.negativeEta) side = "-eta ";
177  os << side
178  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
179  << t.crate << " "
180  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
181  << t.card << " "
182  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
183  << t.region << " "
184  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
185  << t.iEta << " "
186  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
187  << t.iPhi << " "
188  << std::setw(4) << std::setfill(' ') << std::dec
189  << g.getCaloEtaIndex(t.negativeEta, t.region, t.iEta) << " "
190  << std::setw(4) << std::setfill(' ') << std::dec
191  << g.getCaloPhiIndex(t.crate, t.card, t.region, t.iPhi) << " "
192  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
193  << t.ecalET << " "
194  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
195  << t.ecalFG << " "
196  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
197  << t.hcalET << " "
198  << std::showbase << std::internal << std::setfill('0') << std::setw(4) << std::hex
199  << t.hcalFB << " "
200  << std::showbase << std::internal << std::setfill('0') << std::setw(10) << std::hex
201  << t.towerData
202  << std::endl;
203  return os;
204 
205 }
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