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_p3pi_hists.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DReaction_factory_p3pi_hists.h
4
// Created: Wed Mar 11 20:34:22 EDT 2015
5
// Creator: jrsteven (on Linux halldw1.jlab.org 2.6.32-504.8.1.el6.x86_64 x86_64)
6
//
7
8
#ifndef _DReaction_factory_p3pi_hists_
9
#define _DReaction_factory_p3pi_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_p3pi_Pi0Cuts.h
"
20
#include "
DCustomAction_p3pi_hists.h
"
21
22
using namespace
std;
23
using namespace
jana;
24
25
class
DReaction_factory_p3pi_hists
:
public
jana::JFactory<DReaction>
26
{
27
public
:
28
DReaction_factory_p3pi_hists
()
29
{
30
// This is so that the created DReaction objects persist throughout the life of the program instead of being cleared each event.
31
SetFactoryFlag(PERSISTANT);
32
}
33
const
char
*
Tag
(
void
){
return
"p3pi_hists"
;}
34
35
private
:
36
jerror_t brun(JEventLoop* locEventLoop, int32_t locRunNumber);
37
jerror_t evnt(JEventLoop* locEventLoop, uint64_t locEventNumber);
38
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
39
40
double
dBeamBunchPeriod
;
41
deque<DReactionStep*>
dReactionStepPool
;
//to prevent memory leaks
42
};
43
44
#endif // _DReaction_factory_p3pi_hists_
45
DReaction_factory_p3pi_hists::DReaction_factory_p3pi_hists
DReaction_factory_p3pi_hists()
Definition:
DReaction_factory_p3pi_hists.h:28
DReaction_factory_p3pi_hists
Definition:
DReaction_factory_p3pi_hists.h:25
DReaction.h
DReaction_factory_p3pi_hists::dBeamBunchPeriod
double dBeamBunchPeriod
Definition:
DReaction_factory_p3pi_hists.h:40
DHistogramActions.h
DReaction_factory_p3pi_hists::Tag
const char * Tag(void)
Definition:
DReaction_factory_p3pi_hists.h:33
DCutActions.h
DCustomAction_p3pi_Pi0Cuts.h
DCustomAction_p3pi_hists.h
DReaction_factory_p3pi_hists::dReactionStepPool
deque< DReactionStep * > dReactionStepPool
Definition:
DReaction_factory_p3pi_hists.h:41
plugins
Analysis
p3pi_hists
DReaction_factory_p3pi_hists.h
Generated on Fri Jul 26 2019 14:01:19 for Hall-D Software by
1.8.5