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

#include <JEventProcessor_dumpthrowns.h>

+ Inheritance diagram for JEventProcessor_dumpthrowns:

Public Member Functions

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

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...
 
unsigned long GetCDCWireID (const DCDCWire *w)
 
unsigned long GetFDCWireID (const DFDCWire *w)
 
int GetWireIndex (unsigned long id)
 

Private Attributes

DGeometrydgeom
 
map< unsigned long, int > wireID
 
ofstream * ofs
 
unsigned int MAX_CANDIDATE_FILTER
 
unsigned long events_written
 
unsigned long events_discarded
 

Detailed Description

Definition at line 18 of file JEventProcessor_dumpthrowns.h.

Constructor & Destructor Documentation

JEventProcessor_dumpthrowns::JEventProcessor_dumpthrowns ( )

Definition at line 29 of file JEventProcessor_dumpthrowns.cc.

JEventProcessor_dumpthrowns::~JEventProcessor_dumpthrowns ( )

Definition at line 38 of file JEventProcessor_dumpthrowns.cc.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 62 of file JEventProcessor_dumpthrowns.cc.

const char* JEventProcessor_dumpthrowns::className ( void  )
inline

Definition at line 22 of file JEventProcessor_dumpthrowns.h.

jerror_t JEventProcessor_dumpthrowns::erun ( void  )
private

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

Definition at line 114 of file JEventProcessor_dumpthrowns.cc.

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

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

Definition at line 122 of file JEventProcessor_dumpthrowns.cc.

unsigned long JEventProcessor_dumpthrowns::GetCDCWireID ( const DCDCWire w)
inlineprivate

Definition at line 39 of file JEventProcessor_dumpthrowns.h.

References DCDCWire::ring, and DCDCWire::straw.

unsigned long JEventProcessor_dumpthrowns::GetFDCWireID ( const DFDCWire w)
inlineprivate

Definition at line 40 of file JEventProcessor_dumpthrowns.h.

References DFDCWire::layer, and DFDCWire::wire.

int JEventProcessor_dumpthrowns::GetWireIndex ( unsigned long  id)
inlineprivate

Definition at line 41 of file JEventProcessor_dumpthrowns.h.

jerror_t JEventProcessor_dumpthrowns::init ( void  )
private

Called once at program start.

Definition at line 46 of file JEventProcessor_dumpthrowns.cc.

Member Data Documentation

DGeometry* JEventProcessor_dumpthrowns::dgeom
private

Definition at line 32 of file JEventProcessor_dumpthrowns.h.

unsigned long JEventProcessor_dumpthrowns::events_discarded
private

Definition at line 37 of file JEventProcessor_dumpthrowns.h.

unsigned long JEventProcessor_dumpthrowns::events_written
private

Definition at line 36 of file JEventProcessor_dumpthrowns.h.

unsigned int JEventProcessor_dumpthrowns::MAX_CANDIDATE_FILTER
private

Definition at line 35 of file JEventProcessor_dumpthrowns.h.

ofstream* JEventProcessor_dumpthrowns::ofs
private

Definition at line 34 of file JEventProcessor_dumpthrowns.h.

map<unsigned long, int> JEventProcessor_dumpthrowns::wireID
private

Definition at line 33 of file JEventProcessor_dumpthrowns.h.


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