er
dev
Main Page
Related Pages
Classes
Files
File List
beamtime
data
WCalEvent.h
1
/*
2
* WCalEvent.h
3
*
4
* Created on: Apr 6, 2017
5
* Author: vratik
6
*/
7
8
#ifndef DATA_BEAMTIME_WCALEVENT_H_
9
#define DATA_BEAMTIME_WCALEVENT_H_
10
11
#include "TNamed.h"
12
#include "TClonesArray.h"
13
#include "WCalHit.h"
14
15
class
WCalEvent
:
public
TNamed {
16
public
:
17
WCalEvent
();
18
virtual
~
WCalEvent
();
19
ClassDef(
WCalEvent
,1);
20
21
void
Clear(Option_t *option =
""
);
22
23
// cls_RootHit* AddHit(cls_RootHit* p_sourceHit);
24
// WCalHit* AddHit(UChar_t p_ch, Float_t p_adcCalib);
25
WCalHit
* AddHit(UChar_t p_ch, Int_t p_adc, Float_t p_adcNonLin, Float_t p_adcNonLinCorr, Float_t p_adcCalib);
26
27
// void SetID(ULong_t p_id) { fEventID = p_id; }
28
void
SetNumOfHits(UShort_t nhits) {fNumOfHits = nhits;};
29
30
private
:
// data members
31
32
TClonesArray* fHits;
//-> TClonesArray of WCalHit objects
33
UShort_t fNumOfHits;
// Number of hits - actually the size of the 'fHits'
34
35
// ULong_t fEventID;
36
37
};
38
39
#endif
/* DATA_BEAMTIME_WCALEVENT_H_ */
WCalEvent
Definition:
WCalEvent.h:15
WCalHit
Definition:
WCalHit.h:16
Generated on Tue Dec 7 2021 13:58:45 for er by
1.8.11