char histname[1024];
sprintf(histname, "hEventHist%s", trigger);
try{
- fHistos->FillTH2(histname, vz, 0);
+ fHistos->FillTH2(histname, 0, vz);
} catch (HistoContainerContentException &e){
std::stringstream errormessage;
errormessage << "Filling of histogram failed: " << e.what();
}
if(!isPileup){
try{
- fHistos->FillTH2(histname, vz, 1);
+ fHistos->FillTH2(histname, 1, vz);
} catch(HistoContainerContentException &e){
std::stringstream errormessage;
errormessage << "Filling of histogram failed: " << e.what();