BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecCluster2Shower Class Reference

#include <EmcRecCluster2Shower.h>

Inheritance diagram for EmcRecCluster2Shower:

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ EmcRecCluster2Shower() [1/3]

EmcRecCluster2Shower::EmcRecCluster2Shower ( )

Definition at line 14 of file EmcRecCluster2Shower.cxx.

14 {
15 // cout<<"====== EmcRec: Offline Mode ======"<<endl;
16 // fSeedFinder=new EmcRecSeedLocalMax;
17 fSeedFinder = new EmcRecSeedEThreshold;
18 fSplitter = new EmcRecSplitWeighted;
19}

◆ ~EmcRecCluster2Shower() [1/3]

EmcRecCluster2Shower::~EmcRecCluster2Shower ( )

Definition at line 21 of file EmcRecCluster2Shower.cxx.

21 {
22 delete fSeedFinder;
23 delete fSplitter;
24}

◆ EmcRecCluster2Shower() [2/3]

EmcRecCluster2Shower::EmcRecCluster2Shower ( )

◆ ~EmcRecCluster2Shower() [2/3]

EmcRecCluster2Shower::~EmcRecCluster2Shower ( )

◆ EmcRecCluster2Shower() [3/3]

EmcRecCluster2Shower::EmcRecCluster2Shower ( )

◆ ~EmcRecCluster2Shower() [3/3]

EmcRecCluster2Shower::~EmcRecCluster2Shower ( )

Member Function Documentation

◆ Convert() [1/3]

void EmcRecCluster2Shower::Convert ( RecEmcClusterMap & aClusterMap,
RecEmcShowerMap & aShowerMap )

Definition at line 26 of file EmcRecCluster2Shower.cxx.

27 {
28 RecEmcClusterMap::iterator ciClusterMap;
29
30 RecEmcIDVector aMaxVec;
31 for ( ciClusterMap = aClusterMap.begin(); ciClusterMap != aClusterMap.end(); ++ciClusterMap )
32 {
33 //++++++++++++++++++++++++++
34 // get its local maximum list
35 fSeedFinder->Seed( ciClusterMap->second, aMaxVec );
36 //++++++++++++++++++++++++++++++++++++++++++++++
37 // put seeds to cluster
38 if ( !aMaxVec.empty() )
39 {
41 for ( ciMax = aMaxVec.begin(); ciMax != aMaxVec.end(); ++ciMax )
42 { ciClusterMap->second.InsertSeed( ciClusterMap->second.Find( *ciMax )->second ); }
43 }
44 //++++++++++++++++++++++++++++++++++++++++++++++
45 // split it into showers and push into shower map
46 fSplitter->Split( ciClusterMap->second, aMaxVec, aShowerMap );
47 }
48}
RecEmcIDVector::const_iterator ci_RecEmcIDVector

◆ Convert() [2/3]

void EmcRecCluster2Shower::Convert ( RecEmcClusterMap & aClusterMap,
RecEmcShowerMap & aShowerMap )

◆ Convert() [3/3]

void EmcRecCluster2Shower::Convert ( RecEmcClusterMap & aClusterMap,
RecEmcShowerMap & aShowerMap )

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