BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcShower.h File Reference
#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< RecEmcShowerRecEmcShowerVec
 
typedef ObjectVector< RecEmcShowerRecEmcShowerCol
 

Functions

ostream & operator<< (ostream &os, const RecEmcShower &aShower)
 

Variables

const CLID & CLID_RecEmcShower
 

Typedef Documentation

◆ RecEmcShowerCol

typedef ObjectVector<RecEmcShower> RecEmcShowerCol

Definition at line 171 of file RecEmcShower.h.

◆ RecEmcShowerMap

Definition at line 169 of file RecEmcShower.h.

◆ RecEmcShowerVec

typedef vector<RecEmcShower> RecEmcShowerVec

Definition at line 170 of file RecEmcShower.h.

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  os,
const RecEmcShower aShower 
)

Definition at line 326 of file RecEmcShower.cxx.

327{
328 RecEmcFractionMap::const_iterator pFractionMap;
329 RecEmcFractionMap::const_iterator ciFractionMap3x3;
330 RecEmcFractionMap::const_iterator ciFractionMap5x5;
331
332 os<<"------------------RecEmcShower:"<<endl;
333 os<<"Track id: "<<aShower.trackId()<<", number of hits: "<<aShower.getSize()
334 <<", status: "<<aShower.status()<<", shower id: "<<aShower.getShowerId()
335 <<", cluster id: "<<aShower.getClusterId()<<", module: "<<aShower.module()
336 <<", time: "<<aShower.time()<<endl;
337 os<<"Energy: "<<aShower.energy()<<", de: "<<aShower.dE()
338 <<", eseed: "<<aShower.eSeed()
339 <<", e3x3: "<<aShower.e3x3()<<", e5x5: "<<aShower.e5x5()
340 <<", eall: "<<aShower.getEAll()<<", elepton: "<<aShower.getELepton()<<endl;
341 os<<"Position: "<<aShower.position()
342 <<", theta: "<<aShower.theta()<<", phi: "<<aShower.phi()
343 <<"\ndx: "<<aShower.dx()<<", dy: "<<aShower.dy()<<", dz: "<<aShower.dz()
344 <<", dtheta: "<<aShower.dtheta()<<", dphi: "<<aShower.dphi()<<endl;
345 os<<"Second moment: "<<aShower.secondMoment()
346 <<", lat moment: "<<aShower.latMoment()
347 <<", a20 moment: "<<aShower.a20Moment()
348 <<", a42 moment: "<<aShower.a42Moment()<<endl;
349 os<<"Error matrix: \n"<<aShower.errorMatrix()<<endl;
350
351 if(aShower.getSize()>0) {
352 os<<"Fraction Map: "<<endl;
353 for(pFractionMap=aShower.Begin();
354 pFractionMap!=aShower.End();
355 pFractionMap++){
356 os<< (pFractionMap->second);
357 }
358 }
359
360 RecEmcFractionMap fracMap = aShower.getFractionMap3x3();
361 if(fracMap.size()>0) {
362 os<<"Fraction Map 3x3: "<<endl;
363 for(ciFractionMap3x3=fracMap.begin();
364 ciFractionMap3x3!=fracMap.end();
365 ciFractionMap3x3++){
366 os<< (ciFractionMap3x3->second);
367 }
368 }
369
370 fracMap = aShower.getFractionMap5x5();
371 if(fracMap.size()>0) {
372 os<<"Fraction Map 5x5: "<<endl;
373 for(ciFractionMap5x5=fracMap.begin();
374 ciFractionMap5x5!=fracMap.end();
375 ciFractionMap5x5++){
376 os<< (ciFractionMap5x5->second);
377 }
378 }
379
380 os<<endl;
381
382 return os;
383}
map< RecEmcID, RecEmcFraction, less< RecEmcID > > RecEmcFractionMap
double dy() const
HepPoint3D position() const
Definition: DstEmcShower.h:34
int status() const
Definition: DstEmcShower.h:31
double latMoment() const
Definition: DstEmcShower.h:52
double a42Moment() const
Definition: DstEmcShower.h:54
double eSeed() const
Definition: DstEmcShower.h:47
double dphi() const
Definition: DstEmcShower.h:44
double theta() const
Definition: DstEmcShower.h:38
int module() const
Definition: DstEmcShower.h:33
double e3x3() const
Definition: DstEmcShower.h:48
double dz() const
double phi() const
Definition: DstEmcShower.h:39
double dx() const
Definition: DstEmcShower.cxx:3
double secondMoment() const
Definition: DstEmcShower.h:51
int trackId() const
Definition: DstEmcShower.h:29
HepSymMatrix errorMatrix() const
Definition: DstEmcShower.h:55
double e5x5() const
Definition: DstEmcShower.h:49
double time() const
Definition: DstEmcShower.h:50
double a20Moment() const
Definition: DstEmcShower.h:53
double energy() const
Definition: DstEmcShower.h:45
double dE() const
Definition: DstEmcShower.h:46
double dtheta() const
Definition: DstEmcShower.h:43
RecEmcFractionMap::const_iterator End() const
RecEmcFractionMap getFractionMap5x5() const
RecEmcID getClusterId() const
Definition: RecEmcShower.h:59
RecEmcID getShowerId() const
Definition: RecEmcShower.h:55
RecEmcEnergy getELepton() const
Definition: RecEmcShower.h:95
RecEmcFractionMap::const_iterator Begin() const
unsigned int getSize() const
RecEmcEnergy getEAll() const
Definition: RecEmcShower.h:92
RecEmcFractionMap getFractionMap3x3() const

Variable Documentation

◆ CLID_RecEmcShower

const CLID& CLID_RecEmcShower
extern

Definition at line 317 of file EventModel.cxx.

Referenced by RecEmcShower::classID().