ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CentralityInfov1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CentralityInfov1.h
1 #ifndef CENTRALITY_IO_CENTRALITYINFOV1_H
2 #define CENTRALITY_IO_CENTRALITYINFOV1_H
3 
4 #include "CentralityInfo.h"
5 
6 #include <iostream>
7 #include <map>
8 
10 {
11  public:
13  ~CentralityInfov1() override {}
14 
15  void identify(std::ostream &os = std::cout) const override;
16  void Reset() override {}
17  int isValid() const override { return 1; }
18 
19  bool has_quantity(const PROP prop_id) const override;
20  float get_quantity(const PROP prop_id) const override;
21  void set_quantity(const PROP prop_id, const float value) override;
22 
23  bool has_centile(const PROP prop_id) const override;
24  float get_centile(const PROP prop_id) const override;
25  void set_centile(const PROP prop_id, const float value) override;
26 
27  private:
28  std::map<int, float> _quantity_map;
29  std::map<int, float> _centile_map;
30 
32 };
33 
34 #endif