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

#include <JEventProcessor_TPOL_tree.h>

+ Inheritance diagram for JEventProcessor_TPOL_tree:

Public Member Functions

 JEventProcessor_TPOL_tree ()
 
 ~JEventProcessor_TPOL_tree ()
 
const char * className (void)
 
int GetSector (int slot, int channel)
 
double GetPhi (int sector)
 
double GetPulseTime (const vector< uint16_t > waveform, double w_min, double w_max, double minpeakheight)
 

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

clock_t t
 
DBeamCurrent_factorydBeamCurrentFactory
 
DTreeInterfacedTreeInterface
 
int geomModuleColumn [8][2] = {{110, 145}, {90, 115}, {73, 93}, {56, 76}, {40, 60}, {24, 45}, {8, 28}, {0, 12}}
 
unsigned int count
 

Static Private Attributes

static thread_local DTreeFillData dTreeFillData
 

Detailed Description

Definition at line 21 of file JEventProcessor_TPOL_tree.h.

Constructor & Destructor Documentation

JEventProcessor_TPOL_tree::JEventProcessor_TPOL_tree ( )

Definition at line 55 of file JEventProcessor_TPOL_tree.cc.

JEventProcessor_TPOL_tree::~JEventProcessor_TPOL_tree ( )

Definition at line 63 of file JEventProcessor_TPOL_tree.cc.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 144 of file JEventProcessor_TPOL_tree.cc.

const char* JEventProcessor_TPOL_tree::className ( void  )
inline

Definition at line 25 of file JEventProcessor_TPOL_tree.h.

jerror_t JEventProcessor_TPOL_tree::erun ( void  )
private

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

Definition at line 514 of file JEventProcessor_TPOL_tree.cc.

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

Called every event.

     if(flhit->column < geomModuleColumn[clhit->module-1][0] || flhit->column > geomModuleColumn[clhit->module-1][1])

{ japp->RootFillUnLock(this); return NOERROR; } if(frhit->column < geomModuleColumn[crhit->module-1][0] || frhit->column > geomModuleColumn[crhit->module-1][1]) { japp->RootFillUnLock(this); return NOERROR; }

Definition at line 163 of file JEventProcessor_TPOL_tree.cc.

References DDAQAddress::channel, DTAGMHit::column, DPSPair::PSClust::column, DTAGHHit::counter_id, DTAGMHit::E, DTAGHHit::E, DPSPair::PSClust::E, DL1Trigger::fp_trig_mask, DTAGHHit::has_fADC, DTAGMHit::has_fADC, DTAGHHit::has_TDC, DTAGMHit::has_TDC, DDAQAddress::itrigger, japp, DPSCHit::module, NSECTORS, DDAQAddress::rocid, DTAGMHit::row, Df250WindowRawData::samples, DDAQAddress::slot, DTAGMHit::t, DTAGHHit::t, DPSCHit::t, DPSPair::PSClust::t, DL1Trigger::trig_mask, and VERBOSE.

jerror_t JEventProcessor_TPOL_tree::fini ( void  )
private

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

Definition at line 525 of file JEventProcessor_TPOL_tree.cc.

double JEventProcessor_TPOL_tree::GetPhi ( int  sector)

Definition at line 484 of file JEventProcessor_TPOL_tree.cc.

References SECTOR_DIVISION.

double JEventProcessor_TPOL_tree::GetPulseTime ( const vector< uint16_t >  waveform,
double  w_min,
double  w_max,
double  minpeakheight 
)

Definition at line 491 of file JEventProcessor_TPOL_tree.cc.

int JEventProcessor_TPOL_tree::GetSector ( int  slot,
int  channel 
)

Definition at line 470 of file JEventProcessor_TPOL_tree.cc.

References NSECTORS, and VERBOSE.

jerror_t JEventProcessor_TPOL_tree::init ( void  )
private

Member Data Documentation

unsigned int JEventProcessor_TPOL_tree::count
private

Definition at line 48 of file JEventProcessor_TPOL_tree.h.

DBeamCurrent_factory* JEventProcessor_TPOL_tree::dBeamCurrentFactory
private

Definition at line 40 of file JEventProcessor_TPOL_tree.h.

thread_local DTreeFillData JEventProcessor_TPOL_tree::dTreeFillData
staticprivate

Definition at line 44 of file JEventProcessor_TPOL_tree.h.

DTreeInterface* JEventProcessor_TPOL_tree::dTreeInterface
private

Definition at line 43 of file JEventProcessor_TPOL_tree.h.

int JEventProcessor_TPOL_tree::geomModuleColumn[8][2] = {{110, 145}, {90, 115}, {73, 93}, {56, 76}, {40, 60}, {24, 45}, {8, 28}, {0, 12}}
private

Definition at line 46 of file JEventProcessor_TPOL_tree.h.

clock_t JEventProcessor_TPOL_tree::t
private

Definition at line 38 of file JEventProcessor_TPOL_tree.h.


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