Skip to content

Commit

Permalink
Fixes for ROOT6 v6-04
Browse files Browse the repository at this point in the history
  • Loading branch information
mfasDa authored and hristov committed Aug 5, 2015
1 parent be56f7a commit abe655c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions ITS/ITSbase/AliITSQASDDDataMakerRec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ Int_t AliITSQASDDDataMakerRec::InitRaws()

//Event Size
TH1F *hsize = new TH1F("SDDEventSize","SDD Event Size ",500,-0.5,199.5);
#if ROOT_VERSION_CODE < ROOT_VERSION(6,5,1)
#if ROOT_VERSION_CODE < ROOT_VERSION(6,4,0)
hsize->SetBit(TH1::kCanRebin);
#endif
hsize->GetXaxis()->SetTitle("Event Size [kB]");
Expand Down Expand Up @@ -884,7 +884,7 @@ Int_t AliITSQASDDDataMakerRec::InitRecPoints()
fSDDhRecPointsTask++;

TH1F *h13 = new TH1F("SDDrdistrib_Layer3" ,"SDD r distribution Layer3" ,100,14.,16.5);
#if ROOT_VERSION_CODE < ROOT_VERSION(6,5,1)
#if ROOT_VERSION_CODE < ROOT_VERSION(6,4,0)
h13->SetBit(TH1::kCanRebin);
#endif
h13->GetXaxis()->SetTitle("r (cm)");
Expand All @@ -894,7 +894,7 @@ Int_t AliITSQASDDDataMakerRec::InitRecPoints()
fSDDhRecPointsTask++;

TH1F *h14 = new TH1F("SDDrdistrib_Layer4" ,"SDD r distribution Layer4" ,100,23.,25.);
#if ROOT_VERSION_CODE < ROOT_VERSION(6,5,1)
#if ROOT_VERSION_CODE < ROOT_VERSION(6,4,0)
h14->SetBit(TH1::kCanRebin);
#endif
h14->GetXaxis()->SetTitle("r (cm)");
Expand All @@ -919,7 +919,7 @@ Int_t AliITSQASDDDataMakerRec::InitRecPoints()


TH1F *h17 = new TH1F("SDDdrifttime_Layer3","SDDdrifttime_Layer3",45,-0.5,4499.5);
#if ROOT_VERSION_CODE < ROOT_VERSION(6,5,1)
#if ROOT_VERSION_CODE < ROOT_VERSION(6,4,0)
h17->SetBit(TH1::kCanRebin);
#endif
h17->GetXaxis()->SetTitle("Drift time (ns)");
Expand All @@ -929,7 +929,7 @@ Int_t AliITSQASDDDataMakerRec::InitRecPoints()
fSDDhRecPointsTask++;

TH1F *h18 = new TH1F("SDDdrifttime_Layer4","SDDdrifttime_Layer4",45,-0.5,4499.5);
#if ROOT_VERSION_CODE < ROOT_VERSION(6,5,1)
#if ROOT_VERSION_CODE < ROOT_VERSION(6,4,0)
h18->SetBit(TH1::kCanRebin);
#endif
h18->GetXaxis()->SetTitle("Drift time (ns)");
Expand Down
2 changes: 1 addition & 1 deletion STEER/STEER/AliTransportMonitor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void AliTransportMonitor::Print(Option_t *volName) const
TH1F *hnames = new TH1F("volume_timing", "relative volume timing", 3,0,3);
hnames->SetStats(0);
hnames->SetFillColor(38);
#if ROOT_VERSION_CODE < ROOT_VERSION(6,5,1)
#if ROOT_VERSION_CODE < ROOT_VERSION(6,4,0)
hnames->SetBit(TH1::kCanRebin);
#endif
while ((volMon=(AliTransportMonitorVol*)next())) {
Expand Down

0 comments on commit abe655c

Please sign in to comment.