ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
okay, I am trying to make a histogram with two double_t arrays. but when i try to fill the histogram I get an error. here is my code:
//both events and signalsTotal are populated Double_T arrays.
auto c1 = new TCanvas("Mean Signal,"Mean Values");
TH1D* graph1 = new TH1D("Mean_Signals","Mean Signal",8256,0,10000);
graph1->Fill(events,signalsTotal);```
The error message is:
channelTrial.cc:142:33: error: no matching function for call to βTH1D::Fill(Double_t [8256], Double_t [8256])β
graph1->Fill(events,signalsTotal);