ATLAS Offline Software
JetMomentMap_p6.h
Go to the documentation of this file.
1 // emacs , this -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef JETEVENTTPCNV_JETMOMENTMAP_p6_H
8 #define JETEVENTTPCNV_JETMOMENTMAP_p6_H
9 
10 #include <vector>
11 
13 {
14  template <class T>
16 public:
17 
19  virtual ~JetMomentMap_p6() = default;
20 
21  // this limit the number of persified moments to 256
22  typedef unsigned char mom_num_t;
23  static const mom_num_t s_maxNumMoment = -1; // as mom_num_t is unsigned, this will be the max value
24 
25  protected:
26 
27  std::vector<float> m_moments;
28  std::vector<bool> m_momentStatus;
29  std::vector<mom_num_t> m_momentNum;
30  std::vector<unsigned int> m_jetIds;
31 };
32 
33 #endif
JetMomentMap_p6::mom_num_t
unsigned char mom_num_t
Definition: JetMomentMap_p6.h:22
JetMomentMap_p6::s_maxNumMoment
static const mom_num_t s_maxNumMoment
Definition: JetMomentMap_p6.h:23
JetMomentMap_p6::m_moments
std::vector< float > m_moments
Definition: JetMomentMap_p6.h:27
JetMomentMap_p6::m_momentStatus
std::vector< bool > m_momentStatus
Definition: JetMomentMap_p6.h:28
JetMomentMap_p6::JetMomentMap_p6
JetMomentMap_p6()
Definition: JetMomentMap_p6.h:18
JetMomentMap_p6::~JetMomentMap_p6
virtual ~JetMomentMap_p6()=default
JetMomentMapConverterBase
Definition: JetMomentMapConverterBase.h:10
JetMomentMap_p6::m_momentNum
std::vector< mom_num_t > m_momentNum
Definition: JetMomentMap_p6.h:29
JetMomentMap_p6::m_jetIds
std::vector< unsigned int > m_jetIds
Definition: JetMomentMap_p6.h:30
JetMomentMap_p6
Definition: JetMomentMap_p6.h:13