2 #ifndef L1Trigger_L1TMuonEndCap_EMTFHit2016Tools_h 3 #define L1Trigger_L1TMuonEndCap_EMTFHit2016Tools_h 9 int calc_ring (
int _station,
int _csc_ID,
int _strip);
10 int calc_chamber (
int _station,
int _sector,
int _subsector,
int _ring,
int _csc_ID);
13 if ( _station == 1 )
return ( (_chamber % 6) > 2 ) ? 1 : 2;
14 else if ( _station < 0 || _chamber < 0 )
return -999;
20 float tmp = loc + 15 + (sect_ind < 6 ? sect_ind : sect_ind - 6)*60;
21 return (tmp < 180) ? tmp : tmp - 360; }
23 float tmp = loc + (
Geom::pi()/12) + (sect_ind < 6 ? sect_ind : sect_ind - 6)*(
Geom::pi()/3);
float calc_phi_glob_rad_hit(float loc, int sect_ind)
float calc_theta_deg_from_int(int _theta_int)
int calc_subsector(int _station, int _chamber)
int calc_chamber(int _station, int _sector, int _subsector, int _ring, int _csc_ID)
float calc_eta_from_theta_rad(float _theta_rad)
Tan< T >::type tan(const T &t)
float calc_theta_rad_from_int(int _theta_int)
std::vector< std::vector< double > > tmp
int calc_ring(int _station, int _csc_ID, int _strip)
float calc_phi_glob_deg_hit(float loc, int sect_ind)