CMS 3D CMS Logo

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

#include <EMTFHitExtra.h>

Inheritance diagram for l1t::EMTFHitExtra:
l1t::EMTFHit

Public Member Functions

int BX0 () const
 
EMTFHit CreateEMTFHit ()
 
 EMTFHitExtra ()
 
float Eta () const
 
void ImportCSCCorrelatedLCTDigi (const CSCCorrelatedLCTDigi &_digi)
 
int Layer () const
 
float Phi_geom_rad () const
 
float Phi_glob_deg () const
 
float Phi_glob_rad () const
 
int Phi_hit () const
 
float Phi_loc_deg () const
 
int Phi_loc_int () const
 
float Phi_loc_rad () const
 
int Phi_Z_val () const
 
void set_bx0 (int bits)
 
void set_eta (float val)
 
void set_layer (int bits)
 
void set_phi_geom_rad (float val)
 
void set_phi_glob_deg (float val)
 
void set_phi_glob_rad (float val)
 
void set_phi_hit (int bits)
 
void set_phi_loc_deg (float val)
 
void set_phi_loc_int (int bits)
 
void set_phi_loc_rad (float val)
 
void set_phi_z_val (int bits)
 
void set_theta_deg (float val)
 
void set_theta_int (int bits)
 
void set_theta_loc (float val)
 
void set_theta_rad (float val)
 
void set_zone_hit (int bits)
 
void SetZoneContribution (std::vector< int > vect_ints)
 
float Theta_deg () const
 
int Theta_int () const
 
float Theta_loc () const
 
float Theta_rad () const
 
std::vector< int > Zone_contribution () const
 
int Zone_hit () const
 
virtual ~EMTFHitExtra ()
 
- Public Member Functions inherited from l1t::EMTFHit
int BC0 () const
 
int Bend () const
 
int BX () const
 
int Chamber () const
 
CSCCorrelatedLCTDigi CreateCSCCorrelatedLCTDigi ()
 
CSCDetId CreateCSCDetId ()
 
CSCDetId CSC_DetId () const
 
int CSC_ID () const
 
CSCCorrelatedLCTDigi CSC_LCTDigi () const
 
 EMTFHit ()
 
int Endcap () const
 
void ImportCSCCorrelatedLCTDigi (const CSCCorrelatedLCTDigi &_digi)
 
void ImportCSCDetId (const CSCDetId &_detId)
 
void ImportME (const emtf::ME _ME)
 
int Is_CSC_hit () const
 
int Is_RPC_hit () const
 
int MPC_link () const
 
int Neighbor () const
 
int Pattern () const
 
void PrintForSimulator ()
 
void PrintSimulatorHeader ()
 
const CSCDetIdPtrCSC_DetId () const
 
const CSCCorrelatedLCTDigiPtrCSC_LCTDigi () const
 
int Quality () const
 
int Ring () const
 
int Sector () const
 
int Sector_index () const
 
void set_bc0 (int bits)
 
void set_bend (int bits)
 
void set_bx (int bits)
 
void set_chamber (int bits)
 
void set_csc_ID (int bits)
 
void set_endcap (int bits)
 
void set_is_CSC_hit (int bits)
 
void set_is_RPC_hit (int bits)
 
void set_mpc_link (int bits)
 
void set_neighbor (int bits)
 
void set_pattern (int bits)
 
void set_quality (int bits)
 
void set_ring (int bits)
 
void set_sector (int bits)
 
void set_sector_index (int bits)
 
void set_station (int bits)
 
void set_strip (int bits)
 
void set_stub_num (int bits)
 
void set_subsector (int bits)
 
void set_sync_err (int bits)
 
void set_track_num (int bits)
 
void set_valid (int bits)
 
void set_wire (int bits)
 
void SetCSCDetId (CSCDetId id)
 
void SetCSCLCTDigi (CSCCorrelatedLCTDigi digi)
 
int Station () const
 
int Strip () const
 
int Stub_num () const
 
int Subsector () const
 
int Sync_err () const
 
int Track_num () const
 
int Valid () const
 
int Wire () const
 
virtual ~EMTFHit ()
 

Private Attributes

int bx0
 
float eta
 
int layer
 
float phi_geom_rad
 
float phi_glob_deg
 
float phi_glob_rad
 
int phi_hit
 
float phi_loc_deg
 
int phi_loc_int
 
float phi_loc_rad
 
int phi_z_val
 
float theta_deg
 
int theta_int
 
float theta_loc
 
float theta_rad
 
std::vector< int > zone_contribution
 
int zone_hit
 

Detailed Description

Definition at line 17 of file EMTFHitExtra.h.

Constructor & Destructor Documentation

l1t::EMTFHitExtra::EMTFHitExtra ( )
inline

Definition at line 20 of file EMTFHitExtra.h.

20  :
21 
22  bx0(-999), layer(-999), zone_hit(-999), phi_hit(-999), phi_z_val(-999), phi_loc_int(-999),
23  phi_loc_deg(-999), phi_loc_rad(-999), phi_glob_deg(-999), phi_glob_rad(-999), phi_geom_rad(-999),
24  theta_int(-999), theta_loc(-999), theta_deg(-999), theta_rad(-999), eta(-999)
25  {};
virtual l1t::EMTFHitExtra::~EMTFHitExtra ( )
inlinevirtual

Definition at line 27 of file EMTFHitExtra.h.

27 {};

Member Function Documentation

int l1t::EMTFHitExtra::BX0 ( ) const
inline

Definition at line 52 of file EMTFHitExtra.h.

References bx0.

52 { return bx0; }
EMTFHit l1t::EMTFHitExtra::CreateEMTFHit ( )

Definition at line 141 of file EMTFHitTools.cc.

References l1t::EMTFHit::BC0(), l1t::EMTFHit::Bend(), l1t::EMTFHit::BX(), l1t::EMTFHit::Chamber(), l1t::EMTFHit::CSC_ID(), l1t::EMTFHit::Endcap(), l1t::EMTFHit::Is_CSC_hit(), l1t::EMTFHit::Is_RPC_hit(), l1t::EMTFHit::MPC_link(), l1t::EMTFHit::Neighbor(), l1t::EMTFHit::Pattern(), l1t::EMTFHit::Quality(), l1t::EMTFHit::Ring(), l1t::EMTFHit::Sector(), l1t::EMTFHit::Sector_index(), l1t::EMTFHit::set_bc0(), l1t::EMTFHit::set_bend(), l1t::EMTFHit::set_bx(), l1t::EMTFHit::set_chamber(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_endcap(), l1t::EMTFHit::set_is_CSC_hit(), l1t::EMTFHit::set_is_RPC_hit(), l1t::EMTFHit::set_mpc_link(), l1t::EMTFHit::set_neighbor(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_quality(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_sector(), l1t::EMTFHit::set_sector_index(), l1t::EMTFHit::set_station(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_stub_num(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_sync_err(), l1t::EMTFHit::set_track_num(), l1t::EMTFHit::set_valid(), l1t::EMTFHit::set_wire(), l1t::EMTFHit::Station(), l1t::EMTFHit::Strip(), l1t::EMTFHit::Stub_num(), l1t::EMTFHit::Subsector(), l1t::EMTFHit::Sync_err(), l1t::EMTFHit::Track_num(), l1t::EMTFHit::Valid(), and l1t::EMTFHit::Wire().

141  {
142 
143  EMTFHit thisHit;
144  thisHit.set_endcap ( Endcap() );
145  thisHit.set_station ( Station() );
146  thisHit.set_ring ( Ring() );
147  thisHit.set_sector ( Sector() );
148  thisHit.set_sector_index ( Sector_index() );
149  thisHit.set_subsector ( Subsector() );
150  thisHit.set_chamber ( Chamber() );
151  thisHit.set_csc_ID ( CSC_ID() );
152  thisHit.set_neighbor ( Neighbor() );
153  thisHit.set_mpc_link ( MPC_link() );
154  thisHit.set_wire ( Wire() );
155  thisHit.set_strip ( Strip() );
156  thisHit.set_track_num ( Track_num() );
157  thisHit.set_quality ( Quality() );
158  thisHit.set_pattern ( Pattern() );
159  thisHit.set_bend ( Bend() );
160  thisHit.set_valid ( Valid() );
161  thisHit.set_sync_err ( Sync_err() );
162  thisHit.set_bc0 ( BC0() );
163  thisHit.set_bx ( BX() );
164  thisHit.set_stub_num ( Stub_num() );
165  thisHit.set_is_CSC_hit ( Is_CSC_hit() );
166  thisHit.set_is_RPC_hit ( Is_RPC_hit() );
167 
168  return thisHit;
169  } // End EMTFHitExtra::CreateEMTFHit
int Quality() const
Definition: EMTFHit.h:86
int Sector_index() const
Definition: EMTFHit.h:77
int Bend() const
Definition: EMTFHit.h:88
int Strip() const
Definition: EMTFHit.h:84
int MPC_link() const
Definition: EMTFHit.h:82
int Chamber() const
Definition: EMTFHit.h:79
int Wire() const
Definition: EMTFHit.h:83
int Subsector() const
Definition: EMTFHit.h:78
int Is_RPC_hit() const
Definition: EMTFHit.h:95
int Sector() const
Definition: EMTFHit.h:76
int Valid() const
Definition: EMTFHit.h:89
int Sync_err() const
Definition: EMTFHit.h:90
int Track_num() const
Definition: EMTFHit.h:85
int BX() const
Definition: EMTFHit.h:92
int Ring() const
Definition: EMTFHit.h:75
int Station() const
Definition: EMTFHit.h:74
int Is_CSC_hit() const
Definition: EMTFHit.h:94
int Pattern() const
Definition: EMTFHit.h:87
int Endcap() const
Definition: EMTFHit.h:73
int Stub_num() const
Definition: EMTFHit.h:93
int BC0() const
Definition: EMTFHit.h:91
int Neighbor() const
Definition: EMTFHit.h:81
int CSC_ID() const
Definition: EMTFHit.h:80
float l1t::EMTFHitExtra::Eta ( ) const
inline

Definition at line 67 of file EMTFHitExtra.h.

References eta.

67 { return eta; }
void l1t::EMTFHitExtra::ImportCSCCorrelatedLCTDigi ( const CSCCorrelatedLCTDigi _digi)

Definition at line 69 of file EMTFHitTools.cc.

References CSCCorrelatedLCTDigi::getBX0(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), and set_bx0().

Referenced by L1TMuonEndCapTrackProducer::produce().

69  {
70 
72  EMTFHitExtra::set_bx0 ( _digi.getBX0() );
73 
74  } // End EMTFHitExtra::ImportCSCCorrelatedLCTDigi
void set_bx0(int bits)
Definition: EMTFHitExtra.h:35
uint16_t getBX0() const
void ImportCSCCorrelatedLCTDigi(const CSCCorrelatedLCTDigi &_digi)
Definition: EMTFHitTools.cc:49
int l1t::EMTFHitExtra::Layer ( ) const
inline

Definition at line 53 of file EMTFHitExtra.h.

References layer.

53 { return layer; }
float l1t::EMTFHitExtra::Phi_geom_rad ( ) const
inline

Definition at line 62 of file EMTFHitExtra.h.

References phi_geom_rad.

62 { return phi_geom_rad; }
float l1t::EMTFHitExtra::Phi_glob_deg ( ) const
inline

Definition at line 60 of file EMTFHitExtra.h.

References phi_glob_deg.

60 { return phi_glob_deg; }
float l1t::EMTFHitExtra::Phi_glob_rad ( ) const
inline

Definition at line 61 of file EMTFHitExtra.h.

References phi_glob_rad.

61 { return phi_glob_rad; }
int l1t::EMTFHitExtra::Phi_hit ( ) const
inline

Definition at line 55 of file EMTFHitExtra.h.

References phi_hit.

55 { return phi_hit; }
float l1t::EMTFHitExtra::Phi_loc_deg ( ) const
inline

Definition at line 58 of file EMTFHitExtra.h.

References phi_loc_deg.

58 { return phi_loc_deg; }
int l1t::EMTFHitExtra::Phi_loc_int ( ) const
inline

Definition at line 57 of file EMTFHitExtra.h.

References phi_loc_int.

57 { return phi_loc_int; }
float l1t::EMTFHitExtra::Phi_loc_rad ( ) const
inline

Definition at line 59 of file EMTFHitExtra.h.

References phi_loc_rad.

59 { return phi_loc_rad; }
int l1t::EMTFHitExtra::Phi_Z_val ( ) const
inline

Definition at line 56 of file EMTFHitExtra.h.

References phi_z_val.

56 { return phi_z_val; }
void l1t::EMTFHitExtra::set_bx0 ( int  bits)
inline

Definition at line 35 of file EMTFHitExtra.h.

References bits, and bx0.

Referenced by ImportCSCCorrelatedLCTDigi().

35 { bx0 = 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
void l1t::EMTFHitExtra::set_eta ( float  val)
inline

Definition at line 50 of file EMTFHitExtra.h.

References eta.

50 { eta = val; }
void l1t::EMTFHitExtra::set_layer ( int  bits)
inline

Definition at line 36 of file EMTFHitExtra.h.

References bits, and layer.

36 { layer = 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
void l1t::EMTFHitExtra::set_phi_geom_rad ( float  val)
inline

Definition at line 45 of file EMTFHitExtra.h.

References phi_geom_rad.

45 { phi_geom_rad = val; }
void l1t::EMTFHitExtra::set_phi_glob_deg ( float  val)
inline

Definition at line 43 of file EMTFHitExtra.h.

References phi_glob_deg.

43 { (val < 180) ? phi_glob_deg = val : phi_glob_deg = val - 360; }
void l1t::EMTFHitExtra::set_phi_glob_rad ( float  val)
inline

Definition at line 44 of file EMTFHitExtra.h.

References phi_glob_rad, and Geom::pi().

44 { (val < Geom::pi() ) ? phi_glob_rad = val : phi_glob_rad = val - 2*Geom::pi(); }
double pi()
Definition: Pi.h:31
void l1t::EMTFHitExtra::set_phi_hit ( int  bits)
inline

Definition at line 38 of file EMTFHitExtra.h.

References bits, and phi_hit.

38 { phi_hit = 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
void l1t::EMTFHitExtra::set_phi_loc_deg ( float  val)
inline

Definition at line 41 of file EMTFHitExtra.h.

References phi_loc_deg.

41 { phi_loc_deg = val; }
void l1t::EMTFHitExtra::set_phi_loc_int ( int  bits)
inline

Definition at line 40 of file EMTFHitExtra.h.

References bits, and phi_loc_int.

40 { phi_loc_int = 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
void l1t::EMTFHitExtra::set_phi_loc_rad ( float  val)
inline

Definition at line 42 of file EMTFHitExtra.h.

References phi_loc_rad.

42 { phi_loc_rad = val; }
void l1t::EMTFHitExtra::set_phi_z_val ( int  bits)
inline

Definition at line 39 of file EMTFHitExtra.h.

References bits, and phi_z_val.

39 { phi_z_val = 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
void l1t::EMTFHitExtra::set_theta_deg ( float  val)
inline

Definition at line 48 of file EMTFHitExtra.h.

References theta_deg.

48 { theta_deg = val; }
void l1t::EMTFHitExtra::set_theta_int ( int  bits)
inline

Definition at line 46 of file EMTFHitExtra.h.

References bits, and theta_int.

46 { theta_int = 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
void l1t::EMTFHitExtra::set_theta_loc ( float  val)
inline

Definition at line 47 of file EMTFHitExtra.h.

References theta_loc.

47 { theta_loc = val; }
void l1t::EMTFHitExtra::set_theta_rad ( float  val)
inline

Definition at line 49 of file EMTFHitExtra.h.

References theta_rad.

49 { theta_rad = val; }
void l1t::EMTFHitExtra::set_zone_hit ( int  bits)
inline

Definition at line 37 of file EMTFHitExtra.h.

References bits, and zone_hit.

37 { zone_hit = 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
void l1t::EMTFHitExtra::SetZoneContribution ( std::vector< int >  vect_ints)
inline

Definition at line 32 of file EMTFHitExtra.h.

References zone_contribution.

32 { zone_contribution = vect_ints; }
std::vector< int > zone_contribution
Definition: EMTFHitExtra.h:72
float l1t::EMTFHitExtra::Theta_deg ( ) const
inline

Definition at line 65 of file EMTFHitExtra.h.

References theta_deg.

65 { return theta_deg; }
int l1t::EMTFHitExtra::Theta_int ( ) const
inline

Definition at line 63 of file EMTFHitExtra.h.

References theta_int.

63 { return theta_int; }
float l1t::EMTFHitExtra::Theta_loc ( ) const
inline

Definition at line 64 of file EMTFHitExtra.h.

References theta_loc.

64 { return theta_loc; }
float l1t::EMTFHitExtra::Theta_rad ( ) const
inline

Definition at line 66 of file EMTFHitExtra.h.

References theta_rad.

66 { return theta_rad; }
std::vector<int> l1t::EMTFHitExtra::Zone_contribution ( ) const
inline

Definition at line 33 of file EMTFHitExtra.h.

References zone_contribution.

33 { return zone_contribution; }
std::vector< int > zone_contribution
Definition: EMTFHitExtra.h:72
int l1t::EMTFHitExtra::Zone_hit ( ) const
inline

Definition at line 54 of file EMTFHitExtra.h.

References zone_hit.

54 { return zone_hit; }

Member Data Documentation

int l1t::EMTFHitExtra::bx0
private

Definition at line 74 of file EMTFHitExtra.h.

Referenced by BX0(), and set_bx0().

float l1t::EMTFHitExtra::eta
private
int l1t::EMTFHitExtra::layer
private
float l1t::EMTFHitExtra::phi_geom_rad
private

Definition at line 84 of file EMTFHitExtra.h.

Referenced by Phi_geom_rad(), and set_phi_geom_rad().

float l1t::EMTFHitExtra::phi_glob_deg
private

Definition at line 82 of file EMTFHitExtra.h.

Referenced by Phi_glob_deg(), and set_phi_glob_deg().

float l1t::EMTFHitExtra::phi_glob_rad
private

Definition at line 83 of file EMTFHitExtra.h.

Referenced by Phi_glob_rad(), and set_phi_glob_rad().

int l1t::EMTFHitExtra::phi_hit
private

Definition at line 77 of file EMTFHitExtra.h.

Referenced by Phi_hit(), and set_phi_hit().

float l1t::EMTFHitExtra::phi_loc_deg
private

Definition at line 80 of file EMTFHitExtra.h.

Referenced by Phi_loc_deg(), and set_phi_loc_deg().

int l1t::EMTFHitExtra::phi_loc_int
private

Definition at line 79 of file EMTFHitExtra.h.

Referenced by Phi_loc_int(), and set_phi_loc_int().

float l1t::EMTFHitExtra::phi_loc_rad
private

Definition at line 81 of file EMTFHitExtra.h.

Referenced by Phi_loc_rad(), and set_phi_loc_rad().

int l1t::EMTFHitExtra::phi_z_val
private

Definition at line 78 of file EMTFHitExtra.h.

Referenced by Phi_Z_val(), and set_phi_z_val().

float l1t::EMTFHitExtra::theta_deg
private

Definition at line 87 of file EMTFHitExtra.h.

Referenced by set_theta_deg(), and Theta_deg().

int l1t::EMTFHitExtra::theta_int
private

Definition at line 85 of file EMTFHitExtra.h.

Referenced by set_theta_int(), and Theta_int().

float l1t::EMTFHitExtra::theta_loc
private

Definition at line 86 of file EMTFHitExtra.h.

Referenced by set_theta_loc(), and Theta_loc().

float l1t::EMTFHitExtra::theta_rad
private

Definition at line 88 of file EMTFHitExtra.h.

Referenced by set_theta_rad(), and Theta_rad().

std::vector<int> l1t::EMTFHitExtra::zone_contribution
private

Definition at line 72 of file EMTFHitExtra.h.

Referenced by SetZoneContribution(), and Zone_contribution().

int l1t::EMTFHitExtra::zone_hit
private

Definition at line 76 of file EMTFHitExtra.h.

Referenced by set_zone_hit(), and Zone_hit().