Replace calls to IsPrimary to checks on status since IsPrimary is not active on ESDs, and some cosmetics
Replace calls to IsPrimary to checks on status since IsPrimary is not active on ESDs, and some cosmetics

mbjadhav/AliPhysics,mpuccio/AliPhysics,fbellini/AliPhysics,jmargutt/AliPhysics,kreisl/AliPhysics,ALICEHLT/AliPhysics,rderradi/AliPhysics,lcunquei/AliPhysics,victor-gonzalez/AliPhysics,ppribeli/AliPhysics,sebaleh/AliPhysics,mpuccio/AliPhysics,mazimm/AliPhysics,lcunquei/AliPhysics,mkrzewic/AliPhysics,hzanoli/AliPhysics,SHornung1/AliPhysics,alisw/AliPhysics,kreisl/AliPhysics,dstocco/AliPhysics,victor-gonzalez/AliPhysics,alisw/AliPhysics,lfeldkam/AliPhysics,fcolamar/AliPhysics,mazimm/AliPhysics,preghenella/AliPhysics,jgronefe/AliPhysics,lfeldkam/AliPhysics,lfeldkam/AliPhysics,nschmidtALICE/AliPhysics,rihanphys/AliPhysics,mkrzewic/AliPhysics,alisw/AliPhysics,dlodato/AliPhysics,pchrista/AliPhysics,lcunquei/AliPhysics,rbailhac/AliPhysics,carstooon/AliPhysics,rderradi/AliPhysics,SHornung1/AliPhysics,sebaleh/AliPhysics,sebaleh/AliPhysics,mvala/AliPhysics,fcolamar/AliPhysics,fcolamar/AliPhysics,mkrzewic/AliPhysics,amaringarcia/AliPhysics,akubera/AliPhysics,ppribeli/AliPhysics,victor-gonzalez/AliPhysics,mpuccio/AliPhysics,SHornung1/AliPhysics,carstooon/AliPhysics,btrzecia/AliPhysics,mazimm/AliPhysics,amaringarcia/AliPhysics,rderradi/AliPhysics,sebaleh/AliPhysics,yowatana/AliPhysics,fcolamar/AliPhysics,amaringarcia/AliPhysics,lcunquei/AliPhysics,mbjadhav/AliPhysics,yowatana/AliPhysics,jmargutt/AliPhysics,rderradi/AliPhysics,mkrzewic/AliPhysics,nschmidtALICE/AliPhysics,rihanphys/AliPhysics,mazimm/AliPhysics,hcab14/AliPhysics,jgronefe/AliPhysics,lfeldkam/AliPhysics,pbuehler/AliPhysics,rihanphys/AliPhysics,akubera/AliPhysics,fcolamar/AliPhysics,rihanphys/AliPhysics,hcab14/AliPhysics,jmargutt/AliPhysics,pbuehler/AliPhysics,sebaleh/AliPhysics,ppribeli/AliPhysics,ALICEHLT/AliPhysics,yowatana/AliPhysics,mvala/AliPhysics,preghenella/AliPhysics,pchrista/AliPhysics,pchrista/AliPhysics,dlodato/AliPhysics,fbellini/AliPhysics,kreisl/AliPhysics,rderradi/AliPhysics,amatyja/AliPhysics,adriansev/AliPhysics,AudreyFrancisco/AliPhysics,alisw/AliPhysics,rbailhac/AliPhysics,preghenella/AliPhysics,fcolamar/AliPhysics,hzanoli/AliPhysics,lfeldkam/AliPhysics,AudreyFrancisco/AliPhysics,hcab14/AliPhysics,adriansev/AliPhysics,AudreyFrancisco/AliPhysics,hzanoli/AliPhysics,dstocco/AliPhysics,mpuccio/AliPhysics,mbjadhav/AliPhysics,kreisl/AliPhysics,jgronefe/AliPhysics,yowatana/AliPhysics,ppribeli/AliPhysics,rihanphys/AliPhysics,carstooon/AliPhysics,btrzecia/AliPhysics,rihanphys/AliPhysics,AMechler/AliPhysics,mkrzewic/AliPhysics,nschmidtALICE/AliPhysics,akubera/AliPhysics,kreisl/AliPhysics,dlodato/AliPhysics,akubera/AliPhysics,nschmidtALICE/AliPhysics,victor-gonzalez/AliPhysics,lcunquei/AliPhysics,carstooon/AliPhysics,pchrista/AliPhysics,mvala/AliPhysics,mvala/AliPhysics,dlodato/AliPhysics,pbuehler/AliPhysics,fbellini/AliPhysics,rbailhac/AliPhysics,mpuccio/AliPhysics,mvala/AliPhysics,dlodato/AliPhysics,ppribeli/AliPhysics,dmuhlhei/AliPhysics,jgronefe/AliPhysics,rbailhac/AliPhysics,yowatana/AliPhysics,mazimm/AliPhysics,dlodato/AliPhysics,mkrzewic/AliPhysics,mbjadhav/AliPhysics,hzanoli/AliPhysics,mvala/AliPhysics,carstooon/AliPhysics,sebaleh/AliPhysics,btrzecia/AliPhysics,ppribeli/AliPhysics,preghenella/AliPhysics,amaringarcia/AliPhysics,jmargutt/AliPhysics,mbjadhav/AliPhysics,amatyja/AliPhysics,alisw/AliPhysics,carstooon/AliPhysics,adriansev/AliPhysics,fbellini/AliPhysics,alisw/AliPhysics,rbailhac/AliPhysics,carstooon/AliPhysics,lfeldkam/AliPhysics,hzanoli/AliPhysics,AudreyFrancisco/AliPhysics,amaringarcia/AliPhysics,amatyja/AliPhysics,dmuhlhei/AliPhysics,AMechler/AliPhysics,adriansev/AliPhysics,mbjadhav/AliPhysics,mpuccio/AliPhysics,rderradi/AliPhysics,yowatana/AliPhysics,akubera/AliPhysics,dstocco/AliPhysics,ppribeli/AliPhysics,kreisl/AliPhysics,mazimm/AliPhysics,SHornung1/AliPhysics,jgronefe/AliPhysics,nschmidtALICE/AliPhysics,AMechler/AliPhysics,btrzecia/AliPhysics,fbellini/AliPhysics,dmuhlhei/AliPhysics,jmargutt/AliPhysics,hzanoli/AliPhysics,AudreyFrancisco/AliPhysics,pbuehler/AliPhysics,preghenella/AliPhysics,lcunquei/AliPhysics,SHornung1/AliPhysics,pbuehler/AliPhysics,SHornung1/AliPhysics,ALICEHLT/AliPhysics,rbailhac/AliPhysics,pchrista/AliPhysics,btrzecia/AliPhysics,jgronefe/AliPhysics,AMechler/AliPhysics,btrzecia/AliPhysics,victor-gonzalez/AliPhysics,adriansev/AliPhysics,AMechler/AliPhysics,amatyja/AliPhysics,victor-gonzalez/AliPhysics,pchrista/AliPhysics,pbuehler/AliPhysics,ALICEHLT/AliPhysics,rihanphys/AliPhysics,AMechler/AliPhysics,preghenella/AliPhysics,jmargutt/AliPhysics,rbailhac/AliPhysics,amatyja/AliPhysics,sebaleh/AliPhysics,jgronefe/AliPhysics,adriansev/AliPhysics,ALICEHLT/AliPhysics,dstocco/AliPhysics,mazimm/AliPhysics,lfeldkam/AliPhysics,dstocco/AliPhysics,hcab14/AliPhysics,mbjadhav/AliPhysics,yowatana/AliPhysics,nschmidtALICE/AliPhysics,dstocco/AliPhysics,dstocco/AliPhysics,ALICEHLT/AliPhysics,hcab14/AliPhysics,fcolamar/AliPhysics,pchrista/AliPhysics,SHornung1/AliPhysics,jmargutt/AliPhysics,adriansev/AliPhysics,akubera/AliPhysics,lcunquei/AliPhysics,hzanoli/AliPhysics,alisw/AliPhysics,btrzecia/AliPhysics,AudreyFrancisco/AliPhysics,fbellini/AliPhysics,AMechler/AliPhysics,nschmidtALICE/AliPhysics,amatyja/AliPhysics,victor-gonzalez/AliPhysics,dmuhlhei/AliPhysics,amatyja/AliPhysics,mvala/AliPhysics,fbellini/AliPhysics,rderradi/AliPhysics,amaringarcia/AliPhysics,dmuhlhei/AliPhysics,pbuehler/AliPhysics,ALICEHLT/AliPhysics,preghenella/AliPhysics,akubera/AliPhysics,AudreyFrancisco/AliPhysics,hcab14/AliPhysics,dmuhlhei/AliPhysics,dmuhlhei/AliPhysics,dlodato/AliPhysics,kreisl/AliPhysics,amaringarcia/AliPhysics,mpuccio/AliPhysics,mkrzewic/AliPhysics,hcab14/AliPhysics