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
DDIRCLEDRef_factory.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DDIRCLEDRef_factory.h
4
//
5
6
#ifndef _DDIRCLEDRef_factory_
7
#define _DDIRCLEDRef_factory_
8
9
#include <vector>
10
#include <map>
11
#include <utility>
12
using namespace
std;
13
14
#include <JANA/JFactory.h>
15
#include "
DDIRCLEDRef.h
"
16
#include "
TTAB/DTranslationTable.h
"
17
#include "
TTAB/DTTabUtilities.h
"
18
#include <
DAQ/Df250PulseData.h
>
19
#include <
DAQ/DCAEN1290TDCHit.h
>
20
using namespace
jana;
21
22
23
class
DDIRCLEDRef_factory
:
public
jana::JFactory<DDIRCLEDRef>{
24
public
:
25
DDIRCLEDRef_factory
(){};
26
~DDIRCLEDRef_factory
(){};
27
28
// overall scale factors
29
double
a_scale;
30
double
t_scale
;
31
double
t_base
,
t_base_tdc
;
32
double
tdc_adc_time_offset
;
33
34
DDIRCLEDRef
* FindMatch(
double
T);
35
36
private
:
37
jerror_t init(
void
);
38
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber);
39
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
40
jerror_t erun(
void
);
41
jerror_t fini(
void
);
42
43
double
CalcWalkCorrIntegral(
DDIRCLEDRef
* hit);
44
double
CalcWalkCorrAmplitude(
DDIRCLEDRef
* hit);
45
double
CalcWalkCorrNEW(
DDIRCLEDRef
* hit);
46
double
CalcWalkCorrNEWAMP(
DDIRCLEDRef
* hit);
47
48
bool
CHECK_FADC_ERRORS
;
49
};
50
51
#endif // _DDIRCLEDRef_factory_
52
Df250PulseData.h
t_base
double t_base
Definition:
JEventProcessor_ST_online_lowlevel.h:98
DDIRCLEDRef_factory::DDIRCLEDRef_factory
DDIRCLEDRef_factory()
Definition:
DDIRCLEDRef_factory.h:25
DDIRCLEDRef
File: DDIRCLEDRef.h.
Definition:
DDIRCLEDRef.h:12
DTTabUtilities.h
DDIRCLEDRef_factory::t_scale
double t_scale
Definition:
DDIRCLEDRef_factory.h:30
DDIRCLEDRef_factory::t_base_tdc
double t_base_tdc
Definition:
DDIRCLEDRef_factory.h:31
DCAEN1290TDCHit.h
DDIRCLEDRef.h
DDIRCLEDRef_factory
Definition:
DDIRCLEDRef_factory.h:23
DDIRCLEDRef_factory::CHECK_FADC_ERRORS
bool CHECK_FADC_ERRORS
Definition:
DDIRCLEDRef_factory.h:48
DDIRCLEDRef_factory::tdc_adc_time_offset
double tdc_adc_time_offset
Definition:
DDIRCLEDRef_factory.h:32
DTranslationTable.h
DDIRCLEDRef_factory::~DDIRCLEDRef_factory
~DDIRCLEDRef_factory()
Definition:
DDIRCLEDRef_factory.h:26
libraries
DIRC
DDIRCLEDRef_factory.h
Generated on Fri Jul 26 2019 14:00:30 for Hall-D Software by
1.8.5