Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubjetIndicesv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SubjetIndicesv1.h
1 #ifndef JETBASE_SUBJETINDICESV1_H
2 #define JETBASE_SUBJETINDICESV1_H
3 
4 #include "SubjetIndices.h"
5 #include <vector>
6 
8 {
9  public:
10 
11  void Reset() override;
12 
13  unsigned int nsubjets() const override { return m_nsubjets; };
14  unsigned int index_begin(unsigned int which_jet=0) const override;
15  unsigned int index_end (unsigned int which_jet=0) const override;
16 
17  void add_index_pair (unsigned int _begin, unsigned int _end) override;
18 
19  private:
20  std::vector<unsigned int> v_begin {};
21  std::vector<unsigned int> v_end {};
22  unsigned int m_nsubjets {0};
23 };
24 
25 #endif // JETBASE_SUBJETINDICESV1_H