ATLAS Offline Software
Loading...
Searching...
No Matches
MuCTPIL1Topo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace LVL1 {
8
10
11
12 LVL1::MuCTPIL1Topo::MuCTPIL1Topo(const std::vector<MuCTPIL1TopoCandidate> & candList)
13 : m_muonTopoCandidates(candList)
14 {}
15
18 if( this != &a ) {
19 m_muonTopoCandidates = a.getCandidates();
20 }
21 return *this;
22 }
23
26 for(const MuCTPIL1TopoCandidate & muCand : a.getCandidates())
27 {
28 addCandidate( muCand );
29 }
30 return *this;
31 }
32
35 MuCTPIL1Topo result = *this;
36 result += a;
37 return result;
38 }
39
40 const std::vector<MuCTPIL1TopoCandidate> &
44
45 void
46 LVL1::MuCTPIL1Topo::setCandidates(const std::vector<MuCTPIL1TopoCandidate> & candList) {
47 m_muonTopoCandidates = candList;
48 }
49
50 void
52 m_muonTopoCandidates.push_back(candidate);
53 }
54
55 void
59
60 void
62 for (const MuCTPIL1TopoCandidate & muCand : m_muonTopoCandidates)
63 {
64 muCand.print();
65 }
66 }
67
68} // namespace LVL1
static Double_t a
MuCTPI input class to the L1Topo simulation.
MuCTPI input class to the L1Topo simulation.
MuCTPIL1Topo & operator+=(const MuCTPIL1Topo &)
void addCandidate(const MuCTPIL1TopoCandidate &candidate)
void setCandidates(const std::vector< MuCTPIL1TopoCandidate > &candList)
const std::vector< MuCTPIL1TopoCandidate > & getCandidates() const
MuCTPIL1Topo & operator=(const MuCTPIL1Topo &)
Assignment operators.
MuCTPIL1Topo operator+(const MuCTPIL1Topo &)
std::vector< MuCTPIL1TopoCandidate > m_muonTopoCandidates
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...