#include "hshowerconfig.h"
ClassImp(HShowerConfig)
HShowerConfig::HShowerConfig(const Char_t* name,const Char_t* title)
:TNamed(name,title)
{
setScale(1000);
for(Int_t i=0;i<3;i++){
for(Int_t n=0;n<7;n++){
nHits[i][n]=0;
}
}
}
HShowerConfig::HShowerConfig()
{
setScale(1000);
for(Int_t i=0;i<3;i++){
for(Int_t n=0;n<7;n++){
nHits[i][n]=0;
}
}
}
HShowerConfig::~HShowerConfig(){}
void HShowerConfig::setHits(Int_t nInd,Int_t nHit)
{
nHits[nInd][6]++;
nHits[nInd][nHit]++;
}
void HShowerConfig::resetHits(Int_t nInd)
{
for(Int_t i =0;i<8;i++){
nHits[nInd][i]=0;}
}
Int_t* HShowerConfig::getHits(Int_t nInd)
{
return nHits[nInd];
}
Last change: Sat May 22 13:13:21 2010
Last generated: 2010-05-22 13:13
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.