Hall-D Software
alpha
|
#include <DEventProcessor_phys_tree.h>
Classes | |
class | particle_set |
Public Member Functions | |
DEventProcessor_phys_tree () | |
~DEventProcessor_phys_tree () | |
const char * | className (void) |
Public Attributes | |
Event * | evt_recon |
Event * | evt_thrown |
TTree * | tree_recon |
TTree * | tree_thrwn |
pthread_mutex_t | mutex |
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... | |
Particle | MakeParticle (const DKinematicData *kd, double mass) |
Particle | MakeParticle (const DChargedTrackHypothesis *locChargedTrackHypothesis, double mass) |
Particle | MakeParticle (const DNeutralParticleHypothesis *locNeutralParticleHypothesis, double mass) |
bool | IsFiducial (const DKinematicData *kd) |
void | FillEvent (Event *evt, particle_set &pset, particle_set &pset_match) |
Particle | FindBestMatch (const Particle &primary, vector< Particle > &secondaries) |
double | GetFOM (const Particle &a, const Particle &b) const |
Definition at line 41 of file DEventProcessor_phys_tree.h.
DEventProcessor_phys_tree::DEventProcessor_phys_tree | ( | ) |
Definition at line 49 of file DEventProcessor_phys_tree.cc.
DEventProcessor_phys_tree::~DEventProcessor_phys_tree | ( | ) |
Definition at line 57 of file DEventProcessor_phys_tree.cc.
|
private |
Called everytime a new run number is detected.
Definition at line 98 of file DEventProcessor_phys_tree.cc.
|
inline |
Definition at line 45 of file DEventProcessor_phys_tree.h.
|
private |
Called everytime run number changes, provided brun has been called.
Definition at line 519 of file DEventProcessor_phys_tree.cc.
|
private |
Called every event.
Definition at line 107 of file DEventProcessor_phys_tree.cc.
References japp, DEventProcessor_phys_tree::particle_set::Kminus, DEventProcessor_phys_tree::particle_set::Kplus, DEventProcessor_phys_tree::particle_set::neutrons, DEventProcessor_phys_tree::particle_set::photons, DEventProcessor_phys_tree::particle_set::piminus, DEventProcessor_phys_tree::particle_set::piplus, DEventProcessor_phys_tree::particle_set::protons, and X.
|
private |
Definition at line 325 of file DEventProcessor_phys_tree.cc.
References CompareLorentzEnergy(), Event::Km, Event::Km_match, DEventProcessor_phys_tree::particle_set::Kminus, Event::Kp, Event::Kp_match, DEventProcessor_phys_tree::particle_set::Kplus, Event::neutron, Event::neutron_match, DEventProcessor_phys_tree::particle_set::neutrons, Event::NKm, Event::NKp, Event::Nneutron, Event::Nphoton, Event::Npim, Event::Npip, Event::Nproton, Event::photon, Event::photon_match, DEventProcessor_phys_tree::particle_set::photons, Event::pim, Event::pim_match, DEventProcessor_phys_tree::particle_set::piminus, Event::pip, Event::pip_match, DEventProcessor_phys_tree::particle_set::piplus, Event::proton, Event::proton_match, DEventProcessor_phys_tree::particle_set::protons, and Event::W.
|
private |
Definition at line 442 of file DEventProcessor_phys_tree.cc.
References Particle::p.
|
private |
Called after last event of last event source has been processed.
Definition at line 528 of file DEventProcessor_phys_tree.cc.
Definition at line 464 of file DEventProcessor_phys_tree.cc.
References Particle::p.
|
private |
Called once at program start.
Definition at line 65 of file DEventProcessor_phys_tree.cc.
References dir.
|
private |
Definition at line 498 of file DEventProcessor_phys_tree.cc.
References DKinematicData::charge(), and DKinematicData::momentum().
|
private |
Definition at line 261 of file DEventProcessor_phys_tree.cc.
References Particle::chisq, Particle::FOM_pid, Particle::is_fiducial, DKinematicData::momentum(), Particle::Ndof, Particle::p, DKinematicData::position(), py, sin(), sqrt(), x, Particle::x, and y.
|
private |
Definition at line 293 of file DEventProcessor_phys_tree.cc.
References Particle::chisq, Particle::FOM_pid, and Particle::Ndof.
|
private |
Definition at line 309 of file DEventProcessor_phys_tree.cc.
References Particle::chisq, Particle::FOM_pid, and Particle::Ndof.
Event* DEventProcessor_phys_tree::evt_recon |
Definition at line 58 of file DEventProcessor_phys_tree.h.
Event* DEventProcessor_phys_tree::evt_thrown |
Definition at line 59 of file DEventProcessor_phys_tree.h.
pthread_mutex_t DEventProcessor_phys_tree::mutex |
Definition at line 63 of file DEventProcessor_phys_tree.h.
TTree* DEventProcessor_phys_tree::tree_recon |
Definition at line 60 of file DEventProcessor_phys_tree.h.
TTree* DEventProcessor_phys_tree::tree_thrwn |
Definition at line 61 of file DEventProcessor_phys_tree.h.