Hall-D Software
alpha
|
#include <DEventProcessor_mc_tree.h>
Classes | |
class | hit_set |
class | particle_set |
Public Member Functions | |
DEventProcessor_mc_tree () | |
~DEventProcessor_mc_tree () | |
Public Attributes | |
Event * | evt_thrown |
TTree * | tree_thrown |
pthread_mutex_t | mutex |
Private Member Functions | |
jerror_t | init (void) |
Invoked via DEventProcessor virtual method. More... | |
jerror_t | evnt (JEventLoop *loop, uint64_t eventnumber) |
Invoked via DEventProcessor virtual method. More... | |
jerror_t | erun (void) |
Invoked via DEventProcessor virtual method. More... | |
jerror_t | fini (void) |
Invoked via DEventProcessor virtual method. More... | |
Particle | MakeParticle (const DKinematicData *kd, double mass, hit_set hits) |
RichHit | MakeRichHit (const DRichHit *rhit) |
CereHit | MakeCereHit (const DCereHit *chit) |
RichTruthHit | MakeRichTruthHit (const DRichTruthHit *rthit) |
void | FillEvent (Event *evt, particle_set &pset) |
bool | IsFiducial (const DKinematicData *kd) |
Static Private Member Functions | |
static bool | CompareLorentzEnergy (const Particle &a, const Particle &b) |
Definition at line 55 of file DEventProcessor_mc_tree.h.
DEventProcessor_mc_tree::DEventProcessor_mc_tree | ( | ) |
Definition at line 34 of file DEventProcessor_mc_tree.cc.
References evt_thrown, and tree_thrown.
DEventProcessor_mc_tree::~DEventProcessor_mc_tree | ( | ) |
Definition at line 42 of file DEventProcessor_mc_tree.cc.
|
inlinestaticprivate |
Definition at line 100 of file DEventProcessor_mc_tree.h.
References Particle::p.
Referenced by FillEvent().
|
private |
Invoked via DEventProcessor virtual method.
Definition at line 553 of file DEventProcessor_mc_tree.cc.
|
private |
Invoked via DEventProcessor virtual method.
Definition at line 68 of file DEventProcessor_mc_tree.cc.
References Event::all_fiducial, Event::beam, DEventProcessor_mc_tree::particle_set::cerehits, Event::Clear(), Electron, DEventProcessor_mc_tree::particle_set::electrons, Event::event, evt_thrown, FillEvent(), Gamma, DEventProcessor_mc_tree::hit_set::hits_bcal, DEventProcessor_mc_tree::hit_set::hits_cdc, DEventProcessor_mc_tree::hit_set::hits_cere, DEventProcessor_mc_tree::hit_set::hits_fcal, DEventProcessor_mc_tree::hit_set::hits_fdc, DEventProcessor_mc_tree::hit_set::hits_rich, DEventProcessor_mc_tree::hit_set::hits_tof, DEventProcessor_mc_tree::hit_set::hits_upv, IsFiducial(), japp, KMinus, DEventProcessor_mc_tree::particle_set::Kminus, KPlus, DEventProcessor_mc_tree::particle_set::Kplus, MakeCereHit(), MakeParticle(), MakeRichHit(), MakeRichTruthHit(), Neutron, DEventProcessor_mc_tree::particle_set::neutrons, ParticleMass(), DEventProcessor_mc_tree::particle_set::photons, PiMinus, DEventProcessor_mc_tree::particle_set::piminus, PiPlus, DEventProcessor_mc_tree::particle_set::piplus, Positron, DEventProcessor_mc_tree::particle_set::positrons, DMCTrackHit::primary, Proton, DEventProcessor_mc_tree::particle_set::protons, DEventProcessor_mc_tree::particle_set::richhits, DEventProcessor_mc_tree::particle_set::richtruthhits, SYS_BCAL, SYS_CDC, SYS_CHERENKOV, SYS_FCAL, SYS_FDC, SYS_TOF, SYS_UPV, DMCTrackHit::system, Event::target, DMCTrackHit::track, tree_thrown, Event::vertex, and X.
|
private |
Definition at line 395 of file DEventProcessor_mc_tree.cc.
References Event::cerehit, DEventProcessor_mc_tree::particle_set::cerehits, CompareLorentzEnergy(), Event::electron, DEventProcessor_mc_tree::particle_set::electrons, DAnalysis::for(), Event::Km, DEventProcessor_mc_tree::particle_set::Kminus, Event::Kp, DEventProcessor_mc_tree::particle_set::Kplus, Event::Ncerehit, Event::Nelectron, Event::neutron, DEventProcessor_mc_tree::particle_set::neutrons, Event::NKm, Event::NKp, Event::Nneutron, Event::Nphoton, Event::Npim, Event::Npip, Event::Npositron, Event::Nproton, Event::Nrichhit, Event::Nrichtruthhit, Event::photon, DEventProcessor_mc_tree::particle_set::photons, Event::pim, DEventProcessor_mc_tree::particle_set::piminus, Event::pip, DEventProcessor_mc_tree::particle_set::piplus, Event::positron, DEventProcessor_mc_tree::particle_set::positrons, Event::proton, DEventProcessor_mc_tree::particle_set::protons, Event::richhit, DEventProcessor_mc_tree::particle_set::richhits, Event::richtruthhit, DEventProcessor_mc_tree::particle_set::richtruthhits, and Event::W.
Referenced by evnt().
|
private |
Invoked via DEventProcessor virtual method.
Definition at line 560 of file DEventProcessor_mc_tree.cc.
|
private |
Invoked via DEventProcessor virtual method.
Definition at line 48 of file DEventProcessor_mc_tree.cc.
References dir, evt_thrown, and tree_thrown.
|
private |
Definition at line 529 of file DEventProcessor_mc_tree.cc.
References DKinematicData::charge(), and DKinematicData::momentum().
Referenced by evnt(), and MakeParticle().
Definition at line 317 of file DEventProcessor_mc_tree.cc.
References DCereHit::pe, CereHit::pe, DCereHit::sector, CereHit::sector, DCereHit::t, and CereHit::t.
Referenced by evnt().
|
private |
Definition at line 354 of file DEventProcessor_mc_tree.cc.
References Particle::E, Particle::hits_bcal, DEventProcessor_mc_tree::hit_set::hits_bcal, Particle::hits_cdc, DEventProcessor_mc_tree::hit_set::hits_cdc, Particle::hits_cere, DEventProcessor_mc_tree::hit_set::hits_cere, Particle::hits_fcal, DEventProcessor_mc_tree::hit_set::hits_fcal, Particle::hits_fdc, DEventProcessor_mc_tree::hit_set::hits_fdc, Particle::hits_rich, DEventProcessor_mc_tree::hit_set::hits_rich, Particle::hits_tof, DEventProcessor_mc_tree::hit_set::hits_tof, Particle::hits_upv, DEventProcessor_mc_tree::hit_set::hits_upv, Particle::is_fiducial, IsFiducial(), DKinematicData::momentum(), Particle::p, Particle::P, Particle::Ph, DKinematicData::position(), py, sin(), sqrt(), Particle::Th, x, Particle::x, and y.
Referenced by evnt().
|
private |
Definition at line 302 of file DEventProcessor_mc_tree.cc.
References RichHit::t, RichHit::x, x, and y.
Referenced by evnt().
|
private |
Definition at line 330 of file DEventProcessor_mc_tree.cc.
References RichTruthHit::E, RichTruthHit::p, RichTruthHit::primary, RichTruthHit::ptype, py, RichTruthHit::t, RichTruthHit::track, RichTruthHit::x, x, and y.
Referenced by evnt().
Event* DEventProcessor_mc_tree::evt_thrown |
Definition at line 89 of file DEventProcessor_mc_tree.h.
Referenced by DEventProcessor_mc_tree(), evnt(), and init().
pthread_mutex_t DEventProcessor_mc_tree::mutex |
Definition at line 92 of file DEventProcessor_mc_tree.h.
TTree* DEventProcessor_mc_tree::tree_thrown |
Definition at line 90 of file DEventProcessor_mc_tree.h.
Referenced by DEventProcessor_mc_tree(), evnt(), and init().