33 fNameClusterContainer(""),
34 fNameMCParticleContainer(""),
35 fNameTrackContainer("")
46 fNameClusterContainer(
""),
47 fNameMCParticleContainer(
""),
48 fNameTrackContainer(
"")
68 const int kNcontNames = 3, kNiterNames = 2;
69 TString containernames[kNcontNames] = {
"ClusterContainer",
"MCParticleContainer",
"TrackContainer"},
70 iternames[kNiterNames] = {
"Accept",
"All"};
71 for(
int icont = 0; icont < kNcontNames; icont++)
72 for(
int iiter = 0; iiter < kNiterNames; iiter++)
74 Form(
"hTest%sIter%s", containernames[icont].
Data(), iternames[iiter].
Data()),
75 Form(
"Test results for container %s and iterator %s", containernames[icont].
Data(), iternames[iiter].
Data()),
114 fHistos->
FillTH1(
"hTestMCParticleContainerIterAccept", testresult);
TString fNameMCParticleContainer
Name of the cluster container.
Base task in the EMCAL framework.
Container with name, TClonesArray and cuts for particles.
THistManager * fHistos
! Histogram manager
Unit test for the c++ stl iterators in the EMCAL containers.
TString fNameClusterContainer
THashList * GetListOfHistograms() const
Get the list of histograms.
TH1 * CreateTH1(const char *name, const char *title, int nbins, double xmin, double xmax, Option_t *opt="")
Create a new TH1 within the container.
AliClusterContainer * GetClusterContainer(Int_t i=0) const
Get cluster container attached to this task.
TString fNameTrackContainer
Name of the MC particle container.
void FillTH1(const char *hname, double x, double weight=1., Option_t *opt="")
Fill a 1D histogram within the container.
Bool_t Data(TH1F *h, Double_t *rangefit, Bool_t writefit, Double_t &sgn, Double_t &errsgn, Double_t &bkg, Double_t &errbkg, Double_t &sgnf, Double_t &errsgnf, Double_t &sigmafit, Int_t &status)
AliAnalysisTaskEmcalIteratorTest()
AliEmcalList * fOutput
!output list
int TestClusterContainerIterator(const AliClusterContainer *const cont, int iteratorType, bool verbose)
AliMCParticleContainer * GetMCParticleContainer(Int_t i=0) const
ClassImp(AliAnalysisTaskCRC) AliAnalysisTaskCRC
AliTrackContainer * GetTrackContainer(Int_t i=0) const
Container class for histograms.
int TestParticleContainerIterator(const AliParticleContainer *const cont, int iteratorType, bool verbose)
void UserCreateOutputObjects()
Main initialization function on the worker.
virtual void UserCreateOutputObjects()
virtual ~AliAnalysisTaskEmcalIteratorTest()
Container structure for EMCAL clusters.
Container for MC-true particles within the EMCAL framework.