26 std::cout <<
"LVL1TGCTrigger::TGCRPhiCoincidenceMatrix "
27 <<
"inputR r=" <<
m_r <<
" dR=" <<
m_dR <<
" H/L=" <<
m_ptR <<std::endl;
39 std::cout <<
"LVL1TGCTrigger::TGCRPhiCoincidenceMatrix "
74 int CoincidenceTypeOut=-1;
86 uint8_t ptOut = std::abs(pt);
87 chargeOut = pt<0 ? 0:1;
89 chargeOut =
m_sideId == 0 ? chargeOut : !chargeOut;
91 CoincidenceTypeOut=(
type==0);
100 out->setPhi(
m_phi[j]);
103 out->setRoI(subsector);
104 out->setCharge(chargeOut);
105 out->setCoincidenceType(CoincidenceTypeOut);
110 if (
tgcArgs()->MSGLEVEL() <= MSG::DEBUG){
113 log << MSG::DEBUG <<
" Trigger Out : "
114 <<
" pt =" << ptMax+1 <<
" R=" <<
m_r <<
" Phi=" <<
m_phi[j0]
119 log << MSG::DEBUG <<
"NO Trigger Out : " <<
endmsg;
128 this->
m_lut = std::move(lut);
std::shared_ptr< const LVL1TGC::BigWheelCoincidenceLUT > m_lut
virtual ~TGCRPhiCoincidenceMatrix()
TGCRPhiCoincidenceOut * m_matrixOut
void setCoincidenceLUT(std::shared_ptr< const LVL1TGC::BigWheelCoincidenceLUT > lut)
const TGCArguments * tgcArgs() const
const TGCArguments * m_tgcArgs
TGCRPhiCoincidenceMatrix & operator=(const TGCRPhiCoincidenceMatrix &right)
TGCRPhiCoincidenceOut * doCoincidence()
TGCRPhiCoincidenceMatrix(const TGCArguments *, const TGCSectorLogic *sL=0)
void inputPhi(int phiIn, int dPhiIn, int ptPhiIn)
const TGCSectorLogic * m_sectorLogic
void inputR(int rIn, int dRIn, int ptRIn)
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)