-#ifndef AliTRDtestBeam_h
-#define AliTRDtestBeam_h
+#ifndef AliTRDTESTBEAM_H
+#define AliTRDTESTBEAM_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
-/*
-The class to read the test beam 2007 data
-*/
+////////////////////////////////////////////////////////////////////////////
+// //
+// Class to handle the test beam data of 2007 //
+// //
+// Authors: //
+// Sylwester Radomski (radomski@physi.uni-heidelberg.de) //
+// Anton Andronic (A.Andronic@gsi.de) //
+// //
+////////////////////////////////////////////////////////////////////////////
//#define MAX_SI 2000
#include "TObject.h"
class AliTRDrawStreamV2;
-class AliTRDRawStreamTB;
+class AliTRDrawStream;
+
using namespace std;
class AliTRDtestBeam: public TObject {
AliTRDtestBeam(); // ctor
AliTRDtestBeam(const char *filename); // constructor
AliTRDtestBeam(const AliTRDtestBeam &tb);
- AliTRDtestBeam &operator=(const AliTRDtestBeam& /*tb*/) {return *this; }
+ AliTRDtestBeam& operator = (const AliTRDtestBeam& /*tb*/) { return *this; };
virtual ~AliTRDtestBeam(); // dtor
Int_t NextEvent();
- AliTRDRawStreamTB *GetTRDrawStream(); // needs RawStreamTB
+ AliTRDrawStream *GetTRDrawStream(); // needs RawStreamTB
// silicon
Short_t GetNSi1() const {return fNSi1;}
Int_t GetSi2Address(Int_t i) const {return (i<fNSi2)? fSi2Address[i] : -1;};
Int_t GetSi1Charge(Int_t i) const {return (i<fNSi1)? fSi1Charge[i] : -1;};
- Int_t GetSi2Charge(Int_t i) const {return (i<fNSi2)? fSi1Charge[i] : -1;};
+ Int_t GetSi2Charge(Int_t i) const {return (i<fNSi2)? fSi2Charge[i] : -1;};
Double_t GetX(Int_t n) const {return (n<2)? fX[n] : -1;}
Double_t GetY(Int_t n) const {return (n<2)? fY[n] : -1;}
// data reading
- Int_t Int(Int_t i, Char_t *start);
+ Int_t Int(Int_t i, Char_t *start) const;
Int_t DecodeSi();
//