#include "AliITSV0Finder.h"
#include "AliITStrackerMI.h"
#include "AliMathBase.h"
+#include "AliPID.h"
ClassImp(AliITStrackerMI)
if (AliITSReconstructor::GetRecoParam()->GetComputePlaneEff() &&
AliITSReconstructor::GetRecoParam()->GetIPlanePlaneEff()>=0) {
Int_t iplane=AliITSReconstructor::GetRecoParam()->GetIPlanePlaneEff();
- if(!AliITSReconstructor::GetRecoParam()->GetLayersToSkip(iplane)==1)
+ if(AliITSReconstructor::GetRecoParam()->GetLayersToSkip(iplane)!=1)
AliWarning(Form("Evaluation of Plane Eff for layer %d will be attempted without removing it from tracker",iplane));
if (iplane<2) {
fPlaneEff = new AliITSPlaneEffSPD();
Float_t q = 0.; // this identifies virtual clusters
Float_t hit[6] = {xdead,
0.,
- AliITSReconstructor::GetRecoParam()->GetSigmaXDeadZoneHit2(),
- AliITSReconstructor::GetRecoParam()->GetSigmaZDeadZoneHit2(),
+ static_cast<Float_t>(AliITSReconstructor::GetRecoParam()->GetSigmaXDeadZoneHit2()),
+ static_cast<Float_t>(AliITSReconstructor::GetRecoParam()->GetSigmaZDeadZoneHit2()),
q,
0.};
Bool_t local = kTRUE;
//
// transfer the time integral to ESD track
esd->SetStatus(AliESDtrack::kTIME);
- Double_t times[10];t.GetIntegratedTimes(times); esd->SetIntegratedTimes(times);
+ Double_t times[AliPID::kSPECIESC];
+ t.GetIntegratedTimes(times,AliPID::kSPECIESC);
+ esd->SetIntegratedTimes(times);
esd->SetIntegratedLength(t.GetIntegratedLength());
//
if ((esd->GetStatus()&AliESDtrack::kITSin)==0) continue;
// update TPC V0 information
//
if (otrack->GetESDtrack()->GetV0Index(0)>0){
- Float_t fprimvertex[3]={GetX(),GetY(),GetZ()};
+ Float_t fprimvertex[3]={static_cast<Float_t>(GetX()),static_cast<Float_t>(GetY()),static_cast<Float_t>(GetZ())};
for (Int_t i=0;i<3;i++){
Int_t index = otrack->GetESDtrack()->GetV0Index(i);
if (index==0) break;