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

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

Definition at line 198 of file UCTTower.cc.

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

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