10 #include "AliEMCALRecoUtils.h"
26 fEnergyExoticClusters(0),
27 fExoticMinCellAmplitude(0),
29 fCellCrossMaxTimeDiff(0)
51 GetProperty(
"fExoticMinCellAmplitude", fExoticMinCellAmplitude);
55 GetProperty(
"fCellCrossMaxTimeDiff", fCellCrossMaxTimeDiff);
61 fRecoUtils->SetExoticCellMinAmplitudeCut(fExoticMinCellAmplitude);
62 fRecoUtils->SetExoticCellFractionCut(fMaxFcross);
63 fRecoUtils->SetExoticCellDiffTimeCut(fCellCrossMaxTimeDiff);
79 fEtaPhiDistBefore =
new TH2F(
"hEtaPhiDistBefore",
"hEtaPhiDistBefore;#eta;#phi",280,-0.7,0.7,200*3.14,0,2*3.14);
81 fEtaPhiDistAfter =
new TH2F(
"hEtaPhiDistAfter",
"hEtaPhiDistAfter;#eta;#phi",280,-0.7,0.7,200*3.14,0,2*3.14);
83 fEnergyExoticClusters =
new TH1F(
"fEnergyExoticClusters",
"fEnergyExoticClusters;E_{ex clus} (GeV)",1500,0,150);
99 AliVCluster *clus = 0;
102 while ((clusCont = static_cast<AliClusterContainer*>(nextClusCont()))) {
104 if (!clusCont)
continue;
108 clus =
static_cast<AliVCluster *
>(clusIterator->second);
110 if (!clus->IsEMCAL())
continue;
114 clus->GetPosition(pos);
127 if (!exRemoval)
fRecoUtils->SwitchOffRejectExoticCell();
129 clus->SetIsExotic(exResult);
139 clus->GetPosition(pos);
void UserCreateOutputObjects()
Exotic cluster removal in the EMCal correction framework.
bidirectional stl iterator over the EMCAL iterable container
virtual void UserCreateOutputObjects()
AliVCaloCells * fCaloCells
! Pointer to CaloCells
TH2F * fEtaPhiDistAfter
!eta/phi distribution after
AliEMCALRecoUtils * fRecoUtils
Pointer to RecoUtils.
TObjArray fClusterCollArray
Cluster collection array.
TH1F * fEnergyExoticClusters
!energy of exotic clusters
Base class for correction components in the EMCal correction framework.
TList * fOutput
! List of output histograms
Bool_t fCreateHisto
Flag to make some basic histograms.
const AliClusterIterableMomentumContainer all_momentum() const
virtual Bool_t Initialize()
static RegisterCorrectionComponent< AliEmcalCorrectionClusterExotics > reg
TH2F * fEtaPhiDistBefore
!eta/phi distribution before
Float_t fCellCrossMaxTimeDiff
Max time difference allowed between leading cell and cross cells (in ns)
virtual ~AliEmcalCorrectionClusterExotics()
Container structure for EMCAL clusters.
AliEmcalCorrectionClusterExotics()
Float_t fMaxFcross
Max value of Fcross = 1-Ecross/ecell allowed for clusters to pass exotic cut.
Float_t fExoticMinCellAmplitude
Min energy of leading cell in order for exotic cut to be attempted.
bool GetProperty(std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="")
Retrieve property.