Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrClusterContainerv2.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrClusterContainerv2.h
1 #ifndef TRACKBASE_TRKRCLUSTERCONTAINERV2_H
2 #define TRACKBASE_TRKRCLUSTERCONTAINERV2_H
3 
11 #include "TrkrClusterContainer.h"
12 
13 #include <phool/PHObject.h>
14 
15 class TrkrCluster;
16 
21 {
22  public:
23  TrkrClusterContainerv2() = default;
24 
25  void Reset() override;
26 
27  void identify(std::ostream& os = std::cout) const override;
28 
29  void addClusterSpecifyKey(const TrkrDefs::cluskey, TrkrCluster*) override;
30 
31  void removeCluster(TrkrDefs::cluskey) override;
32 
34 
35  TrkrCluster* findCluster(TrkrDefs::cluskey) const override;
36 
37  unsigned int size() const override;
38 
39  private:
40  unsigned int max_layer = 57;
41 
42  unsigned int max_phisegment = 20;
43 
44  unsigned int max_zsegment = 15;
45 
46  Map m_clusmap[57][20][15];
47 
48  ClassDefOverride(TrkrClusterContainerv2, 1)
49 };
50 
51 #endif // TRACKBASE_TrkrClusterContainerv2_H