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) |
int | get_csc_max_slope (int station, int ring, bool useRun3CCLUT_OTMB, bool useRun3CCLUT_TMB) |
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 = 29 |
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 double | ptscale [31] |
const std::vector< double > | ptScale |
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, nano_mu_digi_cff::sector, relativeConstraints::station, and nano_mu_digi_cff::subsector.
Referenced by l1t::stage2::emtf::ImportME().
|
inline |
Definition at line 99 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, and PVValHelper::eta.
Referenced by l1t::stage2::emtf::ImportSP().
|
inline |
Definition at line 117 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 112 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 170 of file TrackTools.h.
References nano_mu_digi_cff::sector.
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 176 of file TrackTools.h.
References calc_phi_glob_deg(), deg_to_rad(), rad_to_deg(), and nano_mu_digi_cff::sector.
|
inline |
Definition at line 221 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits.
Referenced by calc_phi_GMT_rad().
|
inline |
|
inline |
Definition at line 231 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, calc_phi_GMT_deg(), and deg_to_rad().
|
inline |
Definition at line 180 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits.
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 199 of file TrackTools.h.
References nano_mu_digi_cff::sector, and wrap_phi_deg().
Referenced by calc_phi_loc_int(), calc_phi_loc_int_rpc(), and PrimitiveConversion::convert_dt().
|
inline |
Definition at line 205 of file TrackTools.h.
References calc_phi_loc_deg_from_glob(), and nano_mu_digi_cff::sector.
Referenced by PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 213 of file TrackTools.h.
References calc_phi_loc_deg_from_glob(), and nano_mu_digi_cff::sector.
Referenced by PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 186 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, calc_phi_loc_deg(), and deg_to_rad().
|
inline |
Definition at line 84 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, and 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(), and l1t::stage2::emtf::MEBlockUnpacker::unpack().
|
inline |
Definition at line 145 of file TrackTools.h.
References calc_theta_rad(), PVValHelper::eta, and rad_to_deg().
|
inline |
Definition at line 166 of file TrackTools.h.
References calc_theta_rad_from_eta(), PVValHelper::eta, and rad_to_deg().
|
inline |
Definition at line 132 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 147 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 154 of file TrackTools.h.
References makeMuonMisalignmentScenario::endcap, and theta().
Referenced by PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 140 of file TrackTools.h.
References PVValHelper::eta, and JetChargeProducer_cfi::exp.
Referenced by calc_theta_deg().
|
inline |
Definition at line 161 of file TrackTools.h.
References PVValHelper::eta, and theta().
Referenced by calc_theta_deg_from_eta().
|
inline |
Definition at line 138 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, and nano_mu_digi_cff::subsector.
Referenced by l1t::stage2::emtf::SPBlockUnpacker::unpack().
|
inline |
Definition at line 72 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::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::dump_fw_raw_input | ( | const l1t::EMTFHitCollection & | out_hits, |
const l1t::EMTFTrackCollection & | out_tracks | ||
) |
Definition at line 6 of file DebugTools.cc.
References nano_mu_digi_cff::bx, relativeConstraints::chamber, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, makeMuonMisalignmentScenario::endcap, h, L1TMuon::kCSC, L1TMuon::kRPC, MAX_ENDCAP, MAX_TRIGSECTOR, MIN_ENDCAP, MIN_TRIGSECTOR, nano_mu_digi_cff::sector, relativeConstraints::station, nano_mu_digi_cff::strip, submitPVValidationJobs::t, validateGeometry_cfg::valid, and nano_mu_digi_cff::wire.
Referenced by TrackFinder::process().
std::pair< int, int > emtf::get_csc_max_pattern_and_quality | ( | int | station, |
int | ring | ||
) |
Definition at line 169 of file TrackTools.cc.
Referenced by PrimitiveSelection::select_csc().
int emtf::get_csc_max_slope | ( | int | station, |
int | ring, | ||
bool | useRun3CCLUT_OTMB, | ||
bool | useRun3CCLUT_TMB | ||
) |
Definition at line 175 of file TrackTools.cc.
References or, and relativeConstraints::ring.
Referenced by PrimitiveSelection::select_csc().
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 | ||
) |
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 77 of file TrackTools.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), 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_2024v12_cff::distance, and edm::swap().
Referenced by createIOVlist::fillJson(), emtf::Forest::prepareRandomSubsample(), and InputFile::randomizeOrder().
void emtf::sort_uGMT_muons | ( | l1t::RegionalMuonCandBxCollection & | cands | ) |
Definition at line 111 of file MicroGMTConverter.cc.
References HLT_2024v12_cff::cands, l1t::emtf_neg, hltL1TEGammaFilteredCollectionProducer_cfi::maxBX, hltL1TEGammaFilteredCollectionProducer_cfi::minBX, ValidateTausOnZEEFastSim_cff::proc, and edm::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 36 of file TrackTools.h.
Referenced by calc_phi_GMT_int(), and calc_phi_loc_deg_from_glob().
|
inline |
Definition at line 44 of file TrackTools.h.
References M_PI.
|
inline |
Definition at line 52 of file TrackTools.h.
References funct::abs().
Referenced by calc_eta_from_theta_deg().
|
inline |
constexpr int emtf::MAX_ENDCAP = 2 |
Definition at line 46 of file Common.h.
Referenced by SectorProcessorShower::configure(), 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 int emtf::MAX_TRIGSECTOR = 6 |
Definition at line 50 of file Common.h.
Referenced by SectorProcessorShower::configure(), 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 int emtf::MIN_ENDCAP = 1 |
Definition at line 45 of file Common.h.
Referenced by SectorProcessorShower::configure(), 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 int emtf::MIN_TRIGSECTOR = 1 |
Definition at line 49 of file Common.h.
Referenced by SectorProcessorShower::configure(), 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 int emtf::NUM_FEATURES = 29 |
Definition at line 68 of file Common.h.
Referenced by PtAssignmentEngineDxy::call_tensorflow_dxy().
constexpr int emtf::NUM_PREDICTIONS = 2 |
Definition at line 69 of file Common.h.
Referenced by PtAssignmentEngineDxy::call_tensorflow_dxy().
constexpr int emtf::NUM_STATION_PAIRS = 6 |
Definition at line 59 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), and PtAssignment::process().
constexpr int emtf::NUM_STATIONS = 4 |
Definition at line 58 of file Common.h.
Referenced by AngleCalculation::calculate_angles(), AngleCalculation::erase_tracks(), BestTrackSelection::process(), and PrimitiveMatching::process().
constexpr int emtf::NUM_ZONE_HITS = 160 |
Definition at line 55 of file Common.h.
Referenced by PatternRecognition::process_single_zone().
constexpr int emtf::NUM_ZONES = 4 |
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 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 33 of file Utilities.cc.
Referenced by CSCTFSectorProcessor::CSCTFSectorProcessor(), CSCTFTrackBuilder::CSCTFTrackBuilder(), and CSCTFTrackProducer::produce().
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.