BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/EmcRec/include/EmcRec/EmcRecDigit2Hit.h
Go to the documentation of this file.
1//
2// Convert from Digit Map to Hit Map
3//
4// Zhe Wang 2004, 8, 27
5//
6#ifndef EMC_REC_DIGIT_2_HIT_H
7#define EMC_REC_DIGIT_2_HIT_H
8
9#include "EmcRecEventModel/RecEmcEventModel.h"
10#include <string>
11
12class EmcRecDigit2Hit {
13public:
14 // Constructors and destructors
17
18 void Convert( const RecEmcDigitMap& aDigitMap, RecEmcHitMap& aHitMap );
19
20 void Output( const RecEmcHitMap& aHitMap ) const;
21 void OutputEndcap( const RecEmcHitMap& aHitMap, const unsigned int module_ew ) const;
22 inline void SetAlgName( const string& name ) { m_algName = name; }
23
24private:
25 std::string m_algName;
26};
27#endif // EMC_REC_DIGIT_2_HIT_H
map< RecEmcID, RecEmcDigit, less< RecEmcID > > RecEmcDigitMap
map< RecEmcID, RecEmcHit, less< RecEmcID > > RecEmcHitMap
void Convert(const RecEmcDigitMap &aDigitMap, RecEmcHitMap &aHitMap)
void OutputEndcap(const RecEmcHitMap &aHitMap, const unsigned int module_ew) const
void Output(const RecEmcHitMap &aHitMap) const