ATLAS Offline Software
TrigPileUpInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef TRIGL2PILEUP_TRIGPILEUPINFO_H
7 #define TRIGL2PILEUP_TRIGPILEUPINFO_H
8 
10 #include "AthenaKernel/BaseInfo.h"
12 #include "GaudiKernel/MsgStream.h"
13 
14 #include <vector>
15 
16 
18 
19  public:
20 
22 
23  void clear();
24 
25  int numFJ(){ return (int) m_FJ.size(); }
26  int numBJ(){ return (int) m_BJ.size(); }
27  int numPV(){ return (int) m_PV_Track.size(); }
28 
29  void addFJ(int);
30  void addBJ(int);
31  void addPV(int);
32 
33  int getFJ(unsigned int index) const;
34  int getBJ(unsigned int index) const;
35  int getPV(unsigned int index) const;
36 
37  const std::vector<int>& getFJVec() const;
38  const std::vector<int>& getBJVec() const;
39  const std::vector<int>& getPVVec() const;
40 
41  private:
42 
43  std::vector<int> m_FJ; // Forward Jet thresholds
44  std::vector<int> m_BJ; // Backward Jet thresholds
45  std::vector<int> m_PV_Track; // Number of Primarty Vertices
46 
47 };
48 
49 
50 CLASS_DEF( TrigPileUpInfo , 95781919 , 1 )
51 CLASS_DEF( DataVector<TrigPileUpInfo> , 182719150 , 1 )
52 
53 
55 
56 CLASS_DEF( TrigPileUpInfoContainer , 1255908109 , 1 )
57 
59 
60 
61 #endif
TrigPileUpInfo::getBJVec
const std::vector< int > & getBJVec() const
Definition: TrigPileUpInfo.cxx:48
TrigPileUpInfo::getPVVec
const std::vector< int > & getPVVec() const
Definition: TrigPileUpInfo.cxx:52
index
Definition: index.py:1
TrigPileUpInfo::getPV
int getPV(unsigned int index) const
Definition: TrigPileUpInfo.cxx:37
TrigPileUpInfo::getFJVec
const std::vector< int > & getFJVec() const
Definition: TrigPileUpInfo.cxx:44
TrigPileUpInfo::addBJ
void addBJ(int)
Definition: TrigPileUpInfo.cxx:61
TrigPileUpInfo::numBJ
int numBJ()
Definition: TrigPileUpInfo.h:26
TrigPileUpInfo::numFJ
int numFJ()
Definition: TrigPileUpInfo.h:25
TrigPileUpInfo::getBJ
int getBJ(unsigned int index) const
Definition: TrigPileUpInfo.cxx:30
TrigPileUpInfo::m_FJ
std::vector< int > m_FJ
Definition: TrigPileUpInfo.h:43
BaseInfo.h
Provide an interface for finding inheritance information at run time.
TrigPileUpInfo::m_BJ
std::vector< int > m_BJ
Definition: TrigPileUpInfo.h:44
TrigPileUpInfo::getFJ
int getFJ(unsigned int index) const
Definition: TrigPileUpInfo.cxx:23
TrigPileUpInfo
Definition: TrigPileUpInfo.h:17
TrigPileUpInfo::addFJ
void addFJ(int)
Definition: TrigPileUpInfo.cxx:57
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
TrigPileUpInfo::clear
void clear()
Definition: TrigPileUpInfo.cxx:16
TrigPileUpInfo::addPV
void addPV(int)
Definition: TrigPileUpInfo.cxx:65
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
TrigPileUpInfo::numPV
int numPV()
Definition: TrigPileUpInfo.h:27
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
SG_BASE
SG_BASE(TrigPileUpInfoContainer, DataVector< TrigPileUpInfo >)
TrigPileUpInfoContainer
Definition: TrigPileUpInfo.h:54
CLASS_DEF.h
macros to associate a CLID to a type
TrigPileUpInfo::TrigPileUpInfo
TrigPileUpInfo()
Definition: TrigPileUpInfo.cxx:11
TrigPileUpInfo::m_PV_Track
std::vector< int > m_PV_Track
Definition: TrigPileUpInfo.h:45