I’m just trying to make a TH2F which has the x -coordinate v/s y-coordinate for the starting point of particle tracks. I think I am able to plot it just fine. However, for some reason, (I think) SetMarkerStyle leaves these very small tiny dots on the plot and i’m not able to figure out where they’re coming from.
I have attached the plot and the code for reference.
Just to save you some time, here’s how I’m defining and filling my histogram (just one out of the 20 histograms on the code) :
TH2D* h_track_start11 = new TH2D("h_track_start11","Starting Point of Tracks (nospacecharge);X-Coordinate;Y-Coordinate",100,-10,270,100,-130,130);
h_track_start11->SetMarkerStyle(30);
h_track_start11->SetMarkerColor(4);
for(blah blah blah){
h_track_start11->Fill(track.Vertex().X(),track.Vertex().Y());
}
h_track_start11->SetTitle("Starting Point of Tracks (nospacecharge)");
h_track_start11->Draw("P SAME");
Does anyone have any idea of what these small dots are? and how to get rid of them? I’m sure they’re not from data.
Unfortunately I’m running by jobs over a FermiLab node and it’s up to them to update the root software installed on the node. I wouldn’t say it’s impossible, but it’s just a lot of bureaucracy. Let me try the TGraph method and see where I end up.
Thanks !