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 185 of file UCTTower.cc.

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

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