CbmRoot
Loading...
Searching...
No Matches
PairAnalysisPairLegCuts.h
Go to the documentation of this file.
1#ifndef PAIRANALYSISPAIRLEGCUTS_H
2#define PAIRANALYSISPAIRLEGCUTS_H
3
4/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//#############################################################
8//# #
9//# Class PairAnalysisPairLegCuts #
10//# Manage Cuts on the legs of the pair #
11//# #
12//# Authors: #
13//# Julian Book, Uni Ffm / Julian.Book@cern.ch #
14//# #
15//#############################################################
16
17#include "AnalysisCuts.h"
18#include "AnalysisFilter.h"
19
21public:
29
31 PairAnalysisPairLegCuts(const char* name, const char* title);
33 //TODO: make copy constructor and assignment operator public
34 // and implement them
35
36 //
37 //AnalysisCuts interface
38 //
39 virtual Bool_t IsSelected(TObject* track);
40 virtual Bool_t IsSelected(TList* /* list */) { return kFALSE; }
41 // virtual Long64_t Merge(TCollection* /* list */) { return 0; }
42
45
46 void SetCutType(ECutType type) { fCutType = type; }
47 virtual void Print(const Option_t* option = "") const;
48
49private:
50 AnalysisFilter fFilterLeg1; // Analysis Filter for leg1
51 AnalysisFilter fFilterLeg2; // Analysis Filter for leg2
52
53 ECutType fCutType = kBothLegs; // Type of the cut
54
57
59 1) //Cut class providing cuts for both legs of a pair
60};
61
62#endif
ClassDef(AnalysisCuts, 1)
PairAnalysisPairLegCuts(const PairAnalysisPairLegCuts &c)
virtual Bool_t IsSelected(TObject *track)
virtual Bool_t IsSelected(TList *)
PairAnalysisPairLegCuts & operator=(const PairAnalysisPairLegCuts &c)
virtual void Print(const Option_t *option="") const