}
fCentBin= -1;
fGoodEvent = kTRUE;//for p+p collisions if we made it this far we have a good event
- if(fDataSet==20100){//If this is Pb+Pb
+ if(fDataSet==20100){//If this is Pb+Pb or pPb
AliCentrality *centrality = realEvent->GetCentrality();
if(fNCentBins<21) fCentBin= centrality->GetCentralityClass10(fCentralityMethod);
else{ fCentBin= centrality->GetCentralityClass5(fCentralityMethod);}
- if(fCentBin ==-1) fGoodEvent = kFALSE;//but for Pb+Pb events we don't want to count events where we did not find a centrality
+ if(fCentBin ==-1){
+ if(fDataSet==2013){
+ fCentBin = 19;//For pPb we don't want to throw these events out but there is no CB 19
+ }
+ else{
+ fGoodEvent = kFALSE;//but for Pb+Pb events we don't want to count events where we did not find a centrality
+ }
+ }
}
//for PID
AliESDpid *pID = new AliESDpid();
Float_t maxEt = 100.0;
Float_t minEtPiKP = 0.0;
Float_t maxEtPiKP = 50.0;
- if(fDataSet==20100) maxEt=4000.0;
+ if(fDataSet==20100){
+ maxEt=4000.0;
+ maxEtPiKP = 2500;
+ }
+ if(fDataSet==2013){
+ maxEt=100.0;
+ maxEtPiKP = 100.0;
+ }
Int_t nbinsEt = 200;
char histoname[200];
char histotitle[200];
CreateHisto1D(histoname,histotitle,xtitle,ytitle->Data(),nbinsEt*2,minEtPiKP,maxEtPiKP);//et
}
- if(fDataSet==20100 && type ==0 &&pid==1){//If this is Pb+Pb and full acceptance with pid
+ if((fDataSet==20100) && type ==0 &&pid==1){//If this is Pb+Pb and full acceptance with pid
Int_t width = 5;
if(fNCentBins<21) width = 10;
for(Int_t i=0;i<fNCentBins;i++){