|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TGCSSCControllerOut_hh
6 #define TGCSSCControllerOut_hh
25 int getR(
int ssc)
const;
26 int getDR(
int ssc)
const;
29 int getPhi(
int ssc,
int phipos,
bool ored=
false)
const;
30 int getDPhi(
int ssc,
int phipos,
bool ored=
false)
const;
31 int getPtPhi(
int ssc,
int phipos,
bool ored=
false)
const;
33 void setR(
unsigned int ssc,
int rIn);
34 void setDR(
unsigned int ssc,
int dRIn);
35 void setPtR(
unsigned int ssc,
int ptLvl);
36 void setHitR(
unsigned int ssc,
bool hit);
38 void setPhi(
int chamberNo,
int phiPos,
int phiIn);
39 void setDPhi(
int chamberNo,
int phiPos,
int dPhiIn);
40 void setPtPhi(
int chamberNo,
int phiPos,
int ptLvl);
41 void setHitPhi(
int chamberNo,
int phiPos,
bool hit);
43 bool hasHit(
int ssc,
bool ored=
false)
const;
44 bool hasHit(
int ssc,
int phiposInSSC,
bool ored=
false)
const;
45 bool hasHitPhi(
int chamberNo,
int phiPos)
const;
64 int m_r[LVL1TGC::kNMaxSSC];
65 int m_dR[LVL1TGC::kNMaxSSC];
74 if(ssc==2||ssc==4||ssc==6||ssc==12)
return true;
83 if(ssc==4||ssc==6)
return true;
86 std::cerr <<
"internal error: ssc " << ssc
87 <<
" don't has chamber boundary" << std::endl;
99 std::cerr <<
"internal error: ssc " << ssc
100 <<
" don't has chamber boundary" << std::endl;
150 std::cerr <<
"internal error in TGCSSCControllerOut::getPhi()"
167 std::cerr <<
"internal error in TGCSSCControllerOut::getDPhi()"
185 std::cerr <<
"internal error in TGCSSCControllerOut::getPtPhi()"
196 if (ssc < LVL1TGC::kNMaxSSC){
199 std::cerr <<
"internal error in TGCSSCControllerOut::setR() sscid:" << ssc <<
" 0 < SSCId < " << LVL1TGC::kNMaxSSC << std::endl;
206 if (ssc < LVL1TGC::kNMaxSSC) {
209 std::cerr <<
"internal error in TGCSSCControllerOut::setDR() sscid:" << ssc <<
" 0 < SSCId < " << LVL1TGC::kNMaxSSC << std::endl;
216 if (ssc < LVL1TGC::kNMaxSSC) {
219 std::cerr <<
"internal error in TGCSSCControllerOut::setPtR() sscid:" << ssc <<
" 0 < SSCId < " << LVL1TGC::kNMaxSSC << std::endl;
226 if (ssc < LVL1TGC::kNMaxSSC) {
229 std::cerr <<
"internal error in TGCSSCControllerOut::setHitR() sscid:" << ssc <<
" 0 < SSCId < " << LVL1TGC::kNMaxSSC << std::endl;
237 m_phi[chamberNo][phiPos]=phiIn;
239 std::cerr <<
"internal error in TGCSSCControllerOut::setPhi() chamberNo:" << chamberNo <<
" phiPos:" << phiPos <<
" phiIn:" << phiIn << std::endl;
247 m_dPhi[chamberNo][phiPos]=dPhiIn;
249 std::cerr <<
"internal error in TGCSSCControllerOut::setDPhi() chamberNo:" << chamberNo <<
" phiPos:" << phiPos <<
" dPhiIn:" << dPhiIn << std::endl;
257 m_ptPhi[chamberNo][phiPos]=ptLvl;
259 std::cerr <<
"internal error in TGCSSCControllerOut::setPtPhi() chamberNo:" << chamberNo <<
" phiPos:" << phiPos <<
" ptLvl:" << ptLvl << std::endl;
269 std::cerr <<
"internal error in TGCSSCControllerOut::setHitPhi() chamberNo:" << chamberNo <<
" phiPos:" << phiPos <<
" hit:" << hit << std::endl;
int getPtPhi(int ssc, int phipos, bool ored=false) const
void setPtR(unsigned int ssc, int ptLvl)
const int NumberOfRegionType
int m_dR[LVL1TGC::kNMaxSSC]
bool hasHit(int ssc, bool ored=false) const
void setDR(unsigned int ssc, int dRIn)
int getPtR(int ssc) const
bool hasHitPhi(int chamberNo, int phiPos) const
int m_ptR[LVL1TGC::kNMaxSSC]
int m_r[LVL1TGC::kNMaxSSC]
bool hasChamberBoundary(int ssc) const
void setPhi(int chamberNo, int phiPos, int phiIn)
bool m_hitPhi[MaxNumberOfChamberInR][MaxNumberOfPhiInSSC]
int getDPhi(int ssc, int phipos, bool ored=false) const
void setDPhi(int chamberNo, int phiPos, int dPhiIn)
bool hasUpperChamber(int ssc) const
int getNumberOfChamberInR() const
int getChamberNumber(int ssc) const
TGCSSCControllerOut(TGCRegionType region=TGCRegionType::ENDCAP)
int getNumberOfSubSectorCluster() const
static const int s_chamber[NumberOfRegionType][LVL1TGC::kNMaxSSC]
int getOredChamberNumber(int ssc) const
void setPtPhi(int chamberNo, int phiPos, int ptLvl)
void setR(unsigned int ssc, int rIn)
void setHitR(unsigned int ssc, bool hit)
void setHitPhi(int chamberNo, int phiPos, bool hit)
TGCRegionType m_regionType
bool m_hitR[LVL1TGC::kNMaxSSC]
int getPhi(int ssc, int phipos, bool ored=false) const
int m_ptPhi[MaxNumberOfChamberInR][MaxNumberOfPhiInSSC]
int m_dPhi[MaxNumberOfChamberInR][MaxNumberOfPhiInSSC]
int m_phi[MaxNumberOfChamberInR][MaxNumberOfPhiInSSC]