#include <ME0TriggerDigi.h>
Public Member Functions | |
void | clear () |
clear this Trigger More... | |
int | getBend () const |
return bend More... | |
int | getBX () const |
return BX More... | |
int | getChamberid () const |
return chamber number in one CTP7 More... | |
int | getDeltaphi () const |
return bending angle More... | |
int | getPartition () const |
return the key "partition" More... | |
int | getPhiposition () const |
return the phi position, resolution: half strip level More... | |
int | getQuality () const |
return the Quality More... | |
int | getStrip () const |
return the key strip More... | |
bool | isValid () const |
is valid? More... | |
ME0TriggerDigi (const int chamberid, const int quality, const int phiposition, const int partition, const int deltaphi, const int bend, const int bx) | |
Constructors. More... | |
ME0TriggerDigi () | |
default More... | |
bool | operator!= (const ME0TriggerDigi &rhs) const |
bool | operator== (const ME0TriggerDigi &) const |
Comparison. More... | |
void | setBend (unsigned int b) |
set bend More... | |
void | setBX (unsigned int b) |
set bx More... | |
void | setChamberid (const uint16_t number) |
Set track number. More... | |
void | setDeltaphi (unsigned int dphi) |
set bending angle More... | |
void | setPartition (unsigned int p) |
set partition More... | |
void | setPhiposition (unsigned int phi) |
set phi position More... | |
void | setQuality (unsigned int q) |
set quality code More... | |
void | setStrip (unsigned int s) |
set strip More... | |
Private Attributes | |
uint16_t | bend_ |
uint16_t | bx_ |
uint16_t | chamberid_ |
uint16_t | deltaphi_ |
uint16_t | partition_ |
uint16_t | phiposition_ |
uint16_t | quality_ |
ME0Segment | segment_ |
uint16_t | strip_ |
Digi for local ME0 trigger system ME0 data format: 32bits in total eta position: 4bits, 0-15 phi positoin: 10bits, halfstrip resolution deltaPhi: 9bits, phi difference between layer1 and layer6 bend: 1bits, left(+)=0 or right(-)=1 quality: 4bits, quality0 means invalid chamber id: 1bits, 2 chamber in CTP7 30 bits used now and 2 bits reserved for future
Other properties for MC bx: center at BX8, similar to CSC discussion: https://indico.cern.ch/event/780696/ first version of ME0 trigger is built from offline ME0 segment added ME0 reference in trigger digi temporarily
Definition at line 28 of file ME0TriggerDigi.h.
ME0TriggerDigi::ME0TriggerDigi | ( | const int | chamberid, |
const int | quality, | ||
const int | phiposition, | ||
const int | partition, | ||
const int | deltaphi, | ||
const int | bend, | ||
const int | bx | ||
) |
ME0TriggerDigi::ME0TriggerDigi | ( | ) |
void ME0TriggerDigi::clear | ( | void | ) |
clear this Trigger
Definition at line 25 of file ME0TriggerDigi.cc.
References bend_, bx_, chamberid_, deltaphi_, partition_, phiposition_, and quality_.
Referenced by ME0Motherboard::clear(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), ME0TriggerDigi(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
return bend
Definition at line 68 of file ME0TriggerDigi.h.
References bend_.
Referenced by operator<<().
|
inline |
return BX
Definition at line 71 of file ME0TriggerDigi.h.
References bx_.
Referenced by operator<<().
|
inline |
return chamber number in one CTP7
Definition at line 50 of file ME0TriggerDigi.h.
References chamberid_.
Referenced by operator<<().
|
inline |
return bending angle
Definition at line 65 of file ME0TriggerDigi.h.
References deltaphi_.
Referenced by operator<<().
|
inline |
return the key "partition"
Definition at line 62 of file ME0TriggerDigi.h.
References partition_.
Referenced by operator<<().
|
inline |
return the phi position, resolution: half strip level
Definition at line 59 of file ME0TriggerDigi.h.
References phiposition_.
Referenced by operator<<().
|
inline |
return the Quality
Definition at line 53 of file ME0TriggerDigi.h.
References quality_.
Referenced by operator<<(), and ME0Motherboard::sortByQuality().
|
inline |
return the key strip
Definition at line 56 of file ME0TriggerDigi.h.
References strip_.
Referenced by operator<<().
|
inline |
is valid?
Definition at line 75 of file ME0TriggerDigi.h.
References quality_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), ME0TriggerPseudoBuilder::build(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 46 of file ME0TriggerDigi.h.
References operator==().
bool ME0TriggerDigi::operator== | ( | const ME0TriggerDigi & | rhs | ) | const |
Comparison.
Definition at line 35 of file ME0TriggerDigi.cc.
References bend_, bx_, chamberid_, deltaphi_, partition_, phiposition_, and quality_.
Referenced by operator!=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
set partition
Definition at line 90 of file ME0TriggerDigi.h.
References AlCaHLTBitMon_ParallelJobs::p, and partition_.
|
inline |
|
inline |
set quality code
Definition at line 81 of file ME0TriggerDigi.h.
References lumiQueryAPI::q, and quality_.
|
inline |
set strip
Definition at line 84 of file ME0TriggerDigi.h.
References alignCSCRings::s, and strip_.
Referenced by ME0TriggerPseudoBuilder::segmentConversion().
|
private |
Definition at line 117 of file ME0TriggerDigi.h.
Referenced by clear(), getBend(), operator==(), and setBend().
|
private |
Definition at line 118 of file ME0TriggerDigi.h.
Referenced by clear(), getBX(), operator==(), and setBX().
|
private |
Definition at line 111 of file ME0TriggerDigi.h.
Referenced by clear(), getChamberid(), operator==(), and setChamberid().
|
private |
Definition at line 116 of file ME0TriggerDigi.h.
Referenced by clear(), getDeltaphi(), operator==(), and setDeltaphi().
|
private |
Definition at line 115 of file ME0TriggerDigi.h.
Referenced by clear(), getPartition(), operator==(), and setPartition().
|
private |
Definition at line 114 of file ME0TriggerDigi.h.
Referenced by clear(), getPhiposition(), operator==(), and setPhiposition().
|
private |
Definition at line 112 of file ME0TriggerDigi.h.
Referenced by clear(), getQuality(), isValid(), operator==(), and setQuality().
|
private |
Definition at line 121 of file ME0TriggerDigi.h.
|
private |
Definition at line 113 of file ME0TriggerDigi.h.
Referenced by getStrip(), and setStrip().