Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_syncskim Class Reference

#include <JEventProcessor_syncskim.h>

+ Inheritance diagram for JEventProcessor_syncskim:

Public Member Functions

 JEventProcessor_syncskim ()
 
 ~JEventProcessor_syncskim ()
 
const char * className (void)
 

Public Attributes

SyncEvent synevt
 
TTree * tree
 
double sum_n
 
double sum_x
 
double sum_y
 
double sum_xy
 
double sum_x2
 
std::atomic< double > last_control_event_t
 
std::atomic< double > last_physics_event_t
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *eventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *eventLoop, uint64_t eventnumber)
 Called every event. More...
 
jerror_t erun (void)
 Called everytime run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 

Detailed Description

Definition at line 18 of file JEventProcessor_syncskim.h.

Constructor & Destructor Documentation

JEventProcessor_syncskim::JEventProcessor_syncskim ( )

Definition at line 33 of file JEventProcessor_syncskim.cc.

JEventProcessor_syncskim::~JEventProcessor_syncskim ( )

Definition at line 48 of file JEventProcessor_syncskim.cc.

Member Function Documentation

jerror_t JEventProcessor_syncskim::brun ( jana::JEventLoop *  eventLoop,
int32_t  runnumber 
)
private

Called everytime a new run number is detected.

Definition at line 100 of file JEventProcessor_syncskim.cc.

const char* JEventProcessor_syncskim::className ( void  )
inline

Definition at line 22 of file JEventProcessor_syncskim.h.

jerror_t JEventProcessor_syncskim::erun ( void  )
private

Called everytime run number changes, provided brun has been called.

Definition at line 178 of file JEventProcessor_syncskim.cc.

jerror_t JEventProcessor_syncskim::evnt ( jana::JEventLoop *  eventLoop,
uint64_t  eventnumber 
)
private
jerror_t JEventProcessor_syncskim::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 186 of file JEventProcessor_syncskim.cc.

jerror_t JEventProcessor_syncskim::init ( void  )
private

Called once at program start.

Definition at line 56 of file JEventProcessor_syncskim.cc.

Member Data Documentation

std::atomic<double> JEventProcessor_syncskim::last_control_event_t

Definition at line 37 of file JEventProcessor_syncskim.h.

std::atomic<double> JEventProcessor_syncskim::last_physics_event_t

Definition at line 38 of file JEventProcessor_syncskim.h.

double JEventProcessor_syncskim::sum_n

Definition at line 29 of file JEventProcessor_syncskim.h.

double JEventProcessor_syncskim::sum_x

Definition at line 30 of file JEventProcessor_syncskim.h.

double JEventProcessor_syncskim::sum_x2

Definition at line 33 of file JEventProcessor_syncskim.h.

double JEventProcessor_syncskim::sum_xy

Definition at line 32 of file JEventProcessor_syncskim.h.

double JEventProcessor_syncskim::sum_y

Definition at line 31 of file JEventProcessor_syncskim.h.

SyncEvent JEventProcessor_syncskim::synevt

Definition at line 24 of file JEventProcessor_syncskim.h.

TTree* JEventProcessor_syncskim::tree

Definition at line 25 of file JEventProcessor_syncskim.h.


The documentation for this class was generated from the following files: