#include "GaudiKernel/ContainedObject.h"
#include "GaudiKernel/ObjectVector.h"
#include "EventModel/EventModel.h"
#include "EmcRecEventModel/RecEmcFraction.h"
#include "EmcRecEventModel/RecEmcCluster.h"
#include "EmcRecEventModel/RecEmcDataType.h"
#include "DstEvent/DstEmcShower.h"
Go to the source code of this file.
Classes | |
class | RecEmcShower |
Typedefs | |
typedef map< RecEmcID, RecEmcShower, less< RecEmcID > > | RecEmcShowerMap |
typedef vector< RecEmcShower > | RecEmcShowerVec |
typedef ObjectVector< RecEmcShower > | RecEmcShowerCol |
Functions | |
ostream & | operator<< (ostream &os, const RecEmcShower &aShower) |
Variables | |
const CLID & | CLID_RecEmcShower |
typedef ObjectVector<RecEmcShower> RecEmcShowerCol |
Definition at line 171 of file RecEmcShower.h.
typedef map<RecEmcID,RecEmcShower,less<RecEmcID> > RecEmcShowerMap |
Definition at line 169 of file RecEmcShower.h.
typedef vector<RecEmcShower> RecEmcShowerVec |
Definition at line 170 of file RecEmcShower.h.
ostream& operator<< | ( | ostream & | os, | |
const RecEmcShower & | aShower | |||
) |
Definition at line 326 of file RecEmcShower.cxx.
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 }
const CLID& CLID_RecEmcShower |