Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MinimumBiasClassifier.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MinimumBiasClassifier.h
1 #ifndef TRIGGER_MINBIASCLASSIFIER_H
2 #define TRIGGER_MINBIASCLASSIFIER_H
3 
4 #include <fun4all/SubsysReco.h>
5 
6 #include <array>
7 #include <limits>
8 #include <string> // for allocator, string
9 // Forward declarations
10 
11 class MinimumBiasInfo;
12 class PHCompositeNode;
13 class MbdOut;
14 class TowerInfoContainer;
15 class TowerInfo;
16 class GlobalVertexMap;
17 
19 {
20  public:
22  explicit MinimumBiasClassifier(const std::string &name = "MinimumBiasClassifier");
23 
25 
26  ~MinimumBiasClassifier() override = default;
27 
28  int InitRun(PHCompositeNode *) override;
31 
33  int process_event(PHCompositeNode *) override;
35 
36  int ResetEvent(PHCompositeNode *) override;
37 
38  int FillMinimumBiasInfo();
39 
40  private:
41 
42  const float _z_vtx_cut{60.};
43  const float _mbd_north_cut{10.};
44  const float _mbd_south_cut{150};
45  const int _mbd_tube_cut{2};
46  const float _zdc_cut{40.};
47 
49  MbdOut *_mbd_out{nullptr};
52  TowerInfo *_tmp_tower{nullptr};
53 
54  std::array<float, 2> _zdc_energy_sum{};
55 
56 };
57 
58 #endif