8 #ifndef _JEventProcessor_DAQTree_
9 #define _JEventProcessor_DAQTree_
11 #include <JANA/JEventProcessor.h>
51 const char*
className(
void){
return "JEventProcessor_DAQTree";}
98 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
99 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
119 #endif // _JEventProcessor_DAQTree_
TTree * Df125PulseTime_tree
f125 readout modes 3,4,7 and 8
Float_t w_time
the time (in samples) of the pulse calculated similar to the IU method for f125WRD, f250WRD, f250PRD
int32_t pedestal
for f250PI
uint32_t rocid
(from DDAQAddress) Crate number
vector< uint32_t > waveform
STL vector of samples of the waveform for the event for f125WRD, f250WRD, f250PRD.
JEventProcessor_DAQTree()
const char * className(void)
TTree * Df250TriggerTime_tree
all f250 readout modes
TTree * Df250PulseIntegral_tree
f250 readout modes 3 and 7
jerror_t init(void)
for F1TDCH
bool overflow
for f250WRD, f250PRD
uint32_t w_integral
Sum of all samples extracted from the waveform for f125WRD, f250WRD, f250PRD.
uint32_t eventnum
Event number.
uint32_t nsamples_integral
for f250PI and f250PP
TTree * Df250PulsePedestal_tree
f250 readout modes 4,7 and 8
uint32_t pulse_peak
for f250PI and f250PP
uint32_t nsamples_pedestal
for f250PI
int32_t integral
for f250PI, f250PT
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
TTree * Df250WindowRawData_tree
f250 readout modes 1 and 8
uint32_t data_word
for F1TDCH
uint32_t w_min
Minimum sample extracted from the waveform for f125WRD, f250WRD, f250PRD.
uint32_t nsamples
Number of samples extracted from the waveform for f125WRD, f250WRD, f250PRD.
~JEventProcessor_DAQTree()
uint32_t w_max
Maximum sample extracted from the waveform for f125WRD, f250WRD, f250PRD.
uint32_t w_samp1
First sample extracted from the waveform (for simple analysis in case the STL vector is difficult to ...
bool invalid_samples
for f250PRD
uint32_t channel
(from DDAQAddress) Channel number in slot
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
TTree * Df125PulseIntegral_tree
f125 readout modes 3 and 7
TTree * Df125PulsePedestal_tree
f125 readout modes 4,7 and 8
jerror_t fini(void)
Called after last event of last event source has been processed.
TTree * Df250PulseRawData_tree
f250 readout mode 2
TTree * Df250PulseTime_tree
f250 readout modes 3,4,7 and 8
uint32_t channelnum
Arbitrary global channel number (sorted by crate, slot, channel). Note that when data is sparsified t...
TTree * Df125WindowRawData_tree
f125 readout
uint32_t slot
(from DDAQAddress) Slot number in crate
TTree * DF1TDCTriggerTime_tree
uint32_t first_sample_number
for f250PT, f250TT, F1TDCH
uint32_t trig_time
for f250WRD, f250PRD
TTree * Df125PulseRawData_tree
f125 readout mode 2
uint32_t itrigger
(from DDAQAddress) Trigger number for cases when this hit was read in a multi-event block (from DDAQA...
TTree * Df125TriggerTime_tree
all f125 readout modes
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
uint32_t w_ped
the sum of the first 10 samples extracted from the waveform for use as a pedestal for f125WRD...
uint32_t quality_factor
for f250PRD, f250PI, f250PT