#include <L1TkMuCorrDynamicWindows.h>
Public Types | |
typedef std::vector< L1TTTrackType > | L1TTTrackCollectionType |
typedef TTTrack< Ref_Phase2TrackerDigi_ > | L1TTTrackType |
Public Member Functions | |
std::vector< int > | find_match (const EMTFTrackCollection &l1mus, const L1TTTrackCollectionType &l1trks) |
std::vector< int > | find_match_stub (const EMTFHitCollection &l1mus, const L1TTTrackCollectionType &l1trks, const int &station, bool requireBX0=true) |
L1TkMuCorrDynamicWindows (const std::vector< double > &bounds, TFile *fIn_theta, TFile *fIn_phi) | |
L1TkMuCorrDynamicWindows (const std::vector< double > &bounds, TFile *fIn_theta, TFile *fIn_phi, TFile *fIn_theta_S1, TFile *fIn_phi_S1) | |
const float | max_trk_aeta () |
const float | max_trk_chi2 () |
const int | min_trk_nstubs () |
const float | min_trk_p () |
const int | n_trk_par () |
void | set_do_relax_factor (bool val) |
void | set_do_trk_qual_presel (bool val) |
void | set_max_trk_aeta (float val) |
void | set_max_trk_chi2 (float val) |
void | set_min_trk_nstubs (int val) |
void | set_min_trk_p (float val) |
void | set_n_trk_par (int val) |
void | set_relaxation_pattern (float pt_start, float pt_end) |
void | set_safety_factor (float sf_l, float sf_h) |
void | set_safety_factor (float sf) |
void | set_sf_initialrelax (float sf_l, float sf_h) |
void | set_sf_initialrelax (float sf) |
~L1TkMuCorrDynamicWindows () | |
Static Public Member Functions | |
static std::vector< double > | prepare_corr_bounds (const string &fname, const string &hname) |
Private Member Functions | |
double | eta_to_theta (double x) |
int | findBin (double val) |
std::vector< int > | make_unique_coll (const unsigned int &l1musSize, const L1TTTrackCollectionType &l1trks, const std::vector< int > &matches) |
double | sf_progressive (double x, double xstart, double xstop, double ystart, double ystop) |
double | to_mpio2_pio2 (double x) |
Private Attributes | |
std::vector< double > | bounds_ |
bool | do_relax_factor_ |
float | initial_sf_h_ |
float | initial_sf_l_ |
float | max_trk_aeta_ |
float | max_trk_chi2_ |
int | min_trk_nstubs_ |
float | min_trk_p_ |
int | nbins_ |
int | nTrkPars_ |
float | pt_end_ |
float | pt_start_ |
float | safety_factor_h_ |
float | safety_factor_l_ |
bool | track_qual_presel_ |
std::vector< MuMatchWindow > | wdws_phi_ |
std::vector< MuMatchWindow > | wdws_phi_S1_ |
std::vector< MuMatchWindow > | wdws_theta_ |
std::vector< MuMatchWindow > | wdws_theta_S1_ |
Definition at line 24 of file L1TkMuCorrDynamicWindows.h.
typedef std::vector<L1TTTrackType> L1TkMuCorrDynamicWindows::L1TTTrackCollectionType |
Definition at line 27 of file L1TkMuCorrDynamicWindows.h.
Definition at line 26 of file L1TkMuCorrDynamicWindows.h.
L1TkMuCorrDynamicWindows::L1TkMuCorrDynamicWindows | ( | const std::vector< double > & | bounds, |
TFile * | fIn_theta, | ||
TFile * | fIn_phi | ||
) |
Definition at line 9 of file L1TkMuCorrDynamicWindows.cc.
References bounds_, Exception, cuy::ib, nbins_, set_do_relax_factor(), set_relaxation_pattern(), set_safety_factor(), set_sf_initialrelax(), AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), track_qual_presel_, wdws_phi_, and wdws_theta_.
L1TkMuCorrDynamicWindows::L1TkMuCorrDynamicWindows | ( | const std::vector< double > & | bounds, |
TFile * | fIn_theta, | ||
TFile * | fIn_phi, | ||
TFile * | fIn_theta_S1, | ||
TFile * | fIn_phi_S1 | ||
) |
Definition at line 60 of file L1TkMuCorrDynamicWindows.cc.
References bounds_, Exception, cuy::ib, nbins_, set_do_relax_factor(), set_relaxation_pattern(), set_safety_factor(), set_sf_initialrelax(), AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), track_qual_presel_, wdws_phi_, wdws_phi_S1_, wdws_theta_, and wdws_theta_S1_.
|
inline |
Definition at line 32 of file L1TkMuCorrDynamicWindows.h.
|
inlineprivate |
Definition at line 87 of file L1TkMuCorrDynamicWindows.h.
References JetChargeProducer_cfi::exp, and x.
Referenced by find_match(), and find_match_stub().
std::vector< int > L1TkMuCorrDynamicWindows::find_match | ( | const EMTFTrackCollection & | l1mus, |
const L1TTTrackCollectionType & | l1trks | ||
) |
Definition at line 155 of file L1TkMuCorrDynamicWindows.cc.
References funct::abs(), angle_units::operators::convertDegToRad(), reco::deltaPhi(), HLT_2022v11_cff::distance, do_relax_factor_, eta_to_theta(), findBin(), initial_sf_h_, initial_sf_l_, make_unique_coll(), muonTagProbeFilters_cff::matched, max_trk_aeta_, max_trk_chi2_, min_trk_nstubs_, min_trk_p_, MillePedeFileConverter_cfg::out, pt_end_, pt_start_, safety_factor_h_, safety_factor_l_, sf_progressive(), jetUpdater_cfi::sort, to_mpio2_pio2(), track_qual_presel_, wdws_phi_, and wdws_theta_.
std::vector< int > L1TkMuCorrDynamicWindows::find_match_stub | ( | const EMTFHitCollection & | l1mus, |
const L1TTTrackCollectionType & | l1trks, | ||
const int & | station, | ||
bool | requireBX0 = true |
||
) |
Definition at line 236 of file L1TkMuCorrDynamicWindows.cc.
References funct::abs(), angle_units::operators::convertDegToRad(), reco::deltaPhi(), HLT_2022v11_cff::distance, do_relax_factor_, eta_to_theta(), findBin(), initial_sf_h_, initial_sf_l_, make_unique_coll(), muonTagProbeFilters_cff::matched, max_trk_aeta_, max_trk_chi2_, min_trk_nstubs_, min_trk_p_, MillePedeFileConverter_cfg::out, pt_end_, pt_start_, safety_factor_h_, safety_factor_l_, sf_progressive(), jetUpdater_cfi::sort, relativeConstraints::station, to_mpio2_pio2(), track_qual_presel_, wdws_phi_, wdws_phi_S1_, wdws_theta_, and wdws_theta_S1_.
|
private |
Definition at line 138 of file L1TkMuCorrDynamicWindows.cc.
References bounds_, Exception, cuy::ib, nbins_, parallelization::uint, and heppy_batch::val.
Referenced by find_match(), and find_match_stub().
|
private |
Definition at line 348 of file L1TkMuCorrDynamicWindows.cc.
References oniaPATMuonsWithTrigger_cff::matches, nTrkPars_, MillePedeFileConverter_cfg::out, HLT_2022v11_cff::pt1, HLT_2022v11_cff::pt2, and jetUpdater_cfi::sort.
Referenced by find_match(), and find_match_stub().
|
inline |
Definition at line 73 of file L1TkMuCorrDynamicWindows.h.
References max_trk_aeta_.
|
inline |
Definition at line 74 of file L1TkMuCorrDynamicWindows.h.
References max_trk_chi2_.
|
inline |
Definition at line 75 of file L1TkMuCorrDynamicWindows.h.
References min_trk_nstubs_.
|
inline |
|
inline |
|
static |
Definition at line 389 of file L1TkMuCorrDynamicWindows.cc.
References Exception, alignmentValidation::fname, and cuy::ib.
Referenced by L1TkMuonProducer::L1TkMuonProducer().
|
inline |
Definition at line 59 of file L1TkMuCorrDynamicWindows.h.
References do_relax_factor_, and heppy_batch::val.
Referenced by L1TkMuCorrDynamicWindows().
|
inline |
Definition at line 61 of file L1TkMuCorrDynamicWindows.h.
References track_qual_presel_, and heppy_batch::val.
|
inline |
Definition at line 66 of file L1TkMuCorrDynamicWindows.h.
References max_trk_aeta_, and heppy_batch::val.
|
inline |
Definition at line 67 of file L1TkMuCorrDynamicWindows.h.
References max_trk_chi2_, and heppy_batch::val.
|
inline |
Definition at line 68 of file L1TkMuCorrDynamicWindows.h.
References min_trk_nstubs_, and heppy_batch::val.
|
inline |
Definition at line 65 of file L1TkMuCorrDynamicWindows.h.
References min_trk_p_, and heppy_batch::val.
|
inline |
Definition at line 64 of file L1TkMuCorrDynamicWindows.h.
References nTrkPars_, and heppy_batch::val.
|
inline |
Definition at line 53 of file L1TkMuCorrDynamicWindows.h.
References pt_end_, and pt_start_.
Referenced by L1TkMuCorrDynamicWindows().
|
inline |
Definition at line 45 of file L1TkMuCorrDynamicWindows.h.
References safety_factor_h_, and safety_factor_l_.
Referenced by L1TkMuCorrDynamicWindows().
|
inline |
Definition at line 57 of file L1TkMuCorrDynamicWindows.h.
References set_safety_factor().
Referenced by set_safety_factor().
|
inline |
Definition at line 49 of file L1TkMuCorrDynamicWindows.h.
References initial_sf_h_, and initial_sf_l_.
Referenced by L1TkMuCorrDynamicWindows().
|
inline |
Definition at line 58 of file L1TkMuCorrDynamicWindows.h.
References set_sf_initialrelax().
Referenced by set_sf_initialrelax().
|
inlineprivate |
Definition at line 101 of file L1TkMuCorrDynamicWindows.h.
References x.
Referenced by find_match(), and find_match_stub().
|
inlineprivate |
Definition at line 92 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), and find_match_stub().
|
private |
Definition at line 110 of file L1TkMuCorrDynamicWindows.h.
Referenced by findBin(), and L1TkMuCorrDynamicWindows().
|
private |
Definition at line 121 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_do_relax_factor().
|
private |
Definition at line 118 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_sf_initialrelax().
|
private |
Definition at line 117 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_sf_initialrelax().
|
private |
Definition at line 127 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), max_trk_aeta(), and set_max_trk_aeta().
|
private |
Definition at line 128 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), max_trk_chi2(), and set_max_trk_chi2().
|
private |
Definition at line 129 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), min_trk_nstubs(), and set_min_trk_nstubs().
|
private |
Definition at line 126 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), min_trk_p(), and set_min_trk_p().
|
private |
Definition at line 109 of file L1TkMuCorrDynamicWindows.h.
Referenced by findBin(), and L1TkMuCorrDynamicWindows().
|
private |
Definition at line 125 of file L1TkMuCorrDynamicWindows.h.
Referenced by make_unique_coll(), n_trk_par(), and set_n_trk_par().
|
private |
Definition at line 120 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_relaxation_pattern().
|
private |
Definition at line 119 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_relaxation_pattern().
|
private |
Definition at line 116 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_safety_factor().
|
private |
Definition at line 115 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and set_safety_factor().
|
private |
Definition at line 122 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), L1TkMuCorrDynamicWindows(), and set_do_trk_qual_presel().
|
private |
Definition at line 112 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and L1TkMuCorrDynamicWindows().
|
private |
Definition at line 114 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match_stub(), and L1TkMuCorrDynamicWindows().
|
private |
Definition at line 111 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match(), find_match_stub(), and L1TkMuCorrDynamicWindows().
|
private |
Definition at line 113 of file L1TkMuCorrDynamicWindows.h.
Referenced by find_match_stub(), and L1TkMuCorrDynamicWindows().