]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/totEt/AliAnalysisEtSelectionHandler.h
coverity fix - checked fCentrality before usage
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisEtSelectionHandler.h
CommitLineData
a7ae9b24 1//_________________________________________________________________________
2// Utility Class for transverse energy studies
3// for handling event selection
4//
5//
6//*-- Authors: Oystein Djuvsland (Bergen)
7//_________________________________________________________________________//
17110fb4 8#ifndef ALIANALYSISETSELECTIONHANDLER_H
9#define ALIANALYSISETSELECTIONHANDLER_H
10
11#include "TObject.h"
12#include "AliAnalysisEtSelectionContainer.h"
13
14class AliPhysicsSelection;
15
16class AliAnalysisEtSelectionHandler : public TObject
17{
18
19public:
20 AliAnalysisEtSelectionHandler();
21
22 AliAnalysisEtSelectionHandler(const char *name);
23
24 virtual ~AliAnalysisEtSelectionHandler();
25
26 AliPhysicsSelection* GetPhysicsSelection(Int_t runNumber) { return fSelections->GetPhysicsSelection(runNumber); }
27
28 AliPhysicsSelection* GetDefaultPhysicsSelection() { return fSelections->GetDefaultPhysicsSelection(); }
29
30 AliAnalysisEtSelectionContainer* GetSelectionContainer() const { return fSelections; }
31
32 AliAnalysisEtSelectionHandler(const AliAnalysisEtSelectionHandler& other);
33
34 AliAnalysisEtSelectionHandler& operator=(const AliAnalysisEtSelectionHandler& other);
35
36 private:
37
38 AliAnalysisEtSelectionContainer *fSelections; //! The selection container
39
40
41
42
43 ClassDef(AliAnalysisEtSelectionHandler, 1);
44
45
46};
47
48#endif // ALIANALYSISETSELECTIONHANDLER_H