ATLAS Offline Software
Loading...
Searching...
No Matches
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
17public:
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
35private:
36
37 std::vector<unsigned int> m_vtxNtrks;
38 std::vector<float> m_vtxTrkPtSqSum;
39};
40
41// obtained using clid -m TrigVertexCounts
42CLASS_DEF( TrigVertexCounts , 64641956 , 1 )
43
44#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
~TrigVertexCounts()=default
Destructor.
TrigVertexCounts()
Default constructor used by T/P converters.
const std::vector< unsigned int > & vtxNtrks(void) const