using namespace std;
#include <iostream>
#include <iomanip>
#include "hrichraw.h"
ClassImp(HRichRaw)
ostream& operator<< (ostream& output, HRichRaw& raw) {
output<<"pad fCharge:"<<raw.fCharge;
return output;
}
Int_t HRichRaw::getLocationIndex(Int_t i) {
switch (i) {
case 0 : return getSector(); break;
case 1 : return getRow(); break;
case 2 : return getCol(); break;
}
return -1;
}
void HRichRaw::getLocation(HLocation& loc) {
loc.setNIndex(getNLocationIndex());
for(Int_t i = 0; i < getNLocationIndex(); i++)
loc.setIndex(i, getLocationIndex(i));
}
void HRichRaw::dumpToStdout()
{
cout<<"RAW: "<<"sec:"<<getSector()<<" col:"<<getCol()<<" row:"<<getRow()
<<" chrg:"<<getCharge()<<endl;
}
Last change: Sat May 22 13:09:55 2010
Last generated: 2010-05-22 13:09
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.