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 /// \class AliESDMuonPad
21 /// Class to describe the MUON pads in the Event Summary Data
23 /// \author Philippe Pillot, Subatech
24 //-----------------------------------------------------------------------------
26 #include "AliESDMuonPad.h"
30 #include <Riostream.h>
33 ClassImp(AliESDMuonPad)
36 //_____________________________________________________________________________
37 AliESDMuonPad::AliESDMuonPad()
42 /// default constructor
45 //_____________________________________________________________________________
46 AliESDMuonPad::AliESDMuonPad (const AliESDMuonPad& pad)
54 //_____________________________________________________________________________
55 AliESDMuonPad& AliESDMuonPad::operator=(const AliESDMuonPad& pad)
58 if (this == &pad) return *this;
60 TObject::operator=(pad); // don't forget to invoke the base class' assignment operator
63 fCharge = pad.fCharge;
68 //_____________________________________________________________________________
69 void AliESDMuonPad::Print(Option_t */*option*/) const
71 /// print cluster content
72 UInt_t cId = GetUniqueID();
74 cout<<Form("padID=%u (det=%d, manu=%d, manuChannel=%d, cathode=%d)",
75 cId, GetDetElemId(), GetManuId(), GetManuChannel(), GetCathode())<<endl;
77 cout<<Form(" raw charge=%d, calibrated charge=%5.2f", GetADC(), GetCharge())<<endl;