#include <MuonInternalTrack.h>
Public Types | |
enum | subsystem_offset { kDT, kRPCb, kCSC, kRPCf } |
Public Types inherited from L1MuRegionalCand | |
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 | { FINEHALO_START =22 } |
enum | { FINEHALO_LENGTH = 1 } |
enum | { CHARGE_START =23 } |
enum | { CHARGE_LENGTH = 1 } |
enum | { CHVALID_START =24 } |
enum | { CHVALID_LENGTH = 1 } |
enum | { TYPE_START =30 } |
enum | { TYPE_LENGTH = 2 } |
Public Member Functions | |
void | addStub (const TriggerPrimitive &stub) |
unsigned long | cscMode () const |
unsigned long | dtMode () const |
const TriggerPrimitiveStationMap & | getStubs () const |
InternalTrack () | |
InternalTrack (const L1MuDTTrackCand &) | |
InternalTrack (const csc::L1Track &) | |
InternalTrack (const L1MuRegionalCand &, const RPCL1LinkRef &) | |
unsigned long | mode () const |
RegionalCandBaseRef | parent () const |
RPCL1LinkRef | parentRPCLink () const |
void | print (std::ostream &) const |
unsigned long | rpcbMode () const |
unsigned long | rpcfMode () const |
void | setParent (const RegionalCandBaseRef &parent) |
void | setType (unsigned type) |
unsigned | type_idx () const |
~InternalTrack () | |
Public Member Functions inherited from L1MuRegionalCand | |
int | bx () const |
return bunch crossing identifier More... | |
unsigned | charge_packed () const |
return charge packed as in hardware (0=pos, 1=neg) More... | |
unsigned | charge_valid_packed () const |
return charge valid packed as in hardware (1=valid, 0=not valid) More... | |
bool | chargeValid () const |
is the charge valid ? More... | |
int | chargeValue () const |
get charge More... | |
virtual bool | empty () const |
return empty flag More... | |
unsigned | eta_packed () const |
return eta packed as in hardware More... | |
float | etaValue () const |
get eta-value of muon candidate More... | |
unsigned | finehalo_packed () const |
return eta-fine (for DT) / halo (for CSC) bit More... | |
unsigned | getDataWord () const |
return data word More... | |
bool | isFineHalo () const |
is it fine (DT) / halo (CSC) ? More... | |
L1MuRegionalCand (unsigned dataword=0, int bx=0) | |
constructor from data word More... | |
L1MuRegionalCand (unsigned type_idx, unsigned phi, unsigned eta, unsigned pt, unsigned charge, unsigned ch_valid, unsigned finehalo, unsigned quality, int bx) | |
constructor from packed members More... | |
unsigned | phi_packed () const |
return phi packed as in hardware More... | |
float | phiValue () const |
get phi-value of muon candidate in radians (low edge of bin) More... | |
virtual void | print () const |
print candidate More... | |
unsigned | pt_packed () const |
return pt packed as in hardware More... | |
float | ptValue () const |
get pt-value of muon candidate in GeV More... | |
unsigned int | quality () const |
return quality More... | |
unsigned int | quality_packed () const |
return quality packed as in hardware More... | |
virtual void | reset () |
reset More... | |
void | setBx (int bx) |
Set Bunch Crossing. More... | |
void | setChargePacked (unsigned ch) |
Set Charge (0=pos, 1=neg) More... | |
void | setChargeValid (bool valid) |
Set Charge Valid. More... | |
void | setChargeValidPacked (unsigned valid) |
Set Charge Valid. More... | |
void | setChargeValue (int charge) |
Set Charge Value: -1, 1. More... | |
void | setDataWord (unsigned dataword) |
Set data word. More... | |
void | setEtaPacked (unsigned eta) |
Set Eta: 6-bit code. More... | |
void | setEtaValue (float etaVal) |
Set Eta Value (need to set type, first) More... | |
void | setFineHalo (bool fh) |
Set Fine / Halo. More... | |
void | setFineHaloPacked (unsigned fh) |
Set Fine / Halo. More... | |
void | setPhiPacked (unsigned phi) |
Set Phi: 0..143. More... | |
void | setPhiValue (float phiVal) |
Set Phi Value. More... | |
void | setPtPacked (unsigned pt) |
Set Pt: 0..31. More... | |
void | setPtValue (float ptVal) |
Set Pt Value. More... | |
void | setQualityPacked (unsigned qual) |
Set Quality: 0..7. More... | |
void | setType (unsigned type) |
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC. More... | |
unsigned | type_idx () const |
return type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC More... | |
virtual | ~L1MuRegionalCand () |
destructor More... | |
Public Attributes | |
std::vector< std::vector< int > > | deltas |
int | phi |
TEMPORARY ADDITION by G. Brown ///. More... | |
std::vector< int > | phis |
float | pt |
int | rank |
int | theta |
std::vector< int > | thetas |
Private Attributes | |
TriggerPrimitiveStationMap | _associatedStubs |
int | _endcap |
unsigned long | _mode |
RegionalCandBaseRef | _parent |
RPCL1LinkRef | _parentlink |
int | _sector |
unsigned | _type |
int | _wheel |
Definition at line 37 of file MuonInternalTrack.h.
|
inline |
Definition at line 40 of file MuonInternalTrack.h.
|
inline |
Definition at line 41 of file MuonInternalTrack.h.
InternalTrack::InternalTrack | ( | const L1MuDTTrackCand & | dttrack | ) |
Definition at line 12 of file MuonInternalTrack.cc.
References _endcap, _mode, _sector, _wheel, L1MuDTTrackCand::scNum(), and L1MuDTTrackCand::whNum().
InternalTrack::InternalTrack | ( | const csc::L1Track & | csctrack | ) |
Definition at line 20 of file MuonInternalTrack.cc.
References _endcap, _mode, _sector, _wheel, csc::L1Track::endcap(), and csc::L1Track::sector().
InternalTrack::InternalTrack | ( | const L1MuRegionalCand & | rpctrack, |
const RPCL1LinkRef & | rpclink | ||
) |
Definition at line 28 of file MuonInternalTrack.cc.
References _endcap, _mode, _parentlink, _sector, and _wheel.
void InternalTrack::addStub | ( | const TriggerPrimitive & | stub | ) |
Definition at line 43 of file MuonInternalTrack.cc.
References _associatedStubs, _mode, L1TMuon::TriggerPrimitive::detId(), Exception, kCSC, L1TMuon::TriggerPrimitive::kCSC, kDT, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kRPC, kRPCb, kRPCf, hltrates_dqm_sourceclient-live_cfg::offset, RPCDetId::region(), edm::shift, relativeConstraints::station, and L1TMuon::TriggerPrimitive::subsystem().
Referenced by L1TMuonEndCapTrackProducer::produce().
|
inline |
|
inline |
|
inline |
Definition at line 61 of file MuonInternalTrack.h.
References _associatedStubs.
Referenced by CalculatePt(), and CalculatePt_FullPrecision().
|
inline |
|
inline |
Definition at line 53 of file MuonInternalTrack.h.
References _parent.
Referenced by BeautifulSoup.PageElement::_invert(), Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), setParent(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
|
inline |
void InternalTrack::print | ( | std::ostream & | out | ) | const |
Definition at line 81 of file MuonInternalTrack.cc.
References _endcap, _parent, _sector, _wheel, funct::abs(), edm::RefToBase< T >::castTo(), gather_cfg::cout, cscMode(), TauDecayModes::dec, dtMode(), L1MuRegionalCand::eta_packed(), Exception, mode(), L1MuRegionalCand::phi_packed(), L1MuRegionalCand::quality(), rpcbMode(), rpcfMode(), tc2bitmap(), and type_idx().
|
inline |
|
inline |
|
inline |
Definition at line 54 of file MuonInternalTrack.h.
References _parent, and parent().
Referenced by lumiQTWidget.LumiCanvas::__init__().
|
inline |
Definition at line 48 of file MuonInternalTrack.h.
References _type.
Referenced by L1TMuonEndCapTrackProducer::produce().
unsigned InternalTrack::type_idx | ( | ) | const |
Definition at line 38 of file MuonInternalTrack.cc.
References _parent, _type, edm::RefToBase< T >::isNonnull(), and L1MuRegionalCand::type_idx().
Referenced by print().
|
private |
Definition at line 86 of file MuonInternalTrack.h.
Referenced by addStub(), and getStubs().
|
private |
Definition at line 87 of file MuonInternalTrack.h.
Referenced by InternalTrack(), and print().
|
private |
Definition at line 94 of file MuonInternalTrack.h.
Referenced by argparse.FileType::__call__(), python.rootplot.argparse.FileType::__call__(), argparse.FileType::__repr__(), python.rootplot.argparse.FileType::__repr__(), addStub(), cscMode(), dtMode(), InternalTrack(), mode(), rpcbMode(), and rpcfMode().
|
private |
Definition at line 96 of file MuonInternalTrack.h.
Referenced by parent(), print(), setParent(), and type_idx().
|
private |
Definition at line 98 of file MuonInternalTrack.h.
Referenced by InternalTrack(), and parentRPCLink().
|
private |
Definition at line 87 of file MuonInternalTrack.h.
Referenced by InternalTrack(), and print().
|
private |
Definition at line 88 of file MuonInternalTrack.h.
Referenced by setType(), and type_idx().
|
private |
Definition at line 87 of file MuonInternalTrack.h.
Referenced by InternalTrack(), and print().
std::vector< std::vector<int> > L1TMuon::InternalTrack::deltas |
Definition at line 78 of file MuonInternalTrack.h.
Referenced by L1TMuonEndCapTrackProducer::produce().
int L1TMuon::InternalTrack::phi |
TEMPORARY ADDITION by G. Brown ///.
Definition at line 75 of file MuonInternalTrack.h.
Referenced by Particle.Particle::__str__(), and L1TMuonEndCapTrackProducer::produce().
std::vector<int> L1TMuon::InternalTrack::phis |
Definition at line 79 of file MuonInternalTrack.h.
Referenced by CalculatePt(), CalculatePt_FullPrecision(), and L1TMuonEndCapTrackProducer::produce().
float L1TMuon::InternalTrack::pt |
Definition at line 80 of file MuonInternalTrack.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), L1TMuonEndCapTrackProducer::produce(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
int L1TMuon::InternalTrack::rank |
Definition at line 77 of file MuonInternalTrack.h.
Referenced by dirstructure.Comparison::__make_image(), dirstructure.Comparison::__repr__(), utils.StatisticalTest::get_rank(), utils.StatisticalTest::get_status(), and L1TMuonEndCapTrackProducer::produce().
int L1TMuon::InternalTrack::theta |
Definition at line 76 of file MuonInternalTrack.h.
Referenced by CalculatePt(), CalculatePt_FullPrecision(), L1TMuonEndCapTrackProducer::produce(), and Tau.Tau::zImpact().
std::vector<int> L1TMuon::InternalTrack::thetas |
Definition at line 79 of file MuonInternalTrack.h.
Referenced by L1TMuonEndCapTrackProducer::produce().