]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONGain.cxx
recover the detector tag int and not the string from the AOD particle
[u/mrichter/AliRoot.git] / MUON / AliMUONGain.cxx
index 0db771274bb97d8dfdd7ec87928dc54b17aeeede..8c3a0a6de9990150020736d49121937aad32c78c 100644 (file)
@@ -84,6 +84,10 @@ namespace {
   
 }
 
+using std::endl;
+using std::cout;
+using std::istringstream;
+using std::ostringstream;
 /// \cond CLASSIMP
 ClassImp(AliMUONGain)
 /// \endcond
@@ -488,7 +492,7 @@ void AliMUONGain::MakeGainStore(TString shuttleFile)
 
          // 1. - linear fit over gAlinbpf1 points
 
-         Double_t par[4] = {0.,0.5,0.,ADCMax()};
+         Double_t par[4] = {0.,0.5,0.,static_cast<Double_t>(ADCMax())};
          Int_t nbs   = nEntries - fnInit;
          if(nbs < fnbpf1)fnbpf1=nbs;