ATLAS Offline Software
Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigVertexCounts.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGINDETEVENT_TRIGVERTEXCOUNTS_H
6 #define TRIGINDETEVENT_TRIGVERTEXCOUNTS_H
7 
9 
17 public:
18 
21 
23  TrigVertexCounts(const std::vector<unsigned int>& vtxNtrks,
24  const std::vector<float>& vtxTrkPtSqSum);
25 
26  TrigVertexCounts(std::vector<unsigned int>&& vtxNtrks,
27  std::vector<float>&& vtxTrkPtSqSum);
28 
30  ~TrigVertexCounts() = default;
31 
32  const std::vector<unsigned int>& vtxNtrks(void) const { return m_vtxNtrks; }
33  const std::vector<float>& vtxTrkPtSqSum(void) const { return m_vtxTrkPtSqSum; }
34 
35 private:
36 
37  std::vector<unsigned int> m_vtxNtrks;
38  std::vector<float> m_vtxTrkPtSqSum;
39 };
40 
41 // obtained using clid -m TrigVertexCounts
42 CLASS_DEF( TrigVertexCounts , 64641956 , 1 )
43 
44 #endif
TrigVertexCounts::~TrigVertexCounts
~TrigVertexCounts()=default
Destructor.
TrigVertexCounts::vtxNtrks
const std::vector< unsigned int > & vtxNtrks(void) const
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigVertexCounts.h:32
TrigVertexCounts::m_vtxNtrks
std::vector< unsigned int > m_vtxNtrks
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigVertexCounts.h:37
TrigVertexCounts
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigVertexCounts.h:16
TrigVertexCounts::TrigVertexCounts
TrigVertexCounts()
Default constructor used by T/P converters.
Definition: TrigVertexCounts.cxx:9
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TrigVertexCounts::m_vtxTrkPtSqSum
std::vector< float > m_vtxTrkPtSqSum
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigVertexCounts.h:38
CLASS_DEF.h
macros to associate a CLID to a type
TrigVertexCounts::vtxTrkPtSqSum
const std::vector< float > & vtxTrkPtSqSum(void) const
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigVertexCounts.h:33