CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::EMTFHit Class Reference

#include <EMTFHit.h>

Public Member Functions

int ALCT_quality () const
 
int BC0 () const
 
int Bend () const
 
int BT_segment () const
 
int BT_station () const
 
int BX () const
 
int Chamber () const
 
int CLCT_quality () const
 
CPPFDigi CreateCPPFDigi () const
 
CSCCorrelatedLCTDigi CreateCSCCorrelatedLCTDigi () const
 
CSCDetId CreateCSCDetId () const
 
RPCDetId CreateRPCDetId () const
 
CSCDetId CSC_DetId () const
 
int CSC_ID () const
 
int CSC_nID () const
 
DTChamberId DT_DetId () const
 
 EMTFHit ()
 
int Endcap () const
 
float Eta () const
 
float Eta_sim () const
 
int FS_segment () const
 
int FS_zone_code () const
 
GEMDetId GEM_DetId () const
 
bool Is_CSC () const
 
bool Is_DT () const
 
bool Is_GEM () const
 
bool Is_ME0 () const
 
bool Is_RPC () const
 
ME0DetId ME0_DetId () const
 
int MPC_link () const
 
int Neighbor () const
 
int Pattern () const
 
int PC_chamber () const
 
int PC_sector () const
 
int PC_segment () const
 
int PC_station () const
 
int Phi_fp () const
 
float Phi_glob () const
 
float Phi_loc () const
 
float Phi_sim () const
 
int Quality () const
 
float Rho_sim () const
 
int Ring () const
 
int Roll () const
 
RPCDetId RPC_DetId () const
 
int Sector () const
 
int Sector_idx () const
 
int Sector_RPC () const
 
void set_alct_quality (int bits)
 
void set_bc0 (int bits)
 
void set_bend (int bits)
 
void set_bt_segment (int bits)
 
void set_bt_station (int bits)
 
void set_bx (int bits)
 
void set_chamber (int bits)
 
void set_clct_quality (int bits)
 
void set_csc_ID (int bits)
 
void set_csc_nID (int bits)
 
void set_endcap (int bits)
 
void set_eta (float val)
 
void set_eta_sim (float val)
 
void set_fs_segment (int bits)
 
void set_fs_zone_code (int bits)
 
void set_mpc_link (int bits)
 
void set_neighbor (int bits)
 
void set_pattern (int bits)
 
void set_pc_chamber (int bits)
 
void set_pc_sector (int bits)
 
void set_pc_segment (int bits)
 
void set_pc_station (int bits)
 
void set_phi_fp (int bits)
 
void set_phi_glob (float val)
 
void set_phi_loc (float val)
 
void set_phi_sim (float val)
 
void set_quality (int bits)
 
void set_rho_sim (float val)
 
void set_ring (int bits)
 
void set_roll (int bits)
 
void set_sector (int bits)
 
void set_sector_idx (int bits)
 
void set_sector_RPC (int bits)
 
void set_station (int bits)
 
void set_strip (int bits)
 
void set_strip_hi (int bits)
 
void set_strip_low (int bits)
 
void set_stub_num (int bits)
 
void set_subsector (int bits)
 
void set_subsector_RPC (int bits)
 
void set_subsystem (int bits)
 
void set_sync_err (int bits)
 
void set_theta (float val)
 
void set_theta_fp (int bits)
 
void set_theta_sim (float val)
 
void set_time (float val)
 
void set_track_num (int bits)
 
void set_valid (int bits)
 
void set_wire (int bits)
 
void set_z_sim (float val)
 
void set_zone_code (int bits)
 
void set_zone_hit (int bits)
 
void SetCSCDetId (const CSCDetId &id)
 
void SetDTDetId (const DTChamberId &id)
 
void SetGEMDetId (const GEMDetId &id)
 
void SetME0DetId (const ME0DetId &id)
 
void SetRPCDetId (const RPCDetId &id)
 
int Station () const
 
int Strip () const
 
int Strip_hi () const
 
int Strip_low () const
 
int Stub_num () const
 
int Subsector () const
 
int Subsector_RPC () const
 
int Subsystem () const
 
int Sync_err () const
 
float Theta () const
 
int Theta_fp () const
 
float Theta_sim () const
 
float Time () const
 
int Track_num () const
 
int Valid () const
 
int Wire () const
 
float Z_sim () const
 
int Zone_code () const
 
int Zone_hit () const
 
virtual ~EMTFHit ()
 

Private Attributes

int alct_quality
 
int bc0
 
int bend
 
int bt_segment
 
int bt_station
 
int bx
 
int chamber
 
int clct_quality
 
int csc_ID
 
int csc_nID
 
int endcap
 
float eta
 
float eta_sim
 
int fs_segment
 
int fs_zone_code
 
int mpc_link
 
int neighbor
 
int pattern
 
int pc_chamber
 
int pc_sector
 
int pc_segment
 
int pc_station
 
int phi_fp
 
float phi_glob
 
float phi_loc
 
float phi_sim
 
int quality
 
uint32_t rawDetId
 
float rho_sim
 
int ring
 
int roll
 
int sector
 
int sector_idx
 
int sector_RPC
 
int station
 
int strip
 
int strip_hi
 
int strip_low
 
int stub_num
 
int subsector
 
int subsector_RPC
 
int subsystem
 
int sync_err
 
float theta
 
int theta_fp
 
float theta_sim
 
float time
 
int track_num
 
int valid
 
int wire
 
float z_sim
 
int zone_code
 
int zone_hit
 

Detailed Description

Definition at line 22 of file EMTFHit.h.

Constructor & Destructor Documentation

◆ EMTFHit()

l1t::EMTFHit::EMTFHit ( )
inline

Definition at line 24 of file EMTFHit.h.

25  : rawDetId(0),
26  subsystem(-99),
27  endcap(-99),
28  station(-99),
29  ring(-99),
30  sector(-99),
31  sector_RPC(-99),
32  sector_idx(-99),
33  subsector(-99),
34  subsector_RPC(-99),
35  chamber(-99),
36  csc_ID(-99),
37  csc_nID(-99),
38  roll(-99),
39  neighbor(-99),
40  mpc_link(-99),
41  pc_sector(-99),
42  pc_station(-99),
43  pc_chamber(-99),
44  pc_segment(-99),
45  wire(-99),
46  strip(-99),
47  strip_hi(-99),
48  strip_low(-99),
49  track_num(-99),
50  quality(-99),
51  pattern(-99),
52  bend(-99),
53  valid(-99),
54  sync_err(-99),
55  bc0(-99),
56  bx(-99),
57  stub_num(-99),
58  phi_fp(-99),
59  theta_fp(-99),
60  zone_hit(-99),
61  zone_code(-99),
62  fs_segment(-99),
63  fs_zone_code(-99),
64  bt_station(-99),
65  bt_segment(-99),
66  phi_loc(-99),
67  phi_glob(-999),
68  theta(-99),
69  eta(-99),
70  time(-99),
71  phi_sim(-999),
72  theta_sim(-99),
73  eta_sim(-99),
74  rho_sim(-99),
75  z_sim(-99),
76  alct_quality(-99),
77  clct_quality(-99){};

◆ ~EMTFHit()

virtual l1t::EMTFHit::~EMTFHit ( )
inlinevirtual

Definition at line 79 of file EMTFHit.h.

79 {};

Member Function Documentation

◆ ALCT_quality()

int l1t::EMTFHit::ALCT_quality ( ) const
inline

Definition at line 226 of file EMTFHit.h.

226 { return alct_quality; }

References alct_quality.

◆ BC0()

int l1t::EMTFHit::BC0 ( ) const
inline

Definition at line 205 of file EMTFHit.h.

205 { return bc0; }

References bc0.

◆ Bend()

int l1t::EMTFHit::Bend ( ) const
inline

Definition at line 202 of file EMTFHit.h.

202 { return bend; }

References bend.

◆ BT_segment()

int l1t::EMTFHit::BT_segment ( ) const
inline

Definition at line 215 of file EMTFHit.h.

215 { return bt_segment; }

References bt_segment.

Referenced by PrimitiveMatching::process().

◆ BT_station()

int l1t::EMTFHit::BT_station ( ) const
inline

Definition at line 214 of file EMTFHit.h.

214 { return bt_station; }

References bt_station.

◆ BX()

int l1t::EMTFHit::BX ( ) const
inline

◆ Chamber()

int l1t::EMTFHit::Chamber ( ) const
inline

Definition at line 185 of file EMTFHit.h.

185 { return chamber; }

References chamber.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack(), and l1t::stage2::emtf::RPCBlockUnpacker::unpack().

◆ CLCT_quality()

int l1t::EMTFHit::CLCT_quality ( ) const
inline

Definition at line 227 of file EMTFHit.h.

227 { return clct_quality; }

References clct_quality.

◆ CreateCPPFDigi()

CPPFDigi l1t::EMTFHit::CreateCPPFDigi ( ) const

Definition at line 44 of file EMTFHit.cc.

44  {
45  if (!Is_RPC())
46  return CPPFDigi();
47 
48  int board_ = 1 + ((chamber % 36) / 9); // RPC chamber to CPPF board mapping
49  int channel_ = (chamber % 9); // RPC chamber to CPPF output link mapping
50  int sector_ = (sector_idx + 1) - 6 * (endcap == -1);
51  int link_ = (neighbor ? 0 : 1 + (((chamber + 33) % 36) % 6)); // RPC chamber to EMTF input link mapping
52  int nStrips_ = (strip_low < 0 ? -99 : 1 + strip_hi - strip_low); // Cluster size in number of strips
53 
54  return CPPFDigi(RPC_DetId(),
55  bx,
56  phi_fp / 4,
57  theta_fp / 4,
58  valid,
59  board_,
60  channel_,
61  sector_,
62  link_,
63  strip_low,
64  nStrips_,
65  phi_glob,
66  theta);
67  }

References bx, chamber, endcap, Is_RPC(), neighbor, phi_fp, phi_glob, RPC_DetId(), sector_idx, strip_hi, strip_low, theta, theta_fp, and valid.

Referenced by l1t::stage2::emtf::RPCBlockUnpacker::unpack().

◆ CreateCSCCorrelatedLCTDigi()

CSCCorrelatedLCTDigi l1t::EMTFHit::CreateCSCCorrelatedLCTDigi ( ) const

Definition at line 69 of file EMTFHit.cc.

69  {
70  return CSCCorrelatedLCTDigi(1,
71  valid,
72  quality,
73  wire,
74  strip,
75  pattern,
76  (bend == 1) ? 1 : 0,
78  0,
79  0,
80  sync_err,
81  csc_ID);
82  // Filling "trknmb" with 1 and "bx0" with 0 (as in MC).
83  // May consider filling "trknmb" with 2 for 2nd LCT in the same chamber. - AWB 24.05.17
84  // trknmb and bx0 are unused in the EMTF emulator code. mpclink = 0 (after bx) indicates unsorted.
85  }

References bend, bx, csc_ID, CSCConstants::LCT_CENTRAL_BX, pattern, quality, strip, sync_err, valid, and wire.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

◆ CreateCSCDetId()

CSCDetId l1t::EMTFHit::CreateCSCDetId ( ) const

Definition at line 6 of file EMTFHit.cc.

6  {
7  return CSCDetId((endcap == 1) ? 1 : 2, station, (ring == 4) ? 1 : ring, chamber, 0);
8  // Layer always filled as 0 (indicates "whole chamber")
9  // See http://cmslxr.fnal.gov/source/L1Trigger/CSCTriggerPrimitives/src/CSCTriggerPrimitivesBuilder.cc#0198
10  }

References chamber, endcap, ring, and station.

Referenced by l1t::stage2::emtf::ImportME().

◆ CreateRPCDetId()

RPCDetId l1t::EMTFHit::CreateRPCDetId ( ) const

Definition at line 12 of file EMTFHit.cc.

12  {
13  int roll_ = roll;
14  int theta_ = theta_fp / 4;
15  if (roll < 1 || roll > 3) {
16  switch (station * 2 + ring) { // Infer roll from integer theta value, by station / ring
17  case 4:
18  roll_ = (theta_ < 17 ? 3 : (theta_ > 18 ? 1 : 2));
19  break; // RE1/2
20  case 6:
21  roll_ = (theta_ < 16 ? 3 : (theta_ > 17 ? 1 : 2));
22  break; // RE2/2
23  case 8:
24  roll_ = (theta_ < 12 ? 3 : (theta_ > 13 ? 1 : 2));
25  break; // RE3/2
26  case 9:
27  roll_ = (theta_ < 20 ? 3 : (theta_ > 21 ? 1 : 2));
28  break; // RE3/3
29  case 10:
30  roll_ = (theta_ < 11 ? 3 : (theta_ > 11 ? 1 : 2));
31  break; // RE4/2
32  case 11:
33  roll_ = (theta_ < 18 ? 3 : (theta_ > 19 ? 1 : 2));
34  break; // RE4/3
35  default:
36  roll_ = 2; // Default to 2 if no valid value found
37  }
38  }
39 
40  return RPCDetId(endcap, ring, station, sector_RPC, 1, subsector_RPC, roll_);
41  // Layer always filled as 1, as layer 2 is only used in the barrel
42  }

References endcap, ring, roll, sector_RPC, station, subsector_RPC, and theta_fp.

Referenced by l1t::stage2::emtf::ImportRPC().

◆ CSC_DetId()

CSCDetId l1t::EMTFHit::CSC_DetId ( ) const
inline

Definition at line 117 of file EMTFHit.h.

117 { return CSCDetId(rawDetId); }

References rawDetId.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack().

◆ CSC_ID()

int l1t::EMTFHit::CSC_ID ( ) const
inline

Definition at line 186 of file EMTFHit.h.

186 { return csc_ID; }

References csc_ID.

Referenced by l1t::stage2::emtf::ImportME(), and l1t::stage2::emtf::MEBlockUnpacker::unpack().

◆ CSC_nID()

int l1t::EMTFHit::CSC_nID ( ) const
inline

◆ DT_DetId()

DTChamberId l1t::EMTFHit::DT_DetId ( ) const
inline

Definition at line 121 of file EMTFHit.h.

121 { return DTChamberId(rawDetId); }

References rawDetId.

◆ Endcap()

int l1t::EMTFHit::Endcap ( ) const
inline

◆ Eta()

float l1t::EMTFHit::Eta ( ) const
inline

Definition at line 219 of file EMTFHit.h.

219 { return eta; }

References eta.

◆ Eta_sim()

float l1t::EMTFHit::Eta_sim ( ) const
inline

Definition at line 223 of file EMTFHit.h.

223 { return eta_sim; }

References eta_sim.

◆ FS_segment()

int l1t::EMTFHit::FS_segment ( ) const
inline

Definition at line 212 of file EMTFHit.h.

212 { return fs_segment; }

References fs_segment.

Referenced by PrimitiveMatching::process().

◆ FS_zone_code()

int l1t::EMTFHit::FS_zone_code ( ) const
inline

Definition at line 213 of file EMTFHit.h.

213 { return fs_zone_code; }

References fs_zone_code.

◆ GEM_DetId()

GEMDetId l1t::EMTFHit::GEM_DetId ( ) const
inline

Definition at line 119 of file EMTFHit.h.

119 { return GEMDetId(rawDetId); }

References rawDetId.

◆ Is_CSC()

bool l1t::EMTFHit::Is_CSC ( ) const
inline

Definition at line 231 of file EMTFHit.h.

231 { return subsystem == 1; }

References subsystem.

Referenced by PrimitiveConversion::is_valid_for_run2().

◆ Is_DT()

bool l1t::EMTFHit::Is_DT ( ) const
inline

Definition at line 230 of file EMTFHit.h.

230 { return subsystem == 0; }

References subsystem.

◆ Is_GEM()

bool l1t::EMTFHit::Is_GEM ( ) const
inline

Definition at line 233 of file EMTFHit.h.

233 { return subsystem == 3; }

References subsystem.

◆ Is_ME0()

bool l1t::EMTFHit::Is_ME0 ( ) const
inline

Definition at line 234 of file EMTFHit.h.

234 { return subsystem == 4; }

References subsystem.

◆ Is_RPC()

bool l1t::EMTFHit::Is_RPC ( ) const
inline

Definition at line 232 of file EMTFHit.h.

232 { return subsystem == 2; }

References subsystem.

Referenced by CreateCPPFDigi(), PrimitiveMatching::insert_hits(), and PrimitiveConversion::is_valid_for_run2().

◆ ME0_DetId()

ME0DetId l1t::EMTFHit::ME0_DetId ( ) const
inline

Definition at line 120 of file EMTFHit.h.

120 { return ME0DetId(rawDetId); }

References rawDetId.

◆ MPC_link()

int l1t::EMTFHit::MPC_link ( ) const
inline

Definition at line 190 of file EMTFHit.h.

190 { return mpc_link; }

References mpc_link.

◆ Neighbor()

int l1t::EMTFHit::Neighbor ( ) const
inline

◆ Pattern()

int l1t::EMTFHit::Pattern ( ) const
inline

Definition at line 201 of file EMTFHit.h.

201 { return pattern; }

References pattern.

Referenced by PrimitiveConversion::convert_csc_details(), and PrimitiveMatching::insert_hits().

◆ PC_chamber()

int l1t::EMTFHit::PC_chamber ( ) const
inline

◆ PC_sector()

int l1t::EMTFHit::PC_sector ( ) const
inline

◆ PC_segment()

int l1t::EMTFHit::PC_segment ( ) const
inline

◆ PC_station()

int l1t::EMTFHit::PC_station ( ) const
inline

◆ Phi_fp()

int l1t::EMTFHit::Phi_fp ( ) const
inline

◆ Phi_glob()

float l1t::EMTFHit::Phi_glob ( ) const
inline

Definition at line 217 of file EMTFHit.h.

217 { return phi_glob; }

References phi_glob.

◆ Phi_loc()

float l1t::EMTFHit::Phi_loc ( ) const
inline

◆ Phi_sim()

float l1t::EMTFHit::Phi_sim ( ) const
inline

Definition at line 221 of file EMTFHit.h.

221 { return phi_sim; }

References phi_sim.

◆ Quality()

int l1t::EMTFHit::Quality ( ) const
inline

Definition at line 200 of file EMTFHit.h.

200 { return quality; }

References quality.

◆ Rho_sim()

float l1t::EMTFHit::Rho_sim ( ) const
inline

Definition at line 224 of file EMTFHit.h.

224 { return rho_sim; }

References rho_sim.

◆ Ring()

int l1t::EMTFHit::Ring ( ) const
inline

◆ Roll()

int l1t::EMTFHit::Roll ( ) const
inline

Definition at line 188 of file EMTFHit.h.

188 { return roll; }

References roll.

Referenced by PrimitiveConversion::convert_rpc_details(), and PrimitiveMatching::insert_hits().

◆ RPC_DetId()

RPCDetId l1t::EMTFHit::RPC_DetId ( ) const
inline

Definition at line 118 of file EMTFHit.h.

118 { return RPCDetId(rawDetId); }

References rawDetId.

Referenced by CreateCPPFDigi().

◆ Sector()

int l1t::EMTFHit::Sector ( ) const
inline

◆ Sector_idx()

int l1t::EMTFHit::Sector_idx ( ) const
inline

Definition at line 182 of file EMTFHit.h.

182 { return sector_idx; }

References sector_idx.

◆ Sector_RPC()

int l1t::EMTFHit::Sector_RPC ( ) const
inline

Definition at line 181 of file EMTFHit.h.

181 { return sector_RPC; }

References sector_RPC.

Referenced by PrimitiveConversion::convert_rpc_details().

◆ set_alct_quality()

void l1t::EMTFHit::set_alct_quality ( int  bits)
inline

Definition at line 173 of file EMTFHit.h.

173 { alct_quality = bits; }

References alct_quality, and bits.

Referenced by PrimitiveConversion::convert_csc().

◆ set_bc0()

void l1t::EMTFHit::set_bc0 ( int  bits)
inline

Definition at line 152 of file EMTFHit.h.

152 { bc0 = bits; }

References bc0, and bits.

Referenced by l1t::stage2::emtf::ImportME(), and l1t::stage2::emtf::ImportRPC().

◆ set_bend()

void l1t::EMTFHit::set_bend ( int  bits)
inline

◆ set_bt_segment()

void l1t::EMTFHit::set_bt_segment ( int  bits)
inline

◆ set_bt_station()

void l1t::EMTFHit::set_bt_station ( int  bits)
inline

◆ set_bx()

void l1t::EMTFHit::set_bx ( int  bits)
inline

◆ set_chamber()

void l1t::EMTFHit::set_chamber ( int  bits)
inline

◆ set_clct_quality()

void l1t::EMTFHit::set_clct_quality ( int  bits)
inline

Definition at line 174 of file EMTFHit.h.

174 { clct_quality = bits; }

References bits, and clct_quality.

Referenced by PrimitiveConversion::convert_csc().

◆ set_csc_ID()

void l1t::EMTFHit::set_csc_ID ( int  bits)
inline

◆ set_csc_nID()

void l1t::EMTFHit::set_csc_nID ( int  bits)
inline

◆ set_endcap()

void l1t::EMTFHit::set_endcap ( int  bits)
inline

◆ set_eta()

void l1t::EMTFHit::set_eta ( float  val)
inline

◆ set_eta_sim()

void l1t::EMTFHit::set_eta_sim ( float  val)
inline

◆ set_fs_segment()

void l1t::EMTFHit::set_fs_segment ( int  bits)
inline

◆ set_fs_zone_code()

void l1t::EMTFHit::set_fs_zone_code ( int  bits)
inline

◆ set_mpc_link()

void l1t::EMTFHit::set_mpc_link ( int  bits)
inline

Definition at line 137 of file EMTFHit.h.

137 { mpc_link = bits; }

References bits, and mpc_link.

◆ set_neighbor()

void l1t::EMTFHit::set_neighbor ( int  bits)
inline

◆ set_pattern()

void l1t::EMTFHit::set_pattern ( int  bits)
inline

◆ set_pc_chamber()

void l1t::EMTFHit::set_pc_chamber ( int  bits)
inline

◆ set_pc_sector()

void l1t::EMTFHit::set_pc_sector ( int  bits)
inline

◆ set_pc_segment()

void l1t::EMTFHit::set_pc_segment ( int  bits)
inline

◆ set_pc_station()

void l1t::EMTFHit::set_pc_station ( int  bits)
inline

◆ set_phi_fp()

void l1t::EMTFHit::set_phi_fp ( int  bits)
inline

◆ set_phi_glob()

void l1t::EMTFHit::set_phi_glob ( float  val)
inline

◆ set_phi_loc()

void l1t::EMTFHit::set_phi_loc ( float  val)
inline

◆ set_phi_sim()

void l1t::EMTFHit::set_phi_sim ( float  val)
inline

◆ set_quality()

void l1t::EMTFHit::set_quality ( int  bits)
inline

◆ set_rho_sim()

void l1t::EMTFHit::set_rho_sim ( float  val)
inline

◆ set_ring()

void l1t::EMTFHit::set_ring ( int  bits)
inline

◆ set_roll()

void l1t::EMTFHit::set_roll ( int  bits)
inline

◆ set_sector()

void l1t::EMTFHit::set_sector ( int  bits)
inline

◆ set_sector_idx()

void l1t::EMTFHit::set_sector_idx ( int  bits)
inline

◆ set_sector_RPC()

void l1t::EMTFHit::set_sector_RPC ( int  bits)
inline

Definition at line 128 of file EMTFHit.h.

128 { sector_RPC = bits; }

References bits, and sector_RPC.

Referenced by PrimitiveConversion::convert_rpc(), and l1t::stage2::emtf::RPCBlockUnpacker::unpack().

◆ set_station()

void l1t::EMTFHit::set_station ( int  bits)
inline

◆ set_strip()

void l1t::EMTFHit::set_strip ( int  bits)
inline

◆ set_strip_hi()

void l1t::EMTFHit::set_strip_hi ( int  bits)
inline

Definition at line 144 of file EMTFHit.h.

144 { strip_hi = bits; }

References bits, and strip_hi.

Referenced by PrimitiveConversion::convert_gem(), and PrimitiveConversion::convert_rpc().

◆ set_strip_low()

void l1t::EMTFHit::set_strip_low ( int  bits)
inline

Definition at line 145 of file EMTFHit.h.

145 { strip_low = bits; }

References bits, and strip_low.

Referenced by PrimitiveConversion::convert_gem(), and PrimitiveConversion::convert_rpc().

◆ set_stub_num()

void l1t::EMTFHit::set_stub_num ( int  bits)
inline

Definition at line 154 of file EMTFHit.h.

154 { stub_num = bits; }

References bits, and stub_num.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack(), and l1t::stage2::emtf::RPCBlockUnpacker::unpack().

◆ set_subsector()

void l1t::EMTFHit::set_subsector ( int  bits)
inline

◆ set_subsector_RPC()

void l1t::EMTFHit::set_subsector_RPC ( int  bits)
inline

Definition at line 131 of file EMTFHit.h.

131 { subsector_RPC = bits; }

References bits, and subsector_RPC.

Referenced by PrimitiveConversion::convert_rpc(), and l1t::stage2::emtf::RPCBlockUnpacker::unpack().

◆ set_subsystem()

void l1t::EMTFHit::set_subsystem ( int  bits)
inline

◆ set_sync_err()

void l1t::EMTFHit::set_sync_err ( int  bits)
inline

Definition at line 151 of file EMTFHit.h.

151 { sync_err = bits; }

References bits, and sync_err.

Referenced by PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_dt(), and l1t::stage2::emtf::ImportME().

◆ set_theta()

void l1t::EMTFHit::set_theta ( float  val)
inline

◆ set_theta_fp()

void l1t::EMTFHit::set_theta_fp ( int  bits)
inline

◆ set_theta_sim()

void l1t::EMTFHit::set_theta_sim ( float  val)
inline

◆ set_time()

void l1t::EMTFHit::set_time ( float  val)
inline

◆ set_track_num()

void l1t::EMTFHit::set_track_num ( int  bits)
inline

Definition at line 146 of file EMTFHit.h.

146 { track_num = bits; }

References bits, and track_num.

Referenced by PrimitiveConversion::convert_csc(), and PrimitiveConversion::convert_dt().

◆ set_valid()

void l1t::EMTFHit::set_valid ( int  bits)
inline

◆ set_wire()

void l1t::EMTFHit::set_wire ( int  bits)
inline

Definition at line 142 of file EMTFHit.h.

142 { wire = bits; }

References bits, and wire.

Referenced by PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_dt(), and l1t::stage2::emtf::ImportME().

◆ set_z_sim()

void l1t::EMTFHit::set_z_sim ( float  val)
inline

◆ set_zone_code()

void l1t::EMTFHit::set_zone_code ( int  bits)
inline

◆ set_zone_hit()

void l1t::EMTFHit::set_zone_hit ( int  bits)
inline

◆ SetCSCDetId()

void l1t::EMTFHit::SetCSCDetId ( const CSCDetId id)
inline

Definition at line 104 of file EMTFHit.h.

104 { rawDetId = id.rawId(); }

References rawDetId.

Referenced by PrimitiveConversion::convert_csc(), and l1t::stage2::emtf::ImportME().

◆ SetDTDetId()

void l1t::EMTFHit::SetDTDetId ( const DTChamberId id)
inline

Definition at line 108 of file EMTFHit.h.

108 { rawDetId = id.rawId(); }

References rawDetId.

Referenced by PrimitiveConversion::convert_dt().

◆ SetGEMDetId()

void l1t::EMTFHit::SetGEMDetId ( const GEMDetId id)
inline

Definition at line 106 of file EMTFHit.h.

106 { rawDetId = id.rawId(); }

References rawDetId.

Referenced by PrimitiveConversion::convert_gem().

◆ SetME0DetId()

void l1t::EMTFHit::SetME0DetId ( const ME0DetId id)
inline

Definition at line 107 of file EMTFHit.h.

107 { rawDetId = id.rawId(); }

References rawDetId.

Referenced by PrimitiveConversion::convert_me0().

◆ SetRPCDetId()

void l1t::EMTFHit::SetRPCDetId ( const RPCDetId id)
inline

Definition at line 105 of file EMTFHit.h.

105 { rawDetId = id.rawId(); }

References rawDetId.

Referenced by PrimitiveConversion::convert_rpc(), and l1t::stage2::emtf::ImportRPC().

◆ Station()

int l1t::EMTFHit::Station ( ) const
inline

◆ Strip()

int l1t::EMTFHit::Strip ( ) const
inline

◆ Strip_hi()

int l1t::EMTFHit::Strip_hi ( ) const
inline

Definition at line 197 of file EMTFHit.h.

197 { return strip_hi; }

References strip_hi.

Referenced by PrimitiveConversion::convert_rpc_details(), and PrimitiveMatching::insert_hits().

◆ Strip_low()

int l1t::EMTFHit::Strip_low ( ) const
inline

Definition at line 198 of file EMTFHit.h.

198 { return strip_low; }

References strip_low.

Referenced by PrimitiveConversion::convert_rpc_details(), and PrimitiveMatching::insert_hits().

◆ Stub_num()

int l1t::EMTFHit::Stub_num ( ) const
inline

Definition at line 207 of file EMTFHit.h.

207 { return stub_num; }

References stub_num.

Referenced by l1t::stage2::emtf::MEBlockUnpacker::unpack(), and l1t::stage2::emtf::RPCBlockUnpacker::unpack().

◆ Subsector()

int l1t::EMTFHit::Subsector ( ) const
inline

◆ Subsector_RPC()

int l1t::EMTFHit::Subsector_RPC ( ) const
inline

Definition at line 184 of file EMTFHit.h.

184 { return subsector_RPC; }

References subsector_RPC.

Referenced by PrimitiveConversion::convert_rpc_details().

◆ Subsystem()

int l1t::EMTFHit::Subsystem ( ) const
inline

Definition at line 176 of file EMTFHit.h.

176 { return subsystem; }

References subsystem.

Referenced by PrimitiveConversion::get_zone_code(), and PrimitiveMatching::insert_hits().

◆ Sync_err()

int l1t::EMTFHit::Sync_err ( ) const
inline

Definition at line 204 of file EMTFHit.h.

204 { return sync_err; }

References sync_err.

◆ Theta()

float l1t::EMTFHit::Theta ( ) const
inline

◆ Theta_fp()

int l1t::EMTFHit::Theta_fp ( ) const
inline

◆ Theta_sim()

float l1t::EMTFHit::Theta_sim ( ) const
inline

Definition at line 222 of file EMTFHit.h.

222 { return theta_sim; }

References theta_sim.

◆ Time()

float l1t::EMTFHit::Time ( ) const
inline

Definition at line 220 of file EMTFHit.h.

220 { return time; }

References time.

◆ Track_num()

int l1t::EMTFHit::Track_num ( ) const
inline

Definition at line 199 of file EMTFHit.h.

199 { return track_num; }

References track_num.

◆ Valid()

int l1t::EMTFHit::Valid ( ) const
inline

Definition at line 203 of file EMTFHit.h.

203 { return valid; }

References valid.

◆ Wire()

int l1t::EMTFHit::Wire ( ) const
inline

Definition at line 195 of file EMTFHit.h.

195 { return wire; }

References wire.

Referenced by PrimitiveConversion::convert_csc_details(), and l1t::stage2::emtf::MEBlockUnpacker::unpack().

◆ Z_sim()

float l1t::EMTFHit::Z_sim ( ) const
inline

Definition at line 225 of file EMTFHit.h.

225 { return z_sim; }

References z_sim.

◆ Zone_code()

int l1t::EMTFHit::Zone_code ( ) const
inline

Definition at line 211 of file EMTFHit.h.

211 { return zone_code; }

References zone_code.

◆ Zone_hit()

int l1t::EMTFHit::Zone_hit ( ) const
inline

Definition at line 210 of file EMTFHit.h.

210 { return zone_hit; }

References zone_hit.

Member Data Documentation

◆ alct_quality

int l1t::EMTFHit::alct_quality
private

Definition at line 296 of file EMTFHit.h.

Referenced by ALCT_quality(), and set_alct_quality().

◆ bc0

int l1t::EMTFHit::bc0
private

Definition at line 275 of file EMTFHit.h.

Referenced by BC0(), and set_bc0().

◆ bend

int l1t::EMTFHit::bend
private

Definition at line 272 of file EMTFHit.h.

Referenced by Bend(), CreateCSCCorrelatedLCTDigi(), and set_bend().

◆ bt_segment

int l1t::EMTFHit::bt_segment
private

Definition at line 285 of file EMTFHit.h.

Referenced by BT_segment(), and set_bt_segment().

◆ bt_station

int l1t::EMTFHit::bt_station
private

Definition at line 284 of file EMTFHit.h.

Referenced by BT_station(), and set_bt_station().

◆ bx

int l1t::EMTFHit::bx
private

Definition at line 276 of file EMTFHit.h.

Referenced by BX(), CreateCPPFDigi(), CreateCSCCorrelatedLCTDigi(), and set_bx().

◆ chamber

int l1t::EMTFHit::chamber
private

◆ clct_quality

int l1t::EMTFHit::clct_quality
private

Definition at line 297 of file EMTFHit.h.

Referenced by CLCT_quality(), and set_clct_quality().

◆ csc_ID

int l1t::EMTFHit::csc_ID
private

Definition at line 256 of file EMTFHit.h.

Referenced by CreateCSCCorrelatedLCTDigi(), CSC_ID(), and set_csc_ID().

◆ csc_nID

int l1t::EMTFHit::csc_nID
private

Definition at line 257 of file EMTFHit.h.

Referenced by CSC_nID(), and set_csc_nID().

◆ endcap

int l1t::EMTFHit::endcap
private

◆ eta

float l1t::EMTFHit::eta
private

Definition at line 289 of file EMTFHit.h.

Referenced by Particle.Particle::__str__(), Eta(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and set_eta().

◆ eta_sim

float l1t::EMTFHit::eta_sim
private

Definition at line 293 of file EMTFHit.h.

Referenced by Eta_sim(), and set_eta_sim().

◆ fs_segment

int l1t::EMTFHit::fs_segment
private

Definition at line 282 of file EMTFHit.h.

Referenced by FS_segment(), and set_fs_segment().

◆ fs_zone_code

int l1t::EMTFHit::fs_zone_code
private

Definition at line 283 of file EMTFHit.h.

Referenced by FS_zone_code(), and set_fs_zone_code().

◆ mpc_link

int l1t::EMTFHit::mpc_link
private

Definition at line 260 of file EMTFHit.h.

Referenced by MPC_link(), and set_mpc_link().

◆ neighbor

int l1t::EMTFHit::neighbor
private

Definition at line 259 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), Neighbor(), and set_neighbor().

◆ pattern

int l1t::EMTFHit::pattern
private

◆ pc_chamber

int l1t::EMTFHit::pc_chamber
private

Definition at line 263 of file EMTFHit.h.

Referenced by PC_chamber(), and set_pc_chamber().

◆ pc_sector

int l1t::EMTFHit::pc_sector
private

Definition at line 261 of file EMTFHit.h.

Referenced by PC_sector(), and set_pc_sector().

◆ pc_segment

int l1t::EMTFHit::pc_segment
private

Definition at line 264 of file EMTFHit.h.

Referenced by PC_segment(), and set_pc_segment().

◆ pc_station

int l1t::EMTFHit::pc_station
private

Definition at line 262 of file EMTFHit.h.

Referenced by PC_station(), and set_pc_station().

◆ phi_fp

int l1t::EMTFHit::phi_fp
private

Definition at line 278 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), Phi_fp(), and set_phi_fp().

◆ phi_glob

float l1t::EMTFHit::phi_glob
private

Definition at line 287 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), Phi_glob(), and set_phi_glob().

◆ phi_loc

float l1t::EMTFHit::phi_loc
private

Definition at line 286 of file EMTFHit.h.

Referenced by Phi_loc(), and set_phi_loc().

◆ phi_sim

float l1t::EMTFHit::phi_sim
private

Definition at line 291 of file EMTFHit.h.

Referenced by Phi_sim(), and set_phi_sim().

◆ quality

int l1t::EMTFHit::quality
private

Definition at line 270 of file EMTFHit.h.

Referenced by CreateCSCCorrelatedLCTDigi(), Quality(), and set_quality().

◆ rawDetId

uint32_t l1t::EMTFHit::rawDetId
private

◆ rho_sim

float l1t::EMTFHit::rho_sim
private

Definition at line 294 of file EMTFHit.h.

Referenced by Rho_sim(), and set_rho_sim().

◆ ring

int l1t::EMTFHit::ring
private

◆ roll

int l1t::EMTFHit::roll
private

Definition at line 258 of file EMTFHit.h.

Referenced by CreateRPCDetId(), Roll(), and set_roll().

◆ sector

int l1t::EMTFHit::sector
private

◆ sector_idx

int l1t::EMTFHit::sector_idx
private

Definition at line 252 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), Sector_idx(), and set_sector_idx().

◆ sector_RPC

int l1t::EMTFHit::sector_RPC
private

Definition at line 251 of file EMTFHit.h.

Referenced by CreateRPCDetId(), Sector_RPC(), and set_sector_RPC().

◆ station

int l1t::EMTFHit::station
private

◆ strip

int l1t::EMTFHit::strip
private

Definition at line 266 of file EMTFHit.h.

Referenced by CreateCSCCorrelatedLCTDigi(), set_strip(), and Strip().

◆ strip_hi

int l1t::EMTFHit::strip_hi
private

Definition at line 267 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), set_strip_hi(), and Strip_hi().

◆ strip_low

int l1t::EMTFHit::strip_low
private

Definition at line 268 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), set_strip_low(), and Strip_low().

◆ stub_num

int l1t::EMTFHit::stub_num
private

Definition at line 277 of file EMTFHit.h.

Referenced by set_stub_num(), and Stub_num().

◆ subsector

int l1t::EMTFHit::subsector
private

Definition at line 253 of file EMTFHit.h.

Referenced by set_subsector(), and Subsector().

◆ subsector_RPC

int l1t::EMTFHit::subsector_RPC
private

Definition at line 254 of file EMTFHit.h.

Referenced by CreateRPCDetId(), set_subsector_RPC(), and Subsector_RPC().

◆ subsystem

int l1t::EMTFHit::subsystem
private

Definition at line 246 of file EMTFHit.h.

Referenced by Is_CSC(), Is_DT(), Is_GEM(), Is_ME0(), Is_RPC(), set_subsystem(), and Subsystem().

◆ sync_err

int l1t::EMTFHit::sync_err
private

Definition at line 274 of file EMTFHit.h.

Referenced by CreateCSCCorrelatedLCTDigi(), set_sync_err(), and Sync_err().

◆ theta

float l1t::EMTFHit::theta
private

Definition at line 288 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), set_theta(), Theta(), and Tau.Tau::zImpact().

◆ theta_fp

int l1t::EMTFHit::theta_fp
private

Definition at line 279 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), CreateRPCDetId(), set_theta_fp(), and Theta_fp().

◆ theta_sim

float l1t::EMTFHit::theta_sim
private

Definition at line 292 of file EMTFHit.h.

Referenced by set_theta_sim(), and Theta_sim().

◆ time

float l1t::EMTFHit::time
private

◆ track_num

int l1t::EMTFHit::track_num
private

Definition at line 269 of file EMTFHit.h.

Referenced by set_track_num(), and Track_num().

◆ valid

int l1t::EMTFHit::valid
private

Definition at line 273 of file EMTFHit.h.

Referenced by CreateCPPFDigi(), CreateCSCCorrelatedLCTDigi(), set_valid(), and Valid().

◆ wire

int l1t::EMTFHit::wire
private

Definition at line 265 of file EMTFHit.h.

Referenced by CreateCSCCorrelatedLCTDigi(), set_wire(), and Wire().

◆ z_sim

float l1t::EMTFHit::z_sim
private

Definition at line 295 of file EMTFHit.h.

Referenced by set_z_sim(), and Z_sim().

◆ zone_code

int l1t::EMTFHit::zone_code
private

Definition at line 281 of file EMTFHit.h.

Referenced by set_zone_code(), and Zone_code().

◆ zone_hit

int l1t::EMTFHit::zone_hit
private

Definition at line 280 of file EMTFHit.h.

Referenced by set_zone_hit(), and Zone_hit().

l1t::EMTFHit::eta_sim
float eta_sim
Definition: EMTFHit.h:293
l1t::EMTFHit::bend
int bend
Definition: EMTFHit.h:272
l1t::EMTFHit::pattern
int pattern
Definition: EMTFHit.h:271
l1t::EMTFHit::bt_segment
int bt_segment
Definition: EMTFHit.h:285
l1t::EMTFHit::sector_RPC
int sector_RPC
Definition: EMTFHit.h:251
l1t::EMTFHit::z_sim
float z_sim
Definition: EMTFHit.h:295
l1t::EMTFHit::pc_sector
int pc_sector
Definition: EMTFHit.h:261
RPCDetId
Definition: RPCDetId.h:16
l1t::EMTFHit::zone_hit
int zone_hit
Definition: EMTFHit.h:280
l1t::EMTFHit::sector_idx
int sector_idx
Definition: EMTFHit.h:252
l1t::EMTFHit::bt_station
int bt_station
Definition: EMTFHit.h:284
CSCConstants::LCT_CENTRAL_BX
Definition: CSCConstants.h:77
l1t::EMTFHit::csc_ID
int csc_ID
Definition: EMTFHit.h:256
l1t::EMTFHit::sector
int sector
Definition: EMTFHit.h:250
l1t::EMTFHit::pc_segment
int pc_segment
Definition: EMTFHit.h:264
l1t::EMTFHit::valid
int valid
Definition: EMTFHit.h:273
l1t::EMTFHit::clct_quality
int clct_quality
Definition: EMTFHit.h:297
l1t::EMTFHit::fs_segment
int fs_segment
Definition: EMTFHit.h:282
l1t::EMTFHit::alct_quality
int alct_quality
Definition: EMTFHit.h:296
l1t::EMTFHit::chamber
int chamber
Definition: EMTFHit.h:255
l1t::EMTFHit::RPC_DetId
RPCDetId RPC_DetId() const
Definition: EMTFHit.h:118
l1t::EMTFHit::time
float time
Definition: EMTFHit.h:290
l1t::EMTFHit::theta_sim
float theta_sim
Definition: EMTFHit.h:292
l1t::EMTFHit::quality
int quality
Definition: EMTFHit.h:270
l1t::EMTFHit::subsystem
int subsystem
Definition: EMTFHit.h:246
l1t::EMTFHit::strip_low
int strip_low
Definition: EMTFHit.h:268
l1t::EMTFHit::csc_nID
int csc_nID
Definition: EMTFHit.h:257
l1t::EMTFHit::rawDetId
uint32_t rawDetId
Definition: EMTFHit.h:245
l1t::EMTFHit::sync_err
int sync_err
Definition: EMTFHit.h:274
l1t::EMTFHit::subsector
int subsector
Definition: EMTFHit.h:253
l1t::EMTFHit::endcap
int endcap
Definition: EMTFHit.h:247
l1t::EMTFHit::subsector_RPC
int subsector_RPC
Definition: EMTFHit.h:254
l1t::EMTFHit::fs_zone_code
int fs_zone_code
Definition: EMTFHit.h:283
GEMDetId
Definition: GEMDetId.h:17
CSCDetId
Definition: CSCDetId.h:26
l1t::EMTFHit::neighbor
int neighbor
Definition: EMTFHit.h:259
l1t::EMTFHit::track_num
int track_num
Definition: EMTFHit.h:269
l1t::EMTFHit::Is_RPC
bool Is_RPC() const
Definition: EMTFHit.h:232
l1t::EMTFHit::phi_glob
float phi_glob
Definition: EMTFHit.h:287
l1t::EMTFHit::mpc_link
int mpc_link
Definition: EMTFHit.h:260
l1t::EMTFHit::eta
float eta
Definition: EMTFHit.h:289
l1t::EMTFHit::phi_loc
float phi_loc
Definition: EMTFHit.h:286
l1t::EMTFHit::theta_fp
int theta_fp
Definition: EMTFHit.h:279
ME0DetId
Definition: ME0DetId.h:16
l1t::EMTFHit::wire
int wire
Definition: EMTFHit.h:265
l1t::EMTFHit::station
int station
Definition: EMTFHit.h:248
bits
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
Definition: EventSelector-behavior.doc:35
heppy_batch.val
val
Definition: heppy_batch.py:351
l1t::EMTFHit::theta
float theta
Definition: EMTFHit.h:288
l1t::EMTFHit::zone_code
int zone_code
Definition: EMTFHit.h:281
l1t::EMTFHit::strip
int strip
Definition: EMTFHit.h:266
DTChamberId
Definition: DTChamberId.h:14
l1t::EMTFHit::stub_num
int stub_num
Definition: EMTFHit.h:277
l1t::EMTFHit::strip_hi
int strip_hi
Definition: EMTFHit.h:267
l1t::EMTFHit::ring
int ring
Definition: EMTFHit.h:249
l1t::EMTFHit::phi_fp
int phi_fp
Definition: EMTFHit.h:278
l1t::EMTFHit::rho_sim
float rho_sim
Definition: EMTFHit.h:294
l1t::EMTFHit::pc_station
int pc_station
Definition: EMTFHit.h:262
l1t::EMTFHit::phi_sim
float phi_sim
Definition: EMTFHit.h:291
l1t::EMTFHit::roll
int roll
Definition: EMTFHit.h:258
l1t::EMTFHit::bc0
int bc0
Definition: EMTFHit.h:275
CSCCorrelatedLCTDigi
Definition: CSCCorrelatedLCTDigi.h:19
l1t::EMTFHit::bx
int bx
Definition: EMTFHit.h:276
l1t::EMTFHit::pc_chamber
int pc_chamber
Definition: EMTFHit.h:263