ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1TGCTrigger::TGCRPhiCoincidenceOut Class Reference

#include <TGCRPhiCoincidenceOut.h>

Collaboration diagram for LVL1TGCTrigger::TGCRPhiCoincidenceOut:

Public Member Functions

 TGCRPhiCoincidenceOut ()=default
 ~TGCRPhiCoincidenceOut ()=default
int getPhi () const
int getR () const
int getIdSSC () const
int getDR () const
int getDPhi () const
bool getInnerVeto () const
int getCharge () const
bool getCoincidenceType () const
bool getGoodMFFlag () const
bool getInnerCoincidenceFlag () const
int getpT () const
int getRoI () const
void setIdSSC (int idSSCIn)
void setpT (int pTIn)
void setR (int rIn)
void setPhi (int phiIn)
void setDR (int drIn)
void setDPhi (int dphiIn)
void setInnerVeto (bool vetoIn)
void setRoI (int RoIIn)
void setCharge (int chargeIn)
void setCoincidenceType (int CoincidenceTypeIn)
void setGoodMFFlag (bool goodMFFlagIn)
void setInnerCoincidenceFlag (bool InnerCoincidenceFlagIn)
void print () const
void clear ()
bool isSuperior (const TGCRPhiCoincidenceOut *right) const

Private Attributes

int m_idSSC {-1}
int m_pT {0}
int m_phi {-1}
int m_r {-1}
int m_dR {0}
int m_dPhi {0}
bool m_innerVeto {false}
int m_RoI {0}
int m_charge {0}
bool m_coincidenceTypeFlag {false}
bool m_goodMFFlag {false}
bool m_innerCoincidenceFlag {false}

Detailed Description

Definition at line 11 of file TGCRPhiCoincidenceOut.h.

Constructor & Destructor Documentation

◆ TGCRPhiCoincidenceOut()

LVL1TGCTrigger::TGCRPhiCoincidenceOut::TGCRPhiCoincidenceOut ( )
default

◆ ~TGCRPhiCoincidenceOut()

LVL1TGCTrigger::TGCRPhiCoincidenceOut::~TGCRPhiCoincidenceOut ( )
default

Member Function Documentation

◆ clear()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::clear ( )

◆ getCharge()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getCharge ( ) const
inline

◆ getCoincidenceType()

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::getCoincidenceType ( ) const
inline

◆ getDPhi()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getDPhi ( ) const
inline

Definition at line 20 of file TGCRPhiCoincidenceOut.h.

◆ getDR()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getDR ( ) const
inline

Definition at line 19 of file TGCRPhiCoincidenceOut.h.

◆ getGoodMFFlag()

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::getGoodMFFlag ( ) const
inline

◆ getIdSSC()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getIdSSC ( ) const
inline

Definition at line 18 of file TGCRPhiCoincidenceOut.h.

18{ return m_idSSC; }

◆ getInnerCoincidenceFlag()

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::getInnerCoincidenceFlag ( ) const
inline

◆ getInnerVeto()

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::getInnerVeto ( ) const
inline

Definition at line 21 of file TGCRPhiCoincidenceOut.h.

21{ return m_innerVeto; }

◆ getPhi()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getPhi ( ) const
inline

Definition at line 16 of file TGCRPhiCoincidenceOut.h.

16{ return m_phi; }

◆ getpT()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getpT ( ) const
inline

Definition at line 28 of file TGCRPhiCoincidenceOut.h.

◆ getR()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getR ( ) const
inline

Definition at line 17 of file TGCRPhiCoincidenceOut.h.

17{ return m_r; }

◆ getRoI()

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::getRoI ( ) const
inline

Definition at line 29 of file TGCRPhiCoincidenceOut.h.

◆ isSuperior()

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::isSuperior ( const TGCRPhiCoincidenceOut * right) const

Definition at line 20 of file TGCRPhiCoincidenceOut.cxx.

20 {
21 // selection rule 1. higher pT 2. smaller eta 3. smaller m_phi
22 if (this->getpT() > right->getpT()) {
23 return true;
24 } else if (this->getpT() < right->getpT()) {
25 return false;
26 } else {
27 if (this->getR() < right->getR()) {
28 return true;
29 } else if (this->getR() > right->getR()) {
30 return false;
31 } else {
32 if (this->getPhi() <= right->getPhi()) {
33 return true;
34 } else {
35 return false;
36 }
37 }
38 }
39
40 return true;
41}

◆ print()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::print ( ) const

Definition at line 43 of file TGCRPhiCoincidenceOut.cxx.

44{
45#ifdef TGCCOUT
46 std::cout <<"TGCRPhiCoincidenceOut::print()" << std::endl;
47 std::cout <<" phi= " << m_phi << " r= " << m_r << std::endl;
48 std::cout <<" Pt= " << m_pT << std::endl;
49
50 std::cout <<" Veto= ";
51 if (m_innerVeto) std::cout<<" 1";
52 else std::cout<<" 0";
53 std::cout<<std::endl;
54
55#endif
56}

◆ setCharge()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setCharge ( int chargeIn)
inline

Definition at line 40 of file TGCRPhiCoincidenceOut.h.

40{m_charge=chargeIn;};

◆ setCoincidenceType()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setCoincidenceType ( int CoincidenceTypeIn)
inline

Definition at line 41 of file TGCRPhiCoincidenceOut.h.

41{m_coincidenceTypeFlag=CoincidenceTypeIn;};

◆ setDPhi()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setDPhi ( int dphiIn)
inline

Definition at line 36 of file TGCRPhiCoincidenceOut.h.

36{ m_dPhi = dphiIn; };

◆ setDR()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setDR ( int drIn)
inline

Definition at line 35 of file TGCRPhiCoincidenceOut.h.

35{ m_dR = drIn; };

◆ setGoodMFFlag()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setGoodMFFlag ( bool goodMFFlagIn)
inline

Definition at line 42 of file TGCRPhiCoincidenceOut.h.

42{m_goodMFFlag=goodMFFlagIn;};

◆ setIdSSC()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setIdSSC ( int idSSCIn)
inline

Definition at line 31 of file TGCRPhiCoincidenceOut.h.

31{ m_idSSC = idSSCIn;};

◆ setInnerCoincidenceFlag()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setInnerCoincidenceFlag ( bool InnerCoincidenceFlagIn)
inline

Definition at line 43 of file TGCRPhiCoincidenceOut.h.

43{m_innerCoincidenceFlag=InnerCoincidenceFlagIn;};

◆ setInnerVeto()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setInnerVeto ( bool vetoIn)
inline

Definition at line 37 of file TGCRPhiCoincidenceOut.h.

37{ m_innerVeto = vetoIn; };

◆ setPhi()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setPhi ( int phiIn)
inline

Definition at line 34 of file TGCRPhiCoincidenceOut.h.

34{ m_phi=phiIn;};

◆ setpT()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setpT ( int pTIn)
inline

Definition at line 32 of file TGCRPhiCoincidenceOut.h.

32{ m_pT=pTIn;};

◆ setR()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setR ( int rIn)
inline

Definition at line 33 of file TGCRPhiCoincidenceOut.h.

33{ m_r=rIn;};

◆ setRoI()

void LVL1TGCTrigger::TGCRPhiCoincidenceOut::setRoI ( int RoIIn)
inline

Definition at line 38 of file TGCRPhiCoincidenceOut.h.

38{m_RoI=RoIIn; };

Member Data Documentation

◆ m_charge

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_charge {0}
private

Definition at line 59 of file TGCRPhiCoincidenceOut.h.

59{0};

◆ m_coincidenceTypeFlag

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_coincidenceTypeFlag {false}
private

Definition at line 60 of file TGCRPhiCoincidenceOut.h.

60{false};

◆ m_dPhi

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_dPhi {0}
private

Definition at line 56 of file TGCRPhiCoincidenceOut.h.

56{0};

◆ m_dR

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_dR {0}
private

Definition at line 55 of file TGCRPhiCoincidenceOut.h.

55{0};

◆ m_goodMFFlag

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_goodMFFlag {false}
private

Definition at line 61 of file TGCRPhiCoincidenceOut.h.

61{false};

◆ m_idSSC

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_idSSC {-1}
private

Definition at line 51 of file TGCRPhiCoincidenceOut.h.

51{-1};

◆ m_innerCoincidenceFlag

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_innerCoincidenceFlag {false}
private

Definition at line 62 of file TGCRPhiCoincidenceOut.h.

62{false};

◆ m_innerVeto

bool LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_innerVeto {false}
private

Definition at line 57 of file TGCRPhiCoincidenceOut.h.

57{false};

◆ m_phi

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_phi {-1}
private

Definition at line 53 of file TGCRPhiCoincidenceOut.h.

53{-1};

◆ m_pT

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_pT {0}
private

Definition at line 52 of file TGCRPhiCoincidenceOut.h.

52{0};

◆ m_r

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_r {-1}
private

Definition at line 54 of file TGCRPhiCoincidenceOut.h.

54{-1};

◆ m_RoI

int LVL1TGCTrigger::TGCRPhiCoincidenceOut::m_RoI {0}
private

Definition at line 58 of file TGCRPhiCoincidenceOut.h.

58{0};

The documentation for this class was generated from the following files: