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

#include <DFDCIntersection_factory.h>

+ Inheritance diagram for DFDCIntersection_factory:

Public Member Functions

 DFDCIntersection_factory ()
 
 ~DFDCIntersection_factory ()
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (JEventLoop *eventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (JEventLoop *eventLoop, uint64_t eventnumber)
 Called every event. More...
 
void MakeIntersectionPoints (vector< vector< const DFDCHit * > > &hits_by_layer)
 
void MakeRestrictedIntersectionPoints (vector< vector< const DFDCHit * > > &hits_by_layer)
 
void FindIntersections (vector< const DFDCHit * > &layer1, vector< const DFDCHit * > &layer2, vector< DFDCIntersection * > &intersections)
 

Private Attributes

vector< vector< vector< const
DFDCHit * > > > 
fdchits_by_package
 fdchits_by_package[package][layer][hit] More...
 
double MAX_DIST2
 
vector< vector< DFDCWire * > > fdcwires
 
bool USE_FDC
 
bool DEBUG_LEVEL
 

Detailed Description

Definition at line 17 of file DFDCIntersection_factory.h.

Constructor & Destructor Documentation

DFDCIntersection_factory::DFDCIntersection_factory ( )
inline

Definition at line 19 of file DFDCIntersection_factory.h.

DFDCIntersection_factory::~DFDCIntersection_factory ( )
inline

Definition at line 20 of file DFDCIntersection_factory.h.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 35 of file DFDCIntersection_factory.cc.

References _DBG_, dapp, fdcwires, DApplication::GetDGeometry(), and DGeometry::GetFDCWires().

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

Called every event.

Definition at line 51 of file DFDCIntersection_factory.cc.

References _DBG_, DFDCHit::element, DFDCHit::gLayer, layer, and DFDCHit::type.

void DFDCIntersection_factory::FindIntersections ( vector< const DFDCHit * > &  layer1,
vector< const DFDCHit * > &  layer2,
vector< DFDCIntersection * > &  intersections 
)
private
jerror_t DFDCIntersection_factory::init ( void  )
private

Called once at program start.

Definition at line 18 of file DFDCIntersection_factory.cc.

void DFDCIntersection_factory::MakeIntersectionPoints ( vector< vector< const DFDCHit * > > &  hits_by_layer)
private

Definition at line 107 of file DFDCIntersection_factory.cc.

void DFDCIntersection_factory::MakeRestrictedIntersectionPoints ( vector< vector< const DFDCHit * > > &  hits_by_layer)
private

Member Data Documentation

bool DFDCIntersection_factory::DEBUG_LEVEL
private

Definition at line 38 of file DFDCIntersection_factory.h.

vector<vector<vector<const DFDCHit*> > > DFDCIntersection_factory::fdchits_by_package
private

fdchits_by_package[package][layer][hit]

Definition at line 34 of file DFDCIntersection_factory.h.

vector<vector<DFDCWire*> > DFDCIntersection_factory::fdcwires
private

Definition at line 37 of file DFDCIntersection_factory.h.

double DFDCIntersection_factory::MAX_DIST2
private

Definition at line 35 of file DFDCIntersection_factory.h.

bool DFDCIntersection_factory::USE_FDC
private

Definition at line 38 of file DFDCIntersection_factory.h.


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