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
Calibration/HLDetectorTiming/DReaction_factory_p2pi.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DReaction_factory_p2pi.h
4
// Created: Thu May 7 16:22:04 EDT 2015
5
// Creator: mstaib (on Linux gluon109.jlab.org 2.6.32-358.23.2.el6.x86_64 x86_64)
6
//
7
8
#ifndef _DReaction_factory_p2pi_
9
#define _DReaction_factory_p2pi_
10
11
#include <iostream>
12
#include <iomanip>
13
14
#include <JANA/JFactory.h>
15
#include <
ANALYSIS/DReaction.h
>
16
#include <
ANALYSIS/DHistogramActions.h
>
17
#include <
ANALYSIS/DCutActions.h
>
18
19
using namespace
std;
20
using namespace
jana;
21
22
class
DReaction_factory_p2pi
:
public
jana::JFactory<DReaction>
23
{
24
public
:
25
DReaction_factory_p2pi
()
26
{
27
// This is so that the created DReaction objects persist throughout the life of the program instead of being cleared each event.
28
SetFactoryFlag(PERSISTANT);
29
}
30
const
char
*
Tag
(
void
){
return
"p2pi"
;}
31
32
private
:
33
jerror_t init(
void
);
///< Called once at program start.
34
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
35
36
deque<DReactionStep*>
dReactionStepPool
;
//to prevent memory leaks
37
};
38
39
#endif // _DReaction_factory_p2pi_
40
DReaction_factory_p2pi::Tag
const char * Tag(void)
Definition:
Calibration/HLDetectorTiming/DReaction_factory_p2pi.h:30
DReaction.h
DReaction_factory_p2pi
Definition:
Calibration/HLDetectorTiming/DReaction_factory_p2pi.h:22
DHistogramActions.h
DReaction_factory_p2pi::DReaction_factory_p2pi
DReaction_factory_p2pi()
Definition:
Calibration/HLDetectorTiming/DReaction_factory_p2pi.h:25
DCutActions.h
DReaction_factory_p2pi::dReactionStepPool
deque< DReactionStep * > dReactionStepPool
Definition:
Calibration/HLDetectorTiming/DReaction_factory_p2pi.h:36
plugins
Calibration
HLDetectorTiming
DReaction_factory_p2pi.h
Generated on Fri Jul 26 2019 14:01:18 for Hall-D Software by
1.8.5