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_p2pi0_hists.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DReaction_factory_p2pi0_hists.h
4
// Created: Tue May 19 07:56:15 EDT 2015
5
// Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64)
6
//
7
8
#ifndef _DReaction_factory_p2pi0_hists_
9
#define _DReaction_factory_p2pi0_hists_
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
#include "
DCustomAction_p2pi0_hists.h
"
20
21
using namespace
std;
22
using namespace
jana;
23
24
class
DReaction_factory_p2pi0_hists
:
public
jana::JFactory<DReaction>
25
{
26
public
:
27
DReaction_factory_p2pi0_hists
()
28
{
29
// This is so that the created DReaction objects persist throughout the life of the program instead of being cleared each event.
30
SetFactoryFlag(PERSISTANT);
31
}
32
const
char
*
Tag
(
void
){
return
"p2pi0_hists"
;}
33
34
private
:
35
jerror_t init(
void
);
///< Called once at program start.
36
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
37
38
deque<DReactionStep*>
dReactionStepPool
;
//to prevent memory leaks
39
};
40
41
#endif // _DReaction_factory_p2pi0_hists_
42
DCustomAction_p2pi0_hists.h
DReaction_factory_p2pi0_hists
Definition:
DReaction_factory_p2pi0_hists.h:24
DReaction.h
DReaction_factory_p2pi0_hists::DReaction_factory_p2pi0_hists
DReaction_factory_p2pi0_hists()
Definition:
DReaction_factory_p2pi0_hists.h:27
DHistogramActions.h
DReaction_factory_p2pi0_hists::dReactionStepPool
deque< DReactionStep * > dReactionStepPool
Definition:
DReaction_factory_p2pi0_hists.h:38
DReaction_factory_p2pi0_hists::Tag
const char * Tag(void)
Definition:
DReaction_factory_p2pi0_hists.h:32
DCutActions.h
plugins
Analysis
p2pi0_hists
DReaction_factory_p2pi0_hists.h
Generated on Fri Jul 26 2019 14:01:18 for Hall-D Software by
1.8.5