/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcCluster.h File Reference

#include "GaudiKernel/ContainedObject.h"
#include "GaudiKernel/ObjectVector.h"
#include "EventModel/EventModel.h"
#include "EmcRecEventModel/RecEmcHit.h"
#include "EmcRecEventModel/RecEmcDataType.h"

Go to the source code of this file.

Classes

class  RecEmcCluster

Typedefs

typedef map< RecEmcID, RecEmcCluster,
less< RecEmcID > > 
RecEmcClusterMap
typedef ObjectVector< RecEmcClusterRecEmcClusterCol

Functions

ostreamoperator<< (ostream &os, const RecEmcCluster &aCluster)

Variables

const CLID & CLID_RecEmcCluster


Typedef Documentation

typedef ObjectVector<RecEmcCluster> RecEmcClusterCol

Definition at line 93 of file RecEmcCluster.h.

typedef map<RecEmcID,RecEmcCluster,less<RecEmcID> > RecEmcClusterMap

Definition at line 92 of file RecEmcCluster.h.


Function Documentation

ostream& operator<< ( ostream os,
const RecEmcCluster aCluster 
)

Definition at line 305 of file RecEmcCluster.cxx.

00306 {
00307   RecEmcHitMap::const_iterator pHitMap;
00308 
00309   cout<<"EMC Cluster: ";
00310 
00311   cout<<"Cluster Id= ";
00312   cout<<aCluster.getClusterId()<<endl;
00313 
00314   for(pHitMap=aCluster.Begin();
00315       pHitMap!=aCluster.End();
00316       pHitMap++)
00317   {
00318     os<< (pHitMap->second);
00319   }
00320 
00321   if(aCluster.getSeedSize()>0) {
00322     cout<<"Contains "<<aCluster.getSeedSize()<<" Seeds:"<<endl;
00323     RecEmcHitMap::const_iterator pSeedMap;
00324     for(pSeedMap=aCluster.BeginSeed();
00325         pSeedMap!=aCluster.EndSeed();
00326         pSeedMap++)
00327     {
00328       os<< (pSeedMap->second);
00329     }
00330   }
00331 
00332   if(aCluster.getShowerSize()>0) {
00333     vector<RecEmcID> aShowerIdVec=aCluster.getShowerIdVec();
00334     vector<RecEmcID>::iterator iShowerId;
00335     os<<"Contains "<<aCluster.getShowerSize()<<" Showers:"<<endl;
00336     for(iShowerId=aShowerIdVec.begin();
00337         iShowerId!=aShowerIdVec.end();
00338         iShowerId++) {
00339       os << *iShowerId <<endl;
00340     }
00341   }
00342 
00343   return os;
00344 }


Variable Documentation

const CLID& CLID_RecEmcCluster

Definition at line 323 of file EventModel.cxx.

Referenced by RecEmcCluster::classID().


Generated on Tue Nov 29 23:15:00 2016 for BOSS_7.0.2 by  doxygen 1.4.7