Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrTruthTrackContainerv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrTruthTrackContainerv1.h
1 #ifndef G4TRACKING_TRUTHTRACKCONTAINERV1_H
2 #define G4TRACKING_TRUTHTRACKCONTAINERV1_H
3 
12 class TrkrTruthTrack;
14 
19 {
20  public:
21  void Reset() override;
22  /* void fillEmbeddedTrkIds(PHG4TruthInfoContainer*); // fill in all the embedded track ids at once */
23  void addTruthTrack (TrkrTruthTrack*) override;
24  TrkrTruthTrack* getTruthTrack(unsigned int trackid) override;
25  TrkrTruthTrack* getTruthTrack(unsigned int trackid, PHG4TruthInfoContainer*) override;
26  ConstRange getTruthTrackRange() const override;
27  bool hasTrackid(unsigned int trackid) const override;
28  Map& getMap() override;
29 
30  TrkrTruthTrackContainerv1() = default;
31 
32  void identify(std::ostream& os = std::cout) const override;
33  int nhw_virt() override { return 61; };
34 
35  private:
36  // the data
37  Map m_data {};
38 
39  ClassDefOverride(TrkrTruthTrackContainerv1, 1)
40 };
41 
42 #endif // G4TRACKING_TruthTrackContainerv1.h