]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/AliVAODParticle.cxx
- AliAnalysisWrapper owns data when put in the output list (PROOF) memory leak (AG)
[u/mrichter/AliRoot.git] / ANALYSIS / AliVAODParticle.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 /////////////////////////////////////////////////////////////
19 //
20 // base class for AOD particles
21 //
22 // Most of the methods defined in this base class (or even all of them)
23 // should be redefined in derived classes. Some methods like Pt() or
24 // Vx() have default implementation, but they are not optimised for
25 // performance. It is likely that they can be (and should be) implemented
26 // in the derived classes in a way which gives faster access.
27 //
28 // Algorithms and analysis classes should as much as possible use the
29 // interface of the base class instead of special methods of derived
30 // classes. This allows to run the code on all types of particles.
31 //
32 /////////////////////////////////////////////////////////////
33
34 #include "AliVAODParticle.h"
35
36 Int_t AliVAODParticle::fgDebug = 0;
37
38 ClassImp(AliVAODParticle)
39
40 void   AliVAODParticle::Clear(Option_t * /*option*/)
41 {
42 //Clear method
43 //It is necessary for storing particles in clones array
44   Error("Clear","!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
45   Error("Clear","error Error ERROR error Error ERROR");
46   Error("Clear","This Particle do not implement Clear Method");
47   Error("Clear","Clear Method must delete all dynamiclally allocalted memory");
48   Error("Clear","error Error ERROR error Error ERROR");
49   Error("Clear","!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
50 }
51 //______________________________________________________________________________
52
53 AliVAODParticle::AliVAODParticle(const AliVAODParticle& in):
54  TObject(in)
55 {
56  //Copy constructor
57 // Info("AliVAODParticle(const AliVAODParticle& in)","");
58 }
59 //______________________________________________________________________________
60
61
62 AliVAODParticle& AliVAODParticle::operator=(const AliVAODParticle& /*in*/)
63 {
64 //assigment operator
65   Info("operator=(const AliVAODParticle& in)","Implement opertator= in your particle!!!");
66   return *this;
67 }
68