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

#include <DEventProcessor_trkres_tree.h>

+ Inheritance diagram for DEventProcessor_trkres_tree:

Classes

class  meas_t
 

Public Member Functions

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

Public Attributes

trackrestrkres_ptr
 
trackres trkres
 
TTree * ttrkres
 
const DMagneticFieldMapbfield
 
pthread_mutex_t mutex
 
double SIGMA_CDC
 
double SIGMA_FDC_ANODE
 
double SIGMA_FDC_CATHODE
 

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...
 
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...
 
const DMCTrajectoryPointFindTrajectoryPoint (const DCoordinateSystem *wire, double &radlen, double &s, vector< const DMCTrajectoryPoint * > trajpoints)
 
void GetPtRes (vector< meas_t > &meas, double &deltak, double &pt_res)
 
void GetThetaRes (vector< meas_t > &meas, double &theta_res)
 

Detailed Description

Definition at line 35 of file DEventProcessor_trkres_tree.h.

Constructor & Destructor Documentation

DEventProcessor_trkres_tree::DEventProcessor_trkres_tree ( )

Definition at line 42 of file DEventProcessor_trkres_tree.cc.

DEventProcessor_trkres_tree::~DEventProcessor_trkres_tree ( )

Definition at line 52 of file DEventProcessor_trkres_tree.cc.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 78 of file DEventProcessor_trkres_tree.cc.

References dapp, and DApplication::GetBfield().

const char* DEventProcessor_trkres_tree::className ( void  )
inline

Definition at line 39 of file DEventProcessor_trkres_tree.h.

jerror_t DEventProcessor_trkres_tree::erun ( void  )
private

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

Definition at line 334 of file DEventProcessor_trkres_tree.cc.

const DMCTrajectoryPoint * DEventProcessor_trkres_tree::FindTrajectoryPoint ( const DCoordinateSystem wire,
double &  radlen,
double &  s,
vector< const DMCTrajectoryPoint * >  trajpoints 
)
private
jerror_t DEventProcessor_trkres_tree::fini ( void  )
private

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

Definition at line 343 of file DEventProcessor_trkres_tree.cc.

void DEventProcessor_trkres_tree::GetPtRes ( vector< meas_t > &  meas,
double &  deltak,
double &  pt_res 
)
private

Definition at line 233 of file DEventProcessor_trkres_tree.cc.

References e, and sqrt().

void DEventProcessor_trkres_tree::GetThetaRes ( vector< meas_t > &  meas,
double &  theta_res 
)
private

Definition at line 281 of file DEventProcessor_trkres_tree.cc.

References e, sqrt(), and sum.

jerror_t DEventProcessor_trkres_tree::init ( void  )
private

Called once at program start.

Definition at line 60 of file DEventProcessor_trkres_tree.cc.

References dir.

Member Data Documentation

const DMagneticFieldMap* DEventProcessor_trkres_tree::bfield

Definition at line 43 of file DEventProcessor_trkres_tree.h.

pthread_mutex_t DEventProcessor_trkres_tree::mutex

Definition at line 45 of file DEventProcessor_trkres_tree.h.

double DEventProcessor_trkres_tree::SIGMA_CDC

Definition at line 47 of file DEventProcessor_trkres_tree.h.

double DEventProcessor_trkres_tree::SIGMA_FDC_ANODE

Definition at line 48 of file DEventProcessor_trkres_tree.h.

double DEventProcessor_trkres_tree::SIGMA_FDC_CATHODE

Definition at line 49 of file DEventProcessor_trkres_tree.h.

trackres DEventProcessor_trkres_tree::trkres

Definition at line 41 of file DEventProcessor_trkres_tree.h.

trackres* DEventProcessor_trkres_tree::trkres_ptr

Definition at line 41 of file DEventProcessor_trkres_tree.h.

TTree* DEventProcessor_trkres_tree::ttrkres

Definition at line 42 of file DEventProcessor_trkres_tree.h.


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