Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClusHitsVerbosev1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ClusHitsVerbosev1.h
1 #ifndef G4TRACKING_CLUSHITSVERBOSEV1_H
2 #define G4TRACKING_CLUSHITSVERBOSEV1_H
3 
11 #include "ClusHitsVerbose.h"
12 
17 {
18  public:
19  ClusHitsVerbosev1() = default;
20 
21  void Reset() override;
22 
23  bool hasClusKey (TrkrDefs::cluskey) const override;
24  Vector& phiBins (TrkrDefs::cluskey) override;
25  Vector& zBins (TrkrDefs::cluskey) override;
27  Vector& zCutBins (TrkrDefs::cluskey) override;
28  Map& getMap () override { return m_data; };
29 
34 
35  void addPhiHit (int _i, int _v) override { m_stage_phi .push_back({_i,_v}); };
36  void addPhiCutHit (int _i, int _v) override { m_stage_phiCut .push_back({_i,_v}); };
37  void addZHit (int _i, int _v) override { m_stage_z .push_back({_i,_v}); };
38  void addZCutHit (int _i, int _v) override { m_stage_zCut .push_back({_i,_v}); };
39  void push_hits (TrkrDefs::cluskey) override;
40 
41  void identify(std::ostream& os = std::cout) const override
42  {
43  os << "ClusHitsVerbosev1 class" << std::endl;
44  };
45 
46  private:
47  // the data
48  Map m_data {};
53 
54  PairVector pvecIE (TrkrDefs::cluskey, int which);
55  Vector& vecBins (TrkrDefs::cluskey, int which);
56 
57 
58  ClassDefOverride(ClusHitsVerbosev1, 1)
59 };
60 
61 #endif // G4TRACKING_CLUSHITSVERBOSEV1_H