ATLAS Offline Software
MuCTPIL1Topo.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef TRIGT1INTERFACES_MUCTPIL1TOPO_H
6 #define TRIGT1INTERFACES_MUCTPIL1TOPO_H
7 
8 #include <vector>
9 
10 // Local include(s):
12 
13 namespace LVL1 {
14 
24  class MuCTPIL1Topo {
25 
26  public:
27  //constructor
28  MuCTPIL1Topo();
29  MuCTPIL1Topo(const std::vector<MuCTPIL1TopoCandidate> & candList);
30  MuCTPIL1Topo(const MuCTPIL1Topo&) = default;
31  ~MuCTPIL1Topo() = default;
32 
33  //Return the vector of muon to L1Topo candidates
34  const std::vector<MuCTPIL1TopoCandidate> & getCandidates() const;
35 
36  //Set the vector of muon to L1Topo candidates
37  void setCandidates(const std::vector<MuCTPIL1TopoCandidate> & candList);
38 
39  // add a candidates to the list
40  void addCandidate(const MuCTPIL1TopoCandidate & candidate);
41 
42  // clear the list of candidates
43  void clearCandidates();
44 
45  void setBcidOffset(int bcidOffset){m_bcidOffset = bcidOffset;}
46  int getBcidOffset() const { return m_bcidOffset;}
47 
52 
53  // print the list of candidates
54  void print() const;
55 
56  private:
57  //vector of candidates
58  std::vector<MuCTPIL1TopoCandidate> m_muonTopoCandidates;
59  int m_bcidOffset {0};
60 
61  }; // class MuCTPIL1Topo
62 
63 } // namespace LVL1
64 
65 #include "AthenaKernel/CLASS_DEF.h"
66 CLASS_DEF( LVL1::MuCTPIL1Topo, 6175, 0 )
67 
68 #endif // TRIGT1INTERFACES_MUCTPIL1TOPO_H
MuCTPIL1TopoCandidate.h
LVL1::MuCTPIL1Topo::clearCandidates
void clearCandidates()
Definition: MuCTPIL1Topo.cxx:56
LVL1::MuCTPIL1Topo::operator+
MuCTPIL1Topo operator+(const MuCTPIL1Topo &)
Definition: MuCTPIL1Topo.cxx:34
LVL1::MuCTPIL1Topo::MuCTPIL1Topo
MuCTPIL1Topo()
Definition: MuCTPIL1Topo.cxx:9
LVL1::MuCTPIL1Topo::setCandidates
void setCandidates(const std::vector< MuCTPIL1TopoCandidate > &candList)
Definition: MuCTPIL1Topo.cxx:46
LVL1::MuCTPIL1Topo
MuCTPI input class to the L1Topo simulation.
Definition: MuCTPIL1Topo.h:24
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::MuCTPIL1Topo::setBcidOffset
void setBcidOffset(int bcidOffset)
Definition: MuCTPIL1Topo.h:45
LVL1::MuCTPIL1Topo::getBcidOffset
int getBcidOffset() const
Definition: MuCTPIL1Topo.h:46
LVL1::MuCTPIL1Topo::MuCTPIL1Topo
MuCTPIL1Topo(const MuCTPIL1Topo &)=default
LVL1::MuCTPIL1Topo::getCandidates
const std::vector< MuCTPIL1TopoCandidate > & getCandidates() const
Definition: MuCTPIL1Topo.cxx:41
LVL1::MuCTPIL1Topo::m_muonTopoCandidates
std::vector< MuCTPIL1TopoCandidate > m_muonTopoCandidates
Definition: MuCTPIL1Topo.h:58
LVL1::MuCTPIL1Topo::m_bcidOffset
int m_bcidOffset
Definition: MuCTPIL1Topo.h:59
LVL1::MuCTPIL1TopoCandidate
MuCTPI input class to the L1Topo simulation.
Definition: MuCTPIL1TopoCandidate.h:23
LVL1::MuCTPIL1Topo::operator=
MuCTPIL1Topo & operator=(const MuCTPIL1Topo &)
Assignment operators.
Definition: MuCTPIL1Topo.cxx:17
LVL1::MuCTPIL1Topo::addCandidate
void addCandidate(const MuCTPIL1TopoCandidate &candidate)
Definition: MuCTPIL1Topo.cxx:51
LVL1::MuCTPIL1Topo::~MuCTPIL1Topo
~MuCTPIL1Topo()=default
LVL1::MuCTPIL1Topo::operator+=
MuCTPIL1Topo & operator+=(const MuCTPIL1Topo &)
Definition: MuCTPIL1Topo.cxx:25
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
LVL1::MuCTPIL1Topo::print
void print() const
Definition: MuCTPIL1Topo.cxx:61
CLASS_DEF.h
macros to associate a CLID to a type