Classes | |
class | AbsoluteDeviation |
struct | CPPFTag |
struct | CSCTag |
struct | DTTag |
struct | Event |
class | Forest |
struct | GEMTag |
class | Huber |
struct | IRPCTag |
class | LeastSquares |
class | LossFunction |
struct | ME0Tag |
class | Node |
class | PercentErrorSquared |
struct | RPCTag |
class | Tree |
Typedefs | |
using | Feature = std::array< float, NUM_FEATURES > |
using | Prediction = std::array< float, NUM_PREDICTIONS > |
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) |
double | deg_to_rad (double deg) |
void | dump_fw_raw_input (const l1t::EMTFHitCollection &out_hits, const l1t::EMTFTrackCollection &out_tracks) |
std::pair< int, int > | get_csc_max_pattern_and_quality (int station, int ring) |
std::pair< int, int > | get_csc_max_strip_and_wire (int station, int ring) |
int | get_trigger_csc_ID (int ring, int station, int chamber) |
int | get_trigger_sector (int ring, int station, int chamber) |
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) |
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) |
double | wrap_phi_deg (double deg) |
double | wrap_phi_rad (double rad) |
double | wrap_theta_deg (double deg) |
double | wrap_theta_rad (double rad) |
Variables | |
constexpr int | MAX_ENDCAP = 2 |
constexpr int | MAX_TRIGSECTOR = 6 |
constexpr int | MIN_ENDCAP = 1 |
constexpr int | MIN_TRIGSECTOR = 1 |
constexpr int | NUM_FEATURES = 23 |
constexpr int | NUM_PREDICTIONS = 2 |
constexpr int | NUM_SECTORS = 12 |
constexpr int | NUM_STATION_PAIRS = 6 |
constexpr int | NUM_STATIONS = 4 |
constexpr int | NUM_ZONE_HITS = 160 |
constexpr int | NUM_ZONES = 4 |
const std::vector< double > | ptScale |
const double | ptscale [31] |
const double | twoJets_scale [16] |
const std::vector< double > | twoJetsScale |
using emtf::Feature = typedef std::array<float, NUM_FEATURES> |
using emtf::Prediction = typedef std::array<float, NUM_PREDICTIONS> |
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 28 of file TrackTools.cc.
References relativeConstraints::chamber, relativeConstraints::ring, and relativeConstraints::station.
Referenced by l1t::stage2::emtf::ImportME().
|
inline |
Definition at line 95 of file TrackTools.h.
References PVValHelper::eta.
Referenced by l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 113 of file TrackTools.h.
References calc_eta_from_theta_rad(), deg_to_rad(), makeMuonMisalignmentScenario::endcap, PVValHelper::eta, and wrap_theta_deg().
Referenced by AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_other_details(), PrimitiveConversion::convert_rpc_details(), and l1t::stage2::emtf::ImportRPC().
|
inline |
Definition at line 108 of file TrackTools.h.
References PVValHelper::eta, dqm-mbProfile::log, and funct::tan().
Referenced by calc_eta_from_theta_deg().
|
inline |
|
inline |
Definition at line 166 of file TrackTools.h.
Referenced by calc_phi_glob_rad(), AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_other_details(), PrimitiveConversion::convert_rpc_details(), l1t::stage2::emtf::ImportRPC(), and l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 172 of file TrackTools.h.
References calc_phi_glob_deg(), deg_to_rad(), and rad_to_deg().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 176 of file TrackTools.h.
Referenced by calc_phi_loc_rad(), AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_other_details(), PrimitiveConversion::convert_rpc_details(), l1t::stage2::emtf::ImportRPC(), and l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 195 of file TrackTools.h.
References wrap_phi_deg().
Referenced by calc_phi_loc_int(), calc_phi_loc_int_rpc(), and PrimitiveConversion::convert_dt().
|
inline |
Definition at line 201 of file TrackTools.h.
References calc_phi_loc_deg_from_glob().
Referenced by PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 209 of file TrackTools.h.
References calc_phi_loc_deg_from_glob().
Referenced by PrimitiveConversion::convert_rpc().
|
inline |
|
inline |
Definition at line 80 of file TrackTools.h.
References DiDispStaMuonMonitor_cfi::pt.
|
inline |
int emtf::calc_ring | ( | int | station, |
int | csc_ID, | ||
int | strip | ||
) |
Definition at line 5 of file TrackTools.cc.
References relativeConstraints::station.
Referenced by l1t::stage2::emtf::ImportME().
|
inline |
Definition at line 141 of file TrackTools.h.
References calc_theta_rad(), PVValHelper::eta, and rad_to_deg().
|
inline |
Definition at line 162 of file TrackTools.h.
References calc_theta_rad_from_eta(), PVValHelper::eta, and rad_to_deg().
|
inline |
Definition at line 128 of file TrackTools.h.
References theta().
Referenced by calc_theta_rad_from_int(), AngleCalculation::calculate_angles(), PrimitiveConversion::convert_csc_details(), PrimitiveConversion::convert_other_details(), PrimitiveConversion::convert_rpc_details(), and l1t::stage2::emtf::ImportRPC().
|
inline |
Definition at line 143 of file TrackTools.h.
References makeMuonMisalignmentScenario::endcap, and theta().
Referenced by PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 150 of file TrackTools.h.
References makeMuonMisalignmentScenario::endcap, and theta().
Referenced by PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 136 of file TrackTools.h.
References PVValHelper::eta, and JetChargeProducer_cfi::exp.
Referenced by calc_theta_deg().
|
inline |
Definition at line 157 of file TrackTools.h.
References PVValHelper::eta, and theta().
Referenced by calc_theta_deg_from_eta().
|
inline |
Definition at line 134 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 53 of file TrackTools.cc.
References relativeConstraints::station.
Referenced by l1t::stage2::emtf::SPBlockUnpacker::unpack().
|
inline |
Definition at line 68 of file TrackTools.h.
References DQMScaleToClient_cfi::factor, 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::dump_fw_raw_input | ( | const l1t::EMTFHitCollection & | out_hits, |
const l1t::EMTFTrackCollection & | out_tracks | ||
) |
Definition at line 6 of file DebugTools.cc.
References l1GtPatternGenerator_cfi::bx, relativeConstraints::chamber, gather_cfg::cout, makeMuonMisalignmentScenario::endcap, L1TMuon::kCSC, L1TMuon::kRPC, MAX_ENDCAP, MAX_TRIGSECTOR, MIN_ENDCAP, MIN_TRIGSECTOR, relativeConstraints::station, digitizers_cfi::strip, submitPVValidationJobs::t, and RunInfoPI::valid.
Referenced by TrackFinder::process().
std::pair< int, int > emtf::get_csc_max_pattern_and_quality | ( | int | station, |
int | ring | ||
) |
std::pair< int, int > emtf::get_csc_max_strip_and_wire | ( | int | station, |
int | ring | ||
) |
Definition at line 141 of file TrackTools.cc.
References relativeConstraints::ring, and relativeConstraints::station.
Referenced by PrimitiveSelection::select_csc().
int emtf::get_trigger_csc_ID | ( | int | ring, |
int | station, | ||
int | chamber | ||
) |
Definition at line 100 of file TrackTools.cc.
References relativeConstraints::chamber, mps_fire::result, relativeConstraints::ring, and relativeConstraints::station.
Referenced by PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), PrimitiveConversion::convert_rpc(), PrimitiveSelection::select_dt(), PrimitiveSelection::select_gem(), and PrimitiveSelection::select_me0().
int emtf::get_trigger_sector | ( | int | ring, |
int | station, | ||
int | chamber | ||
) |
Definition at line 85 of file TrackTools.cc.
References relativeConstraints::chamber, mps_fire::result, relativeConstraints::ring, and relativeConstraints::station.
Referenced by PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), PrimitiveSelection::select_dt(), PrimitiveSelection::select_gem(), and PrimitiveSelection::select_me0().
void emtf::mergeNtuples | ( | const char * | ntuplename, |
const char * | filestomerge, | ||
const char * | outputfile | ||
) |
Definition at line 88 of file Utilities.cc.
References writedatasetfile::outputfile.
std::string emtf::numToStr | ( | T | num | ) |
Definition at line 43 of file Utilities.h.
References EgammaValidation_cff::num, alignCSCRings::s, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by emtf::Tree::addXMLAttributes().
float emtf::processPrediction | ( | float | BDTPt, |
int | Quality, | ||
float | PrelimFit | ||
) |
|
inline |
Definition at line 73 of file TrackTools.h.
References DQMScaleToClient_cfi::factor, and M_PI.
Referenced by calc_phi_glob_rad(), calc_theta_deg(), calc_theta_deg_from_eta(), PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), PrimitiveConversion::convert_rpc(), RecHitProcessor::process(), and RecHitProcessor::processLook().
bidiiter emtf::shuffle | ( | bidiiter | begin, |
bidiiter | end, | ||
size_t | num_random | ||
) |
Definition at line 27 of file Utilities.h.
References HLT_FULL_cff::distance, mps_fire::end, alignCSCRings::r, and std::swap().
Referenced by emtf::Forest::prepareRandomSubsample().
void emtf::sort_uGMT_muons | ( | l1t::RegionalMuonCandBxCollection & | cands | ) |
Definition at line 111 of file MicroGMTConverter.cc.
References HLT_FULL_cff::cands, l1t::emtf_neg, simKBmtfStubs_cfi::maxBX, simKBmtfStubs_cfi::minBX, ValidateTausOnZEEFastSim_cff::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 98 of file Utilities.cc.
References f, DeadROC_duringRun::f2, mps_fire::i, createfilelist::int, and writedatasetfile::outputfile.
|
inline |
Definition at line 32 of file TrackTools.h.
Referenced by calc_phi_GMT_int(), and calc_phi_loc_deg_from_glob().
|
inline |
|
inline |
Definition at line 48 of file TrackTools.h.
References funct::abs().
Referenced by calc_eta_from_theta_deg().
|
inline |
|
constexpr |
Definition at line 46 of file Common.h.
Referenced by SectorProcessor::configure(), dump_fw_raw_input(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_dt(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_me0(), PrimitiveSelection::select_rpc(), and L1DummyProducer::SimpleDigi().
|
constexpr |
Definition at line 50 of file Common.h.
Referenced by SectorProcessor::configure(), dump_fw_raw_input(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_dt(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_me0(), and PrimitiveSelection::select_rpc().
|
constexpr |
Definition at line 45 of file Common.h.
Referenced by SectorProcessor::configure(), dump_fw_raw_input(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_dt(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_me0(), PrimitiveSelection::select_rpc(), and L1DummyProducer::SimpleDigi().
|
constexpr |
Definition at line 49 of file Common.h.
Referenced by SectorProcessor::configure(), dump_fw_raw_input(), TrackFinder::process(), PrimitiveSelection::select_csc(), PrimitiveSelection::select_dt(), PrimitiveSelection::select_gem(), PrimitiveSelection::select_me0(), and PrimitiveSelection::select_rpc().
|
constexpr |
Definition at line 68 of file Common.h.
Referenced by PtAssignmentEngineDxy::call_tensorflow_dxy().
|
constexpr |
Definition at line 69 of file Common.h.
Referenced by PtAssignmentEngineDxy::call_tensorflow_dxy().
|
constexpr |
Definition at line 59 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), and PtAssignment::process().
|
constexpr |
Definition at line 58 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), AngleCalculation::erase_tracks(), BestTrackSelection::process(), and PrimitiveMatching::process().
|
constexpr |
Definition at line 55 of file Common.h.
Referenced by PatternRecognition::process_single_zone().
|
constexpr |
Definition at line 54 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 std::vector<double> emtf::ptScale |
Definition at line 33 of file Utilities.cc.
Referenced by CSCTFSectorProcessor::CSCTFSectorProcessor(), CSCTFTrackBuilder::CSCTFTrackBuilder(), and CSCTFTrackProducer::produce().
const double emtf::ptscale |
Definition at line 29 of file Utilities.cc.
Referenced by L1TGMT::bookHistograms(), and processPrediction().
const double emtf::twoJets_scale |
Definition at line 36 of file Utilities.cc.
const std::vector< double > emtf::twoJetsScale |
Definition at line 39 of file Utilities.cc.