CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
L1MuGMTCand Class Reference

#include <L1MuGMTCand.h>

Inheritance diagram for L1MuGMTCand:
L1MuGMTExtendedCand SimpleL1MuGMTCand

Public Member Functions

int bx () const
 get bunch crossing identifier More...
 
int charge () const
 get charge (+1 -1) More...
 
bool charge_valid () const
 is the charge valid ? More...
 
bool empty () const
 is it an empty muon candidate? More...
 
unsigned int etaIndex () const
 get eta-code More...
 
unsigned int etaRegionIndex () const
 
float etaValue () const
 
unsigned getDataWord () const
 get muon data word More...
 
bool isHaloCand () const
 interpretation of quality code: is the candidate a beam halo muon ? More...
 
bool isMatchedCand () const
 interpretation of quality code: is the candidate a matched candidate ? More...
 
bool isol () const
 get isolation More...
 
bool isSyncWord () const
 is the candidate a sync word More...
 
 L1MuGMTCand ()
 constructor More...
 
 L1MuGMTCand (const L1MuGMTCand &)
 copy constructor More...
 
 L1MuGMTCand (unsigned data, int bx=0)
 constructor from dataword More...
 
unsigned int linearizedPt (float lsbValue, unsigned maxScale) const
 
bool mip () const
 get mip More...
 
std::string name () const
 get name of object More...
 
bool operator!= (const L1MuGMTCand &) const
 unequal operator More...
 
bool operator== (const L1MuGMTCand &) const
 equal operator More...
 
unsigned int phiIndex () const
 get phi-code More...
 
unsigned int phiRegionIndex () const
 
float phiValue () const
 
void print () const
 print parameters of muon candidate More...
 
unsigned int ptIndex () const
 get pt-code More...
 
float ptValue () const
 
unsigned int quality () const
 get quality More...
 
void reset ()
 reset muon candidate More...
 
void setBx (int bx)
 set bunch crossing identifier More...
 
void setChargePacked (unsigned ch)
 set packed charge/synchronization word of muon candidate (0=POS, 1=NEG, 2=UNDEF, 3=SYNC) More...
 
void setEtaPacked (unsigned eta)
 set packed eta-code of muon candidate More...
 
void setEtaValue (float etaVal)
 Set Eta Value (need to set type, first) More...
 
void setIsolation (bool isol)
 set isolation of muon candidate More...
 
void setMIP (bool mip)
 set min ionizing bit for muon candidate More...
 
void setPhiPacked (unsigned phi)
 set packed phi-code of muon candidate More...
 
void setPhiValue (float phiVal)
 Setters for physical values. More...
 
void setPtPacked (unsigned pt)
 set packed pt-code of muon candidate More...
 
void setPtValue (float ptVal)
 Set Pt Value. More...
 
void setQuality (unsigned quality)
 set quality of muon candidate More...
 
unsigned sysign () const
 get charge/synchronization word (0=POS, 1=NEG, 2=UNDEF, 3=SYNC) More...
 
bool useInDiMuonTrigger () const
 interpretation of quality code: is the candidate to be used in a di-muon trigger ? More...
 
bool useInSingleMuonTrigger () const
 interpretation of quality code: is the candidate to be used in a single muon trigger ? More...
 
virtual ~L1MuGMTCand ()
 destructor More...
 

Protected Types

enum  { PHI_START = 0 }
 
enum  { PHI_LENGTH = 8 }
 
enum  { PT_START = 8 }
 
enum  { PT_LENGTH = 5 }
 
enum  { QUAL_START = 13 }
 
enum  { QUAL_LENGTH = 3 }
 
enum  { ETA_START = 16 }
 
enum  { ETA_LENGTH = 6 }
 
enum  { ISO_START = 22 }
 
enum  { ISO_LENGTH = 1 }
 
enum  { MIP_START = 23 }
 
enum  { MIP_LENGTH = 1 }
 
enum  { SYSIGN_START = 24 }
 
enum  { SYSIGN_LENGTH = 2 }
 

Protected Member Functions

unsigned readDataField (unsigned start, unsigned count) const
 
void writeDataField (unsigned start, unsigned count, unsigned value)
 

Protected Attributes

int m_bx
 
unsigned m_dataWord
 
float m_etaValue
 
std::string m_name
 
float m_phiValue
 
float m_ptValue
 

Static Protected Attributes

static const float m_invalidValue = -10.
 

Friends

std::ostream & operator<< (std::ostream &, const L1MuGMTCand &)
 output stream operator More...
 

Detailed Description

L1 Global Muon Trigger Candidate.

This candidate contains only information sent to the GT.

Definition at line 39 of file L1MuGMTCand.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
PHI_START 

Definition at line 219 of file L1MuGMTCand.h.

219 { PHI_START = 0 };

◆ anonymous enum

anonymous enum
protected
Enumerator
PHI_LENGTH 

Definition at line 220 of file L1MuGMTCand.h.

220 { PHI_LENGTH = 8 }; // Bits 0:7 phi (8 bits)

◆ anonymous enum

anonymous enum
protected
Enumerator
PT_START 

Definition at line 221 of file L1MuGMTCand.h.

221 { PT_START = 8 };

◆ anonymous enum

anonymous enum
protected
Enumerator
PT_LENGTH 

Definition at line 222 of file L1MuGMTCand.h.

222 { PT_LENGTH = 5 }; // Bits 8:12 pt (5 bits)

◆ anonymous enum

anonymous enum
protected
Enumerator
QUAL_START 

Definition at line 223 of file L1MuGMTCand.h.

223 { QUAL_START = 13 };

◆ anonymous enum

anonymous enum
protected
Enumerator
QUAL_LENGTH 

Definition at line 224 of file L1MuGMTCand.h.

224 { QUAL_LENGTH = 3 }; // Bits 13:15 quality (3 bits)

◆ anonymous enum

anonymous enum
protected
Enumerator
ETA_START 

Definition at line 225 of file L1MuGMTCand.h.

225 { ETA_START = 16 };

◆ anonymous enum

anonymous enum
protected
Enumerator
ETA_LENGTH 

Definition at line 226 of file L1MuGMTCand.h.

226 { ETA_LENGTH = 6 }; // Bits 16:21 eta (6 bits)

◆ anonymous enum

anonymous enum
protected
Enumerator
ISO_START 

Definition at line 227 of file L1MuGMTCand.h.

227 { ISO_START = 22 };

◆ anonymous enum

anonymous enum
protected
Enumerator
ISO_LENGTH 

Definition at line 228 of file L1MuGMTCand.h.

228 { ISO_LENGTH = 1 }; // Bit 22 Isolation

◆ anonymous enum

anonymous enum
protected
Enumerator
MIP_START 

Definition at line 229 of file L1MuGMTCand.h.

229 { MIP_START = 23 };

◆ anonymous enum

anonymous enum
protected
Enumerator
MIP_LENGTH 

Definition at line 230 of file L1MuGMTCand.h.

230 { MIP_LENGTH = 1 }; // Bit 23 MIP

◆ anonymous enum

anonymous enum
protected
Enumerator
SYSIGN_START 

Definition at line 231 of file L1MuGMTCand.h.

231 { SYSIGN_START = 24 };

◆ anonymous enum

anonymous enum
protected
Enumerator
SYSIGN_LENGTH 

Definition at line 232 of file L1MuGMTCand.h.

232 { SYSIGN_LENGTH = 2 }; // Bit 24:25 Charge/Syncword

Constructor & Destructor Documentation

◆ L1MuGMTCand() [1/3]

L1MuGMTCand::L1MuGMTCand ( )

constructor

Definition at line 49 of file L1MuGMTCand.cc.

49  : m_name("L1MuGMTCand"), m_bx(0), m_dataWord(0) {
53 }

References m_etaValue, m_invalidValue, m_phiValue, and m_ptValue.

◆ L1MuGMTCand() [2/3]

L1MuGMTCand::L1MuGMTCand ( unsigned  data,
int  bx = 0 
)

constructor from dataword

Definition at line 63 of file L1MuGMTCand.cc.

63  : m_name("L1MuGMTCand"), m_bx(bx), m_dataWord(data) {
67 }

References m_etaValue, m_invalidValue, m_phiValue, and m_ptValue.

◆ L1MuGMTCand() [3/3]

L1MuGMTCand::L1MuGMTCand ( const L1MuGMTCand mu)

copy constructor

Definition at line 55 of file L1MuGMTCand.cc.

56  : m_name(mu.m_name),
57  m_bx(mu.m_bx),
58  m_dataWord(mu.m_dataWord),
59  m_phiValue(mu.m_phiValue),
60  m_etaValue(mu.m_etaValue),
61  m_ptValue(mu.m_ptValue) {}

◆ ~L1MuGMTCand()

L1MuGMTCand::~L1MuGMTCand ( )
virtual

destructor

Definition at line 72 of file L1MuGMTCand.cc.

72 { reset(); }

References reset().

Member Function Documentation

◆ bx()

int L1MuGMTCand::bx ( ) const
inline

get bunch crossing identifier

Definition at line 117 of file L1MuGMTCand.h.

117 { return m_bx; }

References m_bx.

Referenced by print(), pat::L1MuonMatcher::produce(), and setBx().

◆ charge()

int L1MuGMTCand::charge ( ) const
inline

get charge (+1 -1)

Definition at line 132 of file L1MuGMTCand.h.

132 { return (readDataField(SYSIGN_START, SYSIGN_LENGTH) & 1) == 0 ? 1 : -1; }

References readDataField(), SYSIGN_LENGTH, and SYSIGN_START.

Referenced by print().

◆ charge_valid()

bool L1MuGMTCand::charge_valid ( ) const
inline

is the charge valid ?

Definition at line 135 of file L1MuGMTCand.h.

135  {
137  return (sysign == 0 || sysign == 1);
138  }

References readDataField(), sysign(), SYSIGN_LENGTH, and SYSIGN_START.

Referenced by HLTL1MuonSelector::produce(), and L2MuonSeedGenerator::produce().

◆ empty()

bool L1MuGMTCand::empty ( ) const
inline

is it an empty muon candidate?

Definition at line 61 of file L1MuGMTCand.h.

61 { return readDataField(PT_START, PT_LENGTH) == 0; }

References PT_LENGTH, PT_START, and readDataField().

Referenced by L1MuGMTExtendedCand::print(), print(), HLTL1MuonSelector::produce(), and L2MuonSeedGenerator::produce().

◆ etaIndex()

unsigned int L1MuGMTCand::etaIndex ( ) const
inline

get eta-code

Definition at line 105 of file L1MuGMTCand.h.

105 { return readDataField(ETA_START, ETA_LENGTH); }

References ETA_LENGTH, ETA_START, and readDataField().

Referenced by etaRegionIndex(), print(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ etaRegionIndex()

unsigned int L1MuGMTCand::etaRegionIndex ( ) const
inline

Definition at line 188 of file L1MuGMTCand.h.

188 { return etaIndex(); }

References etaIndex().

◆ etaValue()

float L1MuGMTCand::etaValue ( ) const

get eta-value of muon candidate this functionality will be moved to an extra Producer

Definition at line 102 of file L1MuGMTCand.cc.

102  {
103  if (m_etaValue == m_invalidValue) {
104  edm::LogWarning("ValueInvalid") << "L1MuGMTCand::etaValue requested physical value is invalid";
105  }
106  return m_etaValue;
107 }

References m_etaValue, and m_invalidValue.

Referenced by SimpleL1MuGMTCand::print(), print(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ getDataWord()

unsigned L1MuGMTCand::getDataWord ( ) const
inline

get muon data word

Definition at line 64 of file L1MuGMTCand.h.

64 { return m_dataWord; }

References m_dataWord.

Referenced by L1GtPatternGenerator::analyze().

◆ isHaloCand()

bool L1MuGMTCand::isHaloCand ( ) const
inline

interpretation of quality code: is the candidate a beam halo muon ?

Definition at line 102 of file L1MuGMTCand.h.

102 { return quality() == 1; }

References quality().

◆ isMatchedCand()

bool L1MuGMTCand::isMatchedCand ( ) const
inline

interpretation of quality code: is the candidate a matched candidate ?

Definition at line 99 of file L1MuGMTCand.h.

99 { return quality() == 7; }

References quality().

◆ isol()

bool L1MuGMTCand::isol ( ) const
inline

get isolation

Definition at line 111 of file L1MuGMTCand.h.

111 { return readDataField(ISO_START, ISO_LENGTH) == 1; }

References ISO_LENGTH, ISO_START, and readDataField().

Referenced by l1extra::L1MuonParticle::L1MuonParticle(), print(), pat::L1MuonMatcher::produce(), and setIsolation().

◆ isSyncWord()

bool L1MuGMTCand::isSyncWord ( ) const
inline

is the candidate a sync word

Definition at line 141 of file L1MuGMTCand.h.

141 { return readDataField(SYSIGN_START, SYSIGN_LENGTH) == 3; }

References readDataField(), SYSIGN_LENGTH, and SYSIGN_START.

◆ linearizedPt()

unsigned int L1MuGMTCand::linearizedPt ( float  lsbValue,
unsigned  maxScale 
) const
inline

Definition at line 186 of file L1MuGMTCand.h.

186 { return 0; }

◆ mip()

bool L1MuGMTCand::mip ( ) const
inline

get mip

Definition at line 114 of file L1MuGMTCand.h.

114 { return readDataField(MIP_START, MIP_LENGTH) == 1; }

References MIP_LENGTH, MIP_START, and readDataField().

Referenced by l1extra::L1MuonParticle::L1MuonParticle(), print(), and setMIP().

◆ name()

std::string L1MuGMTCand::name ( ) const
inline

get name of object

Definition at line 67 of file L1MuGMTCand.h.

67 { return m_name; }

References m_name.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

◆ operator!=()

bool L1MuGMTCand::operator!= ( const L1MuGMTCand cand) const

unequal operator

Definition at line 133 of file L1MuGMTCand.cc.

133  {
134  if (m_bx != cand.m_bx)
135  return true;
136  if (m_dataWord != cand.m_dataWord)
137  return true;
138  return false;
139 }

References m_bx, and m_dataWord.

◆ operator==()

bool L1MuGMTCand::operator== ( const L1MuGMTCand cand) const

equal operator

Definition at line 122 of file L1MuGMTCand.cc.

122  {
123  if (m_bx != cand.m_bx)
124  return false;
125  if (m_dataWord != cand.m_dataWord)
126  return false;
127  return true;
128 }

References m_bx, and m_dataWord.

◆ phiIndex()

unsigned int L1MuGMTCand::phiIndex ( ) const
inline

get phi-code

Definition at line 70 of file L1MuGMTCand.h.

References PHI_LENGTH, PHI_START, and readDataField().

Referenced by phiRegionIndex(), print(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ phiRegionIndex()

unsigned int L1MuGMTCand::phiRegionIndex ( ) const
inline

Definition at line 190 of file L1MuGMTCand.h.

190 { return phiIndex(); }

References phiIndex().

◆ phiValue()

float L1MuGMTCand::phiValue ( ) const

get phi-value of muon candidate in radians (low edge of bin) this functionality will be moved to an extra Producer

Definition at line 92 of file L1MuGMTCand.cc.

92  {
93  if (m_phiValue == m_invalidValue) {
94  edm::LogWarning("ValueInvalid") << "L1MuGMTCand::phiValue requested physical value is invalid";
95  }
96  return m_phiValue;
97 }

References m_invalidValue, and m_phiValue.

Referenced by SimpleL1MuGMTCand::print(), print(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ print()

void L1MuGMTCand::print ( void  ) const

print parameters of muon candidate

Definition at line 144 of file L1MuGMTCand.cc.

144  {
145  if (!empty()) {
147  edm::LogVerbatim("GMT_Candidate_info") << setiosflags(ios::right | ios::adjustfield | ios::showpoint | ios::fixed)
148  << "bx = " << setw(2) << bx() << " " << endl
149  << "pt(index) = " << setw(2) << ptIndex() << " "
150  << "charge = " << setw(2) << charge() << " "
151  << "eta(index) = " << setw(2) << etaIndex() << " "
152  << "phi(index) = " << setw(3) << phiIndex() << " "
153  << "quality = " << setw(1) << quality() << " "
154  << "isolated = " << setw(1) << isol() << " "
155  << "mip = " << setw(1) << mip() << endl;
156  } else {
157  edm::LogVerbatim("GMT_Candidate_info") << setiosflags(ios::right | ios::adjustfield | ios::showpoint | ios::fixed)
158  << "bx = " << setw(2) << bx() << " " << endl
159  << "pt = " << setw(5) << setprecision(1) << ptValue() << " GeV "
160  << "charge = " << setw(2) << charge() << " "
161  << "eta = " << setw(5) << setprecision(2) << etaValue() << " "
162  << "phi = " << setw(5) << setprecision(3) << phiValue() << " rad "
163  << "quality = " << setw(1) << quality() << " "
164  << "isolated = " << setw(1) << isol() << " "
165  << "mip = " << setw(1) << mip() << endl;
166  }
167  }
168 }

References bx(), charge(), empty(), etaIndex(), etaValue(), alignBH_cfg::fixed, isol(), m_etaValue, m_invalidValue, m_phiValue, m_ptValue, mip(), phiIndex(), phiValue(), ptIndex(), ptValue(), and quality().

Referenced by L1MuGMTExtendedCand::print().

◆ ptIndex()

unsigned int L1MuGMTCand::ptIndex ( ) const
inline

get pt-code

Definition at line 73 of file L1MuGMTCand.h.

73 { return readDataField(PT_START, PT_LENGTH); }

References PT_LENGTH, PT_START, and readDataField().

Referenced by print().

◆ ptValue()

float L1MuGMTCand::ptValue ( ) const

get pt-value of muon candidate in GeV this functionality will be moved to an extra Producer

Definition at line 112 of file L1MuGMTCand.cc.

112  {
113  if (m_ptValue == m_invalidValue) {
114  edm::LogWarning("ValueInvalid") << "L1MuRegionalCand::ptValue requested physical value is invalid";
115  }
116  return m_ptValue;
117 }

References m_invalidValue, and m_ptValue.

Referenced by SimpleL1MuGMTCand::print(), and print().

◆ quality()

unsigned int L1MuGMTCand::quality ( ) const
inline

get quality

Quality codes:

0 .. no muon 1 .. beam halo muon (CSC) 2 .. very low quality level 1 (e.g. ignore in single and di-muon trigger) 3 .. very low quality level 2 (e.g. ignore in single muon trigger use in di-muon trigger) 4 .. very low quality level 3 (e.g. ignore in di-muon trigger, use in single-muon trigger) 5 .. unmatched RPC 6 .. unmatched DT or CSC 7 .. matched DT-RPC or CSC-RPC

attention: try not to rely on quality codes in analysis: they may change again

Definition at line 90 of file L1MuGMTCand.h.

References QUAL_LENGTH, QUAL_START, and readDataField().

Referenced by L1MuGMTExtendedCand::detector(), isHaloCand(), isMatchedCand(), print(), pat::L1MuonMatcher::produce(), HLTL1MuonSelector::produce(), L2MuonSeedGenerator::produce(), TriggerMatcherToHLTDebug::produce(), setQuality(), useInDiMuonTrigger(), and useInSingleMuonTrigger().

◆ readDataField()

unsigned L1MuGMTCand::readDataField ( unsigned  start,
unsigned  count 
) const
inlineprotected

◆ reset()

void L1MuGMTCand::reset ( void  )

reset muon candidate

Definition at line 81 of file L1MuGMTCand.cc.

81  {
82  m_bx = 0;
83  m_dataWord = 0;
87 }

References m_bx, m_dataWord, m_etaValue, m_invalidValue, m_phiValue, and m_ptValue.

Referenced by L1MuGMTExtendedCand::reset(), and ~L1MuGMTCand().

◆ setBx()

void L1MuGMTCand::setBx ( int  bx)
inline

set bunch crossing identifier

Definition at line 169 of file L1MuGMTCand.h.

169 { m_bx = bx; }

References bx(), and m_bx.

Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), L1MuGMTMerger::createRPCCand(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ setChargePacked()

void L1MuGMTCand::setChargePacked ( unsigned  ch)
inline

set packed charge/synchronization word of muon candidate (0=POS, 1=NEG, 2=UNDEF, 3=SYNC)

Definition at line 166 of file L1MuGMTCand.h.

References SYSIGN_LENGTH, SYSIGN_START, and writeDataField().

Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), L1MuGMTMerger::createRPCCand(), and SimpleL1MuGMTCand::setCharge().

◆ setEtaPacked()

void L1MuGMTCand::setEtaPacked ( unsigned  eta)
inline

◆ setEtaValue()

void L1MuGMTCand::setEtaValue ( float  etaVal)
inline

Set Eta Value (need to set type, first)

Definition at line 180 of file L1MuGMTCand.h.

180 { m_etaValue = etaVal; }

References m_etaValue.

Referenced by SimpleL1MuGMTCand::setEta(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ setIsolation()

void L1MuGMTCand::setIsolation ( bool  isol)
inline

set isolation of muon candidate

Definition at line 160 of file L1MuGMTCand.h.

160 { writeDataField(ISO_START, ISO_LENGTH, isol ? 1 : 0); }

References ISO_LENGTH, ISO_START, isol(), and writeDataField().

Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().

◆ setMIP()

void L1MuGMTCand::setMIP ( bool  mip)
inline

set min ionizing bit for muon candidate

Definition at line 163 of file L1MuGMTCand.h.

163 { writeDataField(MIP_START, MIP_LENGTH, mip ? 1 : 0); }

References mip(), MIP_LENGTH, MIP_START, and writeDataField().

Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().

◆ setPhiPacked()

void L1MuGMTCand::setPhiPacked ( unsigned  phi)
inline

◆ setPhiValue()

void L1MuGMTCand::setPhiValue ( float  phiVal)
inline

Setters for physical values.

Set Phi Value

Definition at line 174 of file L1MuGMTCand.h.

174 { m_phiValue = phiVal; }

References m_phiValue.

Referenced by SimpleL1MuGMTCand::setPhi(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ setPtPacked()

void L1MuGMTCand::setPtPacked ( unsigned  pt)
inline

◆ setPtValue()

void L1MuGMTCand::setPtValue ( float  ptVal)
inline

Set Pt Value.

Definition at line 177 of file L1MuGMTCand.h.

177 { m_ptValue = ptVal; }

References m_ptValue.

Referenced by SimpleL1MuGMTCand::setPt(), and SimpleL1MuGMTCand::SimpleL1MuGMTCand().

◆ setQuality()

void L1MuGMTCand::setQuality ( unsigned  quality)
inline

◆ sysign()

unsigned L1MuGMTCand::sysign ( ) const
inline

get charge/synchronization word (0=POS, 1=NEG, 2=UNDEF, 3=SYNC)

Definition at line 108 of file L1MuGMTCand.h.

References readDataField(), SYSIGN_LENGTH, and SYSIGN_START.

Referenced by charge_valid().

◆ useInDiMuonTrigger()

bool L1MuGMTCand::useInDiMuonTrigger ( ) const
inline

interpretation of quality code: is the candidate to be used in a di-muon trigger ?

Definition at line 96 of file L1MuGMTCand.h.

96 { return (quality() >= 3) && (quality() != 4); };

References quality().

◆ useInSingleMuonTrigger()

bool L1MuGMTCand::useInSingleMuonTrigger ( ) const
inline

interpretation of quality code: is the candidate to be used in a single muon trigger ?

Definition at line 93 of file L1MuGMTCand.h.

93 { return quality() >= 4; };

References quality().

◆ writeDataField()

void L1MuGMTCand::writeDataField ( unsigned  start,
unsigned  count,
unsigned  value 
)
inlineprotected

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const L1MuGMTCand  
)
friend

output stream operator

Member Data Documentation

◆ m_bx

int L1MuGMTCand::m_bx
protected

Definition at line 210 of file L1MuGMTCand.h.

Referenced by bx(), operator!=(), operator==(), reset(), and setBx().

◆ m_dataWord

unsigned L1MuGMTCand::m_dataWord
protected

Definition at line 211 of file L1MuGMTCand.h.

Referenced by getDataWord(), operator!=(), operator==(), readDataField(), reset(), and writeDataField().

◆ m_etaValue

float L1MuGMTCand::m_etaValue
protected

Definition at line 214 of file L1MuGMTCand.h.

Referenced by etaValue(), L1MuGMTCand(), print(), reset(), and setEtaValue().

◆ m_invalidValue

const float L1MuGMTCand::m_invalidValue = -10.
staticprotected

Definition at line 216 of file L1MuGMTCand.h.

Referenced by etaValue(), L1MuGMTCand(), phiValue(), print(), ptValue(), and reset().

◆ m_name

std::string L1MuGMTCand::m_name
protected

Definition at line 209 of file L1MuGMTCand.h.

Referenced by name().

◆ m_phiValue

float L1MuGMTCand::m_phiValue
protected

Definition at line 213 of file L1MuGMTCand.h.

Referenced by L1MuGMTCand(), phiValue(), print(), reset(), and setPhiValue().

◆ m_ptValue

float L1MuGMTCand::m_ptValue
protected

Definition at line 215 of file L1MuGMTCand.h.

Referenced by L1MuGMTCand(), print(), ptValue(), reset(), and setPtValue().

L1MuGMTCand::ETA_START
Definition: L1MuGMTCand.h:225
L1MuGMTCand::mip
bool mip() const
get mip
Definition: L1MuGMTCand.h:114
L1MuGMTCand::etaIndex
unsigned int etaIndex() const
get eta-code
Definition: L1MuGMTCand.h:105
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
L1MuGMTCand::m_bx
int m_bx
Definition: L1MuGMTCand.h:210
L1MuGMTCand::ISO_START
Definition: L1MuGMTCand.h:227
L1MuGMTCand::PHI_LENGTH
Definition: L1MuGMTCand.h:220
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
L1MuGMTCand::m_ptValue
float m_ptValue
Definition: L1MuGMTCand.h:215
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
L1MuGMTCand::bx
int bx() const
get bunch crossing identifier
Definition: L1MuGMTCand.h:117
L1MuGMTCand::reset
void reset()
reset muon candidate
Definition: L1MuGMTCand.cc:81
L1MuGMTCand::m_phiValue
float m_phiValue
Definition: L1MuGMTCand.h:213
L1MuGMTCand::PT_START
Definition: L1MuGMTCand.h:221
L1MuGMTCand::ISO_LENGTH
Definition: L1MuGMTCand.h:228
L1MuGMTCand::ptIndex
unsigned int ptIndex() const
get pt-code
Definition: L1MuGMTCand.h:73
L1MuGMTCand::readDataField
unsigned readDataField(unsigned start, unsigned count) const
Definition: L1MuGMTCand.h:235
PVValHelper::eta
Definition: PVValidationHelpers.h:70
L1MuGMTCand::quality
unsigned int quality() const
get quality
Definition: L1MuGMTCand.h:90
L1MuGMTCand::ETA_LENGTH
Definition: L1MuGMTCand.h:226
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
L1MuGMTCand::etaValue
float etaValue() const
Definition: L1MuGMTCand.cc:102
L1MuGMTCand::m_etaValue
float m_etaValue
Definition: L1MuGMTCand.h:214
L1MuGMTCand::m_invalidValue
static const float m_invalidValue
Definition: L1MuGMTCand.h:216
L1MuGMTCand::SYSIGN_LENGTH
Definition: L1MuGMTCand.h:232
cand
Definition: decayParser.h:32
L1MuGMTCand::sysign
unsigned sysign() const
get charge/synchronization word (0=POS, 1=NEG, 2=UNDEF, 3=SYNC)
Definition: L1MuGMTCand.h:108
L1MuGMTCand::MIP_START
Definition: L1MuGMTCand.h:229
L1MuGMTCand::ptValue
float ptValue() const
Definition: L1MuGMTCand.cc:112
L1MuGMTCand::m_name
std::string m_name
Definition: L1MuGMTCand.h:209
value
Definition: value.py:1
L1MuGMTCand::m_dataWord
unsigned m_dataWord
Definition: L1MuGMTCand.h:211
L1MuGMTCand::QUAL_LENGTH
Definition: L1MuGMTCand.h:224
L1MuGMTCand::SYSIGN_START
Definition: L1MuGMTCand.h:231
L1MuGMTCand::phiIndex
unsigned int phiIndex() const
get phi-code
Definition: L1MuGMTCand.h:70
L1MuGMTCand::charge
int charge() const
get charge (+1 -1)
Definition: L1MuGMTCand.h:132
DDAxes::phi
L1MuGMTCand::empty
bool empty() const
is it an empty muon candidate?
Definition: L1MuGMTCand.h:61
L1MuGMTCand::phiValue
float phiValue() const
Definition: L1MuGMTCand.cc:92
L1MuGMTCand::QUAL_START
Definition: L1MuGMTCand.h:223
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
L1MuGMTCand::PHI_START
Definition: L1MuGMTCand.h:219
L1MuGMTCand::PT_LENGTH
Definition: L1MuGMTCand.h:222
L1MuGMTCand::MIP_LENGTH
Definition: L1MuGMTCand.h:230
command_line.start
start
Definition: command_line.py:167
L1MuGMTCand::writeDataField
void writeDataField(unsigned start, unsigned count, unsigned value)
Definition: L1MuGMTCand.h:240
L1MuGMTCand::isol
bool isol() const
get isolation
Definition: L1MuGMTCand.h:111