Skip to content
Snippets Groups Projects
Commit 9d7cd272 authored by nicolas's avatar nicolas
Browse files

* Remove compilation warnings in TMayaHisto.cxx

parent 8b9a7709
No related branches found
No related tags found
No related merge requests found
...@@ -425,6 +425,7 @@ TCutG* TMayaHisto::GetPADXY(Double_t X, Double_t Y) { ...@@ -425,6 +425,7 @@ TCutG* TMayaHisto::GetPADXY(Double_t X, Double_t Y) {
Double_t TMayaHisto::GetCdisp(Double_t C, Double_t R) { Double_t TMayaHisto::GetCdisp(Double_t C, Double_t R) {
Double_t fR, iR; Double_t fR, iR;
fR = modf(R, &iR); fR = modf(R, &iR);
fR *= 1;
return C + (int(iR - bShiftHexagon) % 2) / 2. + Xview_corr; return C + (int(iR - bShiftHexagon) % 2) / 2. + Xview_corr;
} }
...@@ -1367,6 +1368,10 @@ TH1F* TMayaHisto::ProjectOnTrack(Int_t ID, Option_t *o, Double_t xo, ...@@ -1367,6 +1368,10 @@ TH1F* TMayaHisto::ProjectOnTrack(Int_t ID, Option_t *o, Double_t xo,
// ** Graphics ** // ** Graphics **
// remove compilation warnings
cd_min *= 1; cd_max *= 1;
rd_min *= 1; rd_max *= 1;
// pline = new TLine(cd_min,rd_min,cp_min,rp_min) ; // pline = new TLine(cd_min,rd_min,cp_min,rp_min) ;
// pline->SetLineColor(3);//gStyle->GetCanvasColor()); // pline->SetLineColor(3);//gStyle->GetCanvasColor());
// fFunctions->Add(pline); // fFunctions->Add(pline);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment