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_CDC_amp.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: JEventProcessor_CDC_amp.h
4
// Created: Tue Sep 6 10:13:02 EDT 2016
5
// Creator: njarvis (on Linux egbert 2.6.32-642.3.1.el6.x86_64 x86_64)
6
//
7
8
#ifndef _JEventProcessor_CDC_amp_
9
#define _JEventProcessor_CDC_amp_
10
11
12
#include <JANA/JEventProcessor.h>
13
14
15
#include "
TRACKING/DTrackFitter.h
"
16
#include "
TRACKING/DTrackTimeBased.h
"
17
18
#include "
TRACKING/DMCThrown.h
"
19
20
#include "
CDC/DCDCTrackHit.h
"
21
#include "
CDC/DCDCHit.h
"
22
#include "
CDC/DCDCDigiHit.h
"
23
#include "
DAQ/Df125CDCPulse.h
"
24
25
#include "
DAQ/Df125Config.h
"
26
#include "
TRIGGER/DTrigger.h
"
27
#include "
PID/DVertex.h
"
28
29
#include <stdint.h>
30
#include <vector>
31
#include <TMath.h>
32
33
#include <TDirectory.h>
34
35
#include <TH2.h>
36
#include <TH1.h>
37
38
39
using namespace
std;
40
using namespace
jana;
41
42
43
44
45
46
class
JEventProcessor_CDC_amp
:
public
jana::JEventProcessor{
47
public
:
48
JEventProcessor_CDC_amp
();
49
~
JEventProcessor_CDC_amp
();
50
const
char
*
className
(
void
){
return
"JEventProcessor_CDC_amp"
;}
51
52
private
:
53
jerror_t init(
void
);
///< Called once at program start.
54
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber);
///< Called everytime a new run number is detected.
55
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
///< Called every event.
56
jerror_t erun(
void
);
///< Called everytime run number changes, provided brun has been called.
57
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
58
59
int32_t
run_number
;
60
61
62
// default scaling factors will be overridden by Df125Config if present
63
64
uint16_t ASCALE = 1;
//amplitude this was 8 for runs before 40,000
65
uint16_t PSCALE = 1;
//ped
66
67
// histograms
68
69
TH1I *time = NULL;
70
TH1I *a = NULL;
71
TH2I *an = NULL;
72
TH2D *atime = NULL;
73
TH2D *atheta = NULL;
74
75
TH1I *a30 = NULL;
76
TH1I *a30_100ns = NULL;
77
TH2I *an30_100ns = NULL;
78
TH2D *atime30 = NULL;
79
TH2D *adoca30 = NULL;
80
81
TH1I *a45 = NULL;
82
TH1I *a45_100ns = NULL;
83
TH2I *an45_100ns = NULL;
84
TH2D *atime45 = NULL;
85
TH2D *adoca45 = NULL;
86
87
TH1I *a90 = NULL;
88
TH1I *a90_100ns = NULL;
89
TH2I *an90_100ns = NULL;
90
TH2D *atime90 = NULL;
91
TH2D *adoca90 = NULL;
92
93
TH2I *an90 = NULL;
94
TH1I *time90 = NULL;
95
TH2D *xt90 = NULL;
96
97
};
98
99
#endif // _JEventProcessor_CDC_amp_
100
DTrackTimeBased.h
Df125CDCPulse.h
DTrackFitter.h
JEventProcessor_CDC_amp::run_number
int32_t run_number
Definition:
JEventProcessor_CDC_amp.h:59
JEventProcessor_CDC_amp
Definition:
JEventProcessor_CDC_amp.h:46
JEventProcessor_CDC_amp::className
const char * className(void)
Definition:
JEventProcessor_CDC_amp.h:50
DCDCDigiHit.h
Df125Config.h
DVertex.h
DCDCTrackHit.h
DMCThrown.h
DTrigger.h
DCDCHit.h
plugins
Calibration
CDC_amp
JEventProcessor_CDC_amp.h
Generated on Fri Jul 26 2019 14:02:07 for Hall-D Software by
1.8.5