10 #include "AliEMCALRecoUtils.h" 26 fEnergyExoticClusters(0),
27 fExoticMinCellAmplitude(0),
29 fCellCrossMaxTimeDiff(0)
49 GetProperty(
"fExoticMinCellAmplitude", fExoticMinCellAmplitude);
53 GetProperty(
"fCellCrossMaxTimeDiff", fCellCrossMaxTimeDiff);
59 fRecoUtils->SetExoticCellMinAmplitudeCut(fExoticMinCellAmplitude);
60 fRecoUtils->SetExoticCellFractionCut(fMaxFcross);
61 fRecoUtils->SetExoticCellDiffTimeCut(fCellCrossMaxTimeDiff);
77 fEtaPhiDistBefore =
new TH2F(
"hEtaPhiDistBefore",
"hEtaPhiDistBefore;#eta;#phi",280,-0.7,0.7,200*3.14,0,2*3.14);
79 fEtaPhiDistAfter =
new TH2F(
"hEtaPhiDistAfter",
"hEtaPhiDistAfter;#eta;#phi",280,-0.7,0.7,200*3.14,0,2*3.14);
81 fEnergyExoticClusters =
new TH1F(
"fEnergyExoticClusters",
"fEnergyExoticClusters;E_{ex clus} (GeV)",1500,0,150);
97 AliVCluster *clus = 0;
100 while ((clusCont = static_cast<AliClusterContainer*>(nextClusCont()))) {
102 if (!clusCont)
continue;
106 clus =
static_cast<AliVCluster *
>(clusIterator->second);
108 if (!clus->IsEMCAL())
continue;
112 clus->GetPosition(pos);
125 if (!exRemoval)
fRecoUtils->SwitchOffRejectExoticCell();
127 clus->SetIsExotic(exResult);
137 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.