1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 /////////////////////////////////////////////////////////////
20 // base class for AOD particles
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.
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.
32 /////////////////////////////////////////////////////////////
34 #include "AliVAODParticle.h"
36 Int_t AliVAODParticle::fgDebug = 0;
38 ClassImp(AliVAODParticle)
40 void AliVAODParticle::Clear(Option_t * /*option*/)
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","!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
51 //______________________________________________________________________________
53 AliVAODParticle::AliVAODParticle(const AliVAODParticle& in):
57 // Info("AliVAODParticle(const AliVAODParticle& in)","");
59 //______________________________________________________________________________
62 AliVAODParticle& AliVAODParticle::operator=(const AliVAODParticle& /*in*/)
65 Info("operator=(const AliVAODParticle& in)","Implement opertator= in your particle!!!");