Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepMCCompress.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file HepMCCompress.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MAIN_HEPMCCOMPRESS_H
4 #define G4MAIN_HEPMCCOMPRESS_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <set>
9 #include <string>
10 
11 class PHCompositeNode;
12 
13 class HepMCCompress : public SubsysReco
14 {
15  public:
16  HepMCCompress(const std::string &name = "HEPMCREADER");
17  ~HepMCCompress() override {}
18 
19  int Init(PHCompositeNode *topNode) override;
20  int process_event(PHCompositeNode *topNode) override;
21  protected:
22  short int FloatToInt(const float rval) const;
23  std::set<int> exclude_pid;
24  std::set<int> select_pid;
25 };
26 
27 #endif
28