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
DMCThrown_factory_Primary.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DMCThrown_factory_Primary.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 _DMCThrown_factory_Primary_
9
#define _DMCThrown_factory_Primary_
10
11
#include <iostream>
12
#include <iomanip>
13
14
#include <JANA/JFactory.h>
15
16
#include <
TRACKING/DMCThrown.h
>
17
18
#include "
ANALYSIS/DAnalysisUtilities.h
"
19
20
using namespace
std;
21
using namespace
jana;
22
23
class
DMCThrown_factory_Primary
:
public
jana::JFactory<DMCThrown>
24
{
25
public
:
26
DMCThrown_factory_Primary
(){use_factory = 1;};
//prevents JANA from searching the input file for these objects
27
~DMCThrown_factory_Primary
(){};
28
const
char
*
Tag
(
void
){
return
"Primary"
;}
29
30
private
:
31
32
jerror_t init(
void
);
///< Called once at program start.
33
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber);
///< Called everytime a new run number is detected.
34
jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber);
///< Called every event.
35
jerror_t erun(
void
);
///< Called everytime run number changes, provided brun has been called.
36
jerror_t fini(
void
);
///< Called after last event of last event source has been processed.
37
38
const
DAnalysisUtilities
*
dAnalysisUtilities
;
39
};
40
41
#endif // _DMCThrown_factory_Primary_
42
DMCThrown_factory_Primary::~DMCThrown_factory_Primary
~DMCThrown_factory_Primary()
Definition:
DMCThrown_factory_Primary.h:27
DMCThrown_factory_Primary::DMCThrown_factory_Primary
DMCThrown_factory_Primary()
Definition:
DMCThrown_factory_Primary.h:26
DMCThrown_factory_Primary
Definition:
DMCThrown_factory_Primary.h:23
DAnalysisUtilities
Definition:
DAnalysisUtilities.h:55
DMCThrown_factory_Primary::dAnalysisUtilities
const DAnalysisUtilities * dAnalysisUtilities
Definition:
DMCThrown_factory_Primary.h:38
DAnalysisUtilities.h
DMCThrown.h
DMCThrown_factory_Primary::Tag
const char * Tag(void)
Definition:
DMCThrown_factory_Primary.h:28
libraries
PID
DMCThrown_factory_Primary.h
Generated on Fri Jul 26 2019 14:00:55 for Hall-D Software by
1.8.5