10 #include "AliEMCALRecoUtils.h"
26 fEnergyExoticClusters(0)
66 fEtaPhiDistBefore =
new TH2F(
"hEtaPhiDistBefore",
"hEtaPhiDistBefore;#eta;#phi",280,-0.7,0.7,200*3.14,0,2*3.14);
68 fEtaPhiDistAfter =
new TH2F(
"hEtaPhiDistAfter",
"hEtaPhiDistAfter;#eta;#phi",280,-0.7,0.7,200*3.14,0,2*3.14);
70 fEnergyExoticClusters =
new TH1F(
"fEnergyExoticClusters",
"fEnergyExoticClusters;E_{ex clus} (GeV)",1500,0,150);
86 AliVCluster *clus = 0;
89 while ((clusCont = static_cast<AliClusterContainer*>(nextClusCont()))) {
91 if (!clusCont)
continue;
95 clus =
static_cast<AliVCluster *
>(clusIterator->second);
97 if (!clus->IsEMCAL())
continue;
101 clus->GetPosition(pos);
114 if (!exRemoval)
fRecoUtils->SwitchOffRejectExoticCell();
116 clus->SetIsExotic(exResult);
126 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()
ClassImp(AliAnalysisTaskCRC) AliAnalysisTaskCRC
static RegisterCorrectionComponent< AliEmcalCorrectionClusterExotics > reg
TH2F * fEtaPhiDistBefore
!eta/phi distribution before
virtual ~AliEmcalCorrectionClusterExotics()
Container structure for EMCAL clusters.
AliEmcalCorrectionClusterExotics()
bool GetProperty(std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="")
Retrieve property.