Line data Source code
1 : /**************************************************************************
2 : * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 : * *
4 : * Author: The ALICE Off-line Project. *
5 : * Contributors are mentioned in the code where appropriate. *
6 : * *
7 : * Permission to use, copy, modify and distribute this software and its *
8 : * documentation strictly for non-commercial purposes is hereby granted *
9 : * without fee, provided that the above copyright notice appears in all *
10 : * copies and that both the copyright notice and this permission notice *
11 : * appear in the supporting documentation. The authors make no claims *
12 : * about the suitability of this software for any purpose. It is *
13 : * provided "as is" without express or implied warranty. *
14 : **************************************************************************/
15 :
16 : /* $Id$ */
17 :
18 : // Base class for analysis cuts
19 : // Author Andreas Morsch
20 : // andreas.morsch@cern.ch
21 :
22 : #include <TObject.h>
23 : #include "AliAnalysisCuts.h"
24 :
25 :
26 170 : ClassImp(AliAnalysisCuts)
27 :
28 :
29 : ////////////////////////////////////////////////////////////////////////
30 :
31 : AliAnalysisCuts::AliAnalysisCuts():
32 0 : AliVCuts(), fFilterMask(0), fSelected(kFALSE)
33 0 : {
34 : // Default constructor
35 0 : }
36 :
37 : AliAnalysisCuts::AliAnalysisCuts(const char* name, const char* title):
38 48 : AliVCuts(name, title), fFilterMask(0), fSelected(kFALSE)
39 72 : {
40 : // Constructor
41 24 : }
42 :
43 : AliAnalysisCuts::AliAnalysisCuts(const AliAnalysisCuts& obj):
44 0 : AliVCuts(obj), fFilterMask(obj.fFilterMask), fSelected(obj.fSelected)
45 0 : {
46 0 : }
47 :
48 : AliAnalysisCuts& AliAnalysisCuts::operator=(const AliAnalysisCuts& obj)
49 : {
50 : // Assignment operator
51 0 : if ( this != &obj ) {
52 0 : AliVCuts::operator=(obj);
53 0 : fFilterMask = obj.fFilterMask;
54 0 : fSelected = obj.fSelected;
55 0 : }
56 0 : return *this;
57 : }
58 :
|