Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4AllDstPileupMerger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4AllDstPileupMerger.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MAIN_Fun4AllDstPileupMerger_H
4 #define G4MAIN_Fun4AllDstPileupMerger_H
5 
11 #include <map>
12 #include <string>
13 
14 class PHCompositeNode;
15 class PHG4HitContainer;
17 class PHHepMCGenEventMap;
18 
25 {
26 
27  public:
28 
30  Fun4AllDstPileupMerger() = default;
31 
33  ~Fun4AllDstPileupMerger() = default;
34 
37 
39  void copy_background_event(PHCompositeNode *, double delta_t) const;
40 
41  void copyDetectorActiveCrossings(const std::map<std::string,std::pair<double ,double>> &dmap) {m_DetectorTiming = dmap;}
42 
43  private:
44 
47 
49  std::map<std::string, PHG4HitContainer *> m_g4hitscontainers;
50 
53 
54  std::map<std::string,std::pair<double ,double>> m_DetectorTiming;
55 };
56 
57 #endif