]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliVCuts.cxx
Fix Coverity reports
[u/mrichter/AliRoot.git] / STEER / AliVCuts.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2007, 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 //-------------------------------------------------------------------------
19 //     Event cuts base class
20 //     Author: Markus Oldenburg, CERN
21 //-------------------------------------------------------------------------
22
23 #include "AliVCuts.h"
24
25 ClassImp(AliVCuts)
26
27 //______________________________________________________________________________
28 AliVCuts::AliVCuts() : 
29   TNamed("Cuts","") { } // default constructor 
30
31 AliVCuts::AliVCuts(const char* name, const char* title) :
32   TNamed(name, title) { } 
33 //______________________________________________________________________________
34 AliVCuts::AliVCuts(const AliVCuts& cuts) :
35   TNamed(cuts) {} // Copy constructor
36
37 //______________________________________________________________________________
38 AliVCuts& AliVCuts::operator=(const AliVCuts& cuts)
39 {
40   // Assignment operator
41   if(this!=&cuts) { 
42     TNamed::operator=(cuts);
43   }
44   return *this;
45 }