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
DReaction_factory_Z2pi_trees.h
Go to the documentation of this file.
1
// $Id$
2
// DReaction_factory_Z2pi_trees.h, modeled after DReaction_factory_p2pi_trees.h
3
//
4
// File: DReaction_factory_p2pi_trees.h
5
// Created: Wed Mar 29 16:34:58 EDT 2017
6
// Creator: elton (on Linux ifarm1401.jlab.org 3.10.0-327.el7.x86_64 x86_64)
7
//
8
9
#ifndef _DReaction_factory_Z2pi_trees_
10
#define _DReaction_factory_Z2pi_trees_
11
12
#include <iostream>
13
#include <iomanip>
14
15
#include <JANA/JFactory.h>
16
#include <
ANALYSIS/DReaction.h
>
17
#include <
ANALYSIS/DHistogramActions.h
>
18
#include <
ANALYSIS/DCutActions.h
>
19
20
using namespace
std;
21
using namespace
jana;
22
23
class
DReaction_factory_Z2pi_trees
:
public
jana::JFactory<DReaction>
24
{
25
public
:
26
DReaction_factory_Z2pi_trees
()
27
{
28
// This is so that the created DReaction objects persist throughout the life of the program instead of being cleared each event.
29
SetFactoryFlag(PERSISTANT);
30
}
31
const
char
*
Tag
(
void
){
return
"Z2pi_trees"
;}
32
33
private
:
34
jerror_t brun(JEventLoop* locEventLoop, int32_t locRunNumber);
35
jerror_t evnt(JEventLoop* locEventLoop, uint64_t locEventNumber);
36
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
37
38
double
dBeamBunchPeriod
;
39
deque<DReactionStep*>
dReactionStepPool
;
//to prevent memory leaks
40
};
41
42
#endif // _DReaction_factory_Z2pi_trees_
43
DReaction_factory_Z2pi_trees::Tag
const char * Tag(void)
Definition:
DReaction_factory_Z2pi_trees.h:31
DReaction.h
DReaction_factory_Z2pi_trees::dBeamBunchPeriod
double dBeamBunchPeriod
Definition:
DReaction_factory_Z2pi_trees.h:38
DReaction_factory_Z2pi_trees::dReactionStepPool
deque< DReactionStep * > dReactionStepPool
Definition:
DReaction_factory_Z2pi_trees.h:39
DHistogramActions.h
DReaction_factory_Z2pi_trees
Definition:
DReaction_factory_Z2pi_trees.h:23
DCutActions.h
DReaction_factory_Z2pi_trees::DReaction_factory_Z2pi_trees
DReaction_factory_Z2pi_trees()
Definition:
DReaction_factory_Z2pi_trees.h:26
plugins
Analysis
Z2pi_trees
DReaction_factory_Z2pi_trees.h
Generated on Fri Jul 26 2019 14:01:20 for Hall-D Software by
1.8.5