BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcHit.h File Reference
#include <map>
#include "GaudiKernel/ContainedObject.h"
#include "GaudiKernel/ObjectVector.h"
#include "EmcRecEventModel/RecEmcDataType.h"

Go to the source code of this file.

Classes

class  RecEmcHit
 

Typedefs

typedef map< RecEmcID, RecEmcHit, less< RecEmcID > > RecEmcHitMap
 
typedef ObjectVector< RecEmcHitRecEmcHitCol
 

Functions

ostream & operator<< (ostream &os, const RecEmcHit &aHit)
 
ostream & operator<< (ostream &os, const RecEmcHitMap &aHitMap)
 

Variables

const CLID & CLID_RecEmcHit
 

Typedef Documentation

◆ RecEmcHitCol

typedef ObjectVector<RecEmcHit> RecEmcHitCol

Definition at line 76 of file RecEmcHit.h.

◆ RecEmcHitMap

typedef map<RecEmcID,RecEmcHit,less<RecEmcID> > RecEmcHitMap

Definition at line 75 of file RecEmcHit.h.

Function Documentation

◆ operator<<() [1/2]

ostream & operator<< ( ostream &  os,
const RecEmcHit aHit 
)

Definition at line 123 of file RecEmcHit.cxx.

124{
125 os<<"Hit: ";
126
127 os<<aHit.getCellId()<<", ";
128
129 os.width(12);
130 os.setf(ios::right);
131 os<<aHit.getEnergy()<<", ";
132
133 os.width(12);
134 os.setf(ios::right);
135 os<<aHit.getTime()<<endl;
136
137 return os;
138}
RecEmcEnergy getEnergy() const
Definition: RecEmcHit.h:48
RecEmcID getCellId() const
Definition: RecEmcHit.h:47
RecEmcTime getTime() const
Definition: RecEmcHit.h:49

◆ operator<<() [2/2]

ostream & operator<< ( ostream &  os,
const RecEmcHitMap aHitMap 
)

Variable Documentation

◆ CLID_RecEmcHit

const CLID& CLID_RecEmcHit
extern

Definition at line 320 of file EventModel.cxx.

Referenced by RecEmcHit::classID().