Hall-D Software
alpha
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
JEventProcessor_TOF_TDC_shift.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: JEventProcessor_TOF_TDC_shift.h
4
// Created: Fri Nov 9 11:58:09 EST 2012
5
// Creator: wolin (on Linux stan.jlab.org 2.6.32-279.11.1.el6.x86_64 x86_64)
6
//
7
8
#ifndef _JEventProcessor_TOF_TDC_shift_
9
#define _JEventProcessor_TOF_TDC_shift_
10
11
#include <JANA/JEventProcessor.h>
12
13
#include <TDirectory.h>
14
#include <TH2I.h>
15
#include "TTree.h"
16
17
using namespace
std;
18
19
class
JEventProcessor_TOF_TDC_shift
:
public
jana::JEventProcessor{
20
public
:
21
JEventProcessor_TOF_TDC_shift
();
22
~
JEventProcessor_TOF_TDC_shift
();
23
const
char
*
className
(
void
){
return
"JEventProcessor_TOF_TDC_shift"
;}
24
25
static
const
Int_t NMAX = 200;
26
27
/*
28
// Number of hits
29
Int_t nTOF;
30
Int_t nTOF_TDC;
31
// ADC times
32
Float_t tof_adc_time[NMAX];
33
// TDC times
34
Float_t tof_tdc_time[NMAX];
35
36
// DCODAROCInfo
37
Int_t nDCODAROCInfo;
38
static const Int_t NROCINFO = 96;
39
Int_t rocid[NROCINFO];
40
ULong64_t rocTime[NROCINFO];
41
*/
42
43
private
:
44
jerror_t init(
void
);
///< Called once at program start.
45
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber);
///< Called everytime a new run number is detected.
46
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
///< Called every event.
47
jerror_t erun(
void
);
///< Called everytime run number changes, provided brun has been called.
48
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
49
50
TDirectory*
filedir
;
51
TH2I *
hrocTimeRemainder_AdcTdcTimeDiff
;
52
TH2I *
hrocTimeRemainder_AdcTdcTimeDiff_corrected
;
53
54
ofstream
OUTPUT
;
55
};
56
57
#endif // _JEventProcessor_TOF_TDC_shift_
58
JEventProcessor_TOF_TDC_shift::OUTPUT
ofstream OUTPUT
Definition:
JEventProcessor_TOF_TDC_shift.h:54
JEventProcessor_TOF_TDC_shift::className
const char * className(void)
Definition:
JEventProcessor_TOF_TDC_shift.h:23
JEventProcessor_TOF_TDC_shift
Definition:
JEventProcessor_TOF_TDC_shift.h:19
JEventProcessor_TOF_TDC_shift::hrocTimeRemainder_AdcTdcTimeDiff_corrected
TH2I * hrocTimeRemainder_AdcTdcTimeDiff_corrected
Definition:
JEventProcessor_TOF_TDC_shift.h:52
JEventProcessor_TOF_TDC_shift::filedir
TDirectory * filedir
Definition:
JEventProcessor_TOF_TDC_shift.h:50
JEventProcessor_TOF_TDC_shift::hrocTimeRemainder_AdcTdcTimeDiff
TH2I * hrocTimeRemainder_AdcTdcTimeDiff
Definition:
JEventProcessor_TOF_TDC_shift.h:51
plugins
monitoring
TOF_TDC_shift
JEventProcessor_TOF_TDC_shift.h
Generated on Fri Jul 26 2019 14:02:34 for Hall-D Software by
1.8.5