Classes | |
class | AbsoluteDeviation |
struct | CSCTag |
struct | Event |
class | Forest |
struct | GEMTag |
class | Huber |
class | LeastSquares |
class | LossFunction |
class | Node |
class | PercentErrorSquared |
struct | RPCTag |
class | Tree |
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 bits) |
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_int (int theta_int) |
int | calc_theta_int (double theta, int endcap, int bits) |
double | calc_theta_rad (double eta) |
double | calc_theta_rad_from_int (int theta_int) |
int | calc_uGMT_chamber (int csc_ID, int subsector, int neighbor, int station) |
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 |
int | PHASE_TWO_GEOMETRY = 0 |
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 77 of file TrackTools.h.
References bits, and PVValHelper::eta.
Referenced by l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 95 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 90 of file TrackTools.h.
References PVValHelper::eta, cmsBatch::log, and funct::tan().
Referenced by calc_eta_from_theta_deg().
|
inline |
Definition at line 102 of file TrackTools.h.
|
inline |
Definition at line 139 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 145 of file TrackTools.h.
References calc_phi_glob_deg(), deg_to_rad(), and rad_to_deg().
|
inline |
Definition at line 185 of file TrackTools.h.
References bits.
Referenced by calc_phi_GMT_rad().
|
inline |
|
inline |
Definition at line 195 of file TrackTools.h.
References calc_phi_GMT_deg(), and deg_to_rad().
|
inline |
Definition at line 149 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 170 of file TrackTools.h.
References create_public_lumi_plots::loc, and range_phi_deg().
Referenced by calc_phi_loc_int().
|
inline |
Definition at line 176 of file TrackTools.h.
References calc_phi_loc_deg_from_glob(), create_public_lumi_plots::loc, and funct::pow().
Referenced by PrimitiveConversion::convert_gem(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 155 of file TrackTools.h.
References calc_phi_loc_deg(), and deg_to_rad().
|
inline |
Definition at line 62 of file TrackTools.h.
References bits, and EnergyCorrector::pt.
|
inline |
Definition at line 68 of file TrackTools.h.
int emtf::calc_ring | ( | int | station, |
int | csc_ID, | ||
int | strip | ||
) |
|
inline |
Definition at line 125 of file TrackTools.h.
References calc_theta_rad(), and rad_to_deg().
|
inline |
Definition at line 110 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 129 of file TrackTools.h.
References funct::pow(), and theta().
Referenced by PrimitiveConversion::convert_gem(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 120 of file TrackTools.h.
References JetChargeProducer_cfi::exp.
Referenced by calc_theta_deg().
|
inline |
Definition at line 116 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().
|
inline |
Definition at line 50 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, estimatePileup_makeJSON::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 55 of file TrackTools.h.
References constexpr, and M_PI.
Referenced by calc_phi_glob_rad(), calc_theta_deg(), PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_rpc(), RecHitProcessor::process(), and RecHitProcessor::processLook().
|
inline |
Definition at line 22 of file TrackTools.h.
Referenced by calc_phi_GMT_int(), and calc_phi_loc_deg_from_glob().
|
inline |
Definition at line 28 of file TrackTools.h.
References M_PI.
|
inline |
Definition at line 34 of file TrackTools.h.
Referenced by calc_eta_from_theta_deg().
|
inline |
Definition at line 41 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 49 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 53 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 48 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 52 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 62 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), and PtAssignment::process().
int emtf::NUM_STATIONS = 4 |
Definition at line 61 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 58 of file Common.h.
Referenced by PatternRecognition::process_single_zone().
int emtf::NUM_ZONES = 4 |
Definition at line 57 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.