Adding includes now needed by ROOT
[u/mrichter/AliRoot.git] / EVE / Reve / PODs.cxx
CommitLineData
5a5a1232 1// $Header$
2
0b28fd57 3#include <TClass.h>
4
5a5a1232 5#include "PODs.h"
6
7using namespace Reve;
8
9void Reve::DisablePODTObjectStreamers()
10{
11 // Vector is not TObject
12
13 // MCTrack derives from TParticle
14 TParticle::Class()->IgnoreTObjectStreamer(true);
15 MCTrackRef::Class()->IgnoreTObjectStreamer(true);
16
17 Hit::Class()->IgnoreTObjectStreamer(true);
18 Cluster::Class()->IgnoreTObjectStreamer(true);
19
20 RecTrack::Class()->IgnoreTObjectStreamer(true);
21 // RecKink derives from RecTrack
22
23 RecV0::Class()->IgnoreTObjectStreamer(true);
24
25 GenInfo::Class()->IgnoreTObjectStreamer(true);
26}
27
28//______________________________________________________________________
29// Point
30//
31
32ClassImp(Reve::Vector)
33
34Float_t Vector::Eta() const
35{
36 Float_t cosTheta = CosTheta();
37 if (cosTheta*cosTheta < 1) return -0.5* TMath::Log( (1.0-cosTheta)/(1.0+cosTheta) );
38 Warning("Eta","transverse momentum = 0! return +/- 10e10");
39 return (z >= 0) ? 10e10 : -10e10;
40}
41
42/**************************************************************************/
43/**************************************************************************/
44
2aef44c1 45//ClassImp(Hit)
46//ClassImp(RecTrack)