,fClusterPositionAllEnergy(0)
,fClusterEnergy(0)
,fClusterEnergyCent(0)
+ ,fClusterEnergyModifiedTrackMatchesCent(0)
,fClusterEnergyCentMatched(0)
,fClusterEnergyCentNotMatched(0)
,fClusterEt(0)
delete fClusterPositionAllEnergy;
delete fClusterEnergy;
delete fClusterEnergyCent;
+ delete fClusterEnergyModifiedTrackMatchesCent;
delete fClusterEnergyCentMatched;
delete fClusterEnergyCentNotMatched;
delete fClusterEt;
// if(fReconstructedE - fsub* track->P() > 0.0){
fReconstructedE = fReconstructedE - fsub* track->P();
matched = kFALSE;
+ fClusterEnergyModifiedTrackMatchesCent->Fill(GetCorrectionModification(*cluster,0,0,cent)*fReconstructedE,cent);
}
}
}
list->Add(fClusterPositionAllEnergy);
list->Add(fClusterEnergy);
list->Add(fClusterEnergyCent);
+ list->Add(fClusterEnergyModifiedTrackMatchesCent);
list->Add(fClusterEnergyCentMatched);
list->Add(fClusterEnergyCentNotMatched);
list->Add(fClusterEt);
fClusterEnergyCent->SetYTitle("Centrality Bin");
fClusterEnergyCent->SetZTitle("Number of clusters");
+ histname = "fClusterEnergyModifiedTrackMatchesCent" + fHistogramNameSuffix;
+ fClusterEnergyModifiedTrackMatchesCent = new TH2F(histname.Data(), histname.Data(), 100, 0, 5,20,-0.5,19.5);
+ fClusterEnergyModifiedTrackMatchesCent->SetXTitle("Energy of cluster");
+ fClusterEnergyModifiedTrackMatchesCent->SetYTitle("Centrality Bin");
+ fClusterEnergyModifiedTrackMatchesCent->SetZTitle("Number of clusters");
+
histname = "fClusterEnergyCentMatched" + fHistogramNameSuffix;
fClusterEnergyCentMatched = new TH2F(histname.Data(), histname.Data(), 100, 0, 5,20,-0.5,19.5);
fClusterEnergyCentMatched->SetXTitle("Energy of cluster");
TH2D *fClusterPositionAllEnergy;//! // Position of clusters
TH1F *fClusterEnergy;//! // Distribution of cluster energies
TH2F *fClusterEnergyCent;//! // Distribution of cluster energies vs centrality bin
+ TH2F *fClusterEnergyModifiedTrackMatchesCent;//! // Distribution of cluster energies vs centrality bin
TH2F *fClusterEnergyCentMatched;//! // Distribution of cluster energies vs centrality bin
TH2F *fClusterEnergyCentNotMatched;//! // Distribution of cluster energies vs centrality bin
TH1F *fClusterEt;//! // Distribution of cluster energies