File indexing completed on 2025-08-06 08:17:54
0001
0002
0003
0004
0005
0006
0007 #ifndef MVTX_MVTXCLUSTERPRUNER_H
0008 #define MVTX_MVTXCLUSTERPRUNER_H
0009
0010 #include <fun4all/SubsysReco.h>
0011 #include <trackbase/TrkrDefs.h>
0012
0013 #include <string> // for string
0014 #include <utility>
0015
0016
0017 class PHCompositeNode;
0018
0019
0020
0021
0022
0023 class MvtxClusterPruner : public SubsysReco
0024 {
0025 public:
0026
0027
0028 MvtxClusterPruner(const std::string &name = "MvtxClusterPruner");
0029
0030
0031 int Init(PHCompositeNode * ) override { return 0; }
0032
0033
0034 int InitRun(PHCompositeNode * ) override;
0035
0036
0037 int process_event(PHCompositeNode * ) override;
0038
0039
0040 int End(PHCompositeNode * ) override;
0041
0042
0043 void set_use_strict_matching( bool value )
0044 { m_use_strict_matching = value; }
0045
0046 private:
0047
0048
0049 bool m_use_strict_matching = false;
0050
0051
0052
0053 uint64_t m_cluster_counter_total = 0;
0054 uint64_t m_cluster_counter_deleted = 0;
0055
0056 };
0057
0058 #endif