00001
00002
00003
00004
00005
00007
00008 #include "RecoBase/CellHit.h"
00009 #include "JobControl/Exception.h"
00010 #include <string>
00011 #include <iostream>
00012
00013 using namespace recobase;
00014
00015 ClassImp(CellHit);
00016
00017
00018
00019 CellHit::CellHit() : RawDigit(),fStatus(0),fPlane(0),fCell(0),
00020 fView(geo::kXorY),fPE(0),fPECorr(0),fTNS(0)
00021 {
00022 }
00023
00024 CellHit::~CellHit()
00025 {
00026 }
00027
00028 void CellHit::Print(const Option_t*) const
00029 {
00030 std::cout<<"CellHit Plane: "<<fPlane<<" Cell: "<<fCell<<" Channel: "<<fChannel<<" View "<<fView<<std::endl;
00031 std::cout<<" PulseHeight adc: "<<fADC[0]<<" pe: "<<fPE<<" pe corr: "<<fPECorr<<std::endl;
00032 std::cout<<" Times tdc: "<<fTDC[0]<<" ns: "<<fTNS<<" Status: "<<fStatus<<std::endl;
00033 }