10 WCalEvent::WCalEvent() :
14 fHits =
new TClonesArray(
"WCalHit", 5);
17 WCalEvent::~WCalEvent() {
21 void WCalEvent::Clear(Option_t * )
35 WCalHit* WCalEvent::AddHit(UChar_t p_ch, Int_t p_adc, Float_t p_adcNonLin,
36 Float_t p_adcNonLinCorr, Float_t p_adcCalib) {
38 TClonesArray &hits = *fHits;
42 WCalHit *hit =
new(hits[fNumOfHits++])
WCalHit(p_ch, p_adc, p_adcNonLin, p_adcNonLinCorr, p_adcCalib);
void Clear(Option_t *t="")