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

#include <DTrackTimeBased_factory_Combo.h>

+ Inheritance diagram for DTrackTimeBased_factory_Combo:

Public Member Functions

 DTrackTimeBased_factory_Combo ()
 
 ~DTrackTimeBased_factory_Combo ()
 
const char * Tag (void)
 
vector< Particle_tGet_ParticleIDsToTry (Particle_t locPID) const
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *locEventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *locEventLoop, uint64_t eventnumber)
 Called every event. More...
 
void Create_PIDsAsNeeded (const DChargedTrack *locChargedTrack, set< Particle_t > &locPIDs)
 
const DChargedTrackHypothesisGet_ChargedHypothesisToUse (const DChargedTrack *locChargedTrack, Particle_t locDesiredPID)
 
DTrackTimeBasedConvert_ChargedTrack (const DChargedTrackHypothesis *locChargedTrackHypothesis, Particle_t locNewPID)
 

Private Attributes

map< Particle_t, vector
< Particle_t > > 
dParticleIDsToTry
 
set< Particle_tdPositivelyChargedPIDs
 
set< Particle_tdNegativelyChargedPIDs
 
string dTrackSelectionTag
 

Detailed Description

Definition at line 21 of file DTrackTimeBased_factory_Combo.h.

Constructor & Destructor Documentation

DTrackTimeBased_factory_Combo::DTrackTimeBased_factory_Combo ( )
inline

Definition at line 24 of file DTrackTimeBased_factory_Combo.h.

DTrackTimeBased_factory_Combo::~DTrackTimeBased_factory_Combo ( )
inline

Definition at line 25 of file DTrackTimeBased_factory_Combo.h.

Member Function Documentation

jerror_t DTrackTimeBased_factory_Combo::brun ( jana::JEventLoop *  locEventLoop,
int32_t  runnumber 
)
private

Called everytime a new run number is detected.

Definition at line 52 of file DTrackTimeBased_factory_Combo.cc.

References d_Negative, d_Positive, dNegativelyChargedPIDs, dPositivelyChargedPIDs, and DAnalysis::Get_Reactions().

DTrackTimeBased * DTrackTimeBased_factory_Combo::Convert_ChargedTrack ( const DChargedTrackHypothesis locChargedTrackHypothesis,
Particle_t  locNewPID 
)
private
void DTrackTimeBased_factory_Combo::Create_PIDsAsNeeded ( const DChargedTrack locChargedTrack,
set< Particle_t > &  locPIDs 
)
private
jerror_t DTrackTimeBased_factory_Combo::evnt ( jana::JEventLoop *  locEventLoop,
uint64_t  eventnumber 
)
private
const DChargedTrackHypothesis * DTrackTimeBased_factory_Combo::Get_ChargedHypothesisToUse ( const DChargedTrack locChargedTrack,
Particle_t  locDesiredPID 
)
private
vector<Particle_t> DTrackTimeBased_factory_Combo::Get_ParticleIDsToTry ( Particle_t  locPID) const
inline

Definition at line 28 of file DTrackTimeBased_factory_Combo.h.

jerror_t DTrackTimeBased_factory_Combo::init ( void  )
private

Called once at program start.

Definition at line 17 of file DTrackTimeBased_factory_Combo.cc.

References AntiProton, Deuteron, dParticleIDsToTry, dTrackSelectionTag, Electron, KMinus, KPlus, MuonMinus, MuonPlus, PiMinus, PiPlus, Positron, and Proton.

const char* DTrackTimeBased_factory_Combo::Tag ( void  )
inline

Definition at line 26 of file DTrackTimeBased_factory_Combo.h.

Member Data Documentation

set<Particle_t> DTrackTimeBased_factory_Combo::dNegativelyChargedPIDs
private

Definition at line 48 of file DTrackTimeBased_factory_Combo.h.

Referenced by brun(), and evnt().

map<Particle_t, vector<Particle_t> > DTrackTimeBased_factory_Combo::dParticleIDsToTry
private

Definition at line 45 of file DTrackTimeBased_factory_Combo.h.

Referenced by Get_ChargedHypothesisToUse(), and init().

set<Particle_t> DTrackTimeBased_factory_Combo::dPositivelyChargedPIDs
private

Definition at line 47 of file DTrackTimeBased_factory_Combo.h.

Referenced by brun(), and evnt().

string DTrackTimeBased_factory_Combo::dTrackSelectionTag
private

Definition at line 50 of file DTrackTimeBased_factory_Combo.h.

Referenced by evnt(), and init().


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