16421642 for ver in score_versions_recoToSim :
16431643 _score_trackster_to_simtrackster [- 1 ].append (Plot ("Score" + ver + "_trackster2" + val , ** _common_score ))
16441644 print ("appending plot " , "Score" + ver + "_trackster2" + val )
1645-
1645+
16461646
16471647 _energyscore_to_trackster .append (PlotGroup ("Energy_vs_Score_" + val + "ToTracksters" , [], ncols = len (en_vs_score )))
16481648 _energyscore_trackster_to .append (PlotGroup ("Energy_vs_Score_TrackstersTo" + val , [], ncols = len (en_vs_score )))
18771877 _all_cand_TkTsAss_plots .append (cand_ass_plots )
18781878
18791879_allCandidatesPlots = [[],[],[],[],[],[]]
1880+ # loop over the 3 charged chandidates (charged_hadrons, electrons, muons: indices 0,1,2 in cand_type respectively)
18801881for i in range (3 ):
18811882 _allCandidatesPlots [i ].extend ([PlotGroup (cand_type [i ]+ "_type" , _all_cand_type_plots [i ], ncols = 2 ), PlotGroup (cand_type [i ]+ "_kin" , _all_cand_ene_plots [i ], ncols = 3 ), PlotGroup (cand_type [i ]+ "_eff" , _all_cand_eff_plots [i ], ncols = 3 ), PlotGroup (cand_type [i ]+ "_effMultiplicity" , _all_cand_effNum_plots [i ], ncols = 3 ), PlotGroup (cand_type [i ]+ "_fake" , _all_cand_fake_plots [i ], ncols = 4 ), PlotGroup (cand_type [i ]+ "_fakeMultiplicity" , _all_cand_fakeNum_plots [i ], ncols = 4 ), PlotGroup (cand_type [i ]+ "_NoTrackTracksterAssoc" , _all_cand_TkTsAss_plots [i ], ncols = 3 )])
1883+ # loop over the 3 neutral chandidates (neutral_hadrons, neutral_pions, photons: indices 3,4,5 in cand_type respectively)
18821884for i in range (3 ,6 ):
18831885 _allCandidatesPlots [i ].extend ([PlotGroup (cand_type [i ]+ "_type" , _all_cand_type_plots [i ], ncols = 2 ), PlotGroup (cand_type [i ]+ "_kin" , _all_cand_ene_plots [i ], ncols = 3 ), PlotGroup (cand_type [i ]+ "_eff" , _all_cand_eff_plots [i ], ncols = 2 ), PlotGroup (cand_type [i ]+ "_effMultiplicity" , _all_cand_effNum_plots [i ], ncols = 2 ), PlotGroup (cand_type [i ]+ "_fake" , _all_cand_fake_plots [i ], ncols = 3 ), PlotGroup (cand_type [i ]+ "_fakeMultiplicity" , _all_cand_fakeNum_plots [i ], ncols = 3 ), PlotGroup (cand_type [i ]+ "_NoTrackTracksterAssoc" , _all_cand_TkTsAss_plots [i ], ncols = 1 )])
18841886
@@ -2647,7 +2649,7 @@ def append_hgcalTrackstersPlots(collection = 'ticlTrackstersMerge', name_collect
26472649 ,page = "Trackster to SimTracksters from CP Associated by Hits"
26482650 ,section = name_collection )
26492651 )
2650-
2652+
26512653 hgcalTrackstersPlotter .append (collection , [
26522654 _hgcalFolders (collection + "/" + TSbyLCs )
26532655 ], PlotFolder (
@@ -2657,7 +2659,7 @@ def append_hgcalTrackstersPlots(collection = 'ticlTrackstersMerge', name_collect
26572659 ,page = "Trackster to SimTracksters Associated by LCs"
26582660 ,section = name_collection )
26592661 )
2660-
2662+
26612663 hgcalTrackstersPlotter .append (collection , [
26622664 _hgcalFolders (collection + "/" + TSbyLCs_CP )
26632665 ], PlotFolder (
@@ -2667,7 +2669,7 @@ def append_hgcalTrackstersPlots(collection = 'ticlTrackstersMerge', name_collect
26672669 ,page = "Trackster to SimTracksters from CP Associated by LCs"
26682670 ,section = name_collection )
26692671 )
2670-
2672+
26712673 hgcalTrackstersPlotter .append (collection , [
26722674 _hgcalFolders (collection + "/" + TSbyHits )
26732675 ], PlotFolder (
@@ -2677,8 +2679,8 @@ def append_hgcalTrackstersPlots(collection = 'ticlTrackstersMerge', name_collect
26772679 ,page = "Trackster to SimTracksters Associated by Hits"
26782680 ,section = name_collection )
26792681 )
2680-
2681-
2682+
2683+
26822684
26832685#=================================================================================================
26842686_common_Calo = {"stat" : False , "drawStyle" : "hist" , "staty" : 0.65 , "ymin" : 0.0 , "ylog" : False , "xtitle" : "Default" , "ytitle" : "Default" }
0 commit comments