Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CentralityInfov2.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CentralityInfov2.h
1 #ifndef CENTRALITY_CENTRALITYINFOV2_H
2 #define CENTRALITY_CENTRALITYINFOV2_H
3 
4 #include "CentralityInfov1.h"
5 
6 #include <iostream>
7 #include <map>
8 
10 {
11  public:
12  CentralityInfov2() = default;
13  ~CentralityInfov2() override = default;
14 
15  void identify(std::ostream &os = std::cout) const override;
16  void Reset() override {}
17 
18  bool has_centrality_bin(const PROP prop_id) const override;
19  int get_centrality_bin(const PROP prop_id) const override;
20  void set_centrality_bin(const PROP prop_id, const int value) override;
21  private:
22 
23  std::map<int, int> _centrality_bin_map;
24 
26 };
27 
28 #endif