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():
36 // Standard constructor
39 AliPMDrechit::AliPMDrechit(Int_t cellx, Int_t celly, Int_t celltr,
40 Int_t cellpid, Float_t celladc):
50 AliPMDrechit::AliPMDrechit(AliPMDrechit *pmdrechit):
60 AliPMDrechit::AliPMDrechit(const AliPMDrechit& source):
62 fXcell(source.fXcell),
63 fYcell(source.fYcell),
64 fTrcell(source.fTrcell),
65 fPidcell(source.fPidcell),
66 fAdccell(source.fAdccell)
73 AliPMDrechit& AliPMDrechit::operator=(const AliPMDrechit& source)
78 fXcell = source.fXcell;
79 fYcell = source.fYcell;
80 fTrcell = source.fTrcell;
81 fPidcell = source.fPidcell;
82 fAdccell = source.fAdccell;
87 AliPMDrechit::~AliPMDrechit()
91 Int_t AliPMDrechit::GetCellX() const
95 Int_t AliPMDrechit::GetCellY() const
99 Int_t AliPMDrechit::GetCellTrack() const
103 Int_t AliPMDrechit::GetCellPid() const
107 Float_t AliPMDrechit::GetCellAdc() const