Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MvtxCombinedRawDataDecoder.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MvtxCombinedRawDataDecoder.h
1 #ifndef MVTX_MVTXCOMBINEDRAWDATADECODER_H
2 #define MVTX_MVTXCOMBINEDRAWDATADECODER_H
3 
10 #include <fun4all/SubsysReco.h>
11 
12 #include <trackbase/TrkrDefs.h>
13 
14 #include <map>
15 #include <memory>
16 #include <string>
17 #include <vector>
18 
19 class MvtxEventInfo;
20 class MvtxRawEvtHeader;
22 class MvtxRawHit;
23 class PHCompositeNode;
25 
28 {
29  public:
31  MvtxCombinedRawDataDecoder(const std::string& name = "MvtxCombinedRawDataDecoder");
32 
34  int Init(PHCompositeNode*) override;
35 
37  int InitRun(PHCompositeNode*) override;
38 
40  int process_event(PHCompositeNode*) override;
41 
43  int End(PHCompositeNode*) override;
44 
46 
48 
50 
51  private:
52  void removeDuplicates(std::vector<std::pair<uint64_t, uint32_t>>& v);
57  MvtxRawHit* mvtx_hit = nullptr;
58 
61  float m_strobeWidth = 89.;
63  std::vector<std::pair<TrkrDefs::hitsetkey, TrkrDefs::hitkey>> m_hotPixelMap;
64 };
65 
66 #endif