- hCutIndex->GetXaxis()->SetBinLabel(1,"in");
- hCutIndex->GetXaxis()->SetBinLabel(2,"no tracks");
- hCutIndex->GetXaxis()->SetBinLabel(3,"dEdx");
- hCutIndex->GetXaxis()->SetBinLabel(4,"Track cuts");
- hCutIndex->GetXaxis()->SetBinLabel(5,"PhotonCuts");
- hCutIndex->GetXaxis()->SetBinLabel(6,"out");
+ hCutIndex->GetXaxis()->SetBinLabel(kPhotonIn+1,"in");
+ hCutIndex->GetXaxis()->SetBinLabel(kOnFly+1,"onfly");
+ hCutIndex->GetXaxis()->SetBinLabel(kNoTracks+1,"no tracks");
+ hCutIndex->GetXaxis()->SetBinLabel(kdEdxCuts+1,"dEdx");
+ hCutIndex->GetXaxis()->SetBinLabel(kTrackCuts+1,"Track cuts");
+ hCutIndex->GetXaxis()->SetBinLabel(kPhotonCuts+1,"PhotonCuts");
+ hCutIndex->GetXaxis()->SetBinLabel(kPhotonOut+1,"out");