Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MvtxApplyHotDead.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MvtxApplyHotDead.h
1 #ifndef __PHG4SVTXCLUSTERIZER_H__
2 #define __PHG4SVTXCLUSTERIZER_H__
3 
4 #include <fun4all/SubsysReco.h>
5 #include <phool/PHTimeServer.h>
6 #include <map>
7 #include <limits.h>
8 
9 #include <mvtx/MvtxHitSetv1.h>
10 #include <trackbase/TrkrDefUtil.h>
11 
13 
14 class MvtxApplyHotDead : public SubsysReco {
15 
16 public:
17 
18  typedef std::pair<unsigned int, unsigned int> Pixel;
19  typedef std::multimap<TrkrDefs::hitsetkey, Pixel> PixelMap;
20  typedef PixelMap::const_iterator ConstIterator;
21 
22  MvtxApplyHotDead(const std::string &name = "MvtxApplyHotDead",
23  const std::string file = "");
24  virtual ~MvtxApplyHotDead() {}
25 
27  int Init(PHCompositeNode *topNode) {return 0;}
28 
30  int InitRun(PHCompositeNode *topNode);
31 
33  int process_event(PHCompositeNode *topNode);
34 
36  int End(PHCompositeNode *topNode) {return 0;}
37 
39  void PrintHotDeadMap(std::ostream& os = std::cout) const;
40 
41 private:
42 
44  void ReadHotDeadFile();
45 
46  // node tree storage pointers
48 
49  std::string hdfile_; // hot dead file name
51 
52 
54 };
55 
56 #endif