Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_highlevel_online.cc File Reference
#include "JEventProcessor_highlevel_online.h"
#include <DAQ/Df250PulseData.h>
#include <START_COUNTER/DSCHit.h>
#include <TAGGER/DTAGMHit.h>
#include <TAGGER/DTAGHHit.h>
#include <TOF/DTOFHit.h>
#include <BCAL/DBCALUnifiedHit.h>
#include <RF/DRFTime.h>
#include <DAQ/DF1TDCHit.h>
#include <DAQ/DCODAEventInfo.h>
#include <DAQ/DEPICSvalue.h>
#include <JANA/JApplication.h>
#include <JANA/JFactory.h>

Go to the source code of this file.

Macros

#define F1Types(X)
 
#define F1TaggerTypes(X)
 
#define GetVect(A)
 
#define GetTaggerVect(A)
 
#define F1Fill(A)   FillF1Hist(v##A);
 

Functions

void InitPlugin (JApplication *app)
 
template<typename T >
static bool F1Check (const T *hit)
 
template<typename T >
static bool F1CheckADCOnly (const T *hit)
 
template<typename T >
static bool F1CheckTDCOnly (const T *hit)
 
template<typename T >
static double F1tdiff (const T *hit)
 
template<typename T >
static double F1tdiff2 (const T *hit, const T *hit2)
 
template<typename T >
static bool F1CheckSameChannel (const T *hit, const T *hit2)
 
template<>
bool F1Check< DRFTime > (const DRFTime *hit)
 
template<>
bool F1CheckADCOnly< DRFTime > (const DRFTime *hit)
 
template<>
bool F1CheckTDCOnly< DRFTime > (const DRFTime *hit)
 
template<>
double F1tdiff< DRFTime > (const DRFTime *hit)
 
template<>
double F1tdiff2< DRFTime > (const DRFTime *hit, const DRFTime *hit2)
 
template<>
bool F1CheckSameChannel< DRFTime > (const DRFTime *hit, const DRFTime *hit2)
 
template<>
bool F1Check< DSCHit > (const DSCHit *hit)
 
template<>
bool F1CheckADCOnly< DSCHit > (const DSCHit *hit)
 
template<>
bool F1CheckTDCOnly< DSCHit > (const DSCHit *hit)
 
template<>
double F1tdiff< DSCHit > (const DSCHit *hit)
 
template<>
double F1tdiff2< DSCHit > (const DSCHit *hit, const DSCHit *hit2)
 
template<>
bool F1CheckSameChannel< DSCHit > (const DSCHit *hit, const DSCHit *hit2)
 
template<>
bool F1Check< DTAGHHit > (const DTAGHHit *hit)
 
template<>
bool F1CheckADCOnly< DTAGHHit > (const DTAGHHit *hit)
 
template<>
bool F1CheckTDCOnly< DTAGHHit > (const DTAGHHit *hit)
 
template<>
double F1tdiff< DTAGHHit > (const DTAGHHit *hit)
 
template<>
double F1tdiff2< DTAGHHit > (const DTAGHHit *hit, const DTAGHHit *hit2)
 
template<>
bool F1CheckSameChannel< DTAGHHit > (const DTAGHHit *hit, const DTAGHHit *hit2)
 
template<>
bool F1Check< DTAGMHit > (const DTAGMHit *hit)
 
template<>
bool F1CheckADCOnly< DTAGMHit > (const DTAGMHit *hit)
 
template<>
bool F1CheckTDCOnly< DTAGMHit > (const DTAGMHit *hit)
 
template<>
double F1tdiff< DTAGMHit > (const DTAGMHit *hit)
 
template<>
double F1tdiff2< DTAGMHit > (const DTAGMHit *hit, const DTAGMHit *hit2)
 
template<>
bool F1CheckSameChannel< DTAGMHit > (const DTAGMHit *hit, const DTAGMHit *hit2)
 
template<>
bool F1Check< DFDCHit > (const DFDCHit *hit)
 
template<>
bool F1CheckADCOnly< DFDCHit > (const DFDCHit *hit)
 
template<>
bool F1CheckTDCOnly< DFDCHit > (const DFDCHit *hit)
 
template<>
double F1tdiff< DFDCHit > (const DFDCHit *hit)
 
template<>
double F1tdiff2< DFDCHit > (const DFDCHit *hit, const DFDCHit *hit2)
 
template<>
bool F1CheckSameChannel< DFDCHit > (const DFDCHit *hit, const DFDCHit *hit2)
 
template<>
bool F1Check< DBCALUnifiedHit > (const DBCALUnifiedHit *hit)
 
template<>
bool F1CheckADCOnly< DBCALUnifiedHit > (const DBCALUnifiedHit *hit)
 
template<>
bool F1CheckTDCOnly< DBCALUnifiedHit > (const DBCALUnifiedHit *hit)
 
template<>
double F1tdiff< DBCALUnifiedHit > (const DBCALUnifiedHit *hit)
 
template<>
double F1tdiff2< DBCALUnifiedHit > (const DBCALUnifiedHit *hit, const DBCALUnifiedHit *hit2)
 
template<>
bool F1CheckSameChannel< DBCALUnifiedHit > (const DBCALUnifiedHit *hit, const DBCALUnifiedHit *hit2)
 

Macro Definition Documentation

#define F1Fill (   A)    FillF1Hist(v##A);
#define F1TaggerTypes (   X)
Value:
#define X(str)
Definition: hddm-c.cpp:83

Definition at line 37 of file JEventProcessor_highlevel_online.cc.

Referenced by JEventProcessor_highlevel_online::evnt().

#define F1Types (   X)
Value:
#define X(str)
Definition: hddm-c.cpp:83
Definition: DSCHit.h:14
class DFDCHit: definition for a basic FDC hit data type.
Definition: DFDCHit.h:20

Definition at line 29 of file JEventProcessor_highlevel_online.cc.

Referenced by JEventProcessor_highlevel_online::evnt().

#define GetTaggerVect (   A)
Value:
vector<const A*> v##A; \
locEventLoop->Get(v##A,"Calib");

Referenced by JEventProcessor_highlevel_online::evnt().

#define GetVect (   A)
Value:
vector<const A*> v##A; \
locEventLoop->Get(v##A);

Referenced by JEventProcessor_highlevel_online::evnt().

Function Documentation

template<typename T >
static bool F1Check ( const T *  hit)
static
template<>
bool F1Check< DBCALUnifiedHit > ( const DBCALUnifiedHit hit)

Definition at line 89 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1Check< DFDCHit > ( const DFDCHit hit)

Definition at line 81 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1Check< DRFTime > ( const DRFTime hit)

Definition at line 51 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1Check< DSCHit > ( const DSCHit hit)

Definition at line 59 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1Check< DTAGHHit > ( const DTAGHHit hit)

Definition at line 66 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1Check< DTAGMHit > ( const DTAGMHit hit)

Definition at line 73 of file JEventProcessor_highlevel_online.cc.

template<typename T >
static bool F1CheckADCOnly ( const T *  hit)
static
template<>
bool F1CheckADCOnly< DBCALUnifiedHit > ( const DBCALUnifiedHit hit)

Definition at line 93 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckADCOnly< DFDCHit > ( const DFDCHit hit)

Definition at line 82 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckADCOnly< DRFTime > ( const DRFTime hit)

Definition at line 52 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckADCOnly< DSCHit > ( const DSCHit hit)

Definition at line 60 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckADCOnly< DTAGHHit > ( const DTAGHHit hit)

Definition at line 67 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckADCOnly< DTAGMHit > ( const DTAGMHit hit)

Definition at line 74 of file JEventProcessor_highlevel_online.cc.

template<typename T >
static bool F1CheckSameChannel ( const T *  hit,
const T *  hit2 
)
static
template<>
bool F1CheckSameChannel< DBCALUnifiedHit > ( const DBCALUnifiedHit hit,
const DBCALUnifiedHit hit2 
)

Definition at line 98 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckSameChannel< DFDCHit > ( const DFDCHit hit,
const DFDCHit hit2 
)

Definition at line 86 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckSameChannel< DRFTime > ( const DRFTime hit,
const DRFTime hit2 
)

Definition at line 56 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckSameChannel< DSCHit > ( const DSCHit hit,
const DSCHit hit2 
)

Definition at line 64 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckSameChannel< DTAGHHit > ( const DTAGHHit hit,
const DTAGHHit hit2 
)

Definition at line 71 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckSameChannel< DTAGMHit > ( const DTAGMHit hit,
const DTAGMHit hit2 
)

Definition at line 78 of file JEventProcessor_highlevel_online.cc.

template<typename T >
static bool F1CheckTDCOnly ( const T *  hit)
static
template<>
bool F1CheckTDCOnly< DBCALUnifiedHit > ( const DBCALUnifiedHit hit)

Definition at line 94 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckTDCOnly< DFDCHit > ( const DFDCHit hit)

Definition at line 83 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckTDCOnly< DRFTime > ( const DRFTime hit)

Definition at line 53 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckTDCOnly< DSCHit > ( const DSCHit hit)

Definition at line 61 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckTDCOnly< DTAGHHit > ( const DTAGHHit hit)

Definition at line 68 of file JEventProcessor_highlevel_online.cc.

template<>
bool F1CheckTDCOnly< DTAGMHit > ( const DTAGMHit hit)

Definition at line 75 of file JEventProcessor_highlevel_online.cc.

template<typename T >
static double F1tdiff ( const T *  hit)
static
template<typename T >
static double F1tdiff2 ( const T *  hit,
const T *  hit2 
)
static
template<>
double F1tdiff2< DBCALUnifiedHit > ( const DBCALUnifiedHit hit,
const DBCALUnifiedHit hit2 
)

Definition at line 96 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff2< DFDCHit > ( const DFDCHit hit,
const DFDCHit hit2 
)

Definition at line 85 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff2< DRFTime > ( const DRFTime hit,
const DRFTime hit2 
)

Definition at line 55 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff2< DSCHit > ( const DSCHit hit,
const DSCHit hit2 
)

Definition at line 63 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff2< DTAGHHit > ( const DTAGHHit hit,
const DTAGHHit hit2 
)

Definition at line 70 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff2< DTAGMHit > ( const DTAGMHit hit,
const DTAGMHit hit2 
)

Definition at line 77 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff< DBCALUnifiedHit > ( const DBCALUnifiedHit hit)

Definition at line 95 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff< DFDCHit > ( const DFDCHit hit)

Definition at line 84 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff< DRFTime > ( const DRFTime hit)

Definition at line 54 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff< DSCHit > ( const DSCHit hit)

Definition at line 62 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff< DTAGHHit > ( const DTAGHHit hit)

Definition at line 69 of file JEventProcessor_highlevel_online.cc.

template<>
double F1tdiff< DTAGMHit > ( const DTAGMHit hit)

Definition at line 76 of file JEventProcessor_highlevel_online.cc.

void InitPlugin ( JApplication *  app)

Definition at line 21 of file JEventProcessor_highlevel_online.cc.