CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
L1TMuon::TriggerPrimitive Class Reference

#include <MuonTriggerPrimitive.h>

Classes

struct  CSCData
 
struct  DTData
 
struct  RPCData
 

Public Types

enum  subsystem_type { kDT, kCSC, kRPC, kNSubsystems }
 

Public Member Functions

template<typename IDType >
IDType detId () const
 
const int getBX () const
 
const double getCMSGlobalEta () const
 
const double getCMSGlobalPhi () const
 
const GlobalPoint getCMSGlobalPoint () const
 
const double getCMSGlobalRho () const
 
const CSCData getCSCData () const
 
const DTData getDTData () const
 
const unsigned getGlobalSector () const
 
const int getPattern () const
 
const RPCData getRPCData () const
 
const int getStrip () const
 
const unsigned getSubSector () const
 
double getThetaBend () const
 
const int getWire () const
 
const int Id () const
 
TriggerPrimitiveoperator= (const TriggerPrimitive &tp)
 
bool operator== (const TriggerPrimitive &tp) const
 
void print (std::ostream &) const
 
const DetId rawId () const
 
void setCMSGlobalEta (const double eta)
 
void setCMSGlobalPhi (const double phi)
 
void setCMSGlobalRho (const double rho)
 
void setThetaBend (const double theta)
 
const subsystem_type subsystem () const
 
 TriggerPrimitive ()
 
 TriggerPrimitive (const DTChamberId &, const L1MuDTChambPhDigi &, const int segment_number)
 
 TriggerPrimitive (const DTChamberId &, const L1MuDTChambThDigi &, const int segment_number)
 
 TriggerPrimitive (const DTChamberId &, const L1MuDTChambPhDigi &, const L1MuDTChambThDigi &, const int theta_bti_group)
 
 TriggerPrimitive (const CSCDetId &, const CSCCorrelatedLCTDigi &)
 
 TriggerPrimitive (const RPCDetId &detid, const unsigned strip, const unsigned layer, const uint16_t bx)
 
 TriggerPrimitive (const TriggerPrimitive &)
 
 TriggerPrimitive (const TriggerPrimitive &tp1, const TriggerPrimitive &tp2)
 

Private Member Functions

void calculateCSCGlobalSector (const CSCDetId &chid, unsigned &global_sector, unsigned &subsector)
 
void calculateDTGlobalSector (const DTChamberId &chid, unsigned &global_sector, unsigned &subsector)
 
void calculateRPCGlobalSector (const RPCDetId &chid, unsigned &global_sector, unsigned &subsector)
 

Private Attributes

CSCData _csc
 
DTData _dt
 
double _eta
 
unsigned _globalsector
 
DetId _id
 
double _phi
 
double _rho
 
RPCData _rpc
 
unsigned _subsector
 
subsystem_type _subsystem
 
double _theta
 

Detailed Description

Definition at line 46 of file MuonTriggerPrimitive.h.

Member Enumeration Documentation

Enumerator
kDT 
kCSC 
kRPC 
kNSubsystems 

Definition at line 49 of file MuonTriggerPrimitive.h.

Constructor & Destructor Documentation

L1TMuon::TriggerPrimitive::TriggerPrimitive ( )
inline

Definition at line 108 of file MuonTriggerPrimitive.h.

TriggerPrimitive::TriggerPrimitive ( const DTChamberId detid,
const L1MuDTChambPhDigi digi_phi,
const int  segment_number 
)

Definition at line 21 of file MuonTriggerPrimitive.cc.

TriggerPrimitive::TriggerPrimitive ( const DTChamberId detid,
const L1MuDTChambThDigi digi_th,
const int  segment_number 
)

Definition at line 44 of file MuonTriggerPrimitive.cc.

TriggerPrimitive::TriggerPrimitive ( const DTChamberId detid,
const L1MuDTChambPhDigi digi_phi,
const L1MuDTChambThDigi digi_th,
const int  theta_bti_group 
)

Definition at line 67 of file MuonTriggerPrimitive.cc.

TriggerPrimitive::TriggerPrimitive ( const CSCDetId detid,
const CSCCorrelatedLCTDigi digi 
)

Definition at line 92 of file MuonTriggerPrimitive.cc.

TriggerPrimitive::TriggerPrimitive ( const RPCDetId detid,
const unsigned  strip,
const unsigned  layer,
const uint16_t  bx 
)

Definition at line 133 of file MuonTriggerPrimitive.cc.

TriggerPrimitive::TriggerPrimitive ( const TriggerPrimitive tp)

Definition at line 172 of file MuonTriggerPrimitive.cc.

TriggerPrimitive::TriggerPrimitive ( const TriggerPrimitive tp1,
const TriggerPrimitive tp2 
)

Definition at line 112 of file MuonTriggerPrimitive.cc.

Member Function Documentation

void TriggerPrimitive::calculateCSCGlobalSector ( const CSCDetId chid,
unsigned &  global_sector,
unsigned &  subsector 
)
private

Definition at line 305 of file MuonTriggerPrimitive.cc.

void TriggerPrimitive::calculateDTGlobalSector ( const DTChamberId chid,
unsigned &  global_sector,
unsigned &  subsector 
)
private

Definition at line 300 of file MuonTriggerPrimitive.cc.

void TriggerPrimitive::calculateRPCGlobalSector ( const RPCDetId chid,
unsigned &  global_sector,
unsigned &  subsector 
)
private

Definition at line 310 of file MuonTriggerPrimitive.cc.

template<typename IDType >
IDType L1TMuon::TriggerPrimitive::detId ( ) const
inline

Definition at line 160 of file MuonTriggerPrimitive.h.

Referenced by PrimitiveConverterRPC::convert().

const int TriggerPrimitive::getBX ( ) const

Definition at line 221 of file MuonTriggerPrimitive.cc.

const double L1TMuon::TriggerPrimitive::getCMSGlobalEta ( ) const
inline

Definition at line 142 of file MuonTriggerPrimitive.h.

const double L1TMuon::TriggerPrimitive::getCMSGlobalPhi ( ) const
inline

Definition at line 144 of file MuonTriggerPrimitive.h.

const GlobalPoint L1TMuon::TriggerPrimitive::getCMSGlobalPoint ( ) const
inline

Definition at line 149 of file MuonTriggerPrimitive.h.

const double L1TMuon::TriggerPrimitive::getCMSGlobalRho ( ) const
inline

Definition at line 146 of file MuonTriggerPrimitive.h.

const CSCData L1TMuon::TriggerPrimitive::getCSCData ( ) const
inline

Definition at line 164 of file MuonTriggerPrimitive.h.

const DTData L1TMuon::TriggerPrimitive::getDTData ( ) const
inline

Definition at line 163 of file MuonTriggerPrimitive.h.

const unsigned L1TMuon::TriggerPrimitive::getGlobalSector ( ) const
inline

Definition at line 175 of file MuonTriggerPrimitive.h.

const int TriggerPrimitive::getPattern ( ) const

Definition at line 269 of file MuonTriggerPrimitive.cc.

const RPCData L1TMuon::TriggerPrimitive::getRPCData ( ) const
inline

Definition at line 165 of file MuonTriggerPrimitive.h.

Referenced by PrimitiveConverterRPC::convert().

const int TriggerPrimitive::getStrip ( ) const

Definition at line 237 of file MuonTriggerPrimitive.cc.

const unsigned L1TMuon::TriggerPrimitive::getSubSector ( ) const
inline

Definition at line 176 of file MuonTriggerPrimitive.h.

double L1TMuon::TriggerPrimitive::getThetaBend ( ) const
inline

Definition at line 157 of file MuonTriggerPrimitive.h.

const int TriggerPrimitive::getWire ( ) const

Definition at line 253 of file MuonTriggerPrimitive.cc.

const int TriggerPrimitive::Id ( ) const

Definition at line 284 of file MuonTriggerPrimitive.cc.

TriggerPrimitive & TriggerPrimitive::operator= ( const TriggerPrimitive tp)

Definition at line 158 of file MuonTriggerPrimitive.cc.

bool TriggerPrimitive::operator== ( const TriggerPrimitive tp) const

Definition at line 186 of file MuonTriggerPrimitive.cc.

void TriggerPrimitive::print ( std::ostream &  out) const

Definition at line 315 of file MuonTriggerPrimitive.cc.

const DetId L1TMuon::TriggerPrimitive::rawId ( ) const
inline

Definition at line 172 of file MuonTriggerPrimitive.h.

void L1TMuon::TriggerPrimitive::setCMSGlobalEta ( const double  eta)
inline

Definition at line 143 of file MuonTriggerPrimitive.h.

void L1TMuon::TriggerPrimitive::setCMSGlobalPhi ( const double  phi)
inline

Definition at line 145 of file MuonTriggerPrimitive.h.

void L1TMuon::TriggerPrimitive::setCMSGlobalRho ( const double  rho)
inline

Definition at line 147 of file MuonTriggerPrimitive.h.

void L1TMuon::TriggerPrimitive::setThetaBend ( const double  theta)
inline

Definition at line 156 of file MuonTriggerPrimitive.h.

const subsystem_type L1TMuon::TriggerPrimitive::subsystem ( ) const
inline

Definition at line 140 of file MuonTriggerPrimitive.h.

Member Data Documentation

CSCData L1TMuon::TriggerPrimitive::_csc
private

Definition at line 194 of file MuonTriggerPrimitive.h.

DTData L1TMuon::TriggerPrimitive::_dt
private

Definition at line 193 of file MuonTriggerPrimitive.h.

double L1TMuon::TriggerPrimitive::_eta
private

Definition at line 203 of file MuonTriggerPrimitive.h.

unsigned L1TMuon::TriggerPrimitive::_globalsector
private

Definition at line 201 of file MuonTriggerPrimitive.h.

DetId L1TMuon::TriggerPrimitive::_id
private

Definition at line 197 of file MuonTriggerPrimitive.h.

double L1TMuon::TriggerPrimitive::_phi
private

Definition at line 203 of file MuonTriggerPrimitive.h.

double L1TMuon::TriggerPrimitive::_rho
private

Definition at line 203 of file MuonTriggerPrimitive.h.

RPCData L1TMuon::TriggerPrimitive::_rpc
private

Definition at line 195 of file MuonTriggerPrimitive.h.

unsigned L1TMuon::TriggerPrimitive::_subsector
private

Definition at line 202 of file MuonTriggerPrimitive.h.

subsystem_type L1TMuon::TriggerPrimitive::_subsystem
private

Definition at line 199 of file MuonTriggerPrimitive.h.

double L1TMuon::TriggerPrimitive::_theta
private

Definition at line 204 of file MuonTriggerPrimitive.h.