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