AliFemtoSimpleAnalysis - the most basic analysis there is. All other inherit from this one. Provides basic functionality for the analysis. To properly set up the analysis the following steps should be taken: - create particle cuts and add them via SetFirstParticleCut and SetSecondParticleCut. If one analyzes identical particle correlations, the first particle cut must be also the second particle cut. - create pair cuts and add them via SetPairCut - create one or many correlation functions and add them via AddCorrFctn method. - specify how many events are to be strored in the mixing buffer for background construction Then, when the analysis is run, for each event, the EventBegin is called before any processing is done, then the ProcessEvent is called which takes care of creating real and mixed pairs and sending them to all the registered correlation functions. At the end of each event, after all pairs are processed, EventEnd is called. After the whole analysis finishes (there is no more events to process) Finish() is called.
void | AddEventProcessed() |
void | MakePairs(const char* type, AliFemtoParticleCollection* ParticlesPassingCut1, AliFemtoParticleCollection* ParticlesPssingCut2 = 0) |
AliFemtoCorrFctnCollection* | fCorrFctnCollection | correlation functions of this analysis |
AliFemtoEventCut* | fEventCut | cut to select events |
AliFemtoParticleCut* | fFirstParticleCut | select particles of type #1 |
unsigned int | fMinSizePartCollection | Don't use event if it has fewer than this many particles passing ParticleCuts default 0 |
list<AliFemtoPicoEvent*,allocator<AliFemtoPicoEvent*> >* | fMixingBuffer | mixing buffer used in this simplest analysis |
unsigned int | fNeventsProcessed | How many events processed so far |
unsigned int | fNumEventsToMix | How many "previous" events get mixed with this one, to make background |
AliFemtoPairCut* | fPairCut | cut applied to pairs |
Bool_t | fPerformSharedDaughterCut | |
AliFemtoPicoEvent* | fPicoEvent | ! The current event, in the small (pico) form |
AliFemtoPicoEventCollectionVectorHideAway* | fPicoEventCollectionVectorHideAway | ! Mixing Buffer used for Analyses which wrap this one |
AliFemtoParticleCut* | fSecondParticleCut | select particles of type #2 |
Bool_t | fVerbose |
Copy constructor AliFemtoSimpleAnalysis();
Build pairs, check pair cuts, and call CFs' AddRealPair() or AddMixedPair() methods. If no second particle collection is specfied, make pairs within first particle collection.
Perform initialization operations at the beginning of the event processing cout << " AliFemtoSimpleAnalysis::EventBegin(const AliFemtoEvent* ev) " << endl;
Fiinsh operations at the end of event processing
{fCorrFctnCollection->push_back(cf); cf->SetAnalysis((AliFemtoAnalysis*)this);}
{fFirstParticleCut = x; x->SetAnalysis((AliFemtoAnalysis*)this);}
{fSecondParticleCut = x; x->SetAnalysis((AliFemtoAnalysis*)this);}