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 **************************************************************************/
15 //-----------------------------------------------------//
17 // Date : February 26 2006 //
19 // Store cellhits associated to a cluster //
21 //-----------------------------------------------------//
23 #include "Riostream.h"
25 #include "AliPMDrechit.h"
27 ClassImp(AliPMDrechit)
29 AliPMDrechit::AliPMDrechit():
33 // Standard constructor
36 AliPMDrechit::AliPMDrechit(Int_t cellx, Int_t celly)
43 AliPMDrechit::AliPMDrechit(const AliPMDrechit& source):TObject(source) {
45 if(&source == this) return;
46 this->fXcell = source.fXcell;
47 this->fYcell = source.fYcell;
51 AliPMDrechit& AliPMDrechit::operator=(const AliPMDrechit& source) {
53 if(&source == this) return *this;
54 this->fXcell = source.fXcell;
55 this->fYcell = source.fYcell;
59 AliPMDrechit::~AliPMDrechit()
63 Int_t AliPMDrechit::GetCellX() const
67 Int_t AliPMDrechit::GetCellY() const