BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecFastCluster2Shower Class Reference

#include <EmcRecFastCluster2Shower.h>

+ Inheritance diagram for EmcRecFastCluster2Shower:

Public Member Functions

 EmcRecFastCluster2Shower ()
 
virtual ~EmcRecFastCluster2Shower ()
 
virtual void Convert (RecEmcClusterMap &aClusterMap, RecEmcShowerMap &aShowerMap)
 
- Public Member Functions inherited from EmcRecCluster2ShowerAbs
 EmcRecCluster2ShowerAbs ()
 
virtual ~EmcRecCluster2ShowerAbs ()
 
virtual void Convert (RecEmcClusterMap &aClusterMap, RecEmcShowerMap &aShowerMap)=0
 

Detailed Description

Definition at line 12 of file EmcRecFastCluster2Shower.h.

Constructor & Destructor Documentation

◆ EmcRecFastCluster2Shower()

EmcRecFastCluster2Shower::EmcRecFastCluster2Shower ( )

Definition at line 11 of file EmcRecFastCluster2Shower.cxx.

12{
13 //cout<<"====== EmcRec: Online Mode ======"<<endl;
14}

◆ ~EmcRecFastCluster2Shower()

EmcRecFastCluster2Shower::~EmcRecFastCluster2Shower ( )
virtual

Definition at line 16 of file EmcRecFastCluster2Shower.cxx.

17{
18}

Member Function Documentation

◆ Convert()

void EmcRecFastCluster2Shower::Convert ( RecEmcClusterMap aClusterMap,
RecEmcShowerMap aShowerMap 
)
virtual

Implements EmcRecCluster2ShowerAbs.

Definition at line 20 of file EmcRecFastCluster2Shower.cxx.

22{
23 RecEmcClusterMap::const_iterator ciClusterMap;
24 RecEmcHitMap::const_iterator ciHitMap;
25
26 for(ciClusterMap=aClusterMap.begin();
27 ciClusterMap!=aClusterMap.end();
28 ++ciClusterMap) {
29
30 RecEmcShower aShower;
31 aShower.Clear();
32 const RecEmcCluster &aCluster=ciClusterMap->second;
33
34 aShower.ShowerId(aCluster.getClusterId());
35 RecEmcEnergy energy=aCluster.getEnergy();
36 aShower.EAll(energy);
37 aShower.setEnergy(energy);
38 aShower.setPosition(aCluster.getPosition());
39 aShowerMap[aShower.getShowerId()]=aShower;
40 }
41
42}
************Class m_ypar INTEGER m_KeyWgt INTEGER m_nphot INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy
Definition: KK2f.h:50
double RecEmcEnergy
void setPosition(const HepPoint3D &pos)
Definition: DstEmcShower.h:62
void setEnergy(double e)
Definition: DstEmcShower.h:63
RecEmcEnergy getEnergy() const
RecEmcID getClusterId() const
Definition: RecEmcCluster.h:41
HepPoint3D getPosition() const
RecEmcEnergy EAll(RecEmcEnergy e)
RecEmcID getShowerId() const
Definition: RecEmcShower.h:55
RecEmcID ShowerId(RecEmcID id)

The documentation for this class was generated from the following files: