#include <TTMuonTriggerPrimitive.h>
Classes | |
struct | TTData |
Public Types | |
enum | subsystem_type { kTT = 20, kNSubsystems } |
typedef DetId | TTDetId |
typedef TTStub< Ref_Phase2TrackerDigi_ > | TTDigi |
Public Member Functions | |
TTData & | accessTTData () |
TTDetId | detId () const |
const int | getBend () const |
const int | getBX () const |
const double | getCMSGlobalEta () const |
const double | getCMSGlobalPhi () const |
const GlobalPoint | getCMSGlobalPoint () const |
const double | getCMSGlobalRho () const |
const unsigned | getGlobalSector () const |
const int | getSegment () const |
const int | getStrip () const |
const unsigned | getSubSector () const |
const TTData | getTTData () const |
TTTriggerPrimitive & | operator= (const TTTriggerPrimitive &tp) |
bool | operator== (const TTTriggerPrimitive &tp) const |
void | print (std::ostream &) const |
TTDetId | rawId () const |
void | setCMSGlobalEta (const double eta) |
void | setCMSGlobalPhi (const double phi) |
void | setCMSGlobalRho (const double rho) |
void | setTTData (const TTData &data) |
const subsystem_type | subsystem () const |
TTTriggerPrimitive () | |
TTTriggerPrimitive (const TTDetId &detid, const TTDigi &digi) | |
TTTriggerPrimitive (const TTTriggerPrimitive &) | |
~TTTriggerPrimitive () | |
Private Member Functions | |
void | calculateTTGlobalSector (const TTDetId &detid, unsigned &globalsector, unsigned &subsector) |
Private Attributes | |
TTData | _data |
double | _eta |
unsigned | _globalsector |
TTDetId | _id |
double | _phi |
double | _rho |
unsigned | _subsector |
subsystem_type | _subsystem |
double | _theta |
Definition at line 23 of file TTMuonTriggerPrimitive.h.
Definition at line 31 of file TTMuonTriggerPrimitive.h.
Definition at line 30 of file TTMuonTriggerPrimitive.h.
|
inline |
Definition at line 43 of file TTMuonTriggerPrimitive.h.
Definition at line 12 of file TTMuonTriggerPrimitive.cc.
References _data, _globalsector, _subsector, L1TMuon::TTTriggerPrimitive::TTData::bend, L1TMuon::TTTriggerPrimitive::TTData::bx, calculateTTGlobalSector(), L1TMuon::TTTriggerPrimitive::TTData::col_f, TTStub< T >::getClusterRef(), TTStub< T >::getTriggerBend(), L1TMuon::TTTriggerPrimitive::TTData::row_f, PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
TTTriggerPrimitive::TTTriggerPrimitive | ( | const TTTriggerPrimitive & | tp | ) |
Definition at line 25 of file TTMuonTriggerPrimitive.cc.
|
inline |
Definition at line 52 of file TTMuonTriggerPrimitive.h.
References operator=(), and operator==().
|
inline |
Definition at line 87 of file TTMuonTriggerPrimitive.h.
References _data, getBend(), getBX(), getSegment(), and getStrip().
|
private |
Definition at line 111 of file TTMuonTriggerPrimitive.cc.
Referenced by getSubSector(), and TTTriggerPrimitive().
|
inline |
Definition at line 78 of file TTMuonTriggerPrimitive.h.
References _id.
Referenced by L1TMuon::TTGeometryTranslator::getTTSpecificPoint(), L1TMuon::TTGeometryTranslator::isBarrel(), L1TMuon::TTGeometryTranslator::isPSModule(), L1TMuon::TTGeometryTranslator::layer(), L1TMuon::TTGeometryTranslator::module(), print(), rawId(), L1TMuon::TTGeometryTranslator::region(), and L1TMuon::TTGeometryTranslator::ring().
const int TTTriggerPrimitive::getBend | ( | ) | const |
Definition at line 99 of file TTMuonTriggerPrimitive.cc.
References _data, _subsystem, L1TMuon::TTTriggerPrimitive::TTData::bend, Exception, and kTT.
Referenced by accessTTData().
const int TTTriggerPrimitive::getBX | ( | ) | const |
Definition at line 63 of file TTMuonTriggerPrimitive.cc.
References _data, _subsystem, L1TMuon::TTTriggerPrimitive::TTData::bx, Exception, and kTT.
Referenced by accessTTData().
|
inline |
|
inline |
|
inline |
Definition at line 71 of file TTMuonTriggerPrimitive.h.
References _eta, _phi, _rho, JetChargeProducer_cfi::exp, funct::tan(), and theta().
|
inline |
|
inline |
Definition at line 95 of file TTMuonTriggerPrimitive.h.
References _globalsector.
const int TTTriggerPrimitive::getSegment | ( | ) | const |
Definition at line 87 of file TTMuonTriggerPrimitive.cc.
References _data, _subsystem, L1TMuon::TTTriggerPrimitive::TTData::col_f, Exception, and kTT.
Referenced by accessTTData().
const int TTTriggerPrimitive::getStrip | ( | ) | const |
Definition at line 75 of file TTMuonTriggerPrimitive.cc.
References _data, _subsystem, Exception, kTT, and L1TMuon::TTTriggerPrimitive::TTData::row_f.
Referenced by accessTTData().
|
inline |
Definition at line 96 of file TTMuonTriggerPrimitive.h.
References _subsector, calculateTTGlobalSector(), and print().
|
inline |
Definition at line 85 of file TTMuonTriggerPrimitive.h.
References _data.
Referenced by L1TMuon::TTGeometryTranslator::calcTTSpecificBend(), TTPrimitiveConversion::convert_tt(), and L1TMuon::TTGeometryTranslator::getTTSpecificPoint().
TTTriggerPrimitive & TTTriggerPrimitive::operator= | ( | const TTTriggerPrimitive & | tp | ) |
Definition at line 38 of file TTMuonTriggerPrimitive.cc.
References _data, _eta, _globalsector, _id, _phi, _rho, _subsector, _subsystem, and _theta.
Referenced by ~TTTriggerPrimitive().
bool TTTriggerPrimitive::operator== | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 52 of file TTMuonTriggerPrimitive.cc.
References _data, _globalsector, _id, _subsector, _subsystem, L1TMuon::TTTriggerPrimitive::TTData::bend, L1TMuon::TTTriggerPrimitive::TTData::bx, L1TMuon::TTTriggerPrimitive::TTData::col_f, and L1TMuon::TTTriggerPrimitive::TTData::row_f.
Referenced by ~TTTriggerPrimitive().
void TTTriggerPrimitive::print | ( | std::ostream & | out | ) | const |
Definition at line 124 of file TTMuonTriggerPrimitive.cc.
References _data, _eta, _phi, _rho, _subsystem, _theta, L1TMuon::TTTriggerPrimitive::TTData::bend, L1TMuon::TTTriggerPrimitive::TTData::bx, L1TMuon::TTTriggerPrimitive::TTData::col_f, detId(), Exception, training_settings::idx, kTT, and L1TMuon::TTTriggerPrimitive::TTData::row_f.
Referenced by getSubSector().
|
inline |
|
inline |
Definition at line 65 of file TTMuonTriggerPrimitive.h.
References _eta, and PVValHelper::eta.
|
inline |
|
inline |
|
inline |
Definition at line 83 of file TTMuonTriggerPrimitive.h.
|
inline |
Definition at line 61 of file TTMuonTriggerPrimitive.h.
References _subsystem.
Referenced by L1TMuon::TTGeometryTranslator::calculateBendAngle(), L1TMuon::TTGeometryTranslator::calculateGlobalEta(), L1TMuon::TTGeometryTranslator::calculateGlobalPhi(), and L1TMuon::TTGeometryTranslator::getGlobalPoint().
|
private |
Definition at line 107 of file TTMuonTriggerPrimitive.h.
Referenced by python.XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_saveData(), accessTTData(), getBend(), getBX(), getSegment(), getStrip(), getTTData(), operator=(), operator==(), print(), setTTData(), and TTTriggerPrimitive().
|
private |
Definition at line 115 of file TTMuonTriggerPrimitive.h.
Referenced by getCMSGlobalEta(), getCMSGlobalPoint(), operator=(), print(), and setCMSGlobalEta().
|
private |
Definition at line 113 of file TTMuonTriggerPrimitive.h.
Referenced by getGlobalSector(), operator=(), operator==(), and TTTriggerPrimitive().
|
private |
Definition at line 109 of file TTMuonTriggerPrimitive.h.
Referenced by detId(), operator=(), and operator==().
|
private |
Definition at line 115 of file TTMuonTriggerPrimitive.h.
Referenced by getCMSGlobalPhi(), getCMSGlobalPoint(), operator=(), print(), and setCMSGlobalPhi().
|
private |
Definition at line 115 of file TTMuonTriggerPrimitive.h.
Referenced by getCMSGlobalPoint(), getCMSGlobalRho(), operator=(), print(), and setCMSGlobalRho().
|
private |
Definition at line 114 of file TTMuonTriggerPrimitive.h.
Referenced by getSubSector(), operator=(), operator==(), and TTTriggerPrimitive().
|
private |
Definition at line 111 of file TTMuonTriggerPrimitive.h.
Referenced by getBend(), getBX(), getSegment(), getStrip(), operator=(), operator==(), print(), and subsystem().
|
private |
Definition at line 116 of file TTMuonTriggerPrimitive.h.
Referenced by operator=(), and print().