#include "hshowerconfig.h"

ClassImp(HShowerConfig)


 HShowerConfig::HShowerConfig(const char* name,const char* title)
    :TNamed(name,title)
{
    setScale(1000);
    for(int i=0;i<3;i++){
	for(int n=0;n<7;n++){
	    nHits[i][n]=0;
	}
    }
}
 HShowerConfig::HShowerConfig()
{
    setScale(1000);
    for(int i=0;i<3;i++){
	for(int 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];
}




ROOT page - Class index - Class Hierarchy - Top of the page

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.