fClusIdFromTracks(""),
fCpvFromTrack(kFALSE),
fNBinsPt(200),
- fPtBinLowEdge(-0.25),
- fPtBinHighEdge(99.75),
+ fPtBinLowEdge(0),
+ fPtBinHighEdge(100),
fRemMatchClus(kFALSE),
fMinIsoClusE(0),
fNCuts(5),
fTrCoreRem(kFALSE),
fClusTDiff(30e-9),
fPileUpRejSPD(kFALSE),
+ fDistToBadChan(0),
fESD(0),
fAOD(0),
fVEvent(0),
fClusIdFromTracks(""),
fCpvFromTrack(kFALSE),
fNBinsPt(200),
- fPtBinLowEdge(-0.25),
- fPtBinHighEdge(99.75),
+ fPtBinLowEdge(0.),
+ fPtBinHighEdge(100),
fRemMatchClus(kFALSE),
fMinIsoClusE(0),
fNCuts(5),
fTrCoreRem(kFALSE),
fClusTDiff(30e-9),
fPileUpRejSPD(kFALSE),
+ fDistToBadChan(0),
fESD(0),
fAOD(0),
fVEvent(0),
printf("cluster is exotic! xxxx\n");
continue;
}
+ if(c->GetDistanceToBadChannel()<fDistToBadChan){
+ if(fDebug)
+ printf("cluster distance to bad channel is %1.1f (<%1.1f) xxxx\n",c->GetDistanceToBadChannel(),fDistToBadChan);
+ continue;
+ }
Short_t id;
Double_t Emax = GetMaxCellEnergy( c, id);
if(fDebug)
void SetMinIsoClusE(Double_t emin) { fMinIsoClusE = emin; }
void SetTrCoreRemoval(Bool_t b) { fTrCoreRem = b; }
void SetClusTDiff(Double_t diff) { fClusTDiff = diff; }
- void SetPileUpRejSPD() { fPileUpRejSPD = kTRUE; }
+ void SetPileUpRejSPD() { fPileUpRejSPD = kTRUE; }
+ void SetDistanceToBadCh(Double_t d) { fDistToBadChan = d; }
protected:
TObjArray *fESDClusters; //!pointer to EMCal clusters
TObjArray *fAODClusters; //!pointer to EMCal clusters
Bool_t fTrCoreRem; // flag to set the removal of the core in track isolation (true removes it, default)
Double_t fClusTDiff; // variable to hold the time diff between the candidate cluster and the isolation clusters
Bool_t fPileUpRejSPD; // flag to set pile-up rejection via SPD (multiple vertices)
+ Double_t fDistToBadChan; // distance to bad channel
private:
AliESDEvent *fESD; //! ESD object
TString trigbitname = "kEMC7",
TString geoname="EMCAL_COMPLETEV1",
TString pathstrsel = "/",
- TString trackSelType = "standard"
+ TString trackSelType = "standard",
+ Int_t distToBadCh = 0
)
{
// Get the pointer to the existing analysis manager via the static access method.
ana->SetPeriod(period.Data());
ana->SetGeoName(geoname.Data());
//ana->SetTrackFilterBit(128);
+ ana->SetDistanceToBadCh(distToBadCh);
mgr->AddTask(ana);
TString containername = "histEMCIsoPhoton."+trigbitname;
TString containernameQA = "histosQA."+trigbitname;