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

#include <DBCALCluster_factory_SINGLE.h>

+ Inheritance diagram for DBCALCluster_factory_SINGLE:

Public Member Functions

 DBCALCluster_factory_SINGLE ()
 This factory will create a single DBCALCluster objects from all of the DBCALPoint objects. It is intended only for debugging of simulated data where a single cluster is expected. More...
 
 ~DBCALCluster_factory_SINGLE ()
 
const char * Tag (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...
 

Private Attributes

double m_z_target_center
 
const DBCALGeometrydBCALGeom
 

Detailed Description

Definition at line 14 of file DBCALCluster_factory_SINGLE.h.

Constructor & Destructor Documentation

DBCALCluster_factory_SINGLE::DBCALCluster_factory_SINGLE ( )
inline

This factory will create a single DBCALCluster objects from all of the DBCALPoint objects. It is intended only for debugging of simulated data where a single cluster is expected.

If there are no DBCALPoint objects, then the DBCALCluster object is not created.

Definition at line 24 of file DBCALCluster_factory_SINGLE.h.

DBCALCluster_factory_SINGLE::~DBCALCluster_factory_SINGLE ( )
inline

Definition at line 25 of file DBCALCluster_factory_SINGLE.h.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 29 of file DBCALCluster_factory_SINGLE.cc.

References DApplication::GetDGeometry(), and DGeometry::GetTargetZ().

jerror_t DBCALCluster_factory_SINGLE::erun ( void  )
private

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

Definition at line 73 of file DBCALCluster_factory_SINGLE.cc.

jerror_t DBCALCluster_factory_SINGLE::evnt ( jana::JEventLoop *  eventLoop,
uint64_t  eventnumber 
)
private

Called every event.

Definition at line 48 of file DBCALCluster_factory_SINGLE.cc.

References DBCALCluster::addPoint().

jerror_t DBCALCluster_factory_SINGLE::fini ( void  )
private

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

Definition at line 81 of file DBCALCluster_factory_SINGLE.cc.

jerror_t DBCALCluster_factory_SINGLE::init ( void  )
private

Called once at program start.

Definition at line 21 of file DBCALCluster_factory_SINGLE.cc.

const char* DBCALCluster_factory_SINGLE::Tag ( void  )
inline

Definition at line 26 of file DBCALCluster_factory_SINGLE.h.

Member Data Documentation

const DBCALGeometry* DBCALCluster_factory_SINGLE::dBCALGeom
private

Definition at line 36 of file DBCALCluster_factory_SINGLE.h.

double DBCALCluster_factory_SINGLE::m_z_target_center
private

Definition at line 35 of file DBCALCluster_factory_SINGLE.h.


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