BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EmcRec/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
13{
14 public:
15 // Constructors and destructors
18
19 void Convert(const RecEmcDigitMap& aDigitMap,
20 RecEmcHitMap& aHitMap);
21
22 void Output(const RecEmcHitMap& aHitMap) const;
23 void OutputEndcap(const RecEmcHitMap& aHitMap, const unsigned int module_ew) const;
24 inline void SetAlgName(const string &name) { m_algName=name; }
25
26 private:
27 std::string m_algName;
28};
29#endif // EMC_REC_DIGIT_2_HIT_H
30
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