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 //--------------------------------------------------
19 // Filling of CalTrkEvent objects in the reader task
21 // Author: magali.estienne@subatech.in2p3.fr
22 // alexandre.shabetai@cern.ch
23 //-------------------------------------------------
25 #include "AliJetFillCalTrkEvent.h"
27 // --- ROOT system ---
33 // --- AliRoot header files ---
37 class AliJetReaderHeader;
38 class AliJetCalTrkEvent;
40 ClassImp(AliJetFillCalTrkEvent)
42 /////////////////////////////////////////////////////////////////////
44 AliJetFillCalTrkEvent::AliJetFillCalTrkEvent() :
54 //-----------------------------------------------------------------------
55 AliJetFillCalTrkEvent::AliJetFillCalTrkEvent(const AliJetFillCalTrkEvent& cpfrom) :
64 fDebug = cpfrom.fDebug;
65 fReaderHeader = cpfrom.fReaderHeader;
66 fCalTrkEvent = cpfrom.fCalTrkEvent;
70 //-----------------------------------------------------------------------
71 AliJetFillCalTrkEvent& AliJetFillCalTrkEvent::operator=(const AliJetFillCalTrkEvent& rhs)
73 // Assignment operator
77 fReaderHeader = rhs.fReaderHeader;
78 fCalTrkEvent = rhs.fCalTrkEvent;
86 //-----------------------------------------------------------------------
87 AliJetFillCalTrkEvent::~AliJetFillCalTrkEvent()
92 //-----------------------------------------------------------------------
93 Float_t AliJetFillCalTrkEvent::EtaToTheta(Float_t arg)
95 // Transform eta to theta
96 return 2.*atan(exp(-arg));