thesis tweaks plots
This commit is contained in:
parent
180f4d1a12
commit
2b8f238059
BIN
data_matching/result/Compare_BJpsi_default.root
Normal file
BIN
data_matching/result/Compare_BJpsi_default.root
Normal file
Binary file not shown.
BIN
data_matching/result/Compare_BJpsi_default2filter.root
Normal file
BIN
data_matching/result/Compare_BJpsi_default2filter.root
Normal file
Binary file not shown.
BIN
data_matching/result/PrChecker_BJpsi_default.root
Normal file
BIN
data_matching/result/PrChecker_BJpsi_default.root
Normal file
Binary file not shown.
BIN
data_matching/result/PrChecker_BJpsi_default2filter.root
Normal file
BIN
data_matching/result/PrChecker_BJpsi_default2filter.root
Normal file
Binary file not shown.
@ -126,8 +126,8 @@ def standalone_hlt2_fastest_reco():
|
||||
track_type: hlt2_tracks[track_type] for track_type in out_track_types["Best"]
|
||||
}
|
||||
|
||||
# data = [calo_long, calo_matched_seeds, electron_matched_seeds, shower_matched_seeds]
|
||||
data = [shower_matched_seeds]
|
||||
data = [calo_long, calo_matched_seeds, electron_matched_seeds, shower_matched_seeds]
|
||||
# data = [shower_matched_seeds]
|
||||
types_and_locations_for_checkers = {
|
||||
"Forward": hlt2_tracks["Forward"],
|
||||
"Seed": hlt2_tracks["Seed"],
|
||||
|
@ -43,15 +43,26 @@ def standalone_hlt2_fastest_reco():
|
||||
hlt2_tracks = make_hlt2_tracks(light_reco=True, fast_reco=False, use_pr_kf=True)
|
||||
|
||||
digisEcal = make_digits(calo_raw_bank=False)["digitsEcal"]
|
||||
ecalClusters = make_clusters(digisEcal)
|
||||
tracks_v3, trackrels = convert_tracks_to_v3_from_v1(
|
||||
hlt2_tracks["Seed"]["v1"],
|
||||
track_types=["Ttrack"],
|
||||
)
|
||||
# track acceptances
|
||||
tracks_incalo = make_acceptance(tracks_v3)
|
||||
tcmatches = make_track_cluster_matching(ecalClusters, tracks_incalo)
|
||||
PhElOutput = make_photons_and_electrons(
|
||||
ecalClusters, tcmatches["combined"], make_all_pvs()["v3"]
|
||||
)
|
||||
photons = PhElOutput["photons"]
|
||||
electrons = PhElOutput["electrons"]
|
||||
|
||||
eshower = make_trackbased_eshower(tracks_incalo, digisEcal)
|
||||
|
||||
tcmatches_e = make_track_electron_and_brem_matching(
|
||||
tracks_incalo, tcmatches, digisEcal, electrons, photons
|
||||
)
|
||||
|
||||
# should be best; shape of shower etc; E/p statt chi2; DLL even better? GET(1)
|
||||
# Cut=F.FILTER(F.ALL)).Output
|
||||
shower_matched_seeds = PrFilterTracks2ElectronShower(
|
||||
@ -78,9 +89,16 @@ def standalone_hlt2_fastest_reco():
|
||||
SeedTracksLocation=matched_seeds["v1"],
|
||||
).OutputTracksLocation
|
||||
|
||||
out_track_types = get_default_out_track_types_for_light_reco()
|
||||
best_tracks = {
|
||||
track_type: hlt2_tracks[track_type] for track_type in out_track_types["Best"]
|
||||
}
|
||||
|
||||
data = [calo_long, shower_matched_seeds]
|
||||
types_and_locations_for_checkers = {
|
||||
"Match": match_tracks,
|
||||
"Forward": hlt2_tracks["Forward"],
|
||||
"Seed": hlt2_tracks["Seed"],
|
||||
"Match": match_tracks, # hlt2_tracks["Match"],
|
||||
}
|
||||
data += get_track_checkers(types_and_locations_for_checkers)
|
||||
# data += get_fitted_tracks_checkers(best_tracks)
|
||||
|
Loading…
Reference in New Issue
Block a user