ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
NSWL1::PadTrigger Class Reference

Holder of the pad trigger information. More...

#include <PadTrigger.h>

Collaboration diagram for NSWL1::PadTrigger:

Public Member Functions

 PadTrigger ()
 
std::shared_ptr< PadDatafirstPad () const
 
std::shared_ptr< PadDatafirstPadInner () const
 
std::shared_ptr< PadDatafirstPadOuter () const
 
uint16_t bctag () const
 
int index () const
 
int sideId () const
 
int sectorId () const
 ! sideId of the first pad in the trigger More...
 
int triggerSectorNumber () const
 ! sectorId of the first pad in the trigger More...
 
uint16_t bandId () const
 
float eta () const
 
float phi () const
 ! SectorTriggerCandidate eta center More...
 
float etaId () const
 ! SectorTriggerCandidate phi center More...
 
uint16_t phiId () const
 ! SectorTriggerCandidate pad eta index More...
 
float multipletId () const
 ! SectorTriggerCandidate pad phi index More...
 
float etaMin () const
 ! SectorTriggerCandidate pad multiplet index More...
 
float etaMax () const
 
float phiMin () const
 
float phiMax () const
 
int isSmall () const
 
int moduleIdInner () const
 
int moduleIdOuter () const
 
const std::vector< float > & trglocalminYInner () const
 
const std::vector< float > & trglocalmaxYInner () const
 
const std::vector< float > & trglocalminYOuter () const
 
const std::vector< float > & trglocalmaxYOuter () const
 
const std::vector< int > & trgSelectedLayersInner () const
 
const std::vector< int > & trgSelectedLayersOuter () const
 
const std::vector< int > & trgSelectedBandsInner () const
 
const std::vector< int > & trgSelectedBandsOuter () const
 
const std::vector< int > & trgPadPhiIndicesInner () const
 
const std::vector< int > & trgPadPhiIndicesOuter () const
 
const std::vector< int > & trgPadEtaIndicesInner () const
 
const std::vector< int > & trgPadEtaIndicesOuter () const
 

Public Attributes

uint16_t m_bandid
 see bandId below More...
 
float m_eta
 
float m_phi
 
float m_etamin
 
float m_etamax
 
float m_phimin
 
float m_phimax
 
int m_eta_id
 
int m_phi_id
 
int m_multiplet_id
 
int m_isSmall
 
int m_moduleIdInner
 
int m_moduleIdOuter
 
std::vector< float > m_trglocalminYInner
 
std::vector< float > m_trglocalmaxYInner
 
std::vector< float > m_trglocalminYOuter
 
std::vector< float > m_trglocalmaxYOuter
 
std::vector< int > m_trgSelectedLayersInner
 
std::vector< int > m_trgSelectedLayersOuter
 
std::vector< int > m_trgSelectedBandsInner
 
std::vector< int > m_trgSelectedBandsOuter
 
std::vector< int > m_trgPadPhiIndicesInner
 
std::vector< int > m_trgPadPhiIndicesOuter
 
std::vector< int > m_trgPadEtaIndicesInner
 
std::vector< int > m_trgPadEtaIndicesOuter
 
std::vector< std::shared_ptr< PadData > > m_pads
 
std::vector< std::shared_ptr< PadData > > m_padsInner
 !< digits contributing to this trigger primitive More...
 
std::vector< std::shared_ptr< PadData > > m_padsOuter
 !< digits contributing to this trigger primitive More...
 
int m_triggerindex
 !< digits contributing to this trigger primitive More...
 

Detailed Description

Holder of the pad trigger information.

Stores info about the pads that were used to compute this trigger, as well as the resulting trigger primitive.

Definition at line 26 of file PadTrigger.h.

Constructor & Destructor Documentation

◆ PadTrigger()

NSWL1::PadTrigger::PadTrigger ( )
inline

Definition at line 58 of file PadTrigger.h.

58  : m_bandid(0), m_eta(0), m_phi(0),m_etamin(0),m_etamax(0),m_phimin(0),m_phimax(0)
60 
61  }

Member Function Documentation

◆ bandId()

uint16_t NSWL1::PadTrigger::bandId ( ) const
inline

Definition at line 71 of file PadTrigger.h.

71 { return m_bandid; }

◆ bctag()

uint16_t NSWL1::PadTrigger::bctag ( ) const

Definition at line 12 of file PadTrigger.cxx.

12  {
13  return m_pads.size() ? this->firstPad()->BC_Tag() : 0x0;
14 }

◆ eta()

float NSWL1::PadTrigger::eta ( ) const
inline

Definition at line 72 of file PadTrigger.h.

72 { return m_eta; }

◆ etaId()

float NSWL1::PadTrigger::etaId ( ) const
inline

! SectorTriggerCandidate phi center

Definition at line 74 of file PadTrigger.h.

74 { return m_eta_id; }

◆ etaMax()

float NSWL1::PadTrigger::etaMax ( ) const
inline

Definition at line 79 of file PadTrigger.h.

79 {return m_etamax;}

◆ etaMin()

float NSWL1::PadTrigger::etaMin ( ) const
inline

! SectorTriggerCandidate pad multiplet index

Definition at line 78 of file PadTrigger.h.

78 {return m_etamin;}

◆ firstPad()

std::shared_ptr< PadData > NSWL1::PadTrigger::firstPad ( ) const

Definition at line 29 of file PadTrigger.cxx.

29  { //returns the first non-null pad from inner wedge
30  if(this->m_pads.at(0)->padNumber()!=nullPadNumber) return this->m_pads.at(0);
31  return this->m_pads.at(1);
32 }

◆ firstPadInner()

std::shared_ptr< PadData > NSWL1::PadTrigger::firstPadInner ( ) const

Definition at line 34 of file PadTrigger.cxx.

34  {//returns the first non-null pad from inner wedge
35  return this->firstPad();
36 }

◆ firstPadOuter()

std::shared_ptr< PadData > NSWL1::PadTrigger::firstPadOuter ( ) const

Definition at line 38 of file PadTrigger.cxx.

38  {//returns the first non-null pad from outer wedge
39  if(this->m_pads.at(4)->padNumber()!=nullPadNumber) return this->m_pads.at(4);
40  return this->m_pads.at(5);
41 }

◆ index()

int NSWL1::PadTrigger::index ( ) const
inline

Definition at line 67 of file PadTrigger.h.

67 { return m_triggerindex;}

◆ isSmall()

int NSWL1::PadTrigger::isSmall ( ) const
inline

Definition at line 83 of file PadTrigger.h.

83 {return m_isSmall;}

◆ moduleIdInner()

int NSWL1::PadTrigger::moduleIdInner ( ) const
inline

Definition at line 84 of file PadTrigger.h.

84 { return m_moduleIdInner;}

◆ moduleIdOuter()

int NSWL1::PadTrigger::moduleIdOuter ( ) const
inline

Definition at line 85 of file PadTrigger.h.

85 { return m_moduleIdOuter;}

◆ multipletId()

float NSWL1::PadTrigger::multipletId ( ) const
inline

! SectorTriggerCandidate pad phi index

Definition at line 76 of file PadTrigger.h.

76 { return m_multiplet_id; }

◆ phi()

float NSWL1::PadTrigger::phi ( ) const
inline

! SectorTriggerCandidate eta center

Definition at line 73 of file PadTrigger.h.

73 { return m_phi; }

◆ phiId()

uint16_t NSWL1::PadTrigger::phiId ( ) const
inline

! SectorTriggerCandidate pad eta index

Definition at line 75 of file PadTrigger.h.

75 { return m_phi_id; }

◆ phiMax()

float NSWL1::PadTrigger::phiMax ( ) const
inline

Definition at line 82 of file PadTrigger.h.

82 {return m_phimax;}

◆ phiMin()

float NSWL1::PadTrigger::phiMin ( ) const
inline

Definition at line 81 of file PadTrigger.h.

81 {return m_phimin;}

◆ sectorId()

int NSWL1::PadTrigger::sectorId ( ) const

! sideId of the first pad in the trigger

Definition at line 20 of file PadTrigger.cxx.

20  {
21  return m_pads.size() ? this->firstPad()->sectorId() : -1;
22 }

◆ sideId()

int NSWL1::PadTrigger::sideId ( ) const

Definition at line 16 of file PadTrigger.cxx.

16  {
17  return m_pads.size() ? this->firstPad()->sideId() : -1;
18 }

◆ trglocalmaxYInner()

const std::vector<float>& NSWL1::PadTrigger::trglocalmaxYInner ( ) const
inline

Definition at line 88 of file PadTrigger.h.

88 { return m_trglocalmaxYInner; }

◆ trglocalmaxYOuter()

const std::vector<float>& NSWL1::PadTrigger::trglocalmaxYOuter ( ) const
inline

Definition at line 90 of file PadTrigger.h.

90 { return m_trglocalmaxYOuter; }

◆ trglocalminYInner()

const std::vector<float>& NSWL1::PadTrigger::trglocalminYInner ( ) const
inline

Definition at line 87 of file PadTrigger.h.

87 { return m_trglocalminYInner; }

◆ trglocalminYOuter()

const std::vector<float>& NSWL1::PadTrigger::trglocalminYOuter ( ) const
inline

Definition at line 89 of file PadTrigger.h.

89 { return m_trglocalminYOuter; }

◆ trgPadEtaIndicesInner()

const std::vector<int>& NSWL1::PadTrigger::trgPadEtaIndicesInner ( ) const
inline

Definition at line 97 of file PadTrigger.h.

97 { return m_trgPadEtaIndicesInner;}

◆ trgPadEtaIndicesOuter()

const std::vector<int>& NSWL1::PadTrigger::trgPadEtaIndicesOuter ( ) const
inline

Definition at line 98 of file PadTrigger.h.

98 { return m_trgPadEtaIndicesOuter;}

◆ trgPadPhiIndicesInner()

const std::vector<int>& NSWL1::PadTrigger::trgPadPhiIndicesInner ( ) const
inline

Definition at line 95 of file PadTrigger.h.

95 { return m_trgPadPhiIndicesInner;}

◆ trgPadPhiIndicesOuter()

const std::vector<int>& NSWL1::PadTrigger::trgPadPhiIndicesOuter ( ) const
inline

Definition at line 96 of file PadTrigger.h.

96 { return m_trgPadPhiIndicesOuter;}

◆ trgSelectedBandsInner()

const std::vector<int>& NSWL1::PadTrigger::trgSelectedBandsInner ( ) const
inline

Definition at line 93 of file PadTrigger.h.

93 { return m_trgSelectedBandsInner;}

◆ trgSelectedBandsOuter()

const std::vector<int>& NSWL1::PadTrigger::trgSelectedBandsOuter ( ) const
inline

Definition at line 94 of file PadTrigger.h.

94 { return m_trgSelectedBandsOuter;}

◆ trgSelectedLayersInner()

const std::vector<int>& NSWL1::PadTrigger::trgSelectedLayersInner ( ) const
inline

Definition at line 91 of file PadTrigger.h.

91 { return m_trgSelectedLayersInner;}

◆ trgSelectedLayersOuter()

const std::vector<int>& NSWL1::PadTrigger::trgSelectedLayersOuter ( ) const
inline

Definition at line 92 of file PadTrigger.h.

92 { return m_trgSelectedLayersOuter; }

◆ triggerSectorNumber()

int NSWL1::PadTrigger::triggerSectorNumber ( ) const

! sectorId of the first pad in the trigger

Definition at line 24 of file PadTrigger.cxx.

24  {
25  return m_pads.size() ? this->firstPad()->triggerSectorNumber() : -1;
26 }

Member Data Documentation

◆ m_bandid

uint16_t NSWL1::PadTrigger::m_bandid

see bandId below

Definition at line 28 of file PadTrigger.h.

◆ m_eta

float NSWL1::PadTrigger::m_eta

Definition at line 29 of file PadTrigger.h.

◆ m_eta_id

int NSWL1::PadTrigger::m_eta_id

Definition at line 35 of file PadTrigger.h.

◆ m_etamax

float NSWL1::PadTrigger::m_etamax

Definition at line 32 of file PadTrigger.h.

◆ m_etamin

float NSWL1::PadTrigger::m_etamin

Definition at line 31 of file PadTrigger.h.

◆ m_isSmall

int NSWL1::PadTrigger::m_isSmall

Definition at line 38 of file PadTrigger.h.

◆ m_moduleIdInner

int NSWL1::PadTrigger::m_moduleIdInner

Definition at line 39 of file PadTrigger.h.

◆ m_moduleIdOuter

int NSWL1::PadTrigger::m_moduleIdOuter

Definition at line 40 of file PadTrigger.h.

◆ m_multiplet_id

int NSWL1::PadTrigger::m_multiplet_id

Definition at line 37 of file PadTrigger.h.

◆ m_pads

std::vector< std::shared_ptr<PadData> > NSWL1::PadTrigger::m_pads

Definition at line 54 of file PadTrigger.h.

◆ m_padsInner

std::vector< std::shared_ptr<PadData> > NSWL1::PadTrigger::m_padsInner

!< digits contributing to this trigger primitive

Definition at line 55 of file PadTrigger.h.

◆ m_padsOuter

std::vector< std::shared_ptr<PadData> > NSWL1::PadTrigger::m_padsOuter

!< digits contributing to this trigger primitive

Definition at line 56 of file PadTrigger.h.

◆ m_phi

float NSWL1::PadTrigger::m_phi

Definition at line 30 of file PadTrigger.h.

◆ m_phi_id

int NSWL1::PadTrigger::m_phi_id

Definition at line 36 of file PadTrigger.h.

◆ m_phimax

float NSWL1::PadTrigger::m_phimax

Definition at line 34 of file PadTrigger.h.

◆ m_phimin

float NSWL1::PadTrigger::m_phimin

Definition at line 33 of file PadTrigger.h.

◆ m_trglocalmaxYInner

std::vector<float> NSWL1::PadTrigger::m_trglocalmaxYInner

Definition at line 42 of file PadTrigger.h.

◆ m_trglocalmaxYOuter

std::vector<float> NSWL1::PadTrigger::m_trglocalmaxYOuter

Definition at line 44 of file PadTrigger.h.

◆ m_trglocalminYInner

std::vector<float> NSWL1::PadTrigger::m_trglocalminYInner

Definition at line 41 of file PadTrigger.h.

◆ m_trglocalminYOuter

std::vector<float> NSWL1::PadTrigger::m_trglocalminYOuter

Definition at line 43 of file PadTrigger.h.

◆ m_trgPadEtaIndicesInner

std::vector<int> NSWL1::PadTrigger::m_trgPadEtaIndicesInner

Definition at line 51 of file PadTrigger.h.

◆ m_trgPadEtaIndicesOuter

std::vector<int> NSWL1::PadTrigger::m_trgPadEtaIndicesOuter

Definition at line 52 of file PadTrigger.h.

◆ m_trgPadPhiIndicesInner

std::vector<int> NSWL1::PadTrigger::m_trgPadPhiIndicesInner

Definition at line 49 of file PadTrigger.h.

◆ m_trgPadPhiIndicesOuter

std::vector<int> NSWL1::PadTrigger::m_trgPadPhiIndicesOuter

Definition at line 50 of file PadTrigger.h.

◆ m_trgSelectedBandsInner

std::vector<int> NSWL1::PadTrigger::m_trgSelectedBandsInner

Definition at line 47 of file PadTrigger.h.

◆ m_trgSelectedBandsOuter

std::vector<int> NSWL1::PadTrigger::m_trgSelectedBandsOuter

Definition at line 48 of file PadTrigger.h.

◆ m_trgSelectedLayersInner

std::vector<int> NSWL1::PadTrigger::m_trgSelectedLayersInner

Definition at line 45 of file PadTrigger.h.

◆ m_trgSelectedLayersOuter

std::vector<int> NSWL1::PadTrigger::m_trgSelectedLayersOuter

Definition at line 46 of file PadTrigger.h.

◆ m_triggerindex

int NSWL1::PadTrigger::m_triggerindex

!< digits contributing to this trigger primitive

Definition at line 57 of file PadTrigger.h.


The documentation for this class was generated from the following files:
NSWL1::PadTrigger::m_trgPadEtaIndicesOuter
std::vector< int > m_trgPadEtaIndicesOuter
Definition: PadTrigger.h:52
NSWL1::PadTrigger::m_phi
float m_phi
Definition: PadTrigger.h:30
NSWL1::PadTrigger::m_trgPadEtaIndicesInner
std::vector< int > m_trgPadEtaIndicesInner
Definition: PadTrigger.h:51
NSWL1::PadTrigger::m_trgSelectedBandsOuter
std::vector< int > m_trgSelectedBandsOuter
Definition: PadTrigger.h:48
NSWL1::PadTrigger::m_trglocalminYOuter
std::vector< float > m_trglocalminYOuter
Definition: PadTrigger.h:43
NSWL1::PadTrigger::m_etamin
float m_etamin
Definition: PadTrigger.h:31
NSWL1::PadTrigger::m_phimax
float m_phimax
Definition: PadTrigger.h:34
NSWL1::PadTrigger::m_multiplet_id
int m_multiplet_id
Definition: PadTrigger.h:37
NSWL1::PadTrigger::m_pads
std::vector< std::shared_ptr< PadData > > m_pads
Definition: PadTrigger.h:54
NSWL1::PadTrigger::m_trglocalminYInner
std::vector< float > m_trglocalminYInner
Definition: PadTrigger.h:41
NSWL1::PadTrigger::m_phi_id
int m_phi_id
Definition: PadTrigger.h:36
NSWL1::PadTrigger::m_eta_id
int m_eta_id
Definition: PadTrigger.h:35
NSWL1::PadTrigger::m_moduleIdInner
int m_moduleIdInner
Definition: PadTrigger.h:39
NSWL1::nullPadNumber
const int nullPadNumber
Definition: tdr_compat_enum.h:21
NSWL1::PadTrigger::m_eta
float m_eta
Definition: PadTrigger.h:29
NSWL1::PadTrigger::m_trglocalmaxYInner
std::vector< float > m_trglocalmaxYInner
Definition: PadTrigger.h:42
NSWL1::PadTrigger::m_moduleIdOuter
int m_moduleIdOuter
Definition: PadTrigger.h:40
NSWL1::PadTrigger::firstPad
std::shared_ptr< PadData > firstPad() const
Definition: PadTrigger.cxx:29
NSWL1::PadTrigger::m_isSmall
int m_isSmall
Definition: PadTrigger.h:38
NSWL1::PadTrigger::m_phimin
float m_phimin
Definition: PadTrigger.h:33
NSWL1::PadTrigger::m_trgSelectedBandsInner
std::vector< int > m_trgSelectedBandsInner
Definition: PadTrigger.h:47
NSWL1::PadTrigger::m_bandid
uint16_t m_bandid
see bandId below
Definition: PadTrigger.h:28
NSWL1::PadTrigger::m_trgPadPhiIndicesInner
std::vector< int > m_trgPadPhiIndicesInner
Definition: PadTrigger.h:49
NSWL1::PadTrigger::m_trgSelectedLayersOuter
std::vector< int > m_trgSelectedLayersOuter
Definition: PadTrigger.h:46
NSWL1::PadTrigger::m_triggerindex
int m_triggerindex
!< digits contributing to this trigger primitive
Definition: PadTrigger.h:57
NSWL1::PadTrigger::m_etamax
float m_etamax
Definition: PadTrigger.h:32
NSWL1::PadTrigger::m_trgPadPhiIndicesOuter
std::vector< int > m_trgPadPhiIndicesOuter
Definition: PadTrigger.h:50
NSWL1::PadTrigger::m_trgSelectedLayersInner
std::vector< int > m_trgSelectedLayersInner
Definition: PadTrigger.h:45
NSWL1::PadTrigger::m_trglocalmaxYOuter
std::vector< float > m_trglocalmaxYOuter
Definition: PadTrigger.h:44