Fix from Salvatore for new framework
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisCuts.cxx
CommitLineData
7c38d6ee 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 **************************************************************************/
1b398ab4 15
16/* $Id$ */
7c38d6ee 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
26ClassImp(AliAnalysisCuts)
27
28
29////////////////////////////////////////////////////////////////////////
30
31AliAnalysisCuts::AliAnalysisCuts():
852a054d 32 AliVCuts(), fFilterMask(0), fSelected(kFALSE)
7c38d6ee 33{
34 // Default constructor
35}
36
37AliAnalysisCuts::AliAnalysisCuts(const char* name, const char* title):
852a054d 38 AliVCuts(name, title), fFilterMask(0), fSelected(kFALSE)
7c38d6ee 39{
40 // Constructor
41}
42
43AliAnalysisCuts::AliAnalysisCuts(const AliAnalysisCuts& obj):
c842d2a6 44 AliVCuts(obj), fFilterMask(obj.fFilterMask), fSelected(obj.fSelected)
7c38d6ee 45{
46}
16a495ef 47
48AliAnalysisCuts& 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