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
DNeutralShower_factory.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DNeutralShower_factory.h
4
// Created: Tue Aug 9 14:29:24 EST 2011
5
// Creator: pmatt (on Linux ifarml6 2.6.18-128.el5 x86_64)
6
//
7
8
#ifndef _DNeutralShower_factory_
9
#define _DNeutralShower_factory_
10
11
#include <iostream>
12
#include <iomanip>
13
14
#include <JANA/JFactory.h>
15
#include <
PID/DNeutralShower.h
>
16
#include <
PID/DChargedTrack.h
>
17
#include <
PID/DChargedTrackHypothesis.h
>
18
#include <
FCAL/DFCALShower.h
>
19
#include <
BCAL/DBCALShower.h
>
20
#include "
DResourcePool.h
"
21
#include "
DVector3.h
"
22
23
#include "
DNeutralShower_FCALQualityMLP.h
"
24
25
using namespace
std;
26
using namespace
jana;
27
28
class
DNeutralShower_factory
:
public
jana::JFactory<DNeutralShower>
29
{
30
public
:
31
DNeutralShower_factory
();
32
~DNeutralShower_factory
(){
delete
dFCALClassifier; }
33
34
private
:
35
jerror_t init(
void
);
///< Called once at program start.
36
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber);
///< Called everytime a new run number is detected.
37
jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber);
///< Called every event.
38
jerror_t erun(
void
);
///< Called everytime run number changes, provided brun has been called.
39
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
40
41
shared_ptr<DResourcePool<TMatrixFSym>>
dResourcePool_TMatrixFSym
;
42
DVector3
dTargetCenter
;
43
44
const
char
* inputVars[8] = {
"nHits"
,
"e9e25Sh"
,
"e1e9Sh"
,
"sumUSh"
,
"sumVSh"
,
"asymUVSh"
,
"speedSh"
,
"dtTrSh"
};
45
DNeutralShower_FCALQualityMLP
*
dFCALClassifier
;
46
47
double
getFCALQuality(
const
DFCALShower
* fcalShower,
double
rfTime )
const
;
48
};
49
50
#endif // _DNeutralShower_factory_
51
DBCALShower.h
DNeutralShower_FCALQualityMLP.h
DVector3
TVector3 DVector3
Definition:
DVector3.h:14
DNeutralShower_factory
Definition:
DNeutralShower_factory.h:28
DNeutralShower_factory::dFCALClassifier
DNeutralShower_FCALQualityMLP * dFCALClassifier
Definition:
DNeutralShower_factory.h:45
DNeutralShower_factory::dTargetCenter
DVector3 dTargetCenter
Definition:
DNeutralShower_factory.h:42
DNeutralShower_factory::~DNeutralShower_factory
~DNeutralShower_factory()
Definition:
DNeutralShower_factory.h:32
DNeutralShower_factory::dResourcePool_TMatrixFSym
shared_ptr< DResourcePool< TMatrixFSym > > dResourcePool_TMatrixFSym
Definition:
DNeutralShower_factory.h:41
DFCALShower.h
DNeutralShower.h
DNeutralShower_FCALQualityMLP
Definition:
DNeutralShower_FCALQualityMLP.h:104
DChargedTrackHypothesis.h
DFCALShower
Definition:
DFCALShower.h:23
DResourcePool.h
DVector3.h
DChargedTrack.h
libraries
PID
DNeutralShower_factory.h
Generated on Fri Jul 26 2019 14:00:56 for Hall-D Software by
1.8.5