ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
50CLASS_DEF( TrigPileUpInfo , 95781919 , 1 )
51CLASS_DEF( DataVector<TrigPileUpInfo> , 182719150 , 1 )
52
53
55
56CLASS_DEF( TrigPileUpInfoContainer , 1255908109 , 1 )
57
59
60
61#endif
Provide an interface for finding inheritance information at run time.
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
Derived DataVector<T>.
Definition DataVector.h:795
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
int getPV(unsigned int index) const
const std::vector< int > & getBJVec() const
int getFJ(unsigned int index) const
const std::vector< int > & getPVVec() const
const std::vector< int > & getFJVec() const
std::vector< int > m_BJ
std::vector< int > m_FJ
std::vector< int > m_PV_Track
int getBJ(unsigned int index) const
Definition index.py:1