]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/AliAnalysisCuts.cxx
Adapt the VZERO equalized signal Tender for AOD analyses
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisCuts.cxx
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 ClassImp(AliAnalysisCuts)
27
28
29 ////////////////////////////////////////////////////////////////////////
30
31 AliAnalysisCuts::AliAnalysisCuts():
32     AliVCuts(), fFilterMask(0), fSelected(kFALSE)
33 {
34   // Default constructor
35 }
36
37 AliAnalysisCuts::AliAnalysisCuts(const char* name, const char* title):
38     AliVCuts(name, title), fFilterMask(0), fSelected(kFALSE)
39 {
40   // Constructor
41 }
42
43 AliAnalysisCuts::AliAnalysisCuts(const AliAnalysisCuts& obj):
44     AliVCuts(obj), fFilterMask(obj.fFilterMask), fSelected(obj.fSelected)
45 {
46 }
47
48 AliAnalysisCuts& AliAnalysisCuts::operator=(const AliAnalysisCuts& obj)
49 {
50   // Assignment operator
51   if ( this != &obj ) { 
52     AliVCuts::operator=(obj);
53     fFilterMask = obj.fFilterMask;
54     fSelected = obj.fSelected;
55   }
56   return *this;
57 }
58