Classes | |
class | AbsoluteDeviation |
struct | CPPFTag |
struct | CSCTag |
struct | Event |
class | Forest |
struct | GEMTag |
class | Huber |
struct | IRPCTag |
class | LeastSquares |
class | LossFunction |
struct | ME0Tag |
class | Node |
class | PercentErrorSquared |
struct | RPCTag |
class | Tree |
struct | TTTag |
Typedefs | |
template<typename T > | |
using | sector_array = std::array< T, NUM_SECTORS > |
template<typename T > | |
using | zone_array = std::array< T, NUM_ZONES > |
Functions | |
int | calc_chamber (int station, int sector, int subsector, int ring, int csc_ID) |
double | calc_eta (int bits) |
double | calc_eta_from_theta_deg (double theta_deg, int endcap) |
double | calc_eta_from_theta_rad (double theta_rad) |
int | calc_eta_GMT (double val) |
double | calc_phi_glob_deg (double loc, int sector) |
double | calc_phi_glob_rad (double loc, int sector) |
double | calc_phi_GMT_deg (int bits) |
int | calc_phi_GMT_int (double val) |
double | calc_phi_GMT_rad (int bits) |
double | calc_phi_loc_deg (int bits) |
double | calc_phi_loc_deg_from_glob (double glob, int sector) |
int | calc_phi_loc_int (double glob, int sector) |
int | calc_phi_loc_int_rpc (double glob, int sector) |
double | calc_phi_loc_rad (int bits) |
double | calc_pt (int bits) |
int | calc_pt_GMT (double val) |
int | calc_ring (int station, int csc_ID, int strip) |
double | calc_theta_deg (double eta) |
double | calc_theta_deg_from_eta (double eta) |
double | calc_theta_deg_from_int (int theta_int) |
int | calc_theta_int (double theta, int endcap) |
int | calc_theta_int_rpc (double theta, int endcap) |
double | calc_theta_rad (double eta) |
double | calc_theta_rad_from_eta (double eta) |
double | calc_theta_rad_from_int (int theta_int) |
int | calc_uGMT_chamber (int csc_ID, int subsector, int neighbor, int station) |
template<typename T = void> | |
EMTFGEMDetId | construct_EMTFGEMDetId (const L1TMuon::TriggerPrimitive &tp) |
double | deg_to_rad (double deg) |
void | mergeNtuples (const char *ntuplename, const char *filestomerge, const char *outputfile) |
template<typename T > | |
std::string | numToStr (T num) |
float | processPrediction (float BDTPt, int Quality, float PrelimFit) |
double | rad_to_deg (double rad) |
double | range_phi_deg (double deg) |
double | range_phi_rad (double rad) |
double | range_theta_deg (double deg) |
double | range_theta_rad (double rad) |
template<class bidiiter > | |
bidiiter | shuffle (bidiiter begin, bidiiter end, size_t num_random) |
void | sort_uGMT_muons (l1t::RegionalMuonCandBxCollection &cands) |
void | sortNtupleByEvent (const char *ntuplename, const char *filenametosort, const char *outputfile) |
Variables | |
int | MAX_ENDCAP = 2 |
int | MAX_TRIGSECTOR = 6 |
int | MIN_ENDCAP = 1 |
int | MIN_TRIGSECTOR = 1 |
int | NUM_SECTORS = 12 |
int | NUM_STATION_PAIRS = 6 |
int | NUM_STATIONS = 4 |
int | NUM_ZONE_HITS = 160 |
int | NUM_ZONES = 4 |
const double | ptscale [31] |
const std::vector< double > | ptScale |
const double | twoJets_scale [16] |
const std::vector< double > | twoJetsScale = std::vector<double>(twoJets_scale, twoJets_scale + sizeof twoJets_scale / sizeof twoJets_scale[0]) |
using emtf::sector_array = typedef std::array<T, NUM_SECTORS> |
using emtf::zone_array = typedef std::array<T, NUM_ZONES> |
int emtf::calc_chamber | ( | int | station, |
int | sector, | ||
int | subsector, | ||
int | ring, | ||
int | csc_ID | ||
) |
Definition at line 21 of file TrackTools.cc.
References relativeConstraints::chamber.
Referenced by l1t::stage2::emtf::ImportME().
|
inline |
Definition at line 76 of file TrackTools.h.
References bits, and PVValHelper::eta.
Referenced by l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 94 of file TrackTools.h.
References calc_eta_from_theta_rad(), deg_to_rad(), PVValHelper::eta, and range_theta_deg().
Referenced by AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_gem_details(), PrimitiveConversion::convert_rpc_details(), and l1t::stage2::emtf::ImportRPC().
|
inline |
Definition at line 89 of file TrackTools.h.
References PVValHelper::eta, cmsBatch::log, and funct::tan().
Referenced by calc_eta_from_theta_deg().
|
inline |
Definition at line 101 of file TrackTools.h.
|
inline |
Definition at line 153 of file TrackTools.h.
Referenced by calc_phi_glob_rad(), AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_gem_details(), PrimitiveConversion::convert_rpc_details(), l1t::stage2::emtf::ImportRPC(), and l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 159 of file TrackTools.h.
References calc_phi_glob_deg(), deg_to_rad(), and rad_to_deg().
|
inline |
Definition at line 206 of file TrackTools.h.
References bits.
Referenced by calc_phi_GMT_rad().
|
inline |
|
inline |
Definition at line 216 of file TrackTools.h.
References calc_phi_GMT_deg(), and deg_to_rad().
|
inline |
Definition at line 163 of file TrackTools.h.
References bits, and create_public_lumi_plots::loc.
Referenced by calc_phi_loc_rad(), AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_gem_details(), PrimitiveConversion::convert_rpc_details(), l1t::stage2::emtf::ImportRPC(), and l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 184 of file TrackTools.h.
References create_public_lumi_plots::loc, and range_phi_deg().
Referenced by calc_phi_loc_int(), and calc_phi_loc_int_rpc().
|
inline |
Definition at line 190 of file TrackTools.h.
References calc_phi_loc_deg_from_glob(), and create_public_lumi_plots::loc.
Referenced by PrimitiveConversion::convert_gem().
|
inline |
Definition at line 198 of file TrackTools.h.
References calc_phi_loc_deg_from_glob(), and create_public_lumi_plots::loc.
Referenced by PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 169 of file TrackTools.h.
References calc_phi_loc_deg(), and deg_to_rad().
|
inline |
Definition at line 61 of file TrackTools.h.
References bits, and EnergyCorrector::pt.
|
inline |
Definition at line 67 of file TrackTools.h.
int emtf::calc_ring | ( | int | station, |
int | csc_ID, | ||
int | strip | ||
) |
|
inline |
Definition at line 124 of file TrackTools.h.
References calc_theta_rad(), and rad_to_deg().
|
inline |
Definition at line 147 of file TrackTools.h.
References calc_theta_rad_from_eta(), and rad_to_deg().
|
inline |
Definition at line 109 of file TrackTools.h.
References theta().
Referenced by calc_theta_rad_from_int(), AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_gem_details(), PrimitiveConversion::convert_rpc_details(), and l1t::stage2::emtf::ImportRPC().
|
inline |
Definition at line 128 of file TrackTools.h.
References theta().
Referenced by PrimitiveConversion::convert_gem().
|
inline |
Definition at line 135 of file TrackTools.h.
References theta().
Referenced by PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 119 of file TrackTools.h.
References JetChargeProducer_cfi::exp.
Referenced by calc_theta_deg().
|
inline |
Definition at line 142 of file TrackTools.h.
References theta().
Referenced by calc_theta_deg_from_eta().
|
inline |
Definition at line 115 of file TrackTools.h.
References calc_theta_deg_from_int(), and deg_to_rad().
int emtf::calc_uGMT_chamber | ( | int | csc_ID, |
int | subsector, | ||
int | neighbor, | ||
int | station | ||
) |
Definition at line 42 of file TrackTools.cc.
Referenced by l1t::stage2::emtf::SPBlockUnpacker::unpack().
EMTFGEMDetId emtf::construct_EMTFGEMDetId | ( | const L1TMuon::TriggerPrimitive & | tp | ) |
Definition at line 12 of file EMTFGEMDetIdImpl.h.
References L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getGEMData(), triggerObjects_cff::id, and L1TMuon::TriggerPrimitive::GEMData::isME0.
Referenced by PrimitiveConversion::convert_gem(), and PrimitiveSelection::select_gem().
|
inline |
Definition at line 49 of file TrackTools.h.
References constexpr, and M_PI.
Referenced by calc_eta_from_theta_deg(), calc_phi_glob_rad(), calc_phi_GMT_rad(), calc_phi_loc_rad(), and calc_theta_rad_from_int().
void emtf::mergeNtuples | ( | const char * | ntuplename, |
const char * | filestomerge, | ||
const char * | outputfile | ||
) |
std::string emtf::numToStr | ( | T | num | ) |
Definition at line 44 of file Utilities.h.
References mergeNtuples(), pileupDistInMC::num, writedatasetfile::outputfile, processPrediction(), alignCSCRings::s, sortNtupleByEvent(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by emtf::Tree::addXMLAttributes().
float emtf::processPrediction | ( | float | BDTPt, |
int | Quality, | ||
float | PrelimFit | ||
) |
Definition at line 50 of file Utilities.cc.
References RPCpg::pts, and ptscale.
Referenced by numToStr().
|
inline |
Definition at line 54 of file TrackTools.h.
References constexpr, and M_PI.
Referenced by calc_phi_glob_rad(), calc_theta_deg(), calc_theta_deg_from_eta(), PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_rpc(), TTPrimitiveConversion::convert_tt(), RecHitProcessor::process(), and RecHitProcessor::processLook().
|
inline |
Definition at line 21 of file TrackTools.h.
Referenced by calc_phi_GMT_int(), and calc_phi_loc_deg_from_glob().
|
inline |
Definition at line 27 of file TrackTools.h.
References M_PI.
|
inline |
Definition at line 33 of file TrackTools.h.
Referenced by calc_eta_from_theta_deg().
|
inline |
Definition at line 40 of file TrackTools.h.
References M_PI.
bidiiter emtf::shuffle | ( | bidiiter | begin, |
bidiiter | end, | ||
size_t | num_random | ||
) |
Definition at line 27 of file Utilities.h.
References begin, SoftLeptonByDistance_cfi::distance, alignCSCRings::r, rand(), and std::swap().
Referenced by emtf::Forest::prepareRandomSubsample().
void emtf::sort_uGMT_muons | ( | l1t::RegionalMuonCandBxCollection & | cands | ) |
Definition at line 118 of file MicroGMTConverter.cc.
References BXVector< T >::begin(), l1t::emtf_neg, BXVector< T >::end(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), simTrackMatching_cfi::maxBX, simTrackMatching_cfi::minBX, proc, and std::swap().
Referenced by MicroGMTConverter::convert_all(), and l1t::stage2::EMTFCollections::~EMTFCollections().
void emtf::sortNtupleByEvent | ( | const char * | ntuplename, |
const char * | filenametosort, | ||
const char * | outputfile | ||
) |
Definition at line 101 of file Utilities.cc.
References f, connectstrParser::f2, mps_fire::i, and createfilelist::int.
Referenced by numToStr().
int emtf::MAX_ENDCAP = 2 |
Definition at line 59 of file Common.h.
Referenced by SectorProcessor::configure(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_rpc(), L1DummyProducer::SimpleDigi(), and TrackFinder::TrackFinder().
int emtf::MAX_TRIGSECTOR = 6 |
Definition at line 63 of file Common.h.
Referenced by SectorProcessor::configure(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_rpc(), and TrackFinder::TrackFinder().
int emtf::MIN_ENDCAP = 1 |
Definition at line 58 of file Common.h.
Referenced by SectorProcessor::configure(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_rpc(), L1DummyProducer::SimpleDigi(), and TrackFinder::TrackFinder().
int emtf::MIN_TRIGSECTOR = 1 |
Definition at line 62 of file Common.h.
Referenced by SectorProcessor::configure(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_rpc(), and TrackFinder::TrackFinder().
int emtf::NUM_STATION_PAIRS = 6 |
Definition at line 72 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), and PtAssignment::process().
int emtf::NUM_STATIONS = 4 |
Definition at line 71 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), AngleCalculation::erase_tracks(), BestTrackSelection::process(), and PrimitiveMatching::process().
int emtf::NUM_ZONE_HITS = 160 |
Definition at line 68 of file Common.h.
Referenced by PatternRecognition::process_single_zone().
int emtf::NUM_ZONES = 4 |
Definition at line 67 of file Common.h.
Referenced by BestTrackSelection::cancel_multi_bx(), BestTrackSelection::cancel_one_bx(), PrimitiveConversion::get_zone_code(), AngleCalculation::process(), PrimitiveMatching::process(), and PatternRecognition::process().
const double emtf::ptscale |
Definition at line 29 of file Utilities.cc.
Referenced by L1TGMT::bookHistograms(), and processPrediction().
const std::vector<double> emtf::ptScale |
Definition at line 35 of file Utilities.cc.
Referenced by CSCTFPtLUT::CSCTFPtLUT(), and CSCTFTrackProducer::produce().
const double emtf::twoJets_scale |
Definition at line 38 of file Utilities.cc.
const std::vector< double > emtf::twoJetsScale = std::vector<double>(twoJets_scale, twoJets_scale + sizeof twoJets_scale / sizeof twoJets_scale[0]) |
Definition at line 42 of file Utilities.cc.