using namespace std;
# include <fstream>
# include "hmdccal3.h"
# include "hmdccal3sim.h"
# include <iostream>
# include <iomanip>
ClassImp(HMdcCal3Sim)
HMdcCal3Sim :: HMdcCal3Sim(void) : HMdcCal3(){
id = 0;
}
HMdcCal3Sim :: HMdcCal3Sim(HMdcCal3Sim* copy) : HMdcCal3(copy){
id = copy->getId();
}
HMdcCal3Sim :: HMdcCal3Sim(Int_t identifier){
id = identifier;
}
HMdcCal3Sim::~HMdcCal3Sim(void) {
}
void HMdcCal3Sim :: print(void){
cout << "id " << id << endl;
cout << "nHits " << nHits << endl;
cout << "pos " << pos << " +- " << error << endl;
cout << "address:" << "s: " << getSector() << " m: " << getModule() << " l: " << getLayer() << " c :" << getCell() << " h :" << getHitNumber() << endl << endl;
}
void HMdcCal3Sim :: print(ostream &file){
file << "id " << id << endl;
file << "nHits " << nHits << endl;
file << "pos " << pos << " +- " << error << endl;
file << "address:" << "s: " << getSector() << " m: " << getModule() << " l: " << getLayer() << " c :" << getCell() << " h :" << getHitNumber() << endl << endl;
}
Last change: Sat May 22 12:59:57 2010
Last generated: 2010-05-22 12:59
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.