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

#include <DDIRCLut.h>

+ Inheritance diagram for DDIRCLut:

Public Member Functions

 JOBJECT_PUBLIC (DDIRCLut)
 
 DDIRCLut ()
 
 ~DDIRCLut ()
 
bool brun (JEventLoop *loop)
 
bool CreateDebugHistograms ()
 
bool CalcLUT (TVector3 locProjPos, TVector3 locProjMom, const vector< const DDIRCPmtHit * > locDIRCHits, double locFlightTime, Particle_t locPID, shared_ptr< DDIRCMatchParams > &locDIRCMatchParams, const vector< const DDIRCTruthBarHit * > locDIRCBarHits, map< shared_ptr< const DDIRCMatchParams >, vector< const DDIRCPmtHit * > > &locDIRCTrackMatchParams) const
 
vector< pair< double, double > > CalcPhoton (const DDIRCPmtHit *locDIRCHit, double locFlightTime, TVector3 posInBar, TVector3 momInBar, map< Particle_t, double > locExpectedAngle, double locAngle, Particle_t locPID, map< Particle_t, double > &logLikelihoodSum, int &nPhotonsThetaC, double &meanThetaC, double &meanDeltaT, bool &isGood) const
 
vector< pair< double, double > > CalcPhoton (const DDIRCPmtHit *locDIRCHit, double locFlightTime, TVector3 posInBar, TVector3 momInBar, map< Particle_t, double > locExpectedAngle, double locAngle, Particle_t locPID, map< Particle_t, double > &logLikelihoodSum) const
 
double CalcLikelihood (double locExpectedThetaC, double locThetaC) const
 
double CalcAngle (TVector3 momInBar, double locMass) const
 
map< Particle_t, double > CalcExpectedAngles (TVector3 momInBar) const
 

Private Attributes

DApplicationdapp
 
DDIRCLutReaderdDIRCLutReader
 
const DDIRCGeometrydDIRCGeometry
 
bool DIRC_DEBUG_HISTS
 
bool DIRC_TRUTH_BARHIT
 
bool DIRC_TRUTH_PIXELTIME
 
double DIRC_CUT_TDIFFD
 
double DIRC_CUT_TDIFFR
 
double DIRC_SIGMA_THETAC
 
double DIRC_LIGHT_V
 
int dMaxChannels
 
double dCriticalAngle
 
double dIndex
 
TH1I * hDiff
 
TH1I * hDiffT
 
TH1I * hDiffD
 
TH1I * hDiffR
 
TH1I * hTime
 
TH1I * hCalc
 
TH1I * hNph
 
TH1I * hNphC
 
TH2I * hDiff_Pixel [2]
 
deque< Particle_tdFinalStatePIDs
 
map< Particle_t, TH1I * > hDeltaThetaC
 
map< Particle_t, TH2I * > hDeltaThetaC_Pixel
 

Detailed Description

Definition at line 28 of file DDIRCLut.h.

Constructor & Destructor Documentation

DDIRCLut::DDIRCLut ( )

Definition at line 17 of file DDIRCLut.cc.

References KPlus, PiPlus, Positron, and Proton.

DDIRCLut::~DDIRCLut ( )
inline

Definition at line 35 of file DDIRCLut.h.

Member Function Documentation

bool DDIRCLut::brun ( JEventLoop *  loop)

Definition at line 57 of file DDIRCLut.cc.

References dapp, and DApplication::GetDIRCLut().

Referenced by DDIRCLut_factory::brun().

double DDIRCLut::CalcAngle ( TVector3  momInBar,
double  locMass 
) const
map< Particle_t, double > DDIRCLut::CalcExpectedAngles ( TVector3  momInBar) const
double DDIRCLut::CalcLikelihood ( double  locExpectedThetaC,
double  locThetaC 
) const

Definition at line 372 of file DDIRCLut.cc.

bool DDIRCLut::CalcLUT ( TVector3  locProjPos,
TVector3  locProjMom,
const vector< const DDIRCPmtHit * >  locDIRCHits,
double  locFlightTime,
Particle_t  locPID,
shared_ptr< DDIRCMatchParams > &  locDIRCMatchParams,
const vector< const DDIRCTruthBarHit * >  locDIRCBarHits,
map< shared_ptr< const DDIRCMatchParams >, vector< const DDIRCPmtHit * > > &  locDIRCTrackMatchParams 
) const
vector< pair< double, double > > DDIRCLut::CalcPhoton ( const DDIRCPmtHit locDIRCHit,
double  locFlightTime,
TVector3  posInBar,
TVector3  momInBar,
map< Particle_t, double >  locExpectedAngle,
double  locAngle,
Particle_t  locPID,
map< Particle_t, double > &  logLikelihoodSum,
int &  nPhotonsThetaC,
double &  meanThetaC,
double &  meanDeltaT,
bool &  isGood 
) const
vector< pair< double, double > > DDIRCLut::CalcPhoton ( const DDIRCPmtHit locDIRCHit,
double  locFlightTime,
TVector3  posInBar,
TVector3  momInBar,
map< Particle_t, double >  locExpectedAngle,
double  locAngle,
Particle_t  locPID,
map< Particle_t, double > &  logLikelihoodSum 
) const

Definition at line 364 of file DDIRCLut.cc.

bool DDIRCLut::CreateDebugHistograms ( )

Definition at line 70 of file DDIRCLut.cc.

References ParticleName_ROOT(), and ParticleType().

DDIRCLut::JOBJECT_PUBLIC ( DDIRCLut  )

Member Data Documentation

DApplication* DDIRCLut::dapp
private

Definition at line 47 of file DDIRCLut.h.

double DDIRCLut::dCriticalAngle
private

Definition at line 61 of file DDIRCLut.h.

const DDIRCGeometry* DDIRCLut::dDIRCGeometry
private

Definition at line 49 of file DDIRCLut.h.

DDIRCLutReader* DDIRCLut::dDIRCLutReader
private

Definition at line 48 of file DDIRCLut.h.

deque<Particle_t> DDIRCLut::dFinalStatePIDs
private

Definition at line 65 of file DDIRCLut.h.

double DDIRCLut::dIndex
private

Definition at line 61 of file DDIRCLut.h.

double DDIRCLut::DIRC_CUT_TDIFFD
private

Definition at line 55 of file DDIRCLut.h.

double DDIRCLut::DIRC_CUT_TDIFFR
private

Definition at line 56 of file DDIRCLut.h.

bool DDIRCLut::DIRC_DEBUG_HISTS
private

Definition at line 51 of file DDIRCLut.h.

double DDIRCLut::DIRC_LIGHT_V
private

Definition at line 58 of file DDIRCLut.h.

double DDIRCLut::DIRC_SIGMA_THETAC
private

Definition at line 57 of file DDIRCLut.h.

bool DDIRCLut::DIRC_TRUTH_BARHIT
private

Definition at line 52 of file DDIRCLut.h.

bool DDIRCLut::DIRC_TRUTH_PIXELTIME
private

Definition at line 53 of file DDIRCLut.h.

int DDIRCLut::dMaxChannels
private

Definition at line 60 of file DDIRCLut.h.

TH1I * DDIRCLut::hCalc
private

Definition at line 63 of file DDIRCLut.h.

map<Particle_t, TH1I*> DDIRCLut::hDeltaThetaC
private

Definition at line 66 of file DDIRCLut.h.

map<Particle_t, TH2I*> DDIRCLut::hDeltaThetaC_Pixel
private

Definition at line 67 of file DDIRCLut.h.

TH1I* DDIRCLut::hDiff
private

Definition at line 63 of file DDIRCLut.h.

TH2I* DDIRCLut::hDiff_Pixel[2]
private

Definition at line 64 of file DDIRCLut.h.

TH1I * DDIRCLut::hDiffD
private

Definition at line 63 of file DDIRCLut.h.

TH1I * DDIRCLut::hDiffR
private

Definition at line 63 of file DDIRCLut.h.

TH1I * DDIRCLut::hDiffT
private

Definition at line 63 of file DDIRCLut.h.

TH1I * DDIRCLut::hNph
private

Definition at line 63 of file DDIRCLut.h.

TH1I * DDIRCLut::hNphC
private

Definition at line 63 of file DDIRCLut.h.

TH1I * DDIRCLut::hTime
private

Definition at line 63 of file DDIRCLut.h.


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