]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/RESONANCES/AliRsnPairManager.h
Modifications in analysis tasks for train
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnPairManager.h
CommitLineData
5eb970a4 1//
2// Class AliRsnPairManager
3//
4// A collection of pairs for an analysis.
5// The function of this collection is just for purposes of well-sorting
6// the analyzed pairs into upper-level groups, in the case of a wide
7// analysis containing many resonances at once, or different settings for the same one.
8//
9// Each PairManager will result in a separate list of histograms, which
10// can be seen as a folder in the output file, named after this object.
11//
12// This object inherits from AliRsnVManager, and "forces" the type of the
13// stored objects to be of the "AliRsnPair" class.
14// No further data members are added.
15//
16// author: M. Vala (email: martin.vala@cern.ch)
17//
18
4fbb2459 19#ifndef ALIRSNPAIRMANAGER_H
20#define ALIRSNPAIRMANAGER_H
21// #include <TObject.h>
5eb970a4 22#include "AliRsnVManager.h"
5eb970a4 23
4fbb2459 24class TList;
25
26class AliRsnPair;
27class AliRsnPairManager;
28class AliRsnPIDIndex;
29class AliRsnEvent;
5eb970a4 30class AliRsnPairManager : public AliRsnVManager
31{
32 public:
33
34 AliRsnPairManager(const char *name = "defaultPairMgr");
4fbb2459 35 virtual ~AliRsnPairManager() {;};
5eb970a4 36
e79f56bd 37 //virtual void Add(AliRsnPair *pair);
38 virtual void Add(TObject *pair);
4fbb2459 39 virtual void AddPair(AliRsnPair *pair);
5eb970a4 40 virtual void PrintArray() const;
41 virtual void Print(Option_t *option = "") const;
42
4fbb2459 43 void InitAllPairs(TList* list);
44 void ProcessAllPairs(AliRsnPIDIndex *pidIndexes1, AliRsnEvent *ev1, AliRsnPIDIndex *pidIndexes2 = 0, AliRsnEvent *ev2 = 0);
5eb970a4 45
46 private:
47
48 ClassDef(AliRsnPairManager, 1)
49};
50
51#endif