From fb680deea108383c06b732fd18ea6438af44702a Mon Sep 17 00:00:00 2001 From: jbarbosa Date: Wed, 1 Nov 2000 15:31:56 +0000 Subject: [PATCH] New rec. point object for 3D Hough reconstruction. --- RICH/AliRICHRecHit3D.cxx | 43 ++++++++++++++++++++++++++++++++++++++++ RICH/AliRICHRecHit3D.h | 33 ++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 RICH/AliRICHRecHit3D.cxx create mode 100644 RICH/AliRICHRecHit3D.h diff --git a/RICH/AliRICHRecHit3D.cxx b/RICH/AliRICHRecHit3D.cxx new file mode 100644 index 00000000000..5f36fa5b979 --- /dev/null +++ b/RICH/AliRICHRecHit3D.cxx @@ -0,0 +1,43 @@ +/************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +/* + $Log$ + Revision 1.2 2000/06/30 16:36:58 dibari + Several new data members for Bari reconstruction + + Revision 1.1 2000/06/12 15:28:06 jbarbosa + Cleaned up version. + +*/ + + +#include "AliRICHRecHit3D.h" + +ClassImp(AliRICHRecHit3D) + +AliRICHRecHit3D::AliRICHRecHit3D(Int_t id, Float_t *rechit) +{ + // + // Creates a RICH rec. hit object + // + fTheta = rechit[0]; + fPhi = rechit[1]; + fOmega = rechit[2]; + fX = rechit[3]; + fY = rechit[4]; +} + + diff --git a/RICH/AliRICHRecHit3D.h b/RICH/AliRICHRecHit3D.h new file mode 100644 index 00000000000..7704ebbaca6 --- /dev/null +++ b/RICH/AliRICHRecHit3D.h @@ -0,0 +1,33 @@ +#ifndef ALIRICHRECHIT3D_H +#define ALIRICHRECHIT3D_H + + +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ + +/* $Id$ */ +#include +class AliRICHRecHit3D : public TObject { +public: + Float_t fTheta ; //Incidence Angle theta + Float_t fPhi ; //Incidence Angle phi + Float_t fOmega; //Cherenkov angle omega + Float_t fX; //Impact coordinate x + Float_t fY; //Impact coordinate y + + public: + AliRICHRecHit3D() { + fTheta=fPhi=fOmega=0; + } + AliRICHRecHit3D(Int_t id, Float_t* rechit); + virtual ~AliRICHRecHit3D() {} + ClassDef(AliRICHRecHit3D,1) //Reconstructed hit object for set:RICH +}; + +#endif + + + + + + -- 2.39.3