Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrClusterContainerv3.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrClusterContainerv3.h
1 #ifndef TRACKBASE_TRKRCLUSTERCONTAINERV3_H
2 #define TRACKBASE_TRKRCLUSTERCONTAINERV3_H
3 
11 #include "TrkrClusterContainer.h"
12 
13 #include <phool/PHObject.h>
14 
15 class TrkrCluster;
16 
21 {
22  public:
23  TrkrClusterContainerv3() = 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  HitSetKeyList getHitSetKeys() const override;
38 
39  HitSetKeyList getHitSetKeys(const TrkrDefs::TrkrId) const override;
40 
41  HitSetKeyList getHitSetKeys(const TrkrDefs::TrkrId, const uint8_t /* layer */) const override;
42 
43  unsigned int size(void) const override;
44 
45  private:
46  std::map<TrkrDefs::hitsetkey, Map> m_clusmap;
47 
48  ClassDefOverride(TrkrClusterContainerv3, 1)
49 };
50 
51 #endif // TRACKBASE_TrkrClusterContainerv3_H