ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace LVL1 {
14
25
26 public:
27 //constructor
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
67
68#endif // TRIGT1INTERFACES_MUCTPIL1TOPO_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
MuCTPI input class to the L1Topo simulation.
MuCTPI input class to the L1Topo simulation.
int getBcidOffset() const
MuCTPIL1Topo(const MuCTPIL1Topo &)=default
MuCTPIL1Topo & operator+=(const MuCTPIL1Topo &)
void addCandidate(const MuCTPIL1TopoCandidate &candidate)
void setCandidates(const std::vector< MuCTPIL1TopoCandidate > &candList)
const std::vector< MuCTPIL1TopoCandidate > & getCandidates() const
~MuCTPIL1Topo()=default
MuCTPIL1Topo & operator=(const MuCTPIL1Topo &)
Assignment operators.
MuCTPIL1Topo operator+(const MuCTPIL1Topo &)
void setBcidOffset(int bcidOffset)
std::vector< MuCTPIL1TopoCandidate > m_muonTopoCandidates
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...