#include <iostream>
#include <complex>
#include "EmcRecEventModel/RecEmcShower.h"
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &os, const RecEmcShower &aShower) |
ostream& operator<< | ( | ostream & | os, | |
const RecEmcShower & | aShower | |||
) |
Definition at line 326 of file RecEmcShower.cxx.
References DstEmcShower::a20Moment(), DstEmcShower::a42Moment(), RecEmcShower::Begin(), DstEmcShower::dE(), DstEmcShower::dphi(), DstEmcShower::dtheta(), DstEmcShower::dx(), DstEmcShower::dy(), DstEmcShower::dz(), DstEmcShower::e3x3(), DstEmcShower::e5x5(), RecEmcShower::End(), DstEmcShower::energy(), DstEmcShower::errorMatrix(), DstEmcShower::eSeed(), RecEmcShower::getClusterId(), RecEmcShower::getEAll(), RecEmcShower::getELepton(), RecEmcShower::getFractionMap3x3(), RecEmcShower::getFractionMap5x5(), RecEmcShower::getShowerId(), RecEmcShower::getSize(), DstEmcShower::latMoment(), DstEmcShower::module(), DstEmcShower::phi(), DstEmcShower::position(), DstEmcShower::secondMoment(), DstEmcShower::status(), DstEmcShower::theta(), DstEmcShower::time(), and DstEmcShower::trackId().
00327 { 00328 RecEmcFractionMap::const_iterator pFractionMap; 00329 RecEmcFractionMap::const_iterator ciFractionMap3x3; 00330 RecEmcFractionMap::const_iterator ciFractionMap5x5; 00331 00332 os<<"------------------RecEmcShower:"<<endl; 00333 os<<"Track id: "<<aShower.trackId()<<", number of hits: "<<aShower.getSize() 00334 <<", status: "<<aShower.status()<<", shower id: "<<aShower.getShowerId() 00335 <<", cluster id: "<<aShower.getClusterId()<<", module: "<<aShower.module() 00336 <<", time: "<<aShower.time()<<endl; 00337 os<<"Energy: "<<aShower.energy()<<", de: "<<aShower.dE() 00338 <<", eseed: "<<aShower.eSeed() 00339 <<", e3x3: "<<aShower.e3x3()<<", e5x5: "<<aShower.e5x5() 00340 <<", eall: "<<aShower.getEAll()<<", elepton: "<<aShower.getELepton()<<endl; 00341 os<<"Position: "<<aShower.position() 00342 <<", theta: "<<aShower.theta()<<", phi: "<<aShower.phi() 00343 <<"\ndx: "<<aShower.dx()<<", dy: "<<aShower.dy()<<", dz: "<<aShower.dz() 00344 <<", dtheta: "<<aShower.dtheta()<<", dphi: "<<aShower.dphi()<<endl; 00345 os<<"Second moment: "<<aShower.secondMoment() 00346 <<", lat moment: "<<aShower.latMoment() 00347 <<", a20 moment: "<<aShower.a20Moment() 00348 <<", a42 moment: "<<aShower.a42Moment()<<endl; 00349 os<<"Error matrix: \n"<<aShower.errorMatrix()<<endl; 00350 00351 if(aShower.getSize()>0) { 00352 os<<"Fraction Map: "<<endl; 00353 for(pFractionMap=aShower.Begin(); 00354 pFractionMap!=aShower.End(); 00355 pFractionMap++){ 00356 os<< (pFractionMap->second); 00357 } 00358 } 00359 00360 RecEmcFractionMap fracMap = aShower.getFractionMap3x3(); 00361 if(fracMap.size()>0) { 00362 os<<"Fraction Map 3x3: "<<endl; 00363 for(ciFractionMap3x3=fracMap.begin(); 00364 ciFractionMap3x3!=fracMap.end(); 00365 ciFractionMap3x3++){ 00366 os<< (ciFractionMap3x3->second); 00367 } 00368 } 00369 00370 fracMap = aShower.getFractionMap5x5(); 00371 if(fracMap.size()>0) { 00372 os<<"Fraction Map 5x5: "<<endl; 00373 for(ciFractionMap5x5=fracMap.begin(); 00374 ciFractionMap5x5!=fracMap.end(); 00375 ciFractionMap5x5++){ 00376 os<< (ciFractionMap5x5->second); 00377 } 00378 } 00379 00380 os<<endl; 00381 00382 return os; 00383 }