ATLAS Offline Software
Loading...
Searching...
No Matches
MuCTPIL1TopoCandidate.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include <iostream>
7#include <iomanip>
8
9namespace LVL1 {
10
16
17 void MuCTPIL1TopoCandidate::setCandidateData(const std::string& sectorName,
18 unsigned int roiID,
19 unsigned int bcid,
20 unsigned int ptThresholdID,
21 unsigned int ptL1TopoCode,
22 unsigned int ptValue,
23 float eta,
24 float phi,
25 unsigned int etacode,
26 unsigned int phicode,
27 float etamin,
28 float etamax,
29 float phimin,
30 float phimax,
31 unsigned int mioctID,
32 int ieta,
33 int iphi){
34 m_sectorName = sectorName ;
35 m_roiID = roiID ;
36 m_bcid = bcid ;
37 m_ptThresholdID = ptThresholdID ;
38 m_ptL1TopoCode = ptL1TopoCode ;
39 m_ptValue = ptValue ;
40 m_eta = eta ;
41 m_phi = phi ;
42 m_etacode = etacode ;
43 m_phicode = phicode ;
44 m_etamin = etamin ;
45 m_etamax = etamax ;
46 m_phimin = phimin ;
47 m_phimax = phimax ;
48 m_mioctID = mioctID;
49 m_ieta = ieta;
50 m_iphi = iphi;
51 }
52
53 void MuCTPIL1TopoCandidate::setTGCFlags(bool bw2or3, bool innerCoin, bool goodMF, int charge)
54 {
55 m_bw2or3 = bw2or3;
56 m_innerCoin = innerCoin;
57 m_goodMF = goodMF;
59 }
60
61 void MuCTPIL1TopoCandidate::setRPCFlags(bool is2cand, bool phiOvl)
62 {
63 m_is2cand = is2cand;
64 m_phiOvl = phiOvl;
65 }
66
67
68 void MuCTPIL1TopoCandidate::setRoiWord(unsigned int roi){
69 m_roiWord = roi;
70 }
71
72
74
75 std::cout << "MioctID: " << m_mioctID << ", Sec: " << m_sectorName << ", RoI: " << m_roiID << ", BCID: " << m_bcid << ", ThrIDX: "
76 << m_ptThresholdID << ", ptCode: " << m_ptL1TopoCode << ", ptVal: " << m_ptValue << ", eta: "
77 << m_eta << ", phi: " << m_phi << ", etaCode: " << m_etacode << ", phiCode: " << m_phicode
78 << ", phi ovl: " << m_phiOvl << ", is2cand: " << m_is2cand
79 << ", charge: " << m_charge << ", bw2or3: " << m_bw2or3 << ", innerCoin: " << m_innerCoin << ", goodMF: " << m_goodMF
80 << ", etaMin: " << m_etamin << ", etaMax: " << m_etamax
81 << ", phiMin: " << m_phimin << ", phiMax: " << m_phimax
82 << ", RoIWord: " << std::setw( 8 ) << std::setfill('0') << std::hex << m_roiWord << std::dec
83 << ", ieta: " << m_ieta << ", iphi: " << m_iphi << std::endl << std::setfill(' ') << std::setw(0);
84
85 }
86
87
88} // namespace LVL1
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
double charge(const T &p)
Definition AtlasPID.h:997
void setRPCFlags(bool is2cand, bool phiOvl)
void setTGCFlags(bool bw2or3, bool innerCoin, bool goodMF, int charge)
void setCandidateData(const std::string &sectorName, unsigned int roiID, unsigned int bcid, unsigned int ptThresholdID, unsigned int ptL1TopoCode, unsigned int ptValue, float eta, float phi, unsigned int etacode, unsigned int phicode, float etamin, float etamax, float phimin, float phimax, unsigned int mioctID, int ieta, int iphi)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...